]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix __PTHREAD_MUTEX_HAVE_ELISION -Wundef warning
[thirdparty/glibc.git] / ChangeLog
1 2014-03-17 Will Newton <will.newton@linaro.org>
2
3 * nptl/sysdeps/pthread/pthread.h: Check
4 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5 its value.
6
7 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8
9 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10 setting O_APPEND.
11 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12 test case.
13
14 [BZ #16680]
15 * libio/fileops.c (_IO_file_open): Seek to end of file but
16 don't cache the offset.
17 (get_file_offset): Remove function.
18 (do_ftell): Use cached offset when available.
19 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20 don't cache the offset.
21 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22 case.
23 (do_one_test): Call it.
24 (do_ftell_test): Fix up expected old offset for a+ mode.
25 * libio/wfileops.c (do_ftell_wide): Used cached offset when
26 available.
27
28 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29 up test status with function return status.
30 (do_write_test): Likewise.
31 (do_append_test): Likewise.
32
33 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35 Remove.
36
37 2014-03-17 Joseph Myers <joseph@codesourcery.com>
38
39 * math/gen-libm-test.pl (parse_args): Handle results specified for
40 each rounding mode separately.
41 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
42 tests and results from lrint_tonearest_test_data,
43 lrint_towardzero_test_data, lrint_downward_test_data and
44 lrint_upward_test_data.
45 (lrint_test): Use ALL_RM_TEST.
46 (lrint_tonearest_test_data): Remove.
47 (lrint_test_tonearest): Likewise.
48 (lrint_towardzero_test_data): Likewise.
49 (lrint_test_towardzero): Likewise.
50 (lrint_downward_test_data): Likewise.
51 (lrint_test_downward): Likewise.
52 (lrint_upward_test_data): Likewise.
53 (lrint_test_upward): Likewise.
54 (llrint_test_data): Merge in per-rounding-mode tests and results
55 from llrint_tonearest_test_data, llrint_towardzero_test_data,
56 llrint_downward_test_data and llrint_upward_test_data.
57 (llrint_test): Use ALL_RM_TEST.
58 (llrint_tonearest_test_data): Remove.
59 (llrint_test_tonearest): Likewise.
60 (llrint_towardzero_test_data): Likewise.
61 (llrint_test_towardzero): Likewise.
62 (llrint_downward_test_data): Likewise.
63 (llrint_test_downward): Likewise.
64 (llrint_upward_test_data): Likewise.
65 (llrint_test_upward): Likewise.
66 (rint_test_data): Merge in per-rounding-mode tests and results
67 from rint_tonearest_test_data, rint_towardzero_test_data,
68 rint_downward_test_data and rint_upward_test_data. Add
69 per-rounding-mode results for tests not in those arrays.
70 (rint_test): Use ALL_RM_TEST.
71 (rint_tonearest_test_data): Remove.
72 (rint_test_tonearest): Likewise.
73 (rint_towardzero_test_data): Likewise.
74 (rint_test_towardzero): Likewise.
75 (rint_downward_test_data): Likewise.
76 (rint_test_downward): Likewise.
77 (rint_upward_test_data): Likewise.
78 (rint_test_upward): Likewise.
79 (main): Don't call removed functions.
80
81 2014-03-14 Roland McGrath <roland@hack.frob.com>
82
83 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
84 "Compiled on ..." crapola. It is anti-useful.
85
86 2014-03-14 Joseph Myers <joseph@codesourcery.com>
87
88 * scripts/evaluate-test.sh: Handle fourth argument to determine
89 whether test run should stop on failure.
90 * Makeconfig (stop-on-test-failure): New variable.
91 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
92 $(stop-on-test-failure).
93 * Makefile (tests): Give a summary of results from testing and
94 exit with failure status if they include an ERROR or FAIL.
95 (xtests): Likewise.
96 * manual/install.texi (Configuring and compiling): Mention
97 stop-on-test-failure=y.
98 * INSTALL: Regenerated.
99
100 2014-03-14 Roland McGrath <roland@hack.frob.com>
101
102 * scripts/versionlist.awk: New file.
103 * Makerules [$(build-shared) = yes]
104 (postclean-generated): Add Versions.def, not Versions.def.v and
105 Versions.def.v.i.
106 ($(common-objpfx)Versions.def.v.i): Target removed.
107 ($(common-objpfx)Versions.def): New target.
108 ($(common-objpfx)Versions.all): Depend on that rather that
109 $(common-objpfx)Versions.def.v.
110 * Versions.def: File removed.
111
112 * Makeconfig (+gccwarn): Add -Wundef.
113 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
114 a dl-sysdep.h breaking its contract.
115 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
116 * include/stackinfo.h: New file.
117 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
118 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
119 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
120 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
121 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
122 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
123 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
124 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
125 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
126 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
127 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
128 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
129 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
130 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
131 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
132
133 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134
135 [BZ #16707]
136 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
137 implementation.
138 * math/libm-test.inc (round_test_data): Add more tests.
139
140 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 [BZ #16706]
143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
144 implementation.
145 * math/libm-test.inc (nearbyint_test_data): Add more tests.
146
147 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148
149 [BZ #16701]
150 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
151 implementation.
152 * math/libm-test.inc (ceil_test_data): Add more tests.
153
154 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155
156 * math/libm-test.inc (trunc_test_data): Add more tests related to
157 BZ#16414.
158
159 2014-03-14 Roland McGrath <roland@hack.frob.com>
160
161 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
162 with #if rather than #ifdef.
163 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
164
165 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
166
167 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
168 first. Disable AVX-512 GCC support if assembler doesn't support
169 it.
170 * sysdeps/x86_64/configure: Regenerated.
171
172 2014-03-13 Carlos O'Donell <carlos@redhat.com>
173
174 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
175 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
176 (__old_pthread_attr_setstack): Likewise.
177 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
178 [!_STACK_GROWS_DOWN]: Likewise.
179
180 2014-03-13 Mike Frysinger <vapier@gentoo.org>
181
182 * config.make.in (have-bash2): Delete.
183 * configure.ac (libc_cv_have_bash2): Delete.
184 * configure: Regenerate.
185 * elf/Makefile (common-ldd-rewrite): Rename to ...
186 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
187 (sh-ldd-rewrite): Delete.
188 (bash-ldd-rewrite): Delete.
189 (have-bash2): Delete checks.
190 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
191
192 2014-03-13 Mike Frysinger <vapier@gentoo.org>
193
194 * config.make.in (have-ksh): Delete.
195 (KSH): Delete.
196 * configure.ac (libc_cv_have_ksh): Delete.
197 * configure: Regenerate.
198
199 2014-03-13 Mike Frysinger <vapier@gentoo.org>
200
201 * elf/Makefile: Delete $(have-ksh) check.
202 ($(objpfx)sotruss): Change KSH to BASH.
203 * elf/sotruss.ksh: Rename to ...
204 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
205 function style to match POSIX. Drop ksh vim mode setting.
206
207 2014-03-13 Mike Frysinger <vapier@gentoo.org>
208
209 * manual/time.texi (Specifying the Time Zone with TZ): Change
210 Tuesday to Thursday.
211
212 2014-03-13 Mike Frysinger <vapier@gentoo.org>
213
214 * debug/tst-longjmp_chk2.c: Update header comment.
215 (stackoverflow_handler): Add comment. Call assert on pass value.
216
217 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
218
219 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
220 (HAVE_AVX512_ASM_SUPPORT): Likewise.
221 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
222 (La_x86_64_vector): Add zmm.
223 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
224 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
225 ($(objpfx)tst-audit10): New target.
226 ($(objpfx)tst-audit10.out): Likewise.
227 (tst-audit10-ENV): New.
228 (AVX512-CFLAGS): Likewise.
229 (CFLAGS-tst-audit10.c): Likewise.
230 (CFLAGS-tst-auditmod10a.c): Likewise.
231 (CFLAGS-tst-auditmod10b.c): Likewise.
232 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
233 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
234 * sysdeps/x86_64/configure: Regenerated.
235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
236 AVX-512 zmm register support.
237 (_dl_x86_64_save_sse): Likewise.
238 (_dl_x86_64_restore_sse): Likewise.
239 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
240 size vector registers.
241 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
242 (ZMM_SIZE): Likewise.
243 * sysdeps/x86_64/tst-audit10.c: New file.
244 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
245 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
246
247 2014-03-13 Roland McGrath <roland@hack.frob.com>
248
249 * configure.ac (HAVE_EHDR_START): New check.
250 * configure: Regenerated.
251 * config.h.in (HAVE_EHDR_START): New #undef.
252 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
253 assuming the lowest-addressed segment maps the start of the file.
254
255 2014-03-13 Joseph Myers <joseph@codesourcery.com>
256
257 * INSTALL: Regenerated.
258
259 2014-03-13 Will Newton <will.newton@linaro.org>
260
261 * manual/setjmp.texi (System V contexts): Improve
262 clarity and grammar of documentation.
263
264 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
265
266 [BZ #16381]
267 * elf/Makefile (tests): Add tst-pie2.
268 (tests-pie): Add tst-pie2.
269 * elf/tst-pie2.c: New file.
270 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
271 for ET_EXEC.
272 * elf/rtld.c (map_doit): Load executable as lt_executable.
273 (dl_main): Likewise.
274
275 2014-03-12 Joseph Myers <joseph@codesourcery.com>
276
277 [BZ #16642]
278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
279 (__ASSUME_PSELECT): Undefine.
280
281 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 [BZ #16689]
284 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
285 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
286 static build.
287 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
288 selector for static builds.
289
290 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
291
292 [BZ #16695]
293 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
294 key in the buffer.
295
296 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297
298 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
299 selector for static builds.
300
301 2014-03-11 Joseph Myers <joseph@codesourcery.com>
302
303 * sysdeps/mips/math_private.h [__mips_hard_float]
304 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
305 libc_feresetround_mips_ctx.
306 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
307 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
308 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
309
310 [BZ #16677]
311 * math/s_nextafter.c (__nextafter): Do not return value from
312 overflowing computation.
313 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
314 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
315 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
316 Likewise.
317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
318 Likewise.
319 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
320 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
321
322 2014-03-11 Roland McGrath <roland@hack.frob.com>
323
324 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
325 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
326 Move sfi_sp use from the load-multiple (that no longer sets sp) to
327 the new mov targetting sp.
328
329 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 [BZ #16683]
332 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
333 Define it for static builds as well.
334 (NO_BZERO_IMPL): Likewise.
335
336 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
337
338 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
339 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
340 multiarch strspn for PPC64.
341 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
342 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
344 (__libc_ifunc_impl_list): Likewise.
345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
346 multiarch optimizations
347 * string/strspn.c (strspn): Using macro to redefine symbol name.
348
349 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
350 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
353 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
354 multiarch strncat for PPC64.
355 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
356 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
358 (__libc_ifunc_impl_list): Likewise.
359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
360 multiarch optimizations
361
362 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
363
364 [BZ #16639]
365 * nscd/nscd.service: Make service type forking.
366
367 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368
369 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
370 sign in non default rounding modes.
371 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
372
373 2014-03-08 Joseph Myers <joseph@codesourcery.com>
374
375 * math/libm-test.inc (ALL_RM_TEST): New macro.
376 (ceil_test): Use ALL_RM_TEST.
377 (cimag_test): Likewise.
378 (conj_test): Likewise.
379 (copysign_test): Likewise.
380 (cproj_test): Likewise.
381 (creal_test): Likewise.
382 (fabs_test): Likewise.
383 (floor_test): Likewise.
384 (fmax_test): Likewise.
385 (fmin_test): Likewise.
386 (fmod_test): Likewise.
387 (fpclassify_test): Likewise.
388 (frexp_test): Likewise.
389 (ilogb_test): Likewise.
390 (isfinite_test): Likewise.
391 (finite_test): Likewise.
392 (isgreater_test): Likewise.
393 (isgreaterequal_test): Likewise.
394 (isinf_test): Likewise.
395 (isless_test): Likewise.
396 (islessequal_test): Likewise.
397 (islessgreater_test): Likewise.
398 (isnan_test): Likewise.
399 (isnormal_test): Likewise.
400 (issignaling_test): Likewise.
401 (isunordered_test): Likewise.
402 (logb_test): Likewise.
403 (logb_downward_test_data): Remove.
404 (logb_test_downward): Likewise.
405 (lround_test): Use ALL_RM_TEST.
406 (llround_test): Likewise.
407 (modf_test): Likewise.
408 (nexttoward_test): Likewise.
409 (remainder_test): Likewise.
410 (drem_test): Likewise.
411 (remainder_tonearest_test_data): Likewise.
412 (remainder_test_tonearest): Likewise.
413 (drem_test_tonearest): Likewise.
414 (remainder_towardzero_test_data): Likewise.
415 (remainder_test_towardzero): Likewise.
416 (drem_test_towardzero): Likewise.
417 (remainder_downward_test_data): Likewise.
418 (remainder_test_downward): Likewise.
419 (drem_test_downward): Likewise.
420 (remainder_upward_test_data): Likewise.
421 (remainder_test_upward): Likewise.
422 (drem_test_upward): Likewise.
423 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
424 (round_test): Use ALL_RM_TEST.
425 (signbit_test): Likewise.
426 (trunc_test): Likewise.
427 (significand_test): Likewise.
428 (main): Don't call removed functions.
429
430 2014-03-07 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #16674]
433 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
434 || __USE_XOPEN2K8].
435 (ILL_ILLOPN): Likewise.
436 (ILL_ILLADR): Likewise.
437 (ILL_ILLTRP): Likewise.
438 (ILL_PRVOPC): Likewise.
439 (ILL_PRVREG): Likewise.
440 (ILL_COPROC): Likewise.
441 (ILL_BADSTK): Likewise.
442 (FPE_INTDIV): Likewise.
443 (FPE_INTOVF): Likewise.
444 (FPE_FLTDIV): Likewise.
445 (FPE_FLTOVF): Likewise.
446 (FPE_FLTUND): Likewise.
447 (FPE_FLTRES): Likewise.
448 (FPE_FLTINV): Likewise.
449 (FPE_FLTSUB): Likewise.
450 (SEGV_MAPERR): Likewise.
451 (SEGV_ACCERR): Likewise.
452 (BUS_ADRALN): Likewise.
453 (BUS_ADRERR): Likewise.
454 (BUS_OBJERR): Likewise.
455 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
456 (TRAP_TRACE): Likewise.
457 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
458 __USE_XOPEN2K8].
459 (CLD_KILLED): Likewise.
460 (CLD_DUMPED): Likewise.
461 (CLD_TRAPPED): Likewise.
462 (CLD_STOPPED): Likewise.
463 (CLD_CONTINUED): Likewise.
464 (POLL_IN): Likewise.
465 (POLL_OUT): Likewise.
466 (POLL_MSG): Likewise.
467 (POLL_ERR): Likewise.
468 (POLL_PRI): Likewise.
469 (POLL_HUP): Likewise.
470 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
471 Likewise.
472 (ILL_ILLOPN): Likewise.
473 (ILL_ILLADR): Likewise.
474 (ILL_ILLTRP): Likewise.
475 (ILL_PRVOPC): Likewise.
476 (ILL_PRVREG): Likewise.
477 (ILL_COPROC): Likewise.
478 (ILL_BADSTK): Likewise.
479 (FPE_INTDIV): Likewise.
480 (FPE_INTOVF): Likewise.
481 (FPE_FLTDIV): Likewise.
482 (FPE_FLTOVF): Likewise.
483 (FPE_FLTUND): Likewise.
484 (FPE_FLTRES): Likewise.
485 (FPE_FLTINV): Likewise.
486 (FPE_FLTSUB): Likewise.
487 (SEGV_MAPERR): Likewise.
488 (SEGV_ACCERR): Likewise.
489 (BUS_ADRALN): Likewise.
490 (BUS_ADRERR): Likewise.
491 (BUS_OBJERR): Likewise.
492 (BUS_MCEERR_AR): Likewise.
493 (BUS_MCEERR_AO): Likewise.
494 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
495 (TRAP_TRACE): Likewise.
496 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
497 __USE_XOPEN2K8].
498 (CLD_KILLED): Likewise.
499 (CLD_DUMPED): Likewise.
500 (CLD_TRAPPED): Likewise.
501 (CLD_STOPPED): Likewise.
502 (CLD_CONTINUED): Likewise.
503 (POLL_IN): Likewise.
504 (POLL_OUT): Likewise.
505 (POLL_MSG): Likewise.
506 (POLL_ERR): Likewise.
507 (POLL_PRI): Likewise.
508 (POLL_HUP): Likewise.
509 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
510 (ILL_ILLOPN): Likewise.
511 (ILL_ILLADR): Likewise.
512 (ILL_ILLTRP): Likewise.
513 (ILL_PRVOPC): Likewise.
514 (ILL_PRVREG): Likewise.
515 (ILL_COPROC): Likewise.
516 (ILL_BADSTK): Likewise.
517 (FPE_INTDIV): Likewise.
518 (FPE_INTOVF): Likewise.
519 (FPE_FLTDIV): Likewise.
520 (FPE_FLTOVF): Likewise.
521 (FPE_FLTUND): Likewise.
522 (FPE_FLTRES): Likewise.
523 (FPE_FLTINV): Likewise.
524 (FPE_FLTSUB): Likewise.
525 (SEGV_MAPERR): Likewise.
526 (SEGV_ACCERR): Likewise.
527 (BUS_ADRALN): Likewise.
528 (BUS_ADRERR): Likewise.
529 (BUS_OBJERR): Likewise.
530 (BUS_MCEERR_AR): Likewise.
531 (BUS_MCEERR_AO): Likewise.
532 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
533 (TRAP_TRACE): Likewise.
534 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
535 __USE_XOPEN2K8].
536 (CLD_KILLED): Likewise.
537 (CLD_DUMPED): Likewise.
538 (CLD_TRAPPED): Likewise.
539 (CLD_STOPPED): Likewise.
540 (CLD_CONTINUED): Likewise.
541 (POLL_IN): Likewise.
542 (POLL_OUT): Likewise.
543 (POLL_MSG): Likewise.
544 (POLL_ERR): Likewise.
545 (POLL_PRI): Likewise.
546 (POLL_HUP): Likewise.
547 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
548 Likewise.
549 (ILL_ILLOPN): Likewise.
550 (ILL_ILLADR): Likewise.
551 (ILL_ILLTRP): Likewise.
552 (ILL_PRVOPC): Likewise.
553 (ILL_PRVREG): Likewise.
554 (ILL_COPROC): Likewise.
555 (ILL_BADSTK): Likewise.
556 (ILL_BADIADDR): Likewise.
557 (ILL_BREAK): Likewise.
558 (FPE_INTDIV): Likewise.
559 (FPE_INTOVF): Likewise.
560 (FPE_FLTDIV): Likewise.
561 (FPE_FLTOVF): Likewise.
562 (FPE_FLTUND): Likewise.
563 (FPE_FLTRES): Likewise.
564 (FPE_FLTINV): Likewise.
565 (FPE_FLTSUB): Likewise.
566 (FPE_DECOVF): Likewise.
567 (FPE_DECDIV): Likewise.
568 (FPE_DECERR): Likewise.
569 (FPE_INVASC): Likewise.
570 (FPE_INVDEC): Likewise.
571 (SEGV_MAPERR): Likewise.
572 (SEGV_ACCERR): Likewise.
573 (SEGV_PSTKOVF): Likewise.
574 (BUS_ADRALN): Likewise.
575 (BUS_ADRERR): Likewise.
576 (BUS_OBJERR): Likewise.
577 (BUS_MCEERR_AR): Likewise.
578 (BUS_MCEERR_AO): Likewise.
579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
580 (TRAP_TRACE): Likewise.
581 (TRAP_BRANCH): Likewise.
582 (TRAP_HWBKPT): Likewise.
583 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
584 __USE_XOPEN2K8].
585 (CLD_KILLED): Likewise.
586 (CLD_DUMPED): Likewise.
587 (CLD_TRAPPED): Likewise.
588 (CLD_STOPPED): Likewise.
589 (CLD_CONTINUED): Likewise.
590 (POLL_IN): Likewise.
591 (POLL_OUT): Likewise.
592 (POLL_MSG): Likewise.
593 (POLL_ERR): Likewise.
594 (POLL_PRI): Likewise.
595 (POLL_HUP): Likewise.
596 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
597 (ILL_ILLOPN): Likewise.
598 (ILL_ILLADR): Likewise.
599 (ILL_ILLTRP): Likewise.
600 (ILL_PRVOPC): Likewise.
601 (ILL_PRVREG): Likewise.
602 (ILL_COPROC): Likewise.
603 (ILL_BADSTK): Likewise.
604 (FPE_INTDIV): Likewise.
605 (FPE_INTOVF): Likewise.
606 (FPE_FLTDIV): Likewise.
607 (FPE_FLTOVF): Likewise.
608 (FPE_FLTUND): Likewise.
609 (FPE_FLTRES): Likewise.
610 (FPE_FLTINV): Likewise.
611 (FPE_FLTSUB): Likewise.
612 (SEGV_MAPERR): Likewise.
613 (SEGV_ACCERR): Likewise.
614 (BUS_ADRALN): Likewise.
615 (BUS_ADRERR): Likewise.
616 (BUS_OBJERR): Likewise.
617 (BUS_MCEERR_AR): Likewise.
618 (BUS_MCEERR_AO): Likewise.
619 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
620 (TRAP_TRACE): Likewise.
621 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
622 __USE_XOPEN2K8].
623 (CLD_KILLED): Likewise.
624 (CLD_DUMPED): Likewise.
625 (CLD_TRAPPED): Likewise.
626 (CLD_STOPPED): Likewise.
627 (CLD_CONTINUED): Likewise.
628 (POLL_IN): Likewise.
629 (POLL_OUT): Likewise.
630 (POLL_MSG): Likewise.
631 (POLL_ERR): Likewise.
632 (POLL_PRI): Likewise.
633 (POLL_HUP): Likewise.
634 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
635 (ILL_ILLOPN): Likewise.
636 (ILL_ILLADR): Likewise.
637 (ILL_ILLTRP): Likewise.
638 (ILL_PRVOPC): Likewise.
639 (ILL_PRVREG): Likewise.
640 (ILL_COPROC): Likewise.
641 (ILL_BADSTK): Likewise.
642 (FPE_INTDIV): Likewise.
643 (FPE_INTOVF): Likewise.
644 (FPE_FLTDIV): Likewise.
645 (FPE_FLTOVF): Likewise.
646 (FPE_FLTUND): Likewise.
647 (FPE_FLTRES): Likewise.
648 (FPE_FLTINV): Likewise.
649 (FPE_FLTSUB): Likewise.
650 (SEGV_MAPERR): Likewise.
651 (SEGV_ACCERR): Likewise.
652 (BUS_ADRALN): Likewise.
653 (BUS_ADRERR): Likewise.
654 (BUS_OBJERR): Likewise.
655 (BUS_MCEERR_AR): Likewise.
656 (BUS_MCEERR_AO): Likewise.
657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
658 (TRAP_TRACE): Likewise.
659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
660 __USE_XOPEN2K8].
661 (CLD_KILLED): Likewise.
662 (CLD_DUMPED): Likewise.
663 (CLD_TRAPPED): Likewise.
664 (CLD_STOPPED): Likewise.
665 (CLD_CONTINUED): Likewise.
666 (POLL_IN): Likewise.
667 (POLL_OUT): Likewise.
668 (POLL_MSG): Likewise.
669 (POLL_ERR): Likewise.
670 (POLL_PRI): Likewise.
671 (POLL_HUP): Likewise.
672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
673 (ILL_ILLOPN): Likewise.
674 (ILL_ILLADR): Likewise.
675 (ILL_ILLTRP): Likewise.
676 (ILL_PRVOPC): Likewise.
677 (ILL_PRVREG): Likewise.
678 (ILL_COPROC): Likewise.
679 (ILL_BADSTK): Likewise.
680 (FPE_INTDIV): Likewise.
681 (FPE_INTOVF): Likewise.
682 (FPE_FLTDIV): Likewise.
683 (FPE_FLTOVF): Likewise.
684 (FPE_FLTUND): Likewise.
685 (FPE_FLTRES): Likewise.
686 (FPE_FLTINV): Likewise.
687 (FPE_FLTSUB): Likewise.
688 (SEGV_MAPERR): Likewise.
689 (SEGV_ACCERR): Likewise.
690 (BUS_ADRALN): Likewise.
691 (BUS_ADRERR): Likewise.
692 (BUS_OBJERR): Likewise.
693 (BUS_MCEERR_AR): Likewise.
694 (BUS_MCEERR_AO): Likewise.
695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
696 (TRAP_TRACE): Likewise.
697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
698 __USE_XOPEN2K8].
699 (CLD_KILLED): Likewise.
700 (CLD_DUMPED): Likewise.
701 (CLD_TRAPPED): Likewise.
702 (CLD_STOPPED): Likewise.
703 (CLD_CONTINUED): Likewise.
704 (POLL_IN): Likewise.
705 (POLL_OUT): Likewise.
706 (POLL_MSG): Likewise.
707 (POLL_ERR): Likewise.
708 (POLL_PRI): Likewise.
709 (POLL_HUP): Likewise.
710 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
711 (ILL_ILLOPN): Likewise.
712 (ILL_ILLADR): Likewise.
713 (ILL_ILLTRP): Likewise.
714 (ILL_PRVOPC): Likewise.
715 (ILL_PRVREG): Likewise.
716 (ILL_COPROC): Likewise.
717 (ILL_BADSTK): Likewise.
718 (ILL_DBLFLT): Likewise.
719 (ILL_HARDWALL): Likewise.
720 (FPE_INTDIV): Likewise.
721 (FPE_INTOVF): Likewise.
722 (FPE_FLTDIV): Likewise.
723 (FPE_FLTOVF): Likewise.
724 (FPE_FLTUND): Likewise.
725 (FPE_FLTRES): Likewise.
726 (FPE_FLTINV): Likewise.
727 (FPE_FLTSUB): Likewise.
728 (SEGV_MAPERR): Likewise.
729 (SEGV_ACCERR): Likewise.
730 (BUS_ADRALN): Likewise.
731 (BUS_ADRERR): Likewise.
732 (BUS_OBJERR): Likewise.
733 (BUS_MCEERR_AR): Likewise.
734 (BUS_MCEERR_AO): Likewise.
735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
736 (TRAP_TRACE): Likewise.
737 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
738 __USE_XOPEN2K8].
739 (CLD_KILLED): Likewise.
740 (CLD_DUMPED): Likewise.
741 (CLD_TRAPPED): Likewise.
742 (CLD_STOPPED): Likewise.
743 (CLD_CONTINUED): Likewise.
744 (POLL_IN): Likewise.
745 (POLL_OUT): Likewise.
746 (POLL_MSG): Likewise.
747 (POLL_ERR): Likewise.
748 (POLL_PRI): Likewise.
749 (POLL_HUP): Likewise.
750 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
751 (ILL_ILLOPN): Likewise.
752 (ILL_ILLADR): Likewise.
753 (ILL_ILLTRP): Likewise.
754 (ILL_PRVOPC): Likewise.
755 (ILL_PRVREG): Likewise.
756 (ILL_COPROC): Likewise.
757 (ILL_BADSTK): Likewise.
758 (FPE_INTDIV): Likewise.
759 (FPE_INTOVF): Likewise.
760 (FPE_FLTDIV): Likewise.
761 (FPE_FLTOVF): Likewise.
762 (FPE_FLTUND): Likewise.
763 (FPE_FLTRES): Likewise.
764 (FPE_FLTINV): Likewise.
765 (FPE_FLTSUB): Likewise.
766 (SEGV_MAPERR): Likewise.
767 (SEGV_ACCERR): Likewise.
768 (BUS_ADRALN): Likewise.
769 (BUS_ADRERR): Likewise.
770 (BUS_OBJERR): Likewise.
771 (BUS_MCEERR_AR): Likewise.
772 (BUS_MCEERR_AO): Likewise.
773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
774 (TRAP_TRACE): Likewise.
775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
776 __USE_XOPEN2K8].
777 (CLD_KILLED): Likewise.
778 (CLD_DUMPED): Likewise.
779 (CLD_TRAPPED): Likewise.
780 (CLD_STOPPED): Likewise.
781 (CLD_CONTINUED): Likewise.
782 (POLL_IN): Likewise.
783 (POLL_OUT): Likewise.
784 (POLL_MSG): Likewise.
785 (POLL_ERR): Likewise.
786 (POLL_PRI): Likewise.
787 (POLL_HUP): Likewise.
788 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
789 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
790
791 [BZ #16670]
792 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
793 before #include of <time.h>.
794 [!__USE_XOPEN2K] (__need_timespec): Likewise.
795 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
796 (test-xfail-UNIX98/sched.h/conform): Likewise.
797
798 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
799
800 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
801 error absence of trapping exception support.
802 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
803
804 2014-03-07 Joseph Myers <joseph@codesourcery.com>
805
806 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
807 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
808 * timezone/Makefile (testdata): Move definition above include of
809 Rules.
810 (test-zones): New variable.
811 (tests-special): Add zone files.
812 (build-testdata): Use $(evaluate-test).
813
814 * elf/Makefile (tests-special): Rename tests to end with .out.
815 ($(objpfx)noload-mem): Likewise.
816 ($(objpfx)tst-leaks1-mem): Likewise.
817 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
818 * iconv/Makefile (xtests-special): Change test-iconvconfig to
819 $(objpfx)test-iconvconfig.out.
820 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
821 set -e inside subshell and redirect output to file.
822 * iconvdata/Makefile (generated): Rename tests to end with .out.
823 Correct type.
824 (tests-special): Rename tests to end with .out.
825 ($(objpfx)mtrace-tst-loading): Likewise.
826 * intl/Makefile (generated): Likewise.
827 (tests-special): Likewise.
828 ($(objpfx)mtrace-tst-gettext): Likewise.
829 * misc/Makefile (generated): Likewise.
830 (tests-special): Likewise.
831 ($(objpfx)tst-error1-mem): Likewise.
832 * nptl/Makefile (tests-special): Likewise.
833 ($(objpfx)tst-stack3-mem): Likewise.
834 (generated): Likewise.
835 * posix/Makefile (generated): Likewise.
836 (tests-special): Likewise.
837 (xtests-special): Likewise.
838 ($(objpfx)tst-fnmatch-mem): Likewise.
839 ($(objpfx)bug-regex2-mem): Likewise.
840 ($(objpfx)bug-regex14-mem): Likewise.
841 ($(objpfx)bug-regex21-mem): Likewise.
842 ($(objpfx)bug-regex31-mem): Likewise.
843 ($(objpfx)tst-vfork3-mem): Likewise.
844 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
845 ($(objpfx)tst-pcre-mem): Likewise.
846 ($(objpfx)tst-boost-mem): Likewise.
847 ($(objpfx)bug-ga2-mem): Likewise.
848 ($(objpfx)bug-glob2-mem): Likewise.
849 * resolv/Makefile (generate): Likewise.
850 (tests-special): Likewise.
851 (xtests-special): Likewise.
852 (generated): Likewise.
853 ($(objpfx)mtrace-tst-leaks): Likewise.
854 ($(objpfx)mtrace-tst-leaks2): Likewise.
855
856 * scripts/merge-test-results.sh: New file.
857 * Makefile (tests-special-notdir): New variable.
858 (tests): Run merge-test-results.sh.
859 (xtests): Likewise.
860 * Rules (tests-special-notdir): New variable.
861 (xtests-special-notdir): Likewise.
862 (tests): Run merge-test-results.sh
863 (xtests): Likewise.
864
865 * Makeconfig (test-xfail-name): New variable.
866 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
867 compute variable name for expected failures.
868 * conform/Makefile (conformtest-headers-data): New variable.
869 (conformtest-standards): Likewise.
870 (conformtest-headers-ISO): Likewise.
871 (conformtest-headers-ISO99): Likewise.
872 (conformtest-headers-ISO11): Likewise.
873 (conformtest-headers-POSIX): Likewise.
874 (conformtest-headers-XPG3): Likewise.
875 (conformtest-headers-XPG4): Likewise.
876 (conformtest-headers-UNIX98): Likewise.
877 (conformtest-headers-XOPEN2K): Likewise.
878 (conformtest-headers-POSIX2008): Likewise.
879 (conformtest-headers-XOPEN2K8): Likewise.
880 (conformtest-header-list-base): Likewise.
881 (conformtest-header-list-tests): Likewise.
882 (conformtest-header-base): Likewise.
883 (conformtest-header-tests): Likewise.
884 (tests-special): Add $(conformtest-header-list-tests). If
885 [$(fast-check) && !$(cross-compiling)], add
886 $(conformtest-header-tests) instead of
887 $(objpfx)run-conformtest.out.
888 (generated): Add $(conformtest-header-list-base). If
889 [$(fast-check) && !$(cross-compiling)], add
890 $(conformtest-header-base). Remove previous setting.
891 ($(conformtest-header-list-tests)): New target.
892 (test-xfail-run-conformtest): Remove variable.
893 ($(objpfx)run-conformtest.out): Remove target.
894 (test-xfail-ISO11/complex.h/conform): New variable.
895 (test-xfail-ISO11/stdalign.h/conform): Likewise.
896 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
897 (test-xfail-XPG3/varargs.h/conform): Likewise.
898 (test-xfail-XPG4/varargs.h/conform): Likewise.
899 (test-xfail-UNIX98/varargs.h/conform): Likewise.
900 (test-xfail-XPG4/ndbm.h/conform): Likewise.
901 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
902 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
903 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
904 (test-xfail-XPG3/fcntl.h/conform): Likewise.
905 (test-xfail-XPG3/ftw.h/conform): Likewise.
906 (test-xfail-XPG3/grp.h/conform): Likewise.
907 (test-xfail-XPG3/langinfo.h/conform): Likewise.
908 (test-xfail-XPG3/limits.h/conform): Likewise.
909 (test-xfail-XPG3/pwd.h/conform): Likewise.
910 (test-xfail-XPG3/search.h/conform): Likewise.
911 (test-xfail-XPG3/signal.h/conform): Likewise.
912 (test-xfail-XPG3/stdio.h/conform): Likewise.
913 (test-xfail-XPG3/stdlib.h/conform): Likewise.
914 (test-xfail-XPG3/string.h/conform): Likewise.
915 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
916 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
917 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
918 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
919 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
920 (test-xfail-XPG3/sys/types.h/conform): Likewise.
921 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
922 (test-xfail-XPG3/termios.h/conform): Likewise.
923 (test-xfail-XPG3/time.h/conform): Likewise.
924 (test-xfail-XPG3/unistd.h/conform): Likewise.
925 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
926 (test-xfail-XPG4/fcntl.h/conform): Likewise.
927 (test-xfail-XPG4/langinfo.h/conform): Likewise.
928 (test-xfail-XPG4/netdb.h/conform): Likewise.
929 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
930 (test-xfail-XPG4/signal.h/conform): Likewise.
931 (test-xfail-XPG4/stdio.h/conform): Likewise.
932 (test-xfail-XPG4/stdlib.h/conform): Likewise.
933 (test-xfail-XPG4/stropts.h/conform): Likewise.
934 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
935 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
936 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
937 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
938 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
939 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
940 (test-xfail-XPG4/sys/time.h/conform): Likewise.
941 (test-xfail-XPG4/sys/types.h/conform): Likewise.
942 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
943 (test-xfail-XPG4/termios.h/conform): Likewise.
944 (test-xfail-XPG4/ucontext.h/conform): Likewise.
945 (test-xfail-XPG4/unistd.h/conform): Likewise.
946 (test-xfail-XPG4/utmpx.h/conform): Likewise.
947 (test-xfail-POSIX/sched.h/conform): Likewise.
948 (test-xfail-POSIX/signal.h/conform): Likewise.
949 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
950 (test-xfail-POSIX/tar.h/conform): Likewise.
951 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
952 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
953 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
954 (test-xfail-UNIX98/netdb.h/conform): Likewise.
955 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
956 (test-xfail-UNIX98/sched.h/conform): Likewise.
957 (test-xfail-UNIX98/signal.h/conform): Likewise.
958 (test-xfail-UNIX98/stdio.h/conform): Likewise.
959 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
960 (test-xfail-UNIX98/stropts.h/conform): Likewise.
961 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
962 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
963 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
964 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
965 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
966 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
967 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
968 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
969 (test-xfail-UNIX98/unistd.h/conform): Likewise.
970 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
971 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
972 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
973 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
974 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
975 (test-xfail-XOPEN2K/math.h/conform): Likewise.
976 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
977 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
978 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
979 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
980 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
981 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
982 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
983 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
984 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
985 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
986 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
987 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
988 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
989 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
990 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
991 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
992 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
993 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
994 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
995 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
996 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
997 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
998 (test-xfail-POSIX2008/signal.h/conform): Likewise.
999 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1000 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1001 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1002 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1003 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1004 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1005 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1006 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1007 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1008 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1009 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1010 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1011 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1012 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1013 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1014 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1015 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1016 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1017 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1018 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1019 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1020 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1021 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1022 (conformtest-cc-flags): Likewise.
1023 ($(conformtest-header-tests): New target.
1024 * conform/check-header-lists.sh: New file.
1025 * conform/run-conformtest.sh: Remove.
1026
1027 * conform/conformtest.pl: Allow ' and \ in values given for
1028 constants.
1029 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1030 inclusion.
1031 [POSIX] (sys/types.h): Likewise.
1032 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1033 inclusion.
1034 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1035 inclusion.
1036 * conform/data/signal.h-data (SIGIO): Remove expectation.
1037 [XPG3] (SIGBUS): Do not expect.
1038 [POSIX || XPG3] (SIGPOLL): Likewise.
1039 [POSIX || XPG3] (SIGPROF): Likewise.
1040 [POSIX || XPG3] (SIGSYS): Likewise.
1041 [XPG3] (SIGTRAP): Likewise.
1042 [POSIX || XPG3] (SIGURG): Likewise.
1043 [POSIX || XPG3] (SIGVTALRM): Likewise.
1044 [POSIX || XPG3] (SIGXCPU): Likewise.
1045 [POSIX || XPG3] (SIGXFSZ): Likewise.
1046 [POSIX] (SA_SIGINFO): Expect.
1047 [XPG3] (siginfo_t): Do not expect type or contents.
1048 [POSIX] (si_pid): Do not expect element.
1049 [POSIX] (si_uid): Likewise.
1050 [POSIX] (si_addr): Likewise.
1051 [POSIX] (si_status): Likewise.
1052 [POSIX] (si_band): Likewise.
1053 [XPG4] (si_value): Likewise.
1054 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1055 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1056 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1057 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1058 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1059 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1060 [POSIX || XPG3] (ILL_COPROC): Likewise.
1061 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1062 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1063 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1064 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1065 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1066 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1067 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1068 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1069 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1070 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1071 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1072 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1073 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1074 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1075 [POSIX || XPG3] (CLD_EXITED): Likewise.
1076 [POSIX || XPG3] (CLD_KILLED): Likewise.
1077 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1078 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1079 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1080 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1081 [POSIX || XPG3] (POLL_IN): Likewise.
1082 [POSIX || XPG3] (POLL_OUT): Likewise.
1083 [POSIX || XPG3] (POLL_MSG): Likewise.
1084 [POSIX || XPG3] (POLL_ERR): Likewise.
1085 [POSIX || XPG3] (POLL_PRI): Likewise.
1086 [POSIX || XPG3] (POLL_HUP): Likewise.
1087 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1088 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1089 (SIG*): Do not allow.
1090 [XPG3] (si_*): Likewise.
1091 [XPG3] (SI_*): Likewise.
1092 [XPG3 || XPG4] (sigev_*): Likewise.
1093 [XPG3 || XPG4] (SIGEV_*): Likewise.
1094 [XPG3 || XPG4] (sival_*): Likewise.
1095 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1096 [POSIX || XPG3] (BUS_*): Likewise.
1097 [POSIX || XPG3] (CLD_*): Likewise.
1098 [POSIX || XPG3] (FPE_*): Likewise.
1099 [POSIX || XPG3] (ILL_*): Likewise.
1100 [POSIX || XPG3] (POLL_*): Likewise.
1101 [POSIX || XPG3] (SEGV_*): Likewise.
1102 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1103 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1104 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1105 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1106 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1107 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1108 Specify type and value.
1109 (TVERSLEN): Likewise.
1110 (REGTYPE): Likewise.
1111 (AREGTYPE): Likewise.
1112 (LNKTYPE): Likewise.
1113 (SYMTYPE): Likewise.
1114 (CHRTYPE): Likewise.
1115 (BLKTYPE): Likewise.
1116 (DIRTYPE): Likewise.
1117 (FIFOTYPE): Likewise.
1118 (CONTTYPE): Likewise.
1119 (TSUID): Likewise.
1120 (TSGID): Likewise.
1121 (TSVTX): Likewise.
1122 (TUREAD): Likewise.
1123 (TUWRITE): Likewise.
1124 (TUEXEC): Likewise.
1125 (TGREAD): Likewise.
1126 (TGWRITE): Likewise.
1127 (TGEXEC): Likewise.
1128 (TOREAD): Likewise.
1129 (TOWRITE): Likewise.
1130 (TOEXEC): Likewise.
1131 [POSIX] (TSVTX): Expect constant.
1132
1133 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1134
1135 * Makefile (tests): Change dependencies to ....
1136 (tests-special): ... additions to this variable.
1137 (tests): Depend on $(tests-special).
1138 * Makerules (check-abi-list): New variable.
1139 (check-abi): Depend on $(check-abi-list).
1140 [$(subdir) = elf] (tests-special): Add
1141 $(objpfx)check-abi-libc.out.
1142 [$(build-shared) = yes && subdir] (tests-special): Add
1143 $(check-abi-list).
1144 [$(build-shared) = yes && subdir] (tests): Do not depend on
1145 check-abi.
1146 * Rules (tests): Depend on $(tests-special).
1147 (xtests): Depend on $(xtests-special).
1148 * catgets/Makefile (tests): Change dependencies to ....
1149 (tests-special): ... additions to this variable.
1150 * conform/Makefile (tests): Change dependencies to ....
1151 (tests-special): ... additions to this variable.
1152 * elf/Makefile (tests): Change dependencies to ....
1153 (tests-special): ... additions to this variable.
1154 * grp/Makefile (tests): Change dependencies to ....
1155 (tests-special): ... additions to this variable.
1156 * iconv/Makefile (xtests): Change dependencies to ....
1157 (xtests-special): ... additions to this variable.
1158 * iconvdata/Makefile (tests): Change dependencies to ....
1159 (tests-special): ... additions to this variable.
1160 * intl/Makefile (tests): Change dependencies to ....
1161 (tests-special): ... additions to this variable. Also add
1162 $(objpfx)tst-gettext.out.
1163 * io/Makefile (tests): Change dependencies to ....
1164 (tests-special): ... additions to this variable.
1165 * libio/Makefile (tests): Change dependencies to ....
1166 (tests-special): ... additions to this variable.
1167 * malloc/Makefile (tests): Change dependencies to ....
1168 (tests-special): ... additions to this variable.
1169 * misc/Makefile (tests): Change dependencies to ....
1170 (tests-special): ... additions to this variable.
1171 * nptl/Makefile (tests): Change dependencies to ....
1172 (tests-special): ... additions to this variable.
1173 * nptl_db/Makefile (tests): Change dependencies to ....
1174 (tests-special): ... additions to this variable.
1175 * posix/Makefile (tests): Change dependencies to ....
1176 (tests-special): ... additions to this variable.
1177 (xtests): Change dependencies to ....
1178 (xtests-special): ... additions to this variable.
1179 * resolv/Makefile (tests): Change dependencies to ....
1180 (tests-special): ... additions to this variable.
1181 (xtests): Change dependencies to ....
1182 (xtests-special): ... additions to this variable.
1183 * stdio-common/Makefile (tests): Change dependencies to ....
1184 (tests-special): ... additions to this variable.
1185 (do-tst-unbputc): Remove target.
1186 (do-tst-printf): Likewise.
1187 * stdlib/Makefile (tests): Change dependencies to ....
1188 (tests-special): ... additions to this variable.
1189 * string/Makefile (tests): Change dependencies to ....
1190 (tests-special): ... additions to this variable.
1191 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1192 (tests-special): ... additions to this variable.
1193
1194 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1195 whole file.
1196 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1197 whole file.
1198 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1199 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1200
1201 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1202 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1203 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1204 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1205 * conform/data/libgen.h-data [XPG3]: Likewise.
1206 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1207 * conform/data/ndbm.h-data [XPG3]: Likewise.
1208 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1209 * conform/data/netdb.h-data [XPG3]: Likewise.
1210 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1211 * conform/data/poll.h-data [XPG3]: Likewise.
1212 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1213 * conform/data/strings.h-data [XPG3]: Likewise.
1214 * conform/data/stropts.h-data [XPG3]: Likewise.
1215 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1216 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1217 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1218 Likewise.
1219 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1220 * conform/data/sys/time.h-data [XPG3]: Likewise.
1221 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1222 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1223 * conform/data/sys/un.h-data [XPG3]: Likewise.
1224 * conform/data/syslog.h-data [XPG3]: Likewise.
1225 * conform/data/ucontext.h-data [XPG3]: Likewise.
1226 * conform/data/utmpx.h-data [XPG3]: Likewise.
1227 * conform/data/varargs.h-data [UNIX98]: Enable file.
1228
1229 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1230
1231 * math/libm-test.inc (struct test_f_f_data): Move expected results
1232 into structure for each rounding mode.
1233 (struct test_ff_f_data): Likewise.
1234 (struct test_ff_f_data_nexttoward): Likewise.
1235 (struct test_fi_f_data): Likewise.
1236 (struct test_fl_f_data): Likewise.
1237 (struct test_if_f_data): Likewise.
1238 (struct test_fff_f_data): Likewise.
1239 (struct test_c_f_data): Likewise.
1240 (struct test_f_f1_data): Likewise.
1241 (struct test_fF_f1_data): Likewise.
1242 (struct test_ffI_f1_data): Likewise.
1243 (struct test_c_c_data): Likewise.
1244 (struct test_cc_c_data): Likewise.
1245 (struct test_f_i_data): Likewise.
1246 (struct test_ff_i_data): Likewise.
1247 (struct test_f_l_data): Likewise.
1248 (struct test_f_L_data): Likewise.
1249 (struct test_fFF_11_data): Likewise.
1250 (RM_): New macro.
1251 (RM_FE_DOWNWARD): Likewise.
1252 (RM_FE_TONEAREST): Likewise.
1253 (RM_FE_TOWARDZERO): Likewise.
1254 (RM_FE_UPWARD): Likewise.
1255 (RUN_TEST_LOOP_f_f): Update references to expected results.
1256 (RUN_TEST_LOOP_2_f): Likewise.
1257 (RUN_TEST_LOOP_fff_f): Likewise.
1258 (RUN_TEST_LOOP_c_f): Likewise.
1259 (RUN_TEST_LOOP_f_f1): Likewise.
1260 (RUN_TEST_LOOP_fF_f1): Likewise.
1261 (RUN_TEST_LOOP_fI_f1): Likewise.
1262 (RUN_TEST_LOOP_ffI_f1): Likewise.
1263 (RUN_TEST_LOOP_c_c): Likewise.
1264 (RUN_TEST_LOOP_cc_c): Likewise.
1265 (RUN_TEST_LOOP_f_i): Likewise.
1266 (RUN_TEST_LOOP_f_i_tg): Likewise.
1267 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1268 (RUN_TEST_LOOP_f_b): Likewise.
1269 (RUN_TEST_LOOP_f_b_tg): Likewise.
1270 (RUN_TEST_LOOP_f_l): Likewise.
1271 (RUN_TEST_LOOP_f_L): Likewise.
1272 (RUN_TEST_LOOP_fFF_11): Likewise.
1273 * math/gen-libm-test.pl (parse_args): Output four copies of
1274 expected results for each test.
1275
1276 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1277 (__ASSUME_UTIMES): Remove.
1278 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1279 (__ASSUME_UTIMES): Likewise.
1280
1281 * math/gen-auto-libm-tests.c: Update comment on output format.
1282 (output_for_one_input_case): Generate before-rounding and
1283 after-rounding information as conditions on output flags not
1284 floating-point format.
1285 * math/auto-libm-test-out: Regenerated.
1286 * math/gen-libm-test.pl (cond_value): New function.
1287 (or_cond_value): Use cond_value.
1288 (generate_testfile): Handle conditional exceptions.
1289
1290 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1291
1292 * math/libm-test.inc (max_valid_error): New variable.
1293 (init_max_error): Take new argument specifying whether function
1294 results are exactly determined. Set max_valid_error and bound
1295 other variables for errors based on this argument.
1296 (set_max_error): Do not record results above max_valid_error.
1297 (check_float_internal): Only accept errors of up to 0.5ulps if
1298 also at most max_valid_error.
1299 (START): Take new argument EXACT and pass it to init_max_error.
1300 (acos_test): Update call to START.
1301 (acos_test_tonearest): Likewise.
1302 (acos_test_towardzero): Likewise.
1303 (acos_test_downward): Likewise.
1304 (acos_test_upward): Likewise.
1305 (acosh_test): Likewise.
1306 (asin_test): Likewise.
1307 (asin_test_tonearest): Likewise.
1308 (asin_test_towardzero): Likewise.
1309 (asin_test_downward): Likewise.
1310 (asin_test_upward): Likewise.
1311 (asinh_test): Likewise.
1312 (atan_test): Likewise.
1313 (atanh_test): Likewise.
1314 (atan2_test): Likewise.
1315 (cabs_test): Likewise.
1316 (cacos_test): Likewise.
1317 (cacosh_test): Likewise.
1318 (carg_test): Likewise.
1319 (casin_test): Likewise.
1320 (casinh_test): Likewise.
1321 (catan_test): Likewise.
1322 (catanh_test): Likewise.
1323 (cbrt_test): Likewise.
1324 (ccos_test): Likewise.
1325 (ccosh_test): Likewise.
1326 (ceil_test): Likewise.
1327 (cexp_test): Likewise.
1328 (cimag_test): Likewise.
1329 (clog_test): Likewise.
1330 (clog10_test): Likewise.
1331 (conj_test): Likewise.
1332 (copysign_test): Likewise.
1333 (cos_test): Likewise.
1334 (cos_test_tonearest): Likewise.
1335 (cos_test_towardzero): Likewise.
1336 (cos_test_downward): Likewise.
1337 (cos_test_upward): Likewise.
1338 (cosh_test): Likewise.
1339 (cosh_test_tonearest): Likewise.
1340 (cosh_test_towardzero): Likewise.
1341 (cosh_test_downward): Likewise.
1342 (cosh_test_upward): Likewise.
1343 (cpow_test): Likewise.
1344 (cproj_test): Likewise.
1345 (creal_test): Likewise.
1346 (csin_test): Likewise.
1347 (csinh_test): Likewise.
1348 (csqrt_test): Likewise.
1349 (ctan_test): Likewise.
1350 (ctan_test_tonearest): Likewise.
1351 (ctan_test_towardzero): Likewise.
1352 (ctan_test_downward): Likewise.
1353 (ctan_test_upward): Likewise.
1354 (ctanh_test): Likewise.
1355 (ctanh_test_tonearest): Likewise.
1356 (ctanh_test_towardzero): Likewise.
1357 (ctanh_test_downward): Likewise.
1358 (ctanh_test_upward): Likewise.
1359 (erf_test): Likewise.
1360 (erfc_test): Likewise.
1361 (exp_test): Likewise.
1362 (exp_test_tonearest): Likewise.
1363 (exp_test_towardzero): Likewise.
1364 (exp_test_downward): Likewise.
1365 (exp_test_upward): Likewise.
1366 (exp10_test): Likewise.
1367 (exp10_test_tonearest): Likewise.
1368 (exp10_test_towardzero): Likewise.
1369 (exp10_test_downward): Likewise.
1370 (exp10_test_upward): Likewise.
1371 (pow10_test): Likewise.
1372 (exp2_test): Likewise.
1373 (expm1_test): Likewise.
1374 (expm1_test_tonearest): Likewise.
1375 (expm1_test_towardzero): Likewise.
1376 (expm1_test_downward): Likewise.
1377 (expm1_test_upward): Likewise.
1378 (fabs_test): Likewise.
1379 (fdim_test): Likewise.
1380 (floor_test): Likewise.
1381 (fma_test): Likewise.
1382 (fma_test_towardzero): Likewise.
1383 (fma_test_downward): Likewise.
1384 (fma_test_upward): Likewise.
1385 (fmax_test): Likewise.
1386 (fmin_test): Likewise.
1387 (fmod_test): Likewise.
1388 (fpclassify_test): Likewise.
1389 (frexp_test): Likewise.
1390 (hypot_test): Likewise.
1391 (ilogb_test): Likewise.
1392 (isfinite_test): Likewise.
1393 (finite_test): Likewise.
1394 (isgreater_test): Likewise.
1395 (isgreaterequal_test): Likewise.
1396 (isinf_test): Likewise.
1397 (isless_test): Likewise.
1398 (islessequal_test): Likewise.
1399 (islessgreater_test): Likewise.
1400 (isnan_test): Likewise.
1401 (isnormal_test): Likewise.
1402 (issignaling_test): Likewise.
1403 (isunordered_test): Likewise.
1404 (j0_test): Likewise.
1405 (j1_test): Likewise.
1406 (jn_test): Likewise.
1407 (ldexp_test): Likewise.
1408 (lgamma_test): Likewise.
1409 (gamma_test): Likewise.
1410 (lrint_test): Likewise.
1411 (lrint_test_tonearest): Likewise.
1412 (lrint_test_towardzero): Likewise.
1413 (lrint_test_downward): Likewise.
1414 (lrint_test_upward): Likewise.
1415 (llrint_test): Likewise.
1416 (llrint_test_tonearest): Likewise.
1417 (llrint_test_towardzero): Likewise.
1418 (llrint_test_downward): Likewise.
1419 (llrint_test_upward): Likewise.
1420 (log_test): Likewise.
1421 (log10_test): Likewise.
1422 (log1p_test): Likewise.
1423 (log2_test): Likewise.
1424 (logb_test): Likewise.
1425 (logb_test_downward): Likewise.
1426 (lround_test): Likewise.
1427 (llround_test): Likewise.
1428 (modf_test): Likewise.
1429 (nearbyint_test): Likewise.
1430 (nextafter_test): Likewise.
1431 (nexttoward_test): Likewise.
1432 (pow_test): Likewise.
1433 (pow_test_tonearest): Likewise.
1434 (pow_test_towardzero): Likewise.
1435 (pow_test_downward): Likewise.
1436 (pow_test_upward): Likewise.
1437 (remainder_test): Likewise.
1438 (drem_test): Likewise.
1439 (remainder_test_tonearest): Likewise.
1440 (drem_test_tonearest): Likewise.
1441 (remainder_test_towardzero): Likewise.
1442 (drem_test_towardzero): Likewise.
1443 (remainder_test_downward): Likewise.
1444 (drem_test_downward): Likewise.
1445 (remainder_test_upward): Likewise.
1446 (drem_test_upward): Likewise.
1447 (remquo_test): Likewise.
1448 (rint_test): Likewise.
1449 (rint_test_tonearest): Likewise.
1450 (rint_test_towardzero): Likewise.
1451 (rint_test_downward): Likewise.
1452 (rint_test_upward): Likewise.
1453 (round_test): Likewise.
1454 (scalb_test): Likewise.
1455 (scalbn_test): Likewise.
1456 (scalbln_test): Likewise.
1457 (signbit_test): Likewise.
1458 (sin_test): Likewise.
1459 (sin_test_tonearest): Likewise.
1460 (sin_test_towardzero): Likewise.
1461 (sin_test_downward): Likewise.
1462 (sin_test_upward): Likewise.
1463 (sincos_test): Likewise.
1464 (sinh_test): Likewise.
1465 (sinh_test_tonearest): Likewise.
1466 (sinh_test_towardzero): Likewise.
1467 (sinh_test_downward): Likewise.
1468 (sinh_test_upward): Likewise.
1469 (sqrt_test): Likewise.
1470 (sqrt_test_tonearest): Likewise.
1471 (sqrt_test_towardzero): Likewise.
1472 (sqrt_test_downward): Likewise.
1473 (sqrt_test_upward): Likewise.
1474 (tan_test): Likewise.
1475 (tan_test_tonearest): Likewise.
1476 (tan_test_towardzero): Likewise.
1477 (tan_test_downward): Likewise.
1478 (tan_test_upward): Likewise.
1479 (tanh_test): Likewise.
1480 (tgamma_test): Likewise.
1481 (trunc_test): Likewise.
1482 (y0_test): Likewise.
1483 (y1_test): Likewise.
1484 (yn_test): Likewise.
1485 (significand_test): Likewise.
1486
1487 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1488 individual tests in comment.
1489 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1490 (prev_max_error): New variable.
1491 (prev_real_max_error): Likewise.
1492 (prev_imag_max_error): Likewise.
1493 (compare_ulp_data): Don't refer to test names in comment.
1494 (find_test_ulps): Remove function.
1495 (find_function_ulps): Likewise.
1496 (find_complex_function_ulps): Likewise.
1497 (init_max_error): Take function name as argument. Look up ulps
1498 for that function.
1499 (print_ulps): Remove function.
1500 (print_max_error): Use prev_max_error instead of calling
1501 find_function_ulps.
1502 (print_complex_max_error): Use prev_real_max_error and
1503 prev_imag_max_error instead of calling find_complex_function_ulps.
1504 (check_float_internal): Take max_ulp parameter instead of calling
1505 find_test_ulps. Don't call print_ulps.
1506 (check_float): Update call to check_float_internal.
1507 (check_complex): Update calls to check_float_internal.
1508 (START): Pass argument to init_max_error.
1509 * math/gen-libm-test.pl (%results): Don't include "kind"
1510 information.
1511 (parse_ulps): Don't handle ulps of individual tests.
1512 (print_ulps_file): Likewise.
1513 (output_ulps): Likewise.
1514 * math/README.libm-test: Update.
1515 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1516 individual tests.
1517 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1518 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1519 * sysdeps/arm/libm-test-ulps: Likewise.
1520 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1521 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1522 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1523 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1524 * sysdeps/microblaze/libm-test-ulps: Likewise.
1525 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1526 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1527 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1528 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1529 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1530 * sysdeps/sh/libm-test-ulps: Likewise.
1531 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1532 * sysdeps/tile/libm-test-ulps: Likewise.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534
1535 2014-03-04 Joseph Myers <joseph@codesourcery.com>
1536
1537 * math/libm-test.inc (print_complex_max_error): Check separately
1538 whether real and imaginary errors are within allowed range and
1539 pass 0 to print_complex_function_ulps instead of value within
1540 allowed range.
1541
1542 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1543
1544 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1545 formatting.
1546 (get_handles_fopen): Likewise.
1547 (do_write_test): Likewise.
1548
1549 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1550
1551 * libio/fileops.c (do_ftell): Use cached offset when
1552 available.
1553 * libio/iofwide.c (do_ftell_wide): Likewise.
1554 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1555 _IO_file_attach.
1556 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1557
1558 [BZ #16532]
1559 * libio/libioP.h (get_file_offset): New function.
1560 * libio/fileops.c (get_file_offset): Likewise.
1561 (do_ftell): Likewise.
1562 (_IO_new_file_seekoff): Split out ftell logic.
1563 * libio/wfileops.c (do_ftell_wide): Likewise.
1564 (_IO_wfile_seekoff): Split out ftell logic.
1565 * libio/tst-ftell-active-handler.c: New test case.
1566 * libio/Makefile (tests): Add it.
1567
1568 2014-03-03 Roland McGrath <roland@hack.frob.com>
1569
1570 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1571 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1572
1573 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1574
1575 [BZ #16639]
1576 * nscd/connections.c (nscd_init): Call do_exit.
1577 (start_threads): Call do_exit and notify_parent.
1578 (begin_drop_privileges): Call do_exit.
1579 (finish_drop_privileges): Likewise.
1580 * nscd/selinux.c (preserve_capabilities): Likewise.
1581 (install_real_capabilities): Likewise.
1582 (nscd_selinux_enabled): Likewise.
1583 (avc_create_thread): Likewise.
1584 (avc_alloc_lock): Likewise.
1585 (nscd_avc_init): Likewise.
1586 * nscd/nscd.c (parent_fd): New static variable.
1587 (main): Create a pipe between parent and child processes.
1588 Skip closing parent_fd.
1589 (monitor_child): New function.
1590 (do_exit): Likewise.
1591 (notify_parent): Likewise.
1592 * nscd/nscd.h (notify_parent): Likewise.
1593 (do_exit): Likewise.
1594
1595 2014-03-03 Carlos O'Donell <carlos@redhat.com>
1596
1597 * malloc/malloc.c (__libc_calloc): Revert last change.
1598
1599 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600
1601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1602
1603 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1604
1605 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1607 implementation.
1608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1609 (__libc_ifunc_impl_list): Likewise.
1610 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1611 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1612 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1613 * string/strrchr.c: Define STRRCHR.
1614
1615 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
1616
1617 * benchtest/bench-strtok.c (simple_strtok): Delete.
1618 (strtok_string): Use as benchmark.
1619 * string/strtok (STRTOK): New macro.
1620
1621 2014-02-28 Carlos O'Donell <carlos@redhat.com>
1622
1623 * manual/threads.texi: Add header and standard comments to all
1624 functions.
1625
1626 * elf/dl-lookup.c (check_match): New function.
1627 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1628 (do_lookup_x): Remove nested function check_match. Use non-nested
1629 function check_match.
1630
1631 2014-02-28 Roland McGrath <roland@hack.frob.com>
1632
1633 * csu/Makefile (generated, before-compile): Use += rather than =.
1634 * catgets/Makefile (generated, generated-dirs): Likewise.
1635 * debug/Makefile (generated): Likewise.
1636 * dlfcn/Makefile (generated): Likewise.
1637 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1638 * iconvdata/Makefile (before-compile, generated): Likewise.
1639 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1640 * libio/Makefile (generated): Likewise.
1641 * malloc/Makefile (generated): Likewise.
1642 * manual/Makefile (generated, generated-dirs): Likewise.
1643 * misc/Makefile (generated): Likewise.
1644 * posix/Makefile (generated): Likewise.
1645 * resolv/Makefile (generated): Likewise.
1646 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1647 * timezone/Makefile (generated, generated-dirs): Likewise.
1648
1649 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1650
1651 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1652
1653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1654 implementation.
1655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1656 POWER8 llround ifunc implementation.
1657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1658 POWER8 implementation.
1659 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1660 POWER8 llround implementation.
1661
1662 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1663
1664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1665 implementation.
1666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1667 POWER8 llrint ifunc implementation.
1668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1669 POWER8 implementation.
1670 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1671 POWER8 llrint implementation.
1672
1673 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1674
1675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1676 implementation.
1677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1678 POWER8 finite ifunc implementation.
1679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1680 POWER8 implementation.
1681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1682 Likewise.
1683 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1684 POWER8 finite implementation.
1685 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1686
1687 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688
1689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1690 implementation.
1691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1692 POWER8 isinf ifunc implementation.
1693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1694 POWER8 implementation.
1695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1696 Likewise.
1697 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1698 POWER8 isinf implementation.
1699 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1700
1701 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1704 Add hwcap2 initialization.
1705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1706 implementation.
1707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1708 POWER8 isnan ifunc implementation.
1709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1710 POWER8 implementation.
1711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1712 Likewise.
1713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1714 POWER8 isnan implementation.
1715 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1716
1717 2014-02-27 Joey Ye <joey.ye@arm.com>
1718
1719 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1720 (_FP_NANFRAC_Q): Set to zero.
1721
1722 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1723
1724 [BZ #16623]
1725 * math/auto-libm-test-in: New test inputs.
1726 * math/auto-libm-test-out: Regenerate.
1727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1728 and DA.
1729 (__cos): Likewise.
1730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1731
1732 2014-02-27 Joseph Myers <joseph@codesourcery.com>
1733
1734 * scripts/evaluate-test.sh: Take new argument indicating whether
1735 failure is expected.
1736 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1737 indicating whether failure is expected.
1738 * conform/Makefile (test-xfail-run-conformtest): New variable.
1739 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1740 level.
1741 * posix/Makefile (test-xfail-annexc): New variable.
1742 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1743
1744 2014-02-26 Joseph Myers <joseph@codesourcery.com>
1745
1746 * argp/Makefile: Include Makeconfig immediately after defining
1747 subdir.
1748 * assert/Makefile: Likewise.
1749 * benchtests/Makefile: Likewise.
1750 * catgets/Makefile: Likewise.
1751 * conform/Makefile: Likewise.
1752 * crypt/Makefile: Likewise.
1753 * csu/Makefile: Likewise.
1754 (all): Remove target.
1755 * ctype/Makefile: Include Makeconfig immediately after defining
1756 subdir.
1757 * debug/Makefile: Likewise.
1758 * dirent/Makefile: Likewise.
1759 * dlfcn/Makefile: Likewise.
1760 * gmon/Makefile: Likewise.
1761 * gnulib/Makefile: Likewise.
1762 * grp/Makefile: Likewise.
1763 * gshadow/Makefile: Likewise.
1764 * hesiod/Makefile: Likewise.
1765 * hurd/Makefile: Likewise.
1766 (all): Remove target.
1767 * iconvdata/Makefile: Include Makeconfig immediately after
1768 defining subdir.
1769 * inet/Makefile: Likewise.
1770 * intl/Makefile: Likewise.
1771 * io/Makefile: Likewise.
1772 * libio/Makefile: Likewise.
1773 (all): Remove target.
1774 * locale/Makefile: Include Makeconfig immediately after defining
1775 subdir.
1776 * login/Makefile: Likewise.
1777 * mach/Makefile: Likewise.
1778 (all): Remove target.
1779 * malloc/Makefile: Include Makeconfig immediately after defining
1780 subdir.
1781 (all): Remove target.
1782 * manual/Makefile: Include Makeconfig immediately after defining
1783 subdir.
1784 * math/Makefile: Likewise.
1785 * misc/Makefile: Likewise.
1786 * nis/Makefile: Likewise.
1787 * nss/Makefile: Likewise.
1788 * po/Makefile: Likewise.
1789 (all): Remove target.
1790 * posix/Makefile: Include Makeconfig immediately after defining
1791 subdir.
1792 * pwd/Makefile: Likewise.
1793 * resolv/Makefile: Likewise.
1794 * resource/Makefile: Likewise.
1795 * rt/Makefile: Likewise.
1796 * setjmp/Makefile: Likewise.
1797 * shadow/Makefile: Likewise.
1798 * signal/Makefile: Likewise.
1799 * socket/Makefile: Likewise.
1800 * soft-fp/Makefile: Likewise.
1801 * stdio-common/Makefile: Likewise.
1802 * stdlib/Makefile: Likewise.
1803 * streams/Makefile: Likewise.
1804 * string/Makefile: Likewise.
1805 * sunrpc/Makefile: Likewise.
1806 (all): Remove target.
1807 * sysvipc/Makefile: Include Makeconfig immediately after defining
1808 subdir.
1809 * termios/Makefile: Likewise.
1810 * time/Makefile: Likewise.
1811 * timezone/Makefile: Likewise.
1812 (all): Remove target.
1813 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1814 subdir.
1815 * wctype/Makefile: Likewise.
1816
1817 2014-02-26 Steve Ellcey <sellcey@mips.com>
1818
1819 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1820 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1821 (libc_feholdexcept_setround_mips): Ditto.
1822 (libc_feholdsetround): New.
1823 (libc_feholdsetroundf): New.
1824 (libc_feholdsetroundl): New.
1825 (libc_feupdateenv_test_mips): New.
1826 (libc_feupdateenv_test): New.
1827 (libc_feupdateenv_testf): New.
1828 (libc_feupdateenv_testl): New.
1829 (libc_feresetround): New.
1830 (libc_feresetroundf): New.
1831 (libc_feresetroundl): New.
1832 (libc_fetestexcept_mips): New.
1833 (libc_fetestexcept): New.
1834 (libc_fetestexceptf): New.
1835 (libc_fetestexceptl): New.
1836 (HAVE_RM_CTX): New.
1837 (libc_feholdexcept_setround_mips_ctx): New.
1838 (libc_feholdexcept_setround_ctx): New.
1839 (libc_feholdexcept_setroundf_ctx): New.
1840 (libc_feholdexcept_setroundl_ctx): New.
1841 (libc_fesetenv_mips_ctx): New.
1842 (libc_fesetenv_ctx): New.
1843 (libc_fesetenv_ctxf): New.
1844 (libc_fesetenv_ctxl): New.
1845 (libc_feupdateenv_mips_ctx): New.
1846 (libc_feupdateenv_ctx): New.
1847 (libc_feupdateenvf_ctx): New.
1848 (libc_feupdateenvl_ctx): New.
1849 (libc_feholdsetround_mips_ctx): New.
1850 (libc_feholdsetround_ctx): New.
1851 (libc_feholdsetroundf_ctx): New.
1852 (libc_feholdsetroundl_ctx): New.
1853 (libc_feresetround_mips_ctx): New.
1854 (libc_feresetround_ctx): New.
1855 (libc_feresetroundf_ctx): New.
1856 (libc_feresetroundl_ctx): New.
1857
1858 2014-02-26 Carlos O'Donell <carlos@redhat.com>
1859
1860 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1861
1862 * manual/ipc.texi: New file.
1863 * manual/Makefile (chapters): Add ipc.
1864 * manual/job.texi: Add "Inter-Process Communication" to next.
1865 * manual/process.texi: Add "Inter-Process Communication" to prev.
1866
1867 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1868
1869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1870
1871 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
1872
1873 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1874
1875 * manual/arith.texi: Fix spaces after sentences.
1876 * manual/charset.texi: Likewise.
1877 * manual/errno.texi: Likewise.
1878 * manual/install.texi: Likewise.
1879 * manual/llio.texi: Likewise.
1880 * manual/locale.texi: Likewise.
1881 * manual/maint.texi: Likewise.
1882 * manual/math.texi: Likewise.
1883 * manual/memory.texi: Likewise.
1884 * manual/message.texi: Likewise.
1885 * manual/probes.texi: Likewise.
1886 * manual/resource.texi: Likewise.
1887 * manual/signal.texi: Likewise.
1888 * manual/socket.texi: Likewise.
1889 * manual/stdio.texi: Likewise.
1890 * manual/string.texi: Likewise.
1891 * manual/time.texi: Likewise.
1892 * manual/users.texi: Likewise.
1893
1894 2014-02-25 Carlos O'Donell <carlos@redhat.com>
1895
1896 [BZ #16632]
1897 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1898 _DEFAULT_SOURCE is defined.
1899
1900 2014-02-25 Ulrich Drepper <drepper@gmail.com>
1901 Carlos O'Donell <carlos@redhat.com>
1902
1903 [BZ #16613]
1904 * elf/dl-tls.c (_dl_count_modids): New function.
1905 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1906 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1907 audit library and increment generation counter.
1908 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1909 * elf/tst-audit9.c: New file.
1910 * elf/tst-auditmod9a.c: New file.
1911 * elf/tst-auditmod9b.c: New file.
1912 * elf/Makefile: Add rules to build and run tst-audit9.
1913
1914 2014-02-25 Florian Weimer <fweimer@redhat.com>
1915
1916 [BZ #15347]
1917 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1918
1919 2014-02-25 Will Newton <will.newton@linaro.org>
1920
1921 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1922 (__longjmp): Restore sp and lr before restoring callee
1923 saved registers. Add longjmp and longjmp_target
1924 SystemTap probe point.
1925 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1926 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1927 Define to zero to match jmpbuf layout.
1928 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1929 (__sigsetjmp): Save sp and lr before saving callee
1930 saved registers. Add setjmp SystemTap probe point.
1931
1932 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1933
1934 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1935
1936 2014-02-24 Andreas Schwab <schwab@suse.de>
1937
1938 [BZ #15804]
1939 * elf/pldd.c (wait_for_ptrace_stop): New function.
1940 (main): Call it after attaching.
1941
1942 2014-02-22 Roland McGrath <roland@hack.frob.com>
1943
1944 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1945 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1946 Versions files is now verboten.
1947 * hurd/Versions (libc: GLIBC_2.0):
1948 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1949 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1950 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1951 * mach/Versions: Likewise.
1952
1953 * csu/Versions: Remove unused %include.
1954 * resolv/Versions: Likewise.
1955
1956 2014-02-21 Joseph Myers <joseph@codesourcery.com>
1957
1958 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1959 ($(objpfx)check-local-headers.out): Likewise.
1960 ($(objpfx)begin-end-check.out): Likewise.
1961 * Makerules (check-abi-%.out): Likewise.
1962 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1963 ($(objpfx)test2.cat): Likewise.
1964 ($(objpfx)de/libc.cat): Likewise.
1965 ($(objpfx)test-gencat.out): Likewise.
1966 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1967 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1968 ($(objpfx)noload-mem): Likewise.
1969 ($(objpfx)tst-pathopt.out): Likewise.
1970 ($(objpfx)tst-rtld-load-self.out): Likewise.
1971 ($(objpfx)tst-array1-cmp.out): Likewise.
1972 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1973 ($(objpfx)tst-array2-cmp.out): Likewise.
1974 ($(objpfx)tst-array3-cmp.out): Likewise.
1975 ($(objpfx)tst-array4-cmp.out): Likewise.
1976 ($(objpfx)tst-array5-cmp.out): Likewise.
1977 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1978 ($(objpfx)check-textrel.out): Likewise.
1979 ($(objpfx)check-execstack.out): Likewise.
1980 ($(objpfx)check-localplt.out): Likewise.
1981 ($(objpfx)order2-cmp.out): Likewise.
1982 ($(objpfx)tst-leaks1-mem): Likewise.
1983 ($(objpfx)tst-leaks1-static-mem): Likewise.
1984 ($(objpfx)tst-initorder-cmp.out): Likewise.
1985 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1986 ($(objpfx)tst-unused-dep.out): Likewise.
1987 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1989 * iconv/Makefile (test-iconvconfig): Likewise.
1990 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1991 ($(objpfx)iconv-test.out): Likewise.
1992 ($(objpfx)tst-tables.out): Likewise.
1993 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1994 ($(objpfx)tst-gettext.out): Likewise.
1995 ($(objpfx)tst-translit.out): Likewise.
1996 ($(objpfx)tst-gettext2.out): Likewise.
1997 ($(objpfx)tst-gettext4.out): Likewise.
1998 ($(objpfx)tst-gettext6.out): Likewise.
1999 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2000 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2001 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2002 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2003 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2004 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2005 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2006 ($(objpfx)wordexp-tst.out): Likewise.
2007 ($(objpfx)annexc.out): Likewise.
2008 ($(objpfx)tst-fnmatch-mem): Likewise.
2009 ($(objpfx)bug-regex2-mem): Likewise.
2010 ($(objpfx)bug-regex14-mem): Likewise.
2011 ($(objpfx)bug-regex21-mem): Likewise.
2012 ($(objpfx)bug-regex31-mem): Likewise.
2013 ($(objpfx)tst-vfork3-mem): Likewise.
2014 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2015 ($(objpfx)tst-pcre-mem): Likewise.
2016 ($(objpfx)tst-boost-mem): Likewise.
2017 ($(objpfx)tst-getconf.out): Likewise.
2018 ($(objpfx)bug-ga2-mem): Likewise.
2019 ($(objpfx)bug-glob2-mem): Likewise.
2020 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2021 ($(objpfx)mtrace-tst-leaks2): Likewise.
2022 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2023 ($(objpfx)tst-printf.out): Likewise.
2024 ($(objpfx)tst-setvbuf1.out): Likewise.
2025 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2026 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2027 ($(objpfx)tst-fmtmsg.out): Likewise.
2028 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2029 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2030
2031 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2032 * bits/sigaction.h [__USE_MISC]: Likewise.
2033 * bits/waitstatus.h: Update #endif comments.
2034 * ctype/ctype.h: Likewise.
2035 * dirent/dirent.h: Likewise.
2036 [__USE_MISC]: Remove redundant conditionals.
2037 * grp/grp.h: Update #endif comments.
2038 [__USE_GNU]: Remove redundant conditionals.
2039 [__USE_MISC]: Likewise.
2040 * inet/netinet/in.h [__USE_GNU]: Likewise.
2041 * io/sys/stat.h [__USE_MISC]: Likewise.
2042 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2043 * libio/bits/stdio.h: Update #endif comments.
2044 [__USE_MISC]: Remove redundant conditionals.
2045 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2046 * libio/stdio.h: Update #endif comments.
2047 [__USE_MISC]: Remove redundant conditionals.
2048 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2049 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2050 * math/math.h: Update #else and #endif comments.
2051 [__USE_MISC]: Remove redundant conditionals.
2052 * misc/sys/uio.h: Update #endif comments.
2053 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2054 * posix/glob.h [__USE_MISC]: Likewise.
2055 * posix/sys/types.h: Update #endif comments.
2056 [__USE_MISC]: Remove redundant conditionals.
2057 * posix/sys/wait.h: Update #endif comments.
2058 [__USE_MISC]: Remove redundant conditionals.
2059 * posix/unistd.h: Update #endif comments.
2060 [__USE_MISC]: Remove redundant conditionals.
2061 * pwd/pwd.h [__USE_GNU]: Likewise.
2062 [__USE_MISC]: Likewise.
2063 * resolv/netdb.h [__USE_GNU]: Likewise.
2064 * signal/signal.h: Update #endif comments.
2065 [__USE_MISC]: Remove redundant conditionals.
2066 * stdlib/stdlib.h: Update #else and #endif comments.
2067 [__USE_MISC]: Remove redundant conditionals.
2068 [__USE_GNU]: Likewise.
2069 * string/bits/string2.h [__USE_MISC]: Likewise.
2070 * string/string.h: Update #endif comments.
2071 [__USE_MISC]: Remove redundant conditionals.
2072 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2073 Likewise.
2074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2075 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2076 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2077 Likewise.
2078 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2079 Likewise.
2080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2081 comments.
2082 [__USE_MISC]: Remove redundant conditionals.
2083 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2084 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2085 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2086 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2087 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2088 Likewise.
2089 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2090 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2091 Likewise.
2092 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2093 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2094 Likewise.
2095 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2096 Likewise.
2097 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2098 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2103 * sysdeps/x86/bits/string.h: Update #endif comments.
2104 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2105 conditionals.
2106 * time/sys/time.h: Update #endif comments.
2107 * time/time.h: Likewise.
2108 [__USE_MISC]: Remove redundant conditionals.
2109
2110 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2111
2112 [BZ #16600]
2113 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2114
2115 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2116
2117 * Versions.def (librt): Add GLIBC_2.17.
2118
2119 2014-02-21 Adam Conrad <adconrad@0c3.net>
2120
2121 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2122 synonym for _SYS_AUXV_H to allow direct inclusion.
2123 * sysdeps/sparc/bits/hwcap.h: Likewise.
2124 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2125 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2126 * sysdeps/sparc/sysdep.h: Likewise.
2127
2128 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2129
2130 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2131
2132 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2133
2134 * benchtests/bench-strrchr.c: Print length instead of position.
2135
2136 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2137
2138 [BZ #16611]
2139 * sysdeps/unix/sysv/linux/kernel-features.h
2140 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2141 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2142 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2143 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2144 Likewise.
2145 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2146 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2147 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2148 (__ASSUME_SENDMMSG): Define instead of using previous
2149 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2150 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2151 (__ASSUME_SENDMMSG_SYSCALL): Define.
2152 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2153 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2154 Likewise.
2155 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2156 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2157 Likewise.
2158 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2159 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2160 Likewise.
2161 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2162 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2163 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2164 [__ASSUME_SENDMMSG]: Change conditionals to
2165 [__ASSUME_SENDMMSG_SOCKETCALL].
2166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2167 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2168 Define.
2169 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2170 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2171 Likewise.
2172 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2173 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2174 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2175 [!__ASSUME_SENDMMSG]: Change conditional to
2176 [!__ASSUME_SENDMMSG_SOCKETCALL].
2177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2178 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2179 Define.
2180
2181 [BZ #16610]
2182 * sysdeps/unix/sysv/linux/kernel-features.h
2183 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2184 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2185 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2186 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2187 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2188 [__i386__ || __sparc__]
2189 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2190 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2191 (__ASSUME_RECVMMSG): Define instead of using previous
2192 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2193 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2194 (__ASSUME_RECVMMSG_SYSCALL): Define.
2195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2196 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2197 Likewise.
2198 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2199 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2200 Likewise.
2201 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2202 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2203 Likewise.
2204 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2205 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2206 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2207 [__ASSUME_RECVMMSG]: Change condition to
2208 [__ASSUME_RECVMMSG_SOCKETCALL].
2209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2210 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2211 Define.
2212 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2213 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2215 Likewise.
2216 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2217 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2218 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2219 [!__ASSUME_RECVMMSG]: Change condition to
2220 [!__ASSUME_RECVMMSG_SOCKETCALL].
2221 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2222 (__ASSUME_RECVMMSG_SYSCALL): Define.
2223
2224 [BZ #16609]
2225 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2226 __powerpc__ || __s390__ || __sh__ || __sparc__]
2227 (__ASSUME_SOCKETCALL): Define.
2228 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2229 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2230 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2231 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2232 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2233 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2234 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2235 (__ASSUME_ACCEPT4): Define instead of using previous
2236 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2237 __powerpc__ || __sparc__ || __s390__)] condition.
2238 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2239 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2240 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2241 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2242 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2243 [!__ASSUME_ACCEPT4]: Change condition to
2244 [!__ASSUME_ACCEPT4_SOCKETCALL].
2245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2246 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2247 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2249 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2250 __ASSUME_ACCEPT4_SYSCALL.
2251 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2252 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2253 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2254 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2255 __ASSUME_ACCEPT4_SYSCALL.
2256 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2257 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2258 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2259 [__ASSUME_ACCEPT4]: Change condition to
2260 [__ASSUME_ACCEPT4_SOCKETCALL].
2261 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2262 (__ASSUME_SOCKETCALL): Define.
2263 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2264 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2265 (__ASSUME_SOCKETCALL): Define.
2266 (__ASSUME_ACCEPT4): Remove.
2267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2268 Define.
2269 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2270 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2271 Likewise.
2272 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2273 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2274
2275 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2276 macro.
2277 (HWCAP_ARM_LPAE): Likewise.
2278 (HWCAP_ARM_EVTSTRM): Likewise.
2279 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2280 Add vpfd32, lpae and evtstrm.
2281 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2282 Increase to 22.
2283
2284 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2285
2286 * math/auto-libm-test-in: Add tests of clog10.
2287 * math/auto-libm-test-out: Regenerated.
2288 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2289 * sysdeps/i386/fpu/libm-test-ulps: Update.
2290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2291
2292 2014-02-18 Andreas Schwab <schwab@suse.de>
2293
2294 [BZ #16574]
2295 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2296 Store non-zero if the second buffer was newly allocated.
2297 (send_dg): Likewise.
2298 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2299 to send_vc and send_dg.
2300 (res_nsend): Pass NULL for ansp2_malloced.
2301 * resolv/res_query.c (__libc_res_nquery): Add parameter
2302 answerp2_malloced and pass it down to __libc_res_nsend.
2303 (res_nquery): Pass additional NULL to __libc_res_nquery.
2304 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2305 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2306 second answer buffer if answerp2_malloced was set.
2307 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2308 (__libc_res_nquerydomain): Add parameter
2309 answerp2_malloced and pass it down to __libc_res_nquery.
2310 (res_nquerydomain): Pass additional NULL to
2311 __libc_res_nquerydomain.
2312 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2313 additional NULL to __libc_res_nsend and __libc_res_nquery.
2314 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2315 additional NULL to __libc_res_nsearch.
2316 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2317 parameter of __libc_res_nsearch to check for separately allocated
2318 second buffer.
2319 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2320 __libc_res_nquery.
2321 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2322 additional NULL to __libc_res_nquery.
2323 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2324 __libc_res_nsearch.
2325 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2326 * include/resolv.h: Update prototypes of __libc_res_nquery,
2327 __libc_res_nsearch, __libc_res_nsend.
2328
2329 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2330
2331 * math/auto-libm-test-in: Add tests of fma.
2332 * math/auto-libm-test-out: Regenerated.
2333 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2334 (fma_towardzero_test_data): Likewise.
2335 (fma_downward_test_data): Likewise.
2336 (fma_upward_test_data): Likewise.
2337 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2338 mpc_mode.
2339 (rounding_modes): Add values for new field.
2340 (func_calc_method): Add value mpfr_fff_f.
2341 (func_calc_desc): Add mpfr_fff_f union field.
2342 (test_function): Add field exact_args.
2343 (FUNC): Add macro argument EXACT_ARGS.
2344 (FUNC_mpfr_f_f): Update call to FUNC.
2345 (FUNC_mpfr_f_f): Likewise.
2346 (FUNC_mpfr_ff_f): Likewise.
2347 (FUNC_mpfr_if_f): Likewise.
2348 (FUNC_mpc_c_f): Likewise.
2349 (FUNC_mpc_c_c): Likewise.
2350 (test_functions): Add fma. Update calls to FUNC.
2351 (handle_input_arg): Add argument exact_args.
2352 (add_test): Update call to handle_input_arg.
2353 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2354 (output_for_one_input_case): Update call to calc_generic_results.
2355 Recalculate exact zero results in each rounding mode.
2356
2357 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2358 non-negative before setting low bit.
2359 * math/auto-libm-test-in: Mark one asin test possibly having
2360 spurious underflow.
2361 * math/auto-libm-test-out: Regenerated.
2362 * sysdeps/i386/fpu/libm-test-ulps: Update.
2363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2364
2365 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2366
2367 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2368 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2369 ports/sysdeps/unix/sysv/linux/microblaze.
2370 * README: Add missing listing for microblaze*-*-linux-gnu.
2371
2372 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2373
2374 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2375 * sysdeps/unix/sysv/linux/ia64: Move directory from
2376 ports/sysdeps/unix/sysv/linux/ia64.
2377 * README: Update listing for ia64-*-linux-gnu.
2378
2379 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2380 Joseph Myers <joseph@codesourcery.com>
2381
2382 * Makeconfig (test-name): New variable.
2383 (evaluate-test): Likewise.
2384 * Makerules (do-test-clean): Remove .test-result files.
2385 (common-mostlyclean): Likewise.
2386 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2387 * scripts/evaluate-test.sh: New file.
2388
2389 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2390
2391 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2392 separate $(objpfx)tst-fopenloc-cmp.out and
2393 $(objpfx)tst-fopenloc-mem.out targets.
2394 (tests): Update dependencies.
2395 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2396 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2397 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2398 (tst-rxspencer-no-utf8-ARGS): New variable.
2399 (tst-rxspencer-no-utf8-ENV): Likewise.
2400 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2401 instead of $(objpfx)tst-rxspencer-mem.
2402 ($(objpfx)tst-rxspencer-mem): Change target to
2403 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2404 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2405 * posix/tst-rxspencer-no-utf8.c: New file.
2406
2407 * elf/Makefile ($(objpfx)order.out): Remove rule.
2408 [$(run-built-tests) = yes] (tests): Depend on
2409 $(objpfx)order-cmp.out.
2410 ($(objpfx)order-cmp.out): New rule.
2411 [$(run-built-tests) = yes] (tests): Depend on
2412 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2413 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2414 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2415 $(objpfx)tst-array5-static-cmp.out.
2416 ($(objpfx)tst-array1.out): Remove rule.
2417 ($(objpfx)tst-array1-cmp.out): New rule.
2418 ($(objpfx)tst-array1-static.out): Remove rule.
2419 ($(objpfx)tst-array1-static-cmp.out): New rule.
2420 ($(objpfx)tst-array2.out): Remove rule.
2421 ($(objpfx)tst-array2-cmp.out): New rule.
2422 ($(objpfx)tst-array3.out): Remove rule.
2423 ($(objpfx)tst-array3-cmp.out): New rule.
2424 ($(objpfx)tst-array4.out): Remove rule.
2425 ($(objpfx)tst-array4-cmp.out): New rule.
2426 ($(objpfx)tst-array5.out): Remove rule.
2427 ($(objpfx)tst-array5-cmp.out): New rule.
2428 ($(objpfx)tst-array5-static.out): Remove rule.
2429 ($(objpfx)tst-array5-static-cmp.out): New rule.
2430 [$(run-built-tests) = yes] (tests): Depend on
2431 $(objpfx)order2-cmp.out.
2432 ($(objpfx)order2.out): Remove rule.
2433 ($(objpfx)order2-cmp.out): New rule.
2434 ($(objpfx)tst-initorder.out): Remove rule.
2435 [$(run-built-tests) = yes] (tests): Depend on
2436 $(objpfx)tst-initorder-cmp.out.
2437 ($(objpfx)tst-initorder-cmp.out): New rule.
2438 ($(objpfx)tst-initorder2.out): Remove rule.
2439 [$(run-built-tests) = yes] (tests): Depend on
2440 $(objpfx)tst-initorder2-cmp.out.
2441 ($(objpfx)tst-initorder2-cmp.out): New rule.
2442 [$(run-built-tests) = yes] (tests): Depend on
2443 $(objpfx)tst-unused-dep-cmp.out.
2444 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2445 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2446 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2447 on $(objpfx)tst-setvbuf1-cmp.out.
2448 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2449 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2450 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2451 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2452 ($(objpfx)tst-svc.out): Remove rule.
2453 ($(objpfx)tst-svc-cmp.out): New rule.
2454
2455 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2456
2457 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2458 * ctype/ctype.h [__USE_MISC]: Likewise.
2459 * dirent/dirent.h [__USE_MISC]: Likewise.
2460 * grp/grp.h [__USE_MISC]: Likewise.
2461 * io/fcntl.h [__USE_MISC]: Likewise.
2462 * io/sys/stat.h [__USE_MISC]: Likewise.
2463 * libio/stdio.h [__USE_MISC]: Likewise.
2464 * posix/unistd.h [__USE_MISC]: Likewise.
2465 * pwd/pwd.h [__USE_MISC]: Likewise.
2466 * stdlib.h [__USE_MISC]: Likewise.
2467 * string/bits/string2.h [__USE_MISC]: Likewise.
2468 * string/string.h [__USE_MISC]: Likewise.
2469 * time/time.h [__USE_MISC]: Likewise.
2470
2471 2014-02-13 Andreas Schwab <schwab@suse.de>
2472
2473 [BZ #16574]
2474 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2475 second answer buffer if it was separately allocated.
2476
2477 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2478
2479 * sysdeps/mips/math-tests.h: Include <features.h>.
2480 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2481 (ROUNDING_TESTS_long_double): Do not define.
2482 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2483 (EXCEPTION_TESTS_long_double): Likewise.
2484 * sysdeps/mips/mips64/libm-test-ulps: Update.
2485
2486 * include/features.h (__USE_BSD): Remove macro definitions.
2487 (__USE_SVID): Likewise.
2488 (_BSD_SOURCE): Likewise.
2489 (_SVID_SOURCE): Likewise.
2490 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2491 from definition of _DEFAULT_SOURCE.
2492 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2493 [_DEFAULT_SOURCE].
2494 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2495 * bits/mman.h [__USE_BSD]: Likewise.
2496 * bits/termios.h [__USE_BSD]: Likewise.
2497 * bits/waitstatus.h [__USE_BSD]: Likewise.
2498 * ctype/ctype.h [__USE_SVID]: Likewise.
2499 * dirent/dirent.h [__USE_BSD]: Likewise.
2500 * grp/grp.h [__USE_SVID]: Likewise.
2501 [__USE_BSD]: Likewise.
2502 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2503 * io/fcntl.h [__USE_BSD]: Likewise.
2504 * io/ftw.h [__USE_BSD]: Likewise.
2505 * io/sys/stat.h [__USE_BSD]: Likewise.
2506 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2507 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2508 * libio/stdio.h [__USE_SVID]: Likewise.
2509 [__USE_BSD]: Likewise.
2510 * math/math.h [__USE_SVID]: Likewise.
2511 [__USE_BSD]: Likewise.
2512 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2513 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2514 * misc/search.h [__USE_SVID]: Likewise.
2515 * misc/sys/mman.h [__USE_BSD]: Likewise.
2516 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2517 * misc/sys/uio.h [__USE_BSD]: Likewise.
2518 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2519 * posix/glob.h [__USE_BSD]: Likewise.
2520 * posix/regex.h [__USE_BSD]: Likewise.
2521 * posix/sys/types.h [__USE_BSD]: Likewise.
2522 [__USE_SVID]: Likewise.
2523 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2524 * posix/sys/wait.h [__USE_BSD]: Likewise.
2525 [__USE_SVID]: Likewise.
2526 * posix/unistd.h [__USE_BSD]: Likewise.
2527 [__USE_SVID]: Likewise.
2528 * pwd/pwd.h [__USE_SVID]: Likewise.
2529 * resolv/netdb.h [__USE_BSD]: Likewise.
2530 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2531 * signal/signal.h [__USE_BSD]: Likewise.
2532 [__USE_SVID]: Likewise.
2533 * socket/sys/socket.h [__USE_BSD]: Likewise.
2534 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2535 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2536 [__USE_SVID]: Likewise.
2537 * string/bits/string2.h [__USE_BSD]: Likewise.
2538 [__USE_SVID]: Likewise.
2539 * string/bits/string3.h [__USE_BSD]: Likewise.
2540 * string/endian.h [__USE_BSD]: Likewise.
2541 * string/string.h [__USE_SVID]: Likewise.
2542 [__USE_BSD]: Likewise.
2543 * string/strings.h [__USE_BSD]: Likewise.
2544 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2545 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2546 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2547 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2548 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2549 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2550 Likewise.
2551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2554 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2555 Likewise.
2556 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2557 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2558 Likewise.
2559 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2560 Likewise.
2561 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2562 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2564 Likewise.
2565 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2566 Likewise.
2567 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2568 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2569 * termios/termios.h [__USE_BSD]: Likewise.
2570 * time/sys/time.h [__USE_BSD]: Likewise.
2571 * time/time.h [__USE_BSD]: Likewise.
2572 [__USE_SVID]: Likewise.
2573
2574 * Makefile (subdir_targets): Remove subdir_lint.out.
2575
2576 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2577 (do-tst-printf): Likewise.
2578 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2579 $(objpfx)tst-printf.out.
2580
2581 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2582
2583 * Makerules (check-abi-%): Change target to
2584 $(objpfx)check-abi-%.out.
2585 (check-abi target): Update dependencies.
2586 (check-abi-pattern variable): Redirect output of diff to $@.
2587 (check-abi variable): Likewise.
2588 * elf/Makefile (check-abi): Update dependencies.
2589
2590 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2591 unused.
2592 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2593 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2594 subnormal range.
2595 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2596 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2597 value has largest subnormal exponent.
2598 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2599 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2600 * sysdeps/aarch64/soft-fp/sfp-machine.h
2601 (_FP_TININESS_AFTER_ROUNDING): New macro.
2602 * sysdeps/alpha/soft-fp/sfp-machine.h
2603 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2604 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2605 Likewise.
2606 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2607 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2608 * sysdeps/mips/soft-fp/sfp-machine.h
2609 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2610 * sysdeps/powerpc/soft-fp/sfp-machine.h
2611 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2612 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2613 Likewise.
2614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2615 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2616 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2617 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2618 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2619 Likewise.
2620
2621 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
2622
2623 [BZ #16545]
2624 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2625 model 1.
2626
2627 2014-02-12 Richard Henderson <rth@redhat.com>
2628
2629 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2630 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2631 * sysdeps/unix/sysv/linux/alpha: Move directory from
2632 ports/sysdeps/unix/sysv/linux/alpha.
2633 * README: Update listing for alpha-*-linux-gnu.
2634
2635 2014-02-11 Joseph Myers <joseph@codesourcery.com>
2636
2637 * include/features.h: Update comment documenting feature test
2638 macros.
2639 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2640 _DEFAULT_SOURCE.
2641 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2642 (_SVID_SOURCE): Likewise.
2643 (_DEFAULT_SOURCE): Update description of default features.
2644 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2645 with _GNU_SOURCE.
2646 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2647 (S_ISVTX): Likewise.
2648 * manual/math.texi (Mathematical Constants): Likewise.
2649 * manual/signal.texi (Interrupted Primitives): Likewise.
2650 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2651 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2652 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2653 Don't refer to _SVID_SOURCE in warning text.
2654
2655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2656
2657 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2658 already defined.
2659 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2660 * sysdeps/mips/dl-lookup.c: Remove.
2661 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2662
2663 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2664
2665 [BZ #16447]
2666 * math/auto-libm-test-in: Add testcase for expl.
2667 * math/auto-libm-test-out: Regenerate.
2668 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2669 calculation of unsafe.
2670 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2671
2672 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2673
2674 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2675 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2676 ports/sysdeps/unix/sysv/linux/aarch64.
2677 * README: Update listing for aarch64*-*-linux-gnu.
2678
2679 2014-02-11 Will Newton <will.newton@linaro.org>
2680
2681 * manual/probes.texi (Mathematical Function Probes): Use
2682 "triggered" instead of "hit".
2683
2684 2014-02-11 Will Newton <will.newton@linaro.org>
2685
2686 * manual/probes.texi (Internal Probes): Add documentation
2687 of setjmp, longjmp and longjmp_target probes.
2688
2689 2014-02-11 Will Newton <will.newton@linaro.org>
2690
2691 * include/stap-probe.h: Add comment about probe argument
2692 format.
2693
2694 2014-02-11 Will Newton <will.newton@linaro.org>
2695
2696 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2697 definition. (tr_where, tr_freehook, tr_mallochook,
2698 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2699
2700 2014-02-11 David S. Miller <davem@davemloft.net>
2701
2702 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2703 processing int_tests.
2704
2705 2014-02-10 Joseph Myers <joseph@codesourcery.com>
2706
2707 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2708 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2709 * sysdeps/unix/sysv/linux/mips: Move directory from
2710 ports/sysdeps/unix/sysv/linux/mips.
2711 * README: Update listing for mips-*-linux-gnu and
2712 mips64-*-linux-gnu.
2713
2714 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2715
2716 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2717 * sysdeps/unix/sysv/linux/m68k: Move directory from
2718 ports/sysdeps/unix/sysv/linux/m68k.
2719 * README: Update listing for m68k-*-linux-gnu.
2720
2721 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2722
2723 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2724 * sysdeps/unix/sysv/linux/generic: Move directory from
2725 ports/sysdeps/unix/sysv/linux/generic.
2726 * sysdeps/unix/sysv/linux/tile: Move directory from
2727 ports/sysdeps/unix/sysv/linux/tile.
2728 * README: Update listing for tile*-*-linux-gnu.
2729
2730 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2731
2732 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2733 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2734 * catgets/open_catalog.c (__open_catalog): Likewise.
2735 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2736 * debug/confstr_chk.c: Likewise.
2737 * debug/fread_chk.c (__fread_chk): Likewise.
2738 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2739 * debug/getgroups_chk.c: Likewise.
2740 * debug/mbsnrtowcs_chk.c: Likewise.
2741 * debug/mbsrtowcs_chk.c: Likewise.
2742 * debug/mbstowcs_chk.c: Likewise.
2743 * debug/memcpy_chk.c: Likewise.
2744 * debug/memmove_chk.c: Likewise.
2745 * debug/mempcpy_chk.c: Likewise.
2746 * debug/memset_chk.c: Likewise.
2747 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2748 * debug/strcat_chk.c (__strcat_chk): Likewise.
2749 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2750 * debug/strncat_chk.c (__strncat_chk): Likewise.
2751 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2752 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2753 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2754 * debug/wcpncpy_chk.c: Likewise.
2755 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2756 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2757 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2758 * debug/wcsncpy_chk.c: Likewise.
2759 * debug/wcsnrtombs_chk.c: Likewise.
2760 * debug/wcsrtombs_chk.c: Likewise.
2761 * debug/wcstombs_chk.c: Likewise.
2762 * debug/wmemcpy_chk.c: Likewise.
2763 * debug/wmemmove_chk.c: Likewise.
2764 * debug/wmempcpy_chk.c: Likewise.
2765 * debug/wmemset_chk.c: Likewise.
2766 * dirent/scandirat.c (SCANDIRAT): Likewise.
2767 * dlfcn/dladdr1.c (dladdr1): Likewise.
2768 * dlfcn/dladdr.c (dladdr): Likewise.
2769 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2770 * dlfcn/dlerror.c (__dlerror): Likewise.
2771 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2772 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2773 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2774 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2775 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2776 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2777 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2778 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2779 Likewise.
2780 * elf/dl-conflict.c: Likewise.
2781 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2782 * elf/dl-dst.h: Likewise.
2783 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2784 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2785 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2786 * elf/dl-init.c (call_init, _dl_init): Likewise.
2787 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2788 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2789 _dl_map_object_from_fd, open_verify, open_path,
2790 _dl_map_object): Likewise.
2791 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2792 Likewise.
2793 * elf/dl-minimal.c (__libc_memalign): Likewise.
2794 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2795 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2796 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2797 * elf/dl-sym.c (do_sym): Likewise.
2798 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2799 _dl_tls_get_addr_soft): Likewise.
2800 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2801 * elf/dl-writev.h (_dl_writev): Likewise.
2802 * elf/ldconfig.c (search_dir): Likewise.
2803 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2804 dl_main): Likewise.
2805 * elf/setup-vdso.h (setup_vdso): Likewise.
2806 * grp/compat-initgroups.c (compat_call): Likewise.
2807 * grp/fgetgrent.c (fgetgrent): Likewise.
2808 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2809 * grp/putgrent.c (putgrent): Likewise.
2810 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2811 Likewise.
2812 * hurd/hurdinit.c: Likewise.
2813 * iconvdata/8bit-gap.c (struct): Likewise.
2814 * iconvdata/ansi_x3.110.c : Likewise.
2815 * iconvdata/big5.c : Likewise.
2816 * iconvdata/big5hkscs.c : Likewise.
2817 * iconvdata/cp1255.c: Likewise.
2818 * iconvdata/cp1258.c : Likewise.
2819 * iconvdata/cp932.c : Likewise.
2820 * iconvdata/euc-cn.c: Likewise.
2821 * iconvdata/euc-jisx0213.c : Likewise.
2822 * iconvdata/euc-jp.c: Likewise.
2823 * iconvdata/euc-jp-ms.c : Likewise.
2824 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2825 * iconvdata/gb18030.c : Likewise.
2826 * iconvdata/gbbig5.c (const): Likewise.
2827 * iconvdata/gbgbk.c: Likewise.
2828 * iconvdata/gbk.c : Likewise.
2829 * iconvdata/ibm1364.c : Likewise.
2830 * iconvdata/ibm930.c : Likewise.
2831 * iconvdata/ibm932.c: Likewise.
2832 * iconvdata/ibm933.c : Likewise.
2833 * iconvdata/ibm935.c : Likewise.
2834 * iconvdata/ibm937.c : Likewise.
2835 * iconvdata/ibm939.c : Likewise.
2836 * iconvdata/ibm943.c: Likewise.
2837 * iconvdata/iso_11548-1.c: Likewise.
2838 * iconvdata/iso-2022-cn.c : Likewise.
2839 * iconvdata/iso-2022-cn-ext.c : Likewise.
2840 * iconvdata/iso-2022-jp-3.c: Likewise.
2841 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2842 * iconvdata/iso-2022-kr.c : Likewise.
2843 * iconvdata/iso646.c (gconv_end): Likewise.
2844 * iconvdata/iso_6937-2.c : Likewise.
2845 * iconvdata/iso_6937.c : Likewise.
2846 * iconvdata/iso8859-1.c: Likewise.
2847 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2848 * iconvdata/shift_jisx0213.c : Likewise.
2849 * iconvdata/sjis.c : Likewise.
2850 * iconvdata/t.61.c : Likewise.
2851 * iconvdata/tcvn5712-1.c : Likewise.
2852 * iconvdata/tscii.c: Likewise.
2853 * iconvdata/uhc.c : Likewise.
2854 * iconvdata/unicode.c (gconv_end): Likewise.
2855 * iconvdata/utf-16.c (gconv_end): Likewise.
2856 * iconvdata/utf-32.c (gconv_end): Likewise.
2857 * iconvdata/utf-7.c (base64): Likewise.
2858 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2859 * iconv/gconv_close.c (__gconv_close): Likewise.
2860 * iconv/gconv_open.c (__gconv_open): Likewise.
2861 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2862 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2863 internal_ucs4le_loop_single, ucs4le_internal_loop,
2864 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2865 * iconv/iconv.c (iconv): Likewise.
2866 * iconv/iconv_close.c: Likewise.
2867 * iconv/loop.c (SINGLE): Likewise.
2868 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2869 * include/atomic.h: Likewise.
2870 * inet/inet6_option.c (option_alloc): Likewise.
2871 * intl/bindtextdom.c (set_binding_values): Likewise.
2872 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2873 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2874 * intl/localealias.c (read_alias_file): Likewise.
2875 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2876 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2877 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2878 * libio/fmemopen.c (fmemopen): Likewise.
2879 * libio/iofgets.c (_IO_fgets): Likewise.
2880 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2881 * libio/iofgetws.c (fgetws): Likewise.
2882 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2883 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2884 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2885 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2886 * locale/findlocale.c (_nl_find_locale): Likewise.
2887 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2888 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2889 Likewise.
2890 * locale/setlocale.c (setlocale): Likewise.
2891 * login/programs/pt_chown.c (main): Likewise.
2892 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2893 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2894 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2895 mmap, mmap64, mremap, munmap): Likewise.
2896 * math/e_exp2l.c: Likewise.
2897 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2898 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2899 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2900 * math/s_catan.c (__catan): Likewise.
2901 * math/s_catanf.c (__catanf): Likewise.
2902 * math/s_catanh.c (__catanh): Likewise.
2903 * math/s_catanhf.c (__catanhf): Likewise.
2904 * math/s_catanhl.c (__catanhl): Likewise.
2905 * math/s_catanl.c (__catanl): Likewise.
2906 * math/s_ccosh.c (__ccosh): Likewise.
2907 * math/s_ccoshf.c (__ccoshf): Likewise.
2908 * math/s_ccoshl.c (__ccoshl): Likewise.
2909 * math/s_cexp.c (__cexp): Likewise.
2910 * math/s_cexpf.c (__cexpf): Likewise.
2911 * math/s_cexpl.c (__cexpl): Likewise.
2912 * math/s_clog10.c (__clog10): Likewise.
2913 * math/s_clog10f.c (__clog10f): Likewise.
2914 * math/s_clog10l.c (__clog10l): Likewise.
2915 * math/s_clog.c (__clog): Likewise.
2916 * math/s_clogf.c (__clogf): Likewise.
2917 * math/s_clogl.c (__clogl): Likewise.
2918 * math/s_csin.c (__csin): Likewise.
2919 * math/s_csinf.c (__csinf): Likewise.
2920 * math/s_csinh.c (__csinh): Likewise.
2921 * math/s_csinhf.c (__csinhf): Likewise.
2922 * math/s_csinhl.c (__csinhl): Likewise.
2923 * math/s_csinl.c (__csinl): Likewise.
2924 * math/s_csqrt.c (__csqrt): Likewise.
2925 * math/s_csqrtf.c (__csqrtf): Likewise.
2926 * math/s_csqrtl.c (__csqrtl): Likewise.
2927 * math/s_ctan.c (__ctan): Likewise.
2928 * math/s_ctanf.c (__ctanf): Likewise.
2929 * math/s_ctanh.c (__ctanh): Likewise.
2930 * math/s_ctanhf.c (__ctanhf): Likewise.
2931 * math/s_ctanhl.c (__ctanhl): Likewise.
2932 * math/s_ctanl.c (__ctanl): Likewise.
2933 * math/w_pow.c: Likewise.
2934 * math/w_powf.c: Likewise.
2935 * math/w_powl.c: Likewise.
2936 * math/w_scalb.c (sysv_scalb): Likewise.
2937 * math/w_scalbf.c (sysv_scalbf): Likewise.
2938 * math/w_scalbl.c (sysv_scalbl): Likewise.
2939 * misc/error.c (error_tail): Likewise.
2940 * misc/pselect.c (__pselect): Likewise.
2941 * nis/nis_callback.c (__nis_create_callback): Likewise.
2942 * nis/nis_call.c (__nisfind_server): Likewise.
2943 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2944 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2945 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2946 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2947 * nis/nis_lookup.c (nis_lookup): Likewise.
2948 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2949 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2950 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2951 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2952 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2953 internal_getgrgid_r): Likewise.
2954 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2955 Likewise.
2956 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2957 internal_getpwuid_r): Likewise.
2958 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2959 internal_getspnam_r): Likewise.
2960 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2961 _nss_nis_getaliasbyname_r): Likewise.
2962 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2963 _nss_nis_getntohost_r): Likewise.
2964 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2965 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2966 Likewise.
2967 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2968 internal_nis_gethostent_r, internal_gethostbyname2_r,
2969 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2970 _nss_nis_gethostbyname4_r): Likewise.
2971 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2972 initgroups_netid): Likewise.
2973 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2974 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2975 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2976 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2977 _nss_nis_getprotobynumber_r): Likewise.
2978 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2979 _nss_nis_getsecretkey): Likewise.
2980 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2981 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2982 Likewise.
2983 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2984 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2985 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2986 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2987 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2988 _nss_nis_getspnam_r): Likewise.
2989 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2990 Likewise.
2991 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2992 _nss_nisplus_getntohost_r): Likewise.
2993 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2994 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2995 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2996 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2997 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2998 Likewise.
2999 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3000 _nss_nisplus_getnetbyaddr_r): Likewise.
3001 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3002 _nss_nisplus_getprotobynumber_r): Likewise.
3003 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3004 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3005 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3006 Likewise.
3007 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3008 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3009 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3010 _nss_nisplus_getspnam_r): Likewise.
3011 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3012 * nscd/aicache.c (addhstaiX): Likewise.
3013 * nscd/cache.c (cache_search, prune_cache): Likewise.
3014 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3015 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3016 * nscd/grpcache.c (addgrbyX): Likewise.
3017 * nscd/hstcache.c (addhstbyX): Likewise.
3018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3019 * nscd/mem.c (gc, mempool_alloc): Likewise.
3020 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3021 Likewise.
3022 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3023 Likewise.
3024 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3025 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3026 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3027 Likewise.
3028 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3030 * nscd/nscd_helper.c (__readvall, open_socket,
3031 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3032 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3033 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3034 * nscd/pwdcache.c (addpwbyX): Likewise.
3035 * nscd/selinux.c (preserve_capabilities): Likewise.
3036 * nscd/servicescache.c (addservbyX): Likewise.
3037 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3038 * posix/fnmatch.c (fnmatch): Likewise.
3039 * posix/getopt.c (_getopt_internal_r): Likewise.
3040 * posix/glob.c (glob, glob_in_dir): Likewise.
3041 * posix/wordexp.c (exec_comm_child): Likewise.
3042 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3043 gaih_getanswer_slice): Likewise.
3044 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3045 * resolv/res_init.c: Likewise.
3046 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3047 * resolv/res_query.c (__libc_res_nquery): Likewise.
3048 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3049 Likewise.
3050 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3051 * stdio-common/perror.c (perror): Likewise.
3052 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3053 * stdio-common/tmpnam.c (tmpnam): Likewise.
3054 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3055 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3056 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3057 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3058 * stdlib/putenv.c (putenv): Likewise.
3059 * stdlib/setenv.c (__add_to_environ): Likewise.
3060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3061 * stdlib/strtol_l.c (INTERNAL): Likewise.
3062 * string/memmem.c (memmem): Likewise.
3063 * string/strerror.c (strerror): Likewise.
3064 * string/strnlen.c (__strnlen): Likewise.
3065 * string/test-memmem.c (simple_memmem): Likewise.
3066 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3067 * sunrpc/pm_getport.c (__get_socket): Likewise.
3068 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3069 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3070 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3071 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3072 Likewise.
3073 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3074 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3075 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3076 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3077 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3078 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3079 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3080 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3081 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3082 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3083 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3084 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3086 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3087 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3088 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3089 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3090 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3091 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3092 Likewise.
3093 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3094 Likewise.
3095 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3096 Likewise.
3097 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3100 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3101 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3102 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3103 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3107 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3113 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3114 Likewise.
3115 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3116 Likewise.
3117 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3118 Likewise.
3119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3121 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3122 Likewise.
3123 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3124 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3125 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3126 * sysdeps/posix/sleep.c: Likewise.
3127 * sysdeps/posix/tempname.c: Likewise.
3128 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3129 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3130 Likewise.
3131 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3132 elf_machine_rela): Likewise.
3133 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3135 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3136 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3137 Likewise.
3138 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3140 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3141 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3142 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3143 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3144 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3145 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3146 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3147 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3148 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3149 elf_machine_lazy_rel): Likewise.
3150 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3152 elf_machine_lazy_rel): Likewise.
3153 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3154 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3155 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3156 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3157 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3158 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3159 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3161 Likewise.
3162 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3163 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3164 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3165 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3166 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3167 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3168 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3169 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3170 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3171 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3172 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3173 Likewise.
3174 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3175 (__posix_fallocate64_l64): Likewise.
3176 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3177 (posix_fallocate): Likewise.
3178 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3180 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3181 getifaddrs_internal): Likewise.
3182 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3184 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3185 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3186 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3187 (__posix_fallocate64_l64): Likewise.
3188 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3189 Likewise.
3190 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3194 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3195 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3198 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3199 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3200 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3201 Likewise.
3202 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3203 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3204 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3206 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3207 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3208 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3209 Likewise.
3210 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3211 (posix_fallocate): Likewise.
3212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3213 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3214 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3215 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3216 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3217 Likewise.
3218 * time/asctime.c (asctime_internal): Likewise.
3219 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3220 * time/tzset.c (__tzset_parse_tz): Likewise.
3221 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3222 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3223 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3224 * wcsmbs/wcsmbsload.h: Likewise.
3225
3226 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3227
3228 [BZ #15894]
3229 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3230
3231 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3232
3233 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3234 arena_get2): Remove THREAD_STATS conditionals.
3235 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3236 __malloc_stats, int): Likewise.
3237
3238 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3239
3240 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3241 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3242
3243 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3244
3245 * manual/setjmp.texi: Fix typos/grammar errors.
3246
3247 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3248
3249 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3250 Only return early when n is <= 0. Delete unused return statement.
3251
3252 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3253
3254 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3255 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3256 * debug/tst-longjmp_chk3.c: New file.
3257
3258 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3259
3260 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3261 (test_main): Replace code with set_fortify_handler call.
3262 * debug/test-strcpy_chk.c: Likewise.
3263 * debug/tst-chk1.c: Likewise.
3264 * debug/tst-longjmp_chk.c: Likewise.
3265 * test-skeleton.c: Include fcntl.h & paths.h
3266 (set_fortify_handler): Define.
3267
3268 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3269
3270 * debug/tst-longjmp_chk.c: Add header comment and include
3271 ../test-skeleton.c.
3272 (do_test): Mark static.
3273 (TEST_FUNCTION): Define.
3274
3275 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3276
3277 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3278 (IP_PMTUDISC_INTERFACE): Likewise.
3279 (IP_MULTICAST_IF): Likewise.
3280 (IP_MULTICAST_TTL): Likewise.
3281 (IP_MULTICAST_LOOP): Likewise.
3282 (IP_ADD_MEMBERSHIP): Likewise.
3283 (IP_DROP_MEMBERSHIP): Likewise.
3284 (IP_UNBLOCK_SOURCE): Likewise.
3285 (IP_BLOCK_SOURCE): Likewise.
3286 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3287 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3288 (IP_MSFILTER): Likewise.
3289 (MCAST_JOIN_GROUP): Likewise.
3290 (MCAST_BLOCK_SOURCE): Likewise.
3291 (MCAST_UNBLOCK_SOURCE): Likewise.
3292 (MCAST_LEAVE_GROUP): Likewise.
3293 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3294 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3295 (MCAST_MSFILTER): Likewise.
3296 (IP_MULTICAST_ALL): Likewise.
3297 (IP_UNICAST_IF): Likewise.
3298
3299 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3300
3301 * timezone/Makefile: Delete $(have-ksh) check.
3302 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3303 * timezone/tzselect.ksh: Add +x mode bits.
3304
3305 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3306
3307 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3308 (ANON_INODE_FS_MAGIC): Likewise.
3309 (BDEVFS_MAGIC): Likewise.
3310 (BINFMTFS_MAGIC): Likewise.
3311 (BTRFS_TEST_MAGIC): Likewise.
3312 (CRAMFS_MAGIC_WEND): Likewise.
3313 (DEBUGFS_MAGIC): Likewise.
3314 (ECRYPTFS_SUPER_MAGIC): Likewise.
3315 (EXT3_SUPER_MAGIC): Likewise.
3316 (EXT4_SUPER_MAGIC): Likewise.
3317 (FUTEXFS_SUPER_MAGIC): Likewise.
3318 (HOSTFS_SUPER_MAGIC): Likewise.
3319 (HUGETLBFS_MAGIC): Likewise.
3320 (MINIX3_SUPER_MAGIC): Likewise.
3321 (MTD_INODE_FS_MAGIC): Likewise.
3322 (NILFS_SUPER_MAGIC): Likewise.
3323 (OPENPROM_SUPER_MAGIC): Likewise.
3324 (PIPEFS_MAGIC): Likewise.
3325 (PSTOREFS_MAGIC): Likewise.
3326 (QNX6_SUPER_MAGIC): Likewise.
3327 (RAMFS_MAGIC): Likewise.
3328 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3329 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3330 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3331 (SECURITYFS_MAGIC): Likewise.
3332 (SELINUX_MAGIC): Likewise.
3333 (SMACK_MAGIC): Likewise.
3334 (SOCKFS_MAGIC): Likewise.
3335 (SQUASHFS_MAGIC): Likewise.
3336 (STACK_END_MAGIC): Likewise.
3337 (TMPFS_MAGIC): Likewise.
3338 (USBDEVICE_SUPER_MAGIC): Likewise.
3339 (V9FS_MAGIC): Likewise.
3340 (XENFS_SUPER_MAGIC): Likewise.
3341 (CRAMFS_MAGIC): Fix typo in comment.
3342 (EXT2_SUPER_MAGIC): Update comment.
3343 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3344
3345 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3346
3347 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3348 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3349 * sysdeps/unix/sysv/linux/arm: Move directory from
3350 ports/sysdeps/unix/sysv/linux/arm.
3351 * README: Update listing for arm-*-linux-gnueabi.
3352
3353 * README: Remove mention of am33.
3354
3355 2014-02-07 Roland McGrath <roland@hack.frob.com>
3356
3357 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3358 than the comma operator, to avoid "rhs of comma has no effect"
3359 compiler warnings.
3360 (__sigfillset, __sigandset, __sigorset): Likewise.
3361 * include/signal.h (__sigemptyset): Likewise.
3362 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3363
3364 2014-02-07 Allan McRae <allan@archlinux.org>
3365
3366 * version.h (RELEASE): Set to "development".
3367 (VERSION): Set to "2.19.90"
3368 * NEWS: Add 2.20 section.
3369
3370 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3371
3372 [BZ #16529]
3373 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3374
3375 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3376
3377 * manual/contrib.texi: Update entry for Carlos O'Donell,
3378 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3379
3380 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3381
3382 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3383
3384 * sysdeps/unix/sysv/linux/kernel-features.h
3385 [__LINUX_KERNEL_VERSION >= 0x020621]
3386 (__ASSUME_PROC_PID_TASK_COMM): Define.
3387
3388 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3389
3390 [BZ #16398]
3391 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3392 conversion when destination buffer does not have enough space.
3393 * libio/tst-ftell-partial-wide.c: New test case.
3394 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3395
3396 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3397 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3398 Leonard and Allan McRae.
3399
3400 2014-02-04 David S. Miller <davem@davemloft.net>
3401
3402 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3403 32-bit.
3404
3405 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3406
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3408 file
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3410 New file
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3412 file.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3414 file.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3416 New file.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3418 file.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3420 file.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3422 New file.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3424 New file.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3426 New file.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3428 New file.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3430 New file.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3432 New file.
3433
3434 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435
3436 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3437 * shlib-versions: Likewise.
3438
3439 2014-02-04 Roland McGrath <roland@hack.frob.com>
3440 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441
3442 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3443 (abilist-pattern): New variable, set to %-le.abilist.
3444
3445 * Makerules (abilist-pattern): New variable.
3446 (vpath): Use $(abilist-pattern) in place of %.abilist.
3447 (check-abi-% pattern rule): Likewise.
3448 (check-abi, update-abi): Likewise.
3449
3450 2014-02-04 Eric Wong <normalperson@yhbt.net>
3451
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3453
3454 2014-02-04 Eric Wong <normalperson@yhbt.net>
3455
3456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3457
3458 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3459
3460 * manual/startup.texi: Add next, previous, and top entries for
3461 the `Program Arguments' and `Environment Variables' nodes.
3462
3463 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3464
3465 * manual/macros.texi: Add comments before MTASC-safety macros.
3466
3467 * manual/users.texi: Document MTASC-safety properties.
3468
3469 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3470 pthread_getspecific, pthread_setspecific): Format with
3471 @deftypefun, and add @safety note.
3472 * manual/signal.texi: Move comments that analyze the above
3473 functions to their home place.
3474
3475 2014-02-03 Allan McRae <allan@archlinux.org>
3476
3477 * po/sl.po: Update Slovenian translation from translation project.
3478
3479 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3480
3481 * manual/time.texi (timegm): Add missing blank after @c.
3482 Reported by Joseph Myers <joseph@codesourcery.com>.
3483
3484 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3485
3486 * manual/check-safety.sh: New.
3487 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3488
3489 * manual/terminal.texi: Document MTASC-safety properties.
3490
3491 * manual/filesys.texi: Document MTASC-safety properties.
3492
3493 * manual/errno.texi: Document MTASC-safety properties.
3494
3495 * manual/intro.texi: Document safety identifiers and
3496 conditionals.
3497
3498 * manual/string.texi (wcstok): Fix prototype.
3499 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3500
3501 * manual/time.texi: Document MTASC-safety properties.
3502
3503 * manual/string.texi: Document MTASC-safety properties.
3504
3505 * manual/threads.texi: Document MTASC-safety properties.
3506
3507 * manual/stdio.texi: Document MTASC-safety properties.
3508
3509 * manual/syslog.texi: Document MTASC-safety properties.
3510
3511 * manual/sysinfo.texi: Document MTASC-safety properties.
3512
3513 * manual/startup.texi: Document MTASC-safety properties.
3514
3515 * manual/socket.texi: Document MTASC-safety properties.
3516
3517 * manual/signal.texi: Document MTASC-safety properties.
3518
3519 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3520
3521 * manual/setjmp.texi: Document MTASC-safety properties.
3522
3523 * manual/search.texi: Document MTASC-safety properties.
3524
3525 * manual/resource.texi: Document MTASC-safety properties.
3526
3527 * manual/process.texi: Document MTASC-safety properties.
3528
3529 * manual/platform.texi: Document MTASC-safety properties.
3530
3531 * manual/pipe.texi: Document MTASC-safety properties.
3532
3533 * manual/pattern.texi: Document MTASC-safety properties.
3534
3535 * manual/message.texi: Document MTASC-safety properties.
3536
3537 [BZ #12751]
3538 * manual/memory.texi: Document MTASC-safety properties.
3539
3540 * manual/math.texi: Document MTASC-safety properties.
3541
3542 * manual/locale.texi: Document MTASC-safety properties.
3543
3544 * manual/llio.texi: Document MTASC-safety properties.
3545
3546 * manual/libdl.texi: New.
3547
3548 * manual/lang.texi: Document MTASC-safety properties.
3549
3550 * manual/job.texi: Document MTASC-safety properties.
3551
3552 * manual/getopt.texi: Document MTASC-safety properties.
3553
3554 * manual/ctype.texi: Document MTASC-safety properties.
3555
3556 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3557
3558 [BZ #16046]
3559 * csu/libc-tls.c (static_map): Remove variable.
3560 (__libc_setup_tls): Use main executable's link map for TLS data.
3561 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3562 casing for LM_ID_BASE and GL(dl_nns).
3563 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3564 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3565 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3566 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3567 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3568 member.
3569 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3570 l_phnum members.
3571
3572 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
3573
3574 * manual/debug.texi: Document MTASC-safety properties.
3575
3576 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3577
3578 [BZ #16510]
3579 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3580 of __x86_64__ when disabling x87 inline functions.
3581
3582 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
3583
3584 * manual/charset.texi: Document MTASC-safety properties.
3585
3586 * manual/crypt.texi: Document MTASC-safety properties.
3587
3588 * manual/conf.texi: Document MTASC-safety properties.
3589
3590 * manual/arith.texi: Document MTASC-safety properties.
3591
3592 * manual/argp.texi: Document MTASC-safety properties.
3593
3594 * manual/macros.texi: Introduce macros to document multi
3595 thread, asynchronous signal and asynchronous cancellation
3596 safety properties.
3597 * manual/intro.texi: Introduce the properties themselves.
3598
3599 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3600
3601 * sysdeps/sh/sh4/Makefile: New file.
3602
3603 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3604
3605 * math/gen-libm-test.pl ($srcdir): New variable.
3606 ($auto_input): Use it.
3607
3608 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3609
3610 [BZ #16506]
3611 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3612 access beyond array bounds when parsing netgroups file.
3613
3614 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3615 the old buffer before realloc.
3616
3617 2014-01-27 Allan McRae <allan@archlinux.org>
3618
3619 * po/fr.po: Update French translation from translation project.
3620
3621 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3622
3623 * sysdeps/sh/libm-test-ulps: Regenerate.
3624
3625 2014-01-24 David S. Miller <davem@davemloft.net>
3626
3627 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3628
3629 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3630
3631 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3632 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3633
3634 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3635
3636 [BZ #16474]
3637 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3638 string pointers after reallocation.
3639
3640 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3641
3642 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3643 __SH4A__ instead of __SH_FPU_ANY__.
3644
3645 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3646
3647 * sysdeps/sh/fpu_control.h: New file.
3648 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3649 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3650 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3651 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3652 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3653 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3654 * sysdeps/sh/sys/ucontext.h: Remove.
3655 * sysdeps/sh/sys: Remove directory.
3656
3657 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3658
3659 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3660 s390/sys/ucontext.h.
3661 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3662 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3663
3664 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 [BZ #15605]
3667 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3668
3669 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670
3671 [BZ#16431]
3672 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3673 Adjust the vDSO correctly for internal calls.
3674 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3675
3676 2014-01-20 Allan McRae <allan@archlinux.org>
3677
3678 * po/ca.po: Update Catalan translation from translation project.
3679
3680 2014-01-16 Mike Frysinger <vapier@gentoo.org>
3681
3682 * sysdeps/s390/sotruss-lib.c: New file.
3683
3684 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3685
3686 [BZ#16430]
3687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3688 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3689 local calls issues by not having a PLT stub required for IFUNC calls.
3690 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3691
3692 2014-01-16 Joseph Myers <joseph@codesourcery.com>
3693
3694 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3695 * math/test-fpucw-static.c: Likewise.
3696
3697 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3698
3699 [BZ #16453]
3700 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3701
3702 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3703
3704 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3705 implementation for powerpc.
3706
3707 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
3708
3709 [BZ #14782]
3710 * sysdeps/posix/system.c (__libc_system): Do not enable
3711 asynchronous cancellation.
3712
3713 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3714
3715 [BZ #16427]
3716 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3717 handling only for numbers special also in the IEEE case.
3718
3719 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3720
3721 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3722
3723 2014-01-11 Allan McRae <allan@archlinux.org>
3724
3725 * po/bg.po: Update Bulgarian translation from translation project.
3726
3727 * po/de.po: Update German translation from translation project.
3728
3729 2014-01-10 Roland McGrath <roland@hack.frob.com>
3730
3731 * sysdeps/generic/gcc-compat.h: New file.
3732
3733 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
3735 * benchtests/asin-inputs: Correct slow inputs.
3736 * benchtests/acos-inputs: Likewise.
3737
3738 2014-01-10 Allan McRae <allan@archlinux.org>
3739
3740 * po:sv.po: Update Swedish translation from translation project.
3741
3742 * po/vi.po: Update Vietnamese translation from translation project.
3743
3744 * po/eo.po: Update Esperanto translation from translation project.
3745
3746 * po/cs.po: Update Czech translation from translation project.
3747
3748 * po/nl.po: Update Dutch translation from translation project.
3749
3750 * po/pl.po: Update Polish translation from translation project.
3751
3752 * po/ru.po: Update Russian translation from translation project.
3753
3754 * po/uk.po: Update Ukrainian translation from translation project.
3755
3756 2014-01-08 Brooks Moses <bmoses@google.com>
3757
3758 * elf/dl-load.c: Fix comment typo.
3759
3760 2014-01-08 Carlos O'Donell <carlos@redhat.com>
3761
3762 * po/header.pot: Rename to...
3763 * po/pot.header: ... this.
3764 * po/Makefile: Use pot.header.
3765
3766 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3767 Maxim Kuvyrkov <maxim@kugelworks.com>
3768
3769 [BZ #16394]
3770 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3771 SRC and DEST against LEN.
3772
3773 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3774
3775 [BZ #16414]
3776 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3777 implementation.
3778 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3779
3780 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3781
3782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3783
3784 2014-01-08 Joseph Myers <joseph@codesourcery.com>
3785
3786 [BZ #16408]
3787 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3788 for large positive arguments.
3789
3790 2014-01-07 Joseph Myers <joseph@codesourcery.com>
3791
3792 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3793
3794 * math/auto-libm-test-in: Mark various tests with
3795 xfail-rounding:ldbl-128ibm.
3796 * math/auto-libm-test-out: Regenerated.
3797
3798 [BZ #16407]
3799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3800 Increase overflow threshold.
3801
3802 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
3803
3804 [BZ #14286]
3805 * stdio-common/vfprintf.c: Check for integer overflow.
3806
3807 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3808
3809 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3810 the first argument and return value of __tls_get_addr_internal.
3811
3812 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3813
3814 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3815 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3816
3817 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3818
3819 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3820 * sysdeps/s390/rtld-global-offsets.sym: New file.
3821 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3822 GLIBC_2.19 symbol.
3823 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3825 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3826 ... this.
3827 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3828 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3829 ... this.
3830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3831 Regenerate.
3832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3833 Regenerate.
3834 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3835 halfs of GPRs for high_gprs contexts.
3836 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3837 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3838 field.
3839 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3840 uc_flags field.
3841 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3842 64 bit versions:
3843 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3844 for high GPRs (uc_high_gprs) and for future extensions
3845 (__reserved).
3846 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3847 for future extensions (__reserved).
3848 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3849 64 bit versions:
3850 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3851 SC_HIGHGPRS offset definition.
3852 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3853 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3854
3855 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3856
3857 * Versions.def: Add GLIBC_2.19 for libpthread.
3858 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3859 siglongjmp for libpthread with GLIBC_2.19 symver.
3860 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3861 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3862 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3863 * sysdeps/s390/__longjmp.c: New file.
3864 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3865 * sysdeps/s390/longjmp.c: New file.
3866 * sysdeps/s390/setjmp.S: New file.
3867 * sysdeps/s390/sigjmp.S: New file.
3868 * sysdeps/s390/v1-longjmp.c: New file.
3869 * sysdeps/s390/v1-setjmp.h: New file.
3870 * sysdeps/s390/v1-sigjmp.c: New file.
3871 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3872 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3873 GLIBC_2.19 version.
3874 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3875 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3876 versioned symbols for ____longjmp_chk.
3877 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3878 Likewise.
3879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3880 Regenerate.
3881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3882 Regenerate.
3883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3884 Regenerate.
3885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3886 Regenerate.
3887 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3888 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3889 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3890 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3891 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3892 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3893 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3894 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3895 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3896 * sysdeps/s390/rtld-__longjmp.c: New file.
3897 * sysdeps/s390/rtld-setjmp.S: New file.
3898
3899 2014-01-06 Joseph Myers <joseph@codesourcery.com>
3900
3901 [BZ #16400]
3902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3903 Return -__logl (x) for small positive arguments without evaluating
3904 a polynomial.
3905
3906 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3907
3908 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3909 Rename to ...
3910 (__ptrace_peeksiginfo_args): ... this.
3911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3914
3915 2014-01-06 Allan McRae <allan@archlinux.org>
3916
3917 * inet/netinet/in.h: Fix typo in comment.
3918
3919 2014-01-05 Andreas Jaeger <aj@suse.de>
3920
3921 * sysdeps/i386/fpu/libm-test-ulps: Update.
3922
3923 2014-01-05 Allan McRae <allan@archlinux.org>
3924
3925 * po/libc.pot: Regenerated.
3926
3927 * malloc/memusagestat.c: Fix gettext call formatting.
3928
3929 2014-01-04 Sami Kerola <kerolasa@iki.fi>
3930
3931 * nscd/nscd.c: Improve usage() output.
3932
3933 2014-01-04 Mike Frysinger <vapier@gentoo.org>
3934
3935 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3936 * sysdeps/unix/sysv/linux/configure: Regenerated.
3937 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3938 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3939
3940 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3941
3942 [BZ #16390]
3943 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3944 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3945
3946 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3947
3948 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3949 extra tokens at end of #undef directive.
3950 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3951 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3953
3954 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3955
3956 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3957
3958 * math/auto-libm-test-in: Mark various tests with
3959 xfail-rounding:ldbl-128ibm.
3960 * math/auto-libm-test-out: Regenerated.
3961
3962 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3963
3964 [BZ #16386]
3965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3966 numbers with subnormal high part when calculating exponent.
3967
3968 [BZ #16385]
3969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3970 fabs.
3971
3972 [BZ #16384]
3973 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3974 M_LN2l.
3975 (__ieee754_acoshl): Use __log1pl not __log1p.
3976
3977 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
3978
3979 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3980 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3981 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3982 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3983 Convert to GNU style.
3984 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3985 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3986 memalign_check, __malloc_set_state): Likewise.
3987 * malloc/mallocbug.c (main): Likewise.
3988 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3989 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3990 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3991 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3992 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3993 * malloc/malloc.h: Likewise.
3994 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3995 memalignhook, reallochook, mabort): Likewise.
3996 * malloc/mcheck.h: Likewise.
3997 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3998 mmap64, mremap, munmap, dest): Likewise.
3999 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4000 * malloc/morecore.c (__default_morecore): Likewise.
4001 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4002 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4003 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4004 print_and_abort): Likewise.
4005 * malloc/obstack.h: Likewise.
4006 * malloc/set-freeres.c (__libc_freeres): Likewise.
4007 * malloc/tst-mallocstate.c (main): Likewise.
4008 * malloc/tst-mtrace.c (main): Likewise.
4009 * malloc/tst-realloc.c (do_test): Likewise.
4010
4011 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4012
4013 [BZ #16366]
4014 * nscd/netgroupcache.c (do_notfound): New function.
4015 (addgetnetgrentX): Use it.
4016
4017 [BZ # 16365]
4018 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4019 NSS_STATUS_NOTFOUND.
4020
4021 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4022
4023 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4025
4026 2014-01-01 Allan McRae <allan@archlinux.org>
4027
4028 * scripts/update-copyrights: Update configure input file suffix.
4029
4030 * NEWS: Update copyright year.
4031 * catgets/gencat.c: Likewise.
4032 * csu/version.c: Likewise.
4033 * debug/catchsegv.sh: Likewise.
4034 * debug/pcprofiledump.c: Likewise.
4035 * debug/xtrace.sh: Likewise.
4036 * elf/ldconfig.c: Likewise.
4037 * elf/ldd.bash.in: Likewise.
4038 * elf/pldd.c: Likewise.
4039 * elf/sotruss.ksh: Likewise.
4040 * elf/sprof.c: Likewise.
4041 * iconv/iconv_prog.c: Likewise.
4042 * iconv/iconvconfig.c: Likewise.
4043 * locale/programs/locale.c: Likewise.
4044 * locale/programs/localedef.c: Likewise.
4045 * login/programs/pt_chown.c: Likewise.
4046 * malloc/memusage.sh: Likewise.
4047 * malloc/memusagestat.c: Likewise.
4048 * malloc/mtrace.pl: Likewise.
4049 * manual/libc.texinfo: Likewise.
4050 * nscd/nscd.c: Likewise.
4051 * nss/getent.c: Likewise.
4052 * nss/makedb.c: Likewise.
4053 * posix/getconf.c: Likewise.
4054 * scripts/test-installation.pl: Likewise.
4055
4056 * All files with FSF copyright notices: Update copyright dates
4057 using scripts/update-copyrights.
4058 * intl/plural.c: Regenerated.
4059 * locale/programs/charmap-kw.h: Likewise.
4060 * locale/programs/locfile-kw.h: Likewise.
4061
4062 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4063
4064 * sysdeps/unix/sysv/linux/configure: Regenerated.
4065 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4066 the linux/fanotify.h header.
4067 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4068 HAVE_LINUX_FANOTIFY_H is defined.
4069
4070 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4071
4072 * benchtests/cos-inputs: New inputs.
4073 * benchtests/sin-inputs: Likewise.
4074
4075 * benchtests/atan-inputs: New inputs. Fix name of multiple
4076 precision fallback inputs.
4077
4078 * benchtests/atanh-inputs: New inputs.
4079 * benchtests/tanh-inputs: Likewise.
4080
4081 * benchtests/acosh-inputs: New inputs.
4082 * benchtests/asinh-inputs: Likewise.
4083
4084 * benchtests/cosh-inputs: New inputs.
4085 * benchtests/sinh-inputs: Likewise.
4086
4087 * benchtests/acos-inputs: Add more inputs.
4088 * benchtests/asin-inputs: Likewise.
4089
4090 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4091
4092 [BZ #16375]
4093 * manual/arith.texi: Fix spelling.
4094 * manual/charset.texi: Likewise.
4095 * manual/errno.texi: Likewise.
4096 * manual/filesys.texi: Likewise.
4097 * manual/lang.texi: Likewise.
4098 * manual/llio.texi: Likewise.
4099 * manual/locale.texi: Likewise.
4100 * manual/message.texi: Likewise.
4101 * manual/resource.texi: Likewise.
4102 * manual/search.texi: Likewise.
4103 * manual/setjmp.texi: Likewise.
4104 * manual/stdio.texi: Likewise.
4105 * manual/string.texi: Likewise.
4106 * manual/sysinfo.texi: Likewise.
4107 * manual/time.texi: Likewise.
4108
4109 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4110
4111 * po/sl.po: New file.
4112
4113 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4114
4115 * .gitignore: Add core/.gdbinit/.gdb_history.
4116
4117 2013-12-27 Allan McRae <allan@archlinux.org>
4118
4119 [BZ #16369]
4120 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4121 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4122
4123 2013-12-24 Brooks Moses <bmoses@google.com>
4124
4125 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4126 all compilers that claim C++98 compliance, not just GCC.
4127 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4128 Likewise.
4129
4130 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4131
4132 * NEWS: Restore accidentally deleted bug-fix entries.
4133
4134 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4135 Ondřej Bílka <neleai@seznam.cz>
4136
4137 [BZ #15073]
4138 * malloc/malloc.c (_int_free): Perform sanity check only if we
4139 have_lock.
4140
4141 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4142
4143 [BZ #12986]
4144 * manual/stdio.texi (String Input Conversions): Clarify that character
4145 classes are not supported.
4146
4147 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148
4149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4150
4151 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4152
4153 [BZ #16337]
4154 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4155 Calculate results for small negative arguments directly rather
4156 than using reflection formula with special underflow handling.
4157
4158 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4159 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4160 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4161 (fchflags): Likewise.
4162 (revoke): Likewise.
4163 (setlogin): Likewise.
4164 (sigaltstack): Likewise.
4165 (wait4): Likewise.
4166 (sigblock): Remove.
4167 (sigsetmask): Likewise.
4168 (wait3): Likewise.
4169 (waitpid): Likewise.
4170 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4171 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4172 file.
4173 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4174 * sysdeps/unix/bsd/Makefile: ... here.
4175 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4176 * sysdeps/unix/bsd/Versions: ... here.
4177 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4178 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4179 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4180 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4181 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4182 * sysdeps/unix/bsd/sigblock.c: ... here.
4183 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4184 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4185 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4186 * sysdeps/unix/bsd/sigvec.c: ... here.
4187 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4188 * sysdeps/unix/bsd/tcdrain.c: ... here.
4189 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4190 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4191 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4192 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4193 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4194 * sysdeps/unix/bsd/wait.c: ... here.
4195 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4196 * sysdeps/unix/bsd/wait3.c: ... here.
4197 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4198 * sysdeps/unix/bsd/waitpid.c: ... here.
4199
4200 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4201
4202 [BZ #16356]
4203 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4204 round-to-nearest for [!USE_AS_EXPM1L].
4205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4206 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4207 more tests of exp and exp10. Expect some exp10 tests to miss
4208 exceptions or fail in directed rounding modes.
4209 * math/auto-libm-test-out: Regenerated.
4210 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4211 (exp10_test_tonearest): New function.
4212 (exp10_towardzero_test_data): New array.
4213 (exp10_test_towardzero): New function.
4214 (exp10_downward_test_data): New array.
4215 (exp10_test_downward): New function.
4216 (exp10_upward_test_data): New array.
4217 (exp10_test_upward): New function.
4218 (main): Call the new functions.
4219 * sysdeps/i386/fpu/libm-test-ulps: Update.
4220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221
4222 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4223
4224 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4225 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4226 * math/auto-libm-test-out: Regenerated.
4227 * math/libm-test.inc (acosh_test_data): Add more tests.
4228 (atanh_test_data): Likewise.
4229 (ceil_test_data): Likewise.
4230 (copysign_test_data): Likewise.
4231 * sysdeps/i386/fpu/libm-test-ulps: Update.
4232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4233
4234 * timezone/checktab.awk: Update from tzcode 2013i.
4235 * timezone/private.h: Likewise.
4236 * timezone/scheck.c: Likewise.
4237 * timezone/tzfile.h: Likewise.
4238 * timezone/tzselect.ksh: Likewise.
4239 * timezone/zdump.c: Likewise.
4240 * timezone/zic.c: Likewise.
4241
4242 * math/auto-libm-test-in: Add tests of cpow.
4243 * math/auto-libm-test-out: Regenerated.
4244 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4245 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4246 mpc_cc_c.
4247 (func_calc_desc): Add mpc_cc_c union field.
4248 (test_functions): Add cpow.
4249 (special_fill_2pi): New function.
4250 (special_real_inputs): Add 2pi.
4251 (calc_generic_results): Handle mpc_cc_c.
4252 * sysdeps/i386/fpu/libm-test-ulps: Update.
4253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4254
4255 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4256 csqrt, ctan and ctanh.
4257 * math/auto-libm-test-out: Regenerated.
4258 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4259 (TEST_COND_x86): Likewise.
4260 (ccos_test_data): Use AUTO_TESTS_c_c.
4261 (ccosh_test_data): Likewise.
4262 (cexp_test_data): Likewise.
4263 (clog_test_data): Likewise.
4264 (csqrt_test_data): Likewise.
4265 (ctan_test_data): Likewise.
4266 (ctan_tonearest_test_data): Likewise.
4267 (ctan_towardzero_test_data): Likewise.
4268 (ctan_downward_test_data): Likewise.
4269 (ctan_upward_test_data): Likewise.
4270 (ctanh_test_data): Likewise.
4271 (ctanh_tonearest_test_data): Likewise.
4272 (ctanh_towardzero_test_data): Likewise.
4273 (ctanh_downward_test_data): Likewise.
4274 (ctanh_upward_test_data): Likewise.
4275 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4276 mpc_c_c.
4277 (func_calc_desc): Add mpc_c_c union field.
4278 (FUNC_mpc_c_c): New macro.
4279 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4280 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4281 ctanh.
4282 (special_fill_min_subnorm_p120): New function.
4283 (special_real_inputs): Add min_subnorm_p120.
4284 (calc_generic_results): Handle mpc_c_c.
4285 * sysdeps/i386/fpu/libm-test-ulps: Update.
4286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4287
4288 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4289
4290 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4291 do_sin_slow): New functions.
4292 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4293 cslow2, csloww1, csloww2): Use the new functions.
4294
4295 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4296 Use M to change sign of result instead of X. Assume X is
4297 positive.
4298 (csloww1): Likewise.
4299 (__sin): Adjust.
4300 (__cos): Adjust.
4301
4302 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4303 arguments A and DA.
4304 (__sin): Adjust.
4305 (__cos): Likewise.
4306
4307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4308 (__cos): Likewise.
4309 (sloww1): Don't adjust sign of DX.
4310 (csloww1): Likewise.
4311 (sloww2): Use X directly and don't adjust sign of DX.
4312 (csloww2): Likewise.
4313
4314 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4315
4316 * math/auto-libm-test-in: Add tests of cabs and carg.
4317 * math/auto-libm-test-out: Regenerated.
4318 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4319 (carg_test_data): Likewise.
4320 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4321 mpc_c_f.
4322 (func_calc_desc): Add mpc_c_f union field.
4323 (test_functions): Add cabs and carg.
4324 (calc_generic_results): Handle mpc_c_f.
4325
4326 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4327 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4328 as a macro and a compat symbol.
4329 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4330 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4331 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4332 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4333 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4334 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4335 not use .hidden.
4336 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4337 Likewise.
4338 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4339 Likewise.
4340 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4341 Likewise.
4342 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4343 Likewise.
4344 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4345 Likewise.
4346 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4347 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4348 from GLIBC_2.3.2.
4349
4350 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4351
4352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4353
4354 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4355
4356 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4357 trailing whitespace removed.
4358 * scripts/config.guess: Update to version 2013-11-29.
4359 * scripts/config.sub: Update to version 2013-10-01.
4360
4361 * math/auto-libm-test-in: Add tests of sincos.
4362 * math/auto-libm-test-out: Regenerated.
4363 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4364 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4365 mpfr_f_11.
4366 (func_calc_desc): Add mpfr_f_11 union field.
4367 (test_functions): Add sincos.
4368 (calc_generic_results): Handle mpfr_f_11.
4369 * sysdeps/i386/fpu/libm-test-ulps: Update.
4370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4371
4372 2013-12-19 Andreas Schwab <schwab@suse.de>
4373
4374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4375 CALL_MCOUNT.
4376 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4377 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4378 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4379
4380 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4381
4382 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4383 * sysdeps/i386/fpu/libm-test-ulps: Update.
4384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4385
4386 [BZ #16293]
4387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4388 round-to-nearest mode when using frndint.
4389 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4390 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4392 Likewise.
4393 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4394 sinh test to fail.
4395 * math/auto-libm-test-out: Regenerated.
4396 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4397 (TEST_COND_x86): Likewise.
4398 (expm1_tonearest_test_data): New array.
4399 (expm1_test_tonearest): New function.
4400 (expm1_towardzero_test_data): New array.
4401 (expm1_test_towardzero): New function.
4402 (expm1_downward_test_data): New array.
4403 (expm1_test_downward): New function.
4404 (expm1_upward_test_data): New array.
4405 (expm1_test_upward): New function.
4406 (main): Run the new test functions.
4407 * sysdeps/i386/fpu/libm-test-ulps: Update.
4408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4409
4410 * include/features.h: Update comment documenting feature test
4411 macros. Mention _DEFAULT_SOURCE in comment.
4412 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4413 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4414 _BSD_SOURCE and _SVID_SOURCE.
4415 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4416 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4417 !_SVID_SOURCE]: Likewise.
4418 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4419 (__USE_POSIX_IMPLICITLY): Define.
4420 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4421 (_POSIX_SOURCE): Undefine and redefine.
4422 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4423 (_POSIX_C_SOURCE): Likewise.
4424 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4425 (Feature Test Macros): Update documentation of default features.
4426
4427 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4428
4429 * benchtests/Makefile: Add bench-strtok.
4430 * benchtests/bench-strtok.c: New file: strtok benchtest.
4431
4432 2013-12-19 Allan McRae <allan@archlinux.org>
4433
4434 * manual/install.texi: Suppress menu for plain text output.
4435 * INSTALL: Regenerated.
4436
4437 2013-12-18 Brooks Moses <bmoses@google.com>
4438
4439 [BZ #15846]
4440 * misc/getauxval.c: Include errno.h.
4441 (__getauxval): Set errno to ENOENT if the requested type is not
4442 found.
4443 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4444 don't declare with __attribute_const__.
4445 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4446 * manual/startup.texi: Document that getauxval sets errno.
4447
4448 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4449
4450 * math/auto-libm-test-in: Add tests of jn and yn.
4451 * math/auto-libm-test-out: Regenerated.
4452 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4453 (yn_test_data): Likewise.
4454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4455 mpfr_if_f.
4456 (func_calc_desc): Add mpfr_if_f union field.
4457 (FUNC_mpfr_if_f): New macro.
4458 (test_functions): Add jn and yn.
4459 (calc_generic_results): Assert type of second input for
4460 mpfr_ff_f. Handle mpfr_if_f.
4461 (output_for_one_input_case): Disable all checking for arguments
4462 fitting floating-point types in case of an integer argument.
4463 * sysdeps/i386/fpu/libm-test-ulps: Update.
4464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4467 Don't expect fegetround reference in libm.so.
4468
4469 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4470
4471 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4472 $(config-cflags-nofma).
4473
4474 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4475
4476 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4477 * math/auto-libm-test-out: Regenerated.
4478
4479 [BZ #16338]
4480 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4481 to determine exponent and adjust argument to have exponent of -1.
4482 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4483 log2.
4484 * math/auto-libm-test-out: Regenerated.
4485 * sysdeps/i386/fpu/libm-test-ulps: Update.
4486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4487
4488 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
4489
4490 * manual/probes.texi: Remove cases when per-thread arenas are
4491 disabled.
4492
4493 2013-12-18 Andreas Schwab <schwab@suse.de>
4494
4495 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4496 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4497 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4498 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4499 * sysdeps/i386/i686/multiarch/Makefile: Update.
4500 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4501
4502 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4503
4504 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4505 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4506
4507 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4508
4509 [BZ #15968]
4510 Support TZ transition times < 00:00:00.
4511 This is needed for version-3 tz-format files; it supports time
4512 stamps past 2037 for America/Godthab (the only entry in the tz
4513 database for which this change is relevant).
4514 * manual/time.texi (TZ Variable): Document transition times
4515 from -167:59:59 through -00:00:01.
4516 * time/tzset.c (tz_rule): Time of day is now signed.
4517 (__tzset_parse_tz): Parse negative time of day.
4518
4519 Document TZ transition times >= 25:00:00.
4520 * manual/time.texi (TZ Variable): Document transition times from
4521 25:00:00 through 167:59:59. These are already supported, and this
4522 support will help with version-3 tz-format files.
4523
4524 * manual/time.texi (TZ Variable): Modernize North America example
4525 to reflect current (i.e., 2007-and-later) daylight saving rules.
4526
4527 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4528
4529 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4530
4531 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4532 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4535 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4536 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4537 * sysdeps/unix/bsd/clock.c: Likewise.
4538 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4539 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4540 * sysdeps/unix/bsd/init-posix.c: Likewise.
4541 * sysdeps/unix/bsd/poll.c: Likewise.
4542 * sysdeps/unix/bsd/ptsname.c: Likewise.
4543 * sysdeps/unix/bsd/seekdir.c: Likewise.
4544 * sysdeps/unix/bsd/setegid.c: Likewise.
4545 * sysdeps/unix/bsd/seteuid.c: Likewise.
4546 * sysdeps/unix/bsd/setgid.c: Likewise.
4547 * sysdeps/unix/bsd/setrgid.c: Likewise.
4548 * sysdeps/unix/bsd/setruid.c: Likewise.
4549 * sysdeps/unix/bsd/setsid.c: Likewise.
4550 * sysdeps/unix/bsd/setuid.c: Likewise.
4551 * sysdeps/unix/bsd/sigaction.c: Likewise.
4552 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4553 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4554 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4555 * sysdeps/unix/bsd/telldir.c: Likewise.
4556 * sysdeps/unix/bsd/times.c: Likewise.
4557 * sysdeps/unix/bsd/usleep.c: Likewise.
4558
4559 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4560 ($(objpfx)libbsd-compat.a): Remove rule.
4561
4562 * include/features.h (__FAVOR_BSD): Do not define.
4563 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4564 features conflicting with POSIX.
4565 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4566 (_BSD_SOURCE): Remove description of not being a subset of other
4567 feature test macros.
4568 * manual/job.texi (getpgrp): Do not document BSD version.
4569 (getpgid): Do not document by reference to BSD getpgrp.
4570 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4571 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4572 * signal/signal.h [__FAVOR_BSD]: Likewise.
4573 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4574 instead of making contents conditional on [__FAVOR_BSD].
4575 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4576
4577 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4578
4579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4580
4581 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4582
4583 [BZ #16314]
4584 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4585 values below 2**-450, not 2**-500.
4586 * math/auto-libm-test-in: Don't allow spurious underflow from
4587 hypot.
4588 * math/auto-libm-test-out: Regenerated.
4589
4590 [BZ #16316]
4591 [BZ #16330]
4592 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4593 values of ha and hb and sort them after adjusting subnormal
4594 arguments.
4595 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4596 Likewise.
4597 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4598 values of ea and eb and sort them after adjusting subnormal
4599 arguments.
4600 * math/auto-libm-test-in: Do not expect some hypot tests of
4601 subnormals to fail. Add more hypot tests.
4602 * math/auto-libm-test-out: Regenerated.
4603
4604 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4605
4606 [BZ #13304]
4607 * sysdeps/sh/s_fma.c: New file.
4608 * sysdeps/sh/s_fmaf.c: New file.
4609 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4610 version.
4611 * sysdeps/sh/Implies: Add sh/soft-fp.
4612
4613 2013-12-16 Roland McGrath <roland@hack.frob.com>
4614
4615 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4616 level of indirection to members `objname', `errstring', `malloced'.
4617 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4618 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4619 it as the __longjmp argument (just pass 1 instead).
4620 (_dl_catch_error): Initialize C with argument pointers and address of
4621 volatile local ERRCODE rather than copying values out of C at return.
4622
4623 2013-12-16 Joseph Myers <joseph@codesourcery.com>
4624
4625 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4626 * math/auto-libm-test-out: Regenerated.
4627 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4628 (hypot_test_data): Likewise.
4629 (pow_test_data): Likewise.
4630 (pow_tonearest_test_data): Likewise.
4631 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4632 mpfr_ff_f.
4633 (func_calc_desc): Add mpfr_ff_f union field.
4634 (FUNC_mpfr_ff_f): New macro.
4635 (test_functions): Add atan2, hypot and pow.
4636 (special_fill_min): New function.
4637 (special_fill_minus_min): Likewise.
4638 (special_fill_min_subnorm): Likewise.
4639 (special_fill_minus_min_subnorm): Likewise.
4640 (special_real_inputs): Add min, -min, min_subnorm and
4641 -min_subnorm.
4642 (calc_generic_results): Handle mpfr_ff_f.
4643 * sysdeps/i386/fpu/libm-test-ulps: Update.
4644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4645
4646 2013-12-16 Will Newton <will.newton@linaro.org>
4647
4648 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4649 (Aligned Memory Blocks): Add documentation for aligned_alloc
4650 and suggest it as an alternative to posix_memalign.
4651 (Hooks for Malloc): Document __memalign_hook is also called
4652 for aligned_alloc. (Summary of Malloc): Add summary for
4653 aligned alloc. Document __memalign_hook is also called
4654 for aligned_alloc.
4655
4656 2013-12-16 Will Newton <will.newton@linaro.org>
4657
4658 * manual/memory.texi (Malloc Examples): Clarify default
4659 alignment documentation. Suggest posix_memalign rather
4660 than memalign or valloc.
4661 (Aligned Memory Blocks): Remove suggestion to use memalign
4662 or valloc. Remove obsolete comment about BSD.
4663 Document memalign errno values and mark the function obsolete.
4664 Document posix_memalign returned error codes. Mark valloc
4665 as obsolete. (Hooks for Malloc): __memalign_hook is also
4666 called for posix_memalign and valloc.
4667 (Summary of Malloc): Add posix_memalign to function summary.
4668 __memalign_hook is also called for posix_memalign and valloc.
4669
4670 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4671
4672 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4673 TAYLOR_SIN.
4674 (__sin): Adjust.
4675 (__cos): Likewise.
4676 (sloww): Use mynumber union. Expand ternary operator into
4677 if-else statements.
4678 (cslow): use mynumber union.
4679
4680 2013-12-16 Allan McRae <allan@archlinux.org>
4681
4682 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4683 * configure: Regenerated.
4684
4685 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4686
4687 [BZ #14120]
4688 * configure.ac: Added --enable-maintainer-mode. Check for
4689 autoconf when enabled.
4690 * configure: Regenerated.
4691
4692 * nscd/nscd.service: New file.
4693 * nscd/nscd.tmpfiles: New file.
4694
4695 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
4696
4697 [BZ #12100]
4698 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4699 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4700 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4701 (strstr): Add __strstr_sse2_unaligned ifunc.
4702 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4703 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4704 (strcasestr): Remove __strcasestr_sse42 ifunc.
4705 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4708
4709 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4710
4711 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4712 * sysdeps/sh/bits/fenv.h: ... here.
4713 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4714
4715 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4716
4717 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4718
4719 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4720
4721 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4722 hypotf multiarch implementations.
4723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4726 multiarch hypot for PPC64.
4727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4729 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4730 multiarch hypotf for PPC64.
4731
4732 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4733
4734 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4735 modff multiarch implementations.
4736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4739 multiarch modf for PPC64.
4740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4743 multiarch modff for PPC64.
4744
4745 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746
4747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4748 and logl multiarch implementations.
4749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4752 multiarch logb for PPC64.
4753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4756 multiarch logb for PPC64.
4757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4760 multiarch logb for PPC64.
4761
4762 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4763
4764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4765 isinff multiarch implementation.
4766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4767 file.
4768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4770 multiarch isinf for PPC64.
4771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4772 file.
4773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4774 multiarch isinff for PPC64.
4775
4776 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4777
4778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4779 finitef multiarch implementation.
4780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4781 file.
4782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4784 multiarch finite for PPC64.
4785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4786 file.
4787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4788 multiarch finitef for PPC64.
4789
4790 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791
4792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4793 lrint multiarch implementation.
4794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4795 file.
4796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4798 multiarch llrint for PPC64.
4799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4800 multiarch lrint for PPC64.
4801
4802 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803
4804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4805 copysignf multiarch implementation.
4806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4807 file.
4808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4809 file.
4810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4811 multiarch copysign for PPC64.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4813 multiarch copysignf for PPC64.
4814
4815 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4816
4817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4818 multiarch implementation.
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4820 file.
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4822 file.
4823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4824 file.
4825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4826 file.
4827 multiarch llround for PPC64.
4828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4829 multiarch trunc for PPC64.
4830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4831 multiarch truncf for PPC64.
4832
4833 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4834
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4836 multiarch implementation.
4837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4838 file.
4839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4840 file.
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4842 file.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4844 file.
4845 multiarch llround for PPC64.
4846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4847 multiarch round for PPC64.
4848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4849 multiarch roundf for PPC64.
4850
4851 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4852
4853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4854 multiarch implementation.
4855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4856 file.
4857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4858 file.
4859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4860 file.
4861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4862 file.
4863 multiarch llround for PPC64.
4864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4865 multiarch floor for PPC64.
4866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4867 multiarch floorf for PPC64.
4868
4869 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870
4871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4872 multiarch implementation.
4873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4874 file.
4875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4876 file.
4877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4878 file.
4879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4880 file.
4881 multiarch llround for PPC64.
4882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4883 multiarch ceil for PPC64.
4884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4885 multiarch ceilf for PPC64.
4886
4887 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4888
4889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4890 multiarch implementation.
4891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4892 file.
4893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4894 file.
4895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4896 file.
4897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4898 multiarch llround for PPC64.
4899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4900 multiarch lround for PPC64.
4901
4902 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4903
4904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4905 multiarch implementation.
4906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4909 file.
4910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4913 multiarch isnan for PPC64.
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4915 multiarch isnanf for PPC64.
4916
4917 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4918
4919 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4920 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4921 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4922 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4923 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4925
4926 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927
4928 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4929 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4932
4933 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934
4935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4936 multiarch implementations.
4937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4938 (__libc_ifunc_impl_list): Likewise.
4939 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4940 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4942 multiarch stpcpy for PPC64.
4943
4944 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4945
4946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4947 multiarch implementations.
4948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4949 (__libc_ifunc_impl_list): Likewise.
4950 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4951 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4952 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4953 multiarch strcpy for PPC64.
4954
4955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4956
4957 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4958 redefine function name.
4959 (_wordcopy_fwd_dest_aligned): Likewise.
4960 (_wordcopy_bwd_aligned): Likewise.
4961 (_wordcopy_bwd_dest_aligned): Likewise.
4962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4963 multiarch implementations.
4964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4965 (__libc_ifunc_impl_list): Likewise.
4966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4967 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4968 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4969 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4970 multiarch wcscpy for PPC64.
4971
4972 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4973
4974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4975 multiarch implementations.
4976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4977 (__libc_ifunc_impl_list): Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4979 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4980 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4981 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4982 multiarch wcscpy for PPC64.
4983
4984 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985
4986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4987 multiarch implementations.
4988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4989 (__libc_ifunc_impl_list): Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4991 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4992 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4993 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4994 multiarch wcsrchr for PPC64.
4995
4996 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4997
4998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4999 multiarch implementations.
5000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5001 (__libc_ifunc_impl_list): Likewise.
5002 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5003 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5004 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5005 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5006 multiarch wcschr for PPC64.
5007
5008 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5009
5010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5011 multiarch implementations.
5012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5013 (__libc_ifunc_impl_list): Likewise.
5014 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5015 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5016 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5017 multiarch strchrnul for PPC64.
5018
5019 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020
5021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5022 implementations.
5023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5024 (__libc_ifunc_impl_list): Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5026 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5027 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5028 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5029 strchr for PPC64.
5030
5031 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5032
5033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5034 implementations.
5035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5036 (__libc_ifunc_impl_list): Likewise.
5037 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5038 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5039 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5040 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5041 strncmp for PPC64.
5042
5043 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044
5045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5046 multiarch implementations.
5047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5048 (__libc_ifunc_impl_list): Likewise.
5049 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5050 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5051 strncasecmp for PPC64.
5052 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5053 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5054 multiarch strncasecmp_l for PPC64.
5055
5056 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057
5058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5059 multiarch implementations.
5060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5061 (__libc_ifunc_impl_list): Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5063 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5064 multiarch strcasecmp for PPC64.
5065 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5066 file.
5067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5068 multiarch strcasecmp_l for PPC64.
5069
5070 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5071
5072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5073 implementations.
5074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5075 (__libc_ifunc_impl_list): Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5077 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5078 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5079 strnlen for PPC64.
5080
5081 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5084 implementations.
5085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5086 (__libc_ifunc_impl_list): Likewise.
5087 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5088 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5089 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5090 strlen for PPC64.
5091
5092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093
5094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5095 implementations.
5096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5097 (__libc_ifunc_impl_list): Likewise.
5098 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5099 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5100 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5101 rawmemrchr for PPC64.
5102
5103 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5104
5105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5106 implementation.
5107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5108 (__libc_ifunc_impl_list): Likewise.
5109 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5110 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5111 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5112 memrchr for PPC64.
5113
5114 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5115
5116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5117 implementation.
5118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5119 (__libc_ifunc_impl_list): Likewise.
5120 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5121 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5122 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5123 memchr for PPC64.
5124
5125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5128 implementation.
5129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5130 (__libc_ifunc_impl_list): Likewise.
5131 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5132 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5133 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5134 mempcpy for PPC64.
5135
5136 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5139 avoid cretion of __bzero symbol.
5140 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5141 Likewise.
5142 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5143 Likewise.
5144 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5145 Likewise.
5146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5147 multiarch implementations.
5148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5149 (__libc_ifunc_impl_list): Likewise.
5150 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5151 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5152 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5153 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5154 bzero for PPC32.
5155 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5156 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5157 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5158 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5159 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5160 memset for PPC64.
5161 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5162
5163 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5164
5165 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5167 implementations.
5168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5169 (__libc_ifunc_impl_list): Likewise.
5170 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5171 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5172 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5173 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5174 memcmp for PPC64.
5175
5176 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5177
5178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5179 multiarch for POWER/PPC64.
5180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5181 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5182 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5183 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5184 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5185 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5186 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5188 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5189 memcpy for PPC64.
5190
5191 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5194 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5195 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5196 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5197 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5198 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5199 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5200 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5201 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5202 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5203 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5204 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5205 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5206 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5207 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5215
5216 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5217
5218 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5219
5220 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5221
5222 * benchtests/Makefile (bench): Add exp2 and log2.
5223 (LDLIBS-bench-exp2): Add -lm.
5224 (LDLIBS-bench-log2): Likewise.
5225 * benchtests/exp2-inputs: New inputs file.
5226 * benchtests/log2-inputs: New inputs file.
5227 * benchtests/log-inputs: Add new inputs.
5228 * benchtests/tan-inputs: Likewise.
5229
5230 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5233 definition...
5234 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5235 csloww1, csloww2): ... from here.
5236
5237 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5238 instead of structures.
5239 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5240 (POLYNOMIAL): Likewise.
5241 (TAYLOR_SLOW): Likewise.
5242 (__sin): Likewise.
5243 (__cos): Likewise.
5244 (slow1): Likewise.
5245 (slow2): Likewise.
5246 (sloww): Likewise.
5247 (sloww1); Likewise.
5248 (sloww2): Likewise.
5249 (bsloww1): Likewise.
5250 (bsloww2): Likewise.
5251 (cslow2): Likewise.
5252 (csloww): Likewise.
5253 (csloww1): Likewise.
5254 (csloww2): Likewise.
5255
5256 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5257
5258 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5259 (__malloc_assert, __libc_realloc, __libc_calloc,
5260 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5261 memcpy and memset.
5262 * malloc/hooks.c (realloc_check): Likewise.
5263
5264 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5265
5266 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5267 * malloc/arena.c: Remove PER_THREAD conditional.
5268 [!PER_THREAD]: Remove code.
5269 (ptmalloc_unlock_all2): Likewise.
5270 (ptmalloc_init): Likewise.
5271 (_int_new_arena): Likewise.
5272 (arena_get2): Likewise.
5273 * malloc/hooks.c (__malloc_get_state): Likewise.
5274 (__malloc_set_state): Likewise.
5275 * malloc/malloc.c: Likewise.
5276 (struct malloc_state): Likewise.
5277 (struct malloc_par): Likewise.
5278 (__libc_realloc): Likewise.
5279 (__libc_mallopt): Likewise.
5280
5281 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5284
5285 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5286
5287 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5288 macro to a function. Check for zero perturb_byte.
5289 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5290
5291 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5292
5293 * malloc/malloc.c: (force_reg): Remove.
5294 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5295 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5296 force_reg by atomic_forced_read.
5297 * malloc/arena.c (ptmalloc_init): Likewise.
5298 * malloc/hooks.c (top_check): Likewise.
5299
5300 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5301
5302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5303
5304 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5305
5306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5307
5308 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5309
5310 * math/auto-libm-test-in: Add tests of lgamma.
5311 * math/auto-libm-test-out: Regenerated.
5312 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5313 (M_LOG_2_SQRT_PIl): Likewise.
5314 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5316 mpfr_f_f1.
5317 (func_calc_desc): Add mpfr_f_f1 union field.
5318 (ARGS1): New macro.
5319 (ARGS2): Likewise.
5320 (ARGS3): Likewise.
5321 (ARGS4): Likewise.
5322 (RET1): Likewise.
5323 (RET2): Likewise.
5324 (CALC): Likewise.
5325 (FUNC): Likewise.
5326 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5327 (test_functions): Add lgamma.
5328 (calc_generic_results): Handle mpfr_f_f1.
5329 * sysdeps/i386/fpu/libm-test-ulps: Update.
5330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5331
5332 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5333
5334 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5335 __mpn_add_n for PowerPC64/POWER7.
5336 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5337 __mpn_sub_n for PowerPC64/POWER7.
5338
5339 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5340
5341 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5342 __mpn_addmul_1 for PowerPC64.
5343 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5344 __mpn_submul_1 for PowerPC64.
5345 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5346 for PowerPC64.
5347 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5348 for PowerPC64.
5349
5350 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5351
5352 [BZ #15089]
5353 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5354
5355 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5356
5357 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5358
5359 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5360
5361 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5362 add multiarch folders.
5363 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5364 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5365 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5366 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5367 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5368 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5369 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5370 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5371 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5372 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5373 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5380
5381 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5382
5383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5384 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5386 New file.
5387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5388 New file.
5389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5390 multiarch __ieee754_hypot for PowerPC32.
5391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5392 New file.
5393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5394 New file.
5395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5396 multiarch __ieee754_hypotf for PowerPC32.
5397
5398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5399
5400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5401 long_double_symbol only if __logbl is defined.
5402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5403 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5405 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5406 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5407 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5408 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5409 path for implementation.
5410 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5413 logb, and logbl multiarch implementations for PowerPC32.
5414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5415 file.
5416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5417 file.
5418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5419 multiarch logb for PowerPC32.
5420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5421 file.
5422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5423 file.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5425 multiarch logbf for PowerPC32.
5426 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5428 file.
5429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5430 multiarch logbl implementation for PowerPC32.
5431
5432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5433
5434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5435 and modff multiarch implementations.
5436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5437 New file.
5438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5439 New file.
5440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5441 multiarch modf for PowerPC32.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5443 New file.
5444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5445 New file.
5446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5447 multiarch modff for PowerPC32.
5448
5449 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5452 and lrintf multiarch implementations.
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5454 New file.
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5456 New file.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5458 multiarch lrint for PowerPC32.
5459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5460 file: multiarch lrintf for PowerPC32.
5461
5462 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5463
5464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5465 and lroundf multiarch implementations.
5466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5467 New file.
5468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5469 New file.
5470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5471 New file.
5472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5473 multiarch lround for PowerPC32.
5474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5475 file: multiarch lroundf for PowerPC32.
5476
5477 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5480 copysign and copysignf multiarch implementations.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5482 New file.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5484 New file.
5485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5486 file: multiarch copysign for PowerPC32.
5487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5488 file: multiarch copysignf for PowerPC32.
5489
5490 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5491
5492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5493 and truncf multiarch implementations.
5494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5495 New file.
5496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5497 file.
5498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5499 multiarch trunc for PowerPC32.
5500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5501 New file.
5502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5503 New file.
5504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5505 multiarch truncf for PowerPC32.
5506
5507 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5508
5509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5510 and roundf multiarch implementations.
5511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5512 New file.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5514 file.
5515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5516 multiarch round for PowerPC32.
5517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5518 New file.
5519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5520 New file.
5521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5522 multiarch roundf for PowerPC32.
5523
5524 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525
5526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5527 and floorf multiarch implementations.
5528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5529 New file.
5530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5531 file.
5532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5533 multiarch floor for PowerPC32.
5534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5535 New file.
5536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5537 New file.
5538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5539 multiarch floorf for PowerPC32.
5540
5541 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5542
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5544 and ceilf multiarch implementations.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5546 New file.
5547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5548 file.
5549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5550 multiarch ceil for PowerPC32.
5551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5552 New file.
5553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5554 file.
5555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5556 multiarch ceilf for PowerPC32.
5557
5558 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559
5560 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5561 is defined.
5562 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5563 FINITEF is defined.
5564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5565 and finitef multiarch implementations.
5566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5567 New file.
5568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5569 file.
5570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5571 multiarch finite for PowerPC32.
5572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5573 New file.
5574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5575 file: multiarch finitef for PowerPC32.
5576
5577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578
5579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5580 and isinff multiarch implementations.
5581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5582 file.
5583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5584 file.
5585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5586 multiarch isinf for PowerPC32.
5587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5588 New file.
5589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5590 multiarch isinff for PowerPC32.
5591
5592 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5593
5594 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5595 alias when __isnan is defined.
5596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5597 and isnanf multiarch implementations.
5598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5599 file.
5600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5601 file.
5602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5603 file.
5604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5605 file.
5606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5607 multiarch isnan for PowerPC32.
5608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5609 New file.
5610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5611 New file.
5612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5613 multiarch isnanf for PowerPC32.
5614
5615 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5618 and sqrtf multiarch implementations.
5619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5620 file.
5621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5622 file.
5623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5624 multiarch sqrt for PowerPC32.
5625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5626 file.
5627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5628 file.
5629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5630 multiarch sqrtf for PowerPC32.
5631
5632 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5633
5634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5635 and llroundf multiarch implementations.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5637 New file.
5638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5639 New file.
5640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5641 New file.
5642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5643 file: multiarch llround for PowerPC32.
5644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5645 file: multiarch llroundf for PowerPC32.
5646
5647 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5648
5649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5650 multiarch PowerPC32 fpu implementations.
5651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5652 New file.
5653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5654 New file.
5655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5656 multiarch llrint for PowerPC32.
5657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5658 New file.
5659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5660 New file.
5661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5662 file.
5663
5664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5665
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5667
5668 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669
5670 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5671 file.
5672 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5673 file.
5674 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5675 file.
5676 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5677 multiarch wordcopy for PPC32.
5678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5679 wordcopy objects.
5680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5681 (__libc_ifunc_impl_list): Likewise.
5682 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5683 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5684 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5685 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5686 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5687 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5688
5689 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5690
5691 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5693 file.
5694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5695 file.
5696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5697 file.
5698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5699 multiarch wcscpy for PPC32.
5700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5701 multiarch objects.
5702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5703 (__libc_ifunc_impl_list): Likewise.
5704 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5705 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5706 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5707 sysdeps/powerpc/power6/wcscpy.c.
5708
5709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710
5711 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5713 file.
5714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5715 file.
5716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5717 file.
5718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5719 multiarch wcsrchr for PPC32.
5720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5721 multiarch objects.
5722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5723 (__libc_ifunc_impl_list): Likewise.
5724 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5725 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5726 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5727 sysdeps/powerpc/power6/wcsrchr.c.
5728
5729 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730
5731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5732 file.
5733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5734 file.
5735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5737 multiarch wcschr for PPc32.
5738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5739 multiarch objects.
5740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5741 (__libc_ifunc_impl_list): Likewise.
5742 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5743 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5744 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5745 sysdeps/powerpc/power6/wcschr.c.
5746
5747 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748
5749 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5750 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5751 file.
5752 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5753 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5754 file: multiarch strchr for PPC32.
5755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5756 multiarch objects.
5757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5758 (__libc_ifunc_impl_list): Likewise.
5759
5760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761
5762 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5763 name.
5764 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5765 file.
5766 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5767 file.
5768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5769 multiarch strchrnul for PPC32.
5770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5771 multiarch objects.
5772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5773 (__libc_ifunc_impl_list): Likewise.
5774
5775 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776
5777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5778 file.
5779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5780 multiarch strncasecmp for PPC32.
5781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5782 file.
5783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5784 multiarch strncasecmp_l for PPC32.
5785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5786 strncasecmp multiarch objects.
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5788 (__libc_ifunc_impl_list): Likewise.
5789
5790 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5793 file.
5794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5795 multiarch strncasecmp for PPC32.
5796 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5797 New file.
5798 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5799 multiarch strcasecmp_l for PPC32.
5800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5801 multiarch objects.
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5803 (__libc_ifunc_impl_list): Likewise.
5804
5805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5806
5807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5808 file.
5809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5810 file.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5812 multiarch strncmp for PPC32.
5813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5814 multiarch objects.
5815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5816 (__libc_ifunc_impl_list): Likewise.
5817
5818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819
5820 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5821 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5822 file.
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5824 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5826 multiarch objects.
5827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5828 (__libc_ifunc_impl_list): Likewise.
5829
5830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5833 file.
5834 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5835 file.
5836 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5838 multiarch objects.
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5840 (__libc_ifunc_impl_list): Likewise.
5841
5842 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5845 file.
5846 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5847 file.
5848 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5849 multiarch rawmemchr for PPC32.
5850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5851 multiarch objects.
5852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5853 (__libc_ifunc_impl_list): Likewise.
5854
5855 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5856
5857 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5858 file.
5859 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5860 file.
5861 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5862 file: memrchr multiarch for PPC32.
5863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5864 multiarch objects.
5865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5866 (__libc_ifunc_impl_list): Likewise.
5867
5868 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5872 file.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5874 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5875 multiarch memchr for PPC32.
5876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5877 multiarch objects.
5878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5879 (__libc_ifunc_impl_list): Likewise.
5880
5881 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882
5883 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5884 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5885 file.
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5887 file.
5888 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5889 file: multiarch mempcpy for PPC32.
5890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5891 multiarch objects.
5892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5893 (__libc_ifunc_impl_list): Likewise.
5894
5895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5896
5897 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5898 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5899 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5900 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5901 multiarch bzero for PPC32.
5902 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5903 file.
5904 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5905 file.
5906 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5907 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5908 file: multiarch memset for PPC32.
5909 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5911 memset multiarch objects.
5912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5913 (__libc_ifunc_impl_list): Likewise.
5914
5915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916
5917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5918 file.
5919 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5921 memcmp for PPC32.
5922 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5924 multiarch objects.
5925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5926 (__libc_ifunc_impl_list): Likewise.
5927
5928 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5933 file.
5934 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5935 file.
5936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5937 file.
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5939 multiarch memcpy for PPC32.
5940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5941 multiarch objects.
5942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5943 (__libc_ifunc_impl_list): Likewise.
5944
5945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5948 support multiarch for POWER/PPC32.
5949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5950 Likewise.
5951 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5953 Implies file to make multiarch folder appers before the fpu and
5954 default folder for power4 configuration.
5955
5956 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5957
5958 * scripts/bench.pl: Append volatile keyword to type.
5959
5960 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5961
5962 * sysdeps/sh/sotruss-lib.c: New file.
5963 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5964
5965 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5966
5967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5968
5969 2013-12-05 Joseph Myers <joseph@codesourcery.com>
5970
5971 [BZ #6810]
5972 * math/w_tgamma.c: Include <errno.h>.
5973 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5974 * math/w_tgammaf.c: Include <errno.h>.
5975 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5976 * math/w_tgammal.c: Include <errno.h>.
5977 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5978 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5979 underflow. Add more tgamma tests.
5980 * math/auto-libm-test-out: Regenerated.
5981 * sysdeps/i386/fpu/libm-test-ulps: Update.
5982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5983
5984 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5985 sin, sinh, tan, tanh, tgamma, y0 and y1.
5986 * math/auto-libm-test-out: Regenerated.
5987 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5988 (TEST_COND_x86): Likewise.
5989 (M_E2l): Remove macro.
5990 (M_E3l): Likewise.
5991 (M_2_SQRT_PIl): Likewise.
5992 (M_SQRT_PIl): Likewise.
5993 (M_1_DIV_El): Likewise.
5994 (log_test_data): Use AUTO_TESTS_f_f.
5995 (log10_test_data): Likewise.
5996 (log1p_test_data): Likewise.
5997 (log2_test_data): Likewise.
5998 (sin_test_data): Likewise.
5999 (sin_tonearest_test_data): Likewise.
6000 (sin_towardzero_test_data): Likewise.
6001 (sin_downward_test_data): Likewise.
6002 (sin_upward_test_data): Likewise.
6003 (sinh_test_data): Likewise.
6004 (sinh_tonearest_test_data): Likewise.
6005 (sinh_towardzero_test_data): Likewise.
6006 (sinh_downward_test_data): Likewise.
6007 (sinh_upward_test_data): Likewise.
6008 (tan_test_data): Likewise.
6009 (tan_tonearest_test_data): Likewise.
6010 (tan_towardzero_test_data): Likewise.
6011 (tan_downward_test_data): Likewise.
6012 (tan_upward_test_data): Likewise.
6013 (tanh_test_data): Likewise.
6014 (tgamma_test_data): Likewise.
6015 (y0_test_data): Likewise.
6016 (y1_test_data): Likewise.
6017 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6018 (special_real_inputs): Add pi/4.
6019 * sysdeps/i386/fpu/libm-test-ulps: Update.
6020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021
6022 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023
6024 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6025 "longjmp_target" static probes.
6026 (__longjmp): Rename to __longjmp_symbol.
6027 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6028 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6029 on which longjmp to generate.
6030 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6031 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6032 probe.
6033 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6034 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6035 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6036 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6037 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6038 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6040 __longjmp_symbol based on which __longjmp to generate.
6041 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6042 probe.
6043 (setjmp): Rename to setjmp_symbol.
6044 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6045 (_setjmp): Rename to _setjmp_symbol.
6046 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6047 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6048 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6049 which setjmp to generate.
6050 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6051 "longjmp_target" static probes.
6052
6053 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6054
6055 * benchtests/README: Add note about output arguments.
6056 * benchtests/bench-sincos.c: Remove file.
6057 * benchtests/sincos-inputs: New file.
6058 * scripts/bench.pl: Identify output arguments and define
6059 static variables for them.
6060
6061 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6062
6063 [BZ #15941]
6064 * Makefile (INSTALL): Add install-plain.texi as the primary
6065 dependency.
6066 * manual/install-plain.texi: New file.
6067 * manual/install.texi: Include node directive only for
6068 non-plaintext output.
6069
6070 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6071
6072 * stdlib/longlong.h: Update from GCC.
6073
6074 [BZ #6807]
6075 [BZ #15901]
6076 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6077 * math/w_j0f.c (y0f): Likewise.
6078 * math/w_j0l.c (__y0l): Likewise.
6079 * math/w_j1.c (y1): Likewise.
6080 * math/w_j1f.c (y1f): Likewise.
6081 * math/w_j1l.c (__y1l): Likewise
6082 * math/w_jn.c (yn): Likewise.
6083 * math/w_jnf.c (ynf): Likewise.
6084 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6085 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6086 value for Bessel function domain errors outside _SVID_ mode.
6087 Adjust sign of return value for yn (negative integer, 0).
6088 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6089 by zero in return for negative x and set sign appropriately for
6090 negative n.
6091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6092 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6093 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6094 expectations in error cases.
6095 (y1_test_data): Likewise.
6096 (yn_test_data): Likewise.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099
6100 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6101
6102 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6103 "64" to "64-v1". Add "64-v2".
6104 (abi-64-options): Rename to ...
6105 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6106 (abi-64-condition): Rename to ...
6107 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6108 (abi-64-ld-soname): Rename to ...
6109 (abi-64-v1-ld-soname): ... this.
6110 (abi-64-v2-options): Define.
6111 (abi-64-v2-condition): Likewise.
6112 (abi-64-v2-ld-soname): Likewise.
6113 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6114 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6118
6119 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6120 Alan Modra <amodra@gmail.com>
6121
6122 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6123 New versions for use with the ELFv2 ABI.
6124 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6125 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6126 declaration.
6127 (struct La_ppc64v2_retval): Likewise.
6128 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6129 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6130 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6131 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6132 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6133 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6134 Do not save or restore CR.
6135 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6136 (_dl_profile_resolve): Do no save or restore CR. Support extended
6137 return values for ELFv2 ABI. Fix location of FPR return registers.
6138 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6139 updated values for _CALL_ELF == 2.
6140 (La_regs, La_retval, int_retval): Likewise.
6141
6142 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6143
6144 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6145 (FRAME_MIN_SIZE_PARM): Likewise.
6146 (FRAME_BACKCHAIN): Likewise.
6147 (FRAME_CR_SAVE): Likewise.
6148 (FRAME_LR_SAVE): Likewise.
6149 (FRAME_TOC_SAVE): Likewise.
6150 (FRAME_PARM_SAVE): Likewise.
6151 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6152 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6153 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6154 (call_mcount_parm_offset): New macro.
6155 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6156 (PROF): Use symbolic stack frame offsets.
6157 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6158 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6159 Redefine in terms of FRAME_MIN_SIZE.
6160 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6161 (_dl_profile_resolve): Likewise. Update comment.
6162 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6163 symbols stack frame offsets.
6164 (__sigsetjmp): Likewise.
6165 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6166 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6167 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6168 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6169
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6171 (FRAME_BACKCHAIN): Remove.
6172 (FRAME_CR_SAVE): Likewise.
6173 (FRAME_LR_SAVE): Likewise.
6174 (FRAME_COMPILER_DW): Likewise.
6175 (FRAME_LINKER_DW): Likewise.
6176 (FRAME_TOC_SAVE): Likewise.
6177 (FRAME_PARM_SAVE): Likewise.
6178 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6179 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6180 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6182 (CHECK_SP): Use symbolic stack frame offsets.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6184 zone" instead of caller's parameter save area for temp storage.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6186 Likewise. Also, use symbolic stack frame offsets.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6188 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6189 our own stack frame instead of the caller's.
6190 (__socket): Use symbolic stack frame offsets.
6191
6192 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6193 Alan Modra <amodra@gmail.com>
6194
6195 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6196 Define.
6197 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6198 PPC64_LOCAL_ENTRY_OFFSET): Define.
6199 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6200 New function.
6201 (elf_machine_fixup_plt): Call it.
6202 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6203 reloc arguments.
6204 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6205 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6206 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6207 r2 before calling target.
6208
6209 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6210 Alan Modra <amodra@gmail.com>
6211
6212 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6213 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6214 versions of macros to support ELFv2 ABI.
6215 (LOCALENTRY): New macro.
6216 (ENTRY, EALIGN): Use it.
6217 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6218 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6219 fall through into ENTRY entry point.
6220 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6221 Only define if _CALL_ELF != 2.
6222
6223 (elf_machine_matches_host): Verify ABI version matches.
6224 (RTLD_START): Use LOCALENTRY.
6225 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6226 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6227 (PLT_ENTRY_WORDS): New macro.
6228 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6229 (elf_machine_runtime_setup): Support ELFv2 ABI.
6230 (elf_machine_fixup_plt): Likewise.
6231 (elf_machine_plt_conflict): Likewise.
6232 (resolve_ifunc): Likewise.
6233 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6235 Likewise.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6237 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6239 (makecontext): Support ELFv2 ABI.
6240 * elf/elf.h (EF_PPC64_ABI): Define.
6241
6242 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6243
6244 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6245 New assembler macro.
6246 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6247 [ASSEMBLER] (ENTRY): ... but instead here ...
6248 [ASSEMBLER] (EALIGN): ... and here.
6249 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6250 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6251 [!ASSEMBLER] (ENTRY_2): Use it.
6252 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6253 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6255 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6256 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6258 Use PPC64_LOAD_FUNCPTR.
6259
6260 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6261
6262 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6263
6264 2013-12-04 Alan Modra <amodra@gmail.com>
6265
6266 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6267 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6268 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6269 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6270
6271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6272 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6273 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6274 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6275 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6276 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6277
6278 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6279
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6281 (__makecontext): Fix incorrect CFI when backtracing out of
6282 context created via makecontext.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6284 (__setcontext): Fix incorrect CFI during switch to new context.
6285 (__novec_setcontext): Likewise.
6286
6287 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6288
6289 [BZ #4772]
6290 * time/strptime_l.c (__strptime_internal): Allow modifiers
6291 in strptime.
6292 * time/tst-strptime.c (day_tests): Add testcase.
6293
6294
6295 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6296
6297 * scripts/bench.pl: Skip over blank lines.
6298
6299 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6300
6301 [BZ #926]
6302 * manual/time.texi (Calendar Time): Clarify what timezone functions
6303 use.
6304
6305 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306
6307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6308
6309 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6310
6311 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6312 implementation.
6313 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6314 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6315 * debug/memset_chk.c (__memset_chk): Likewise.
6316 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6317 * debug/strncpy_chk.c: Likewise.
6318
6319 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6320
6321 [BZ #15268]
6322 [BZ #15425]
6323 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6324 (__ieee754_exp): For possibly underflowing results, check size of
6325 result and force underflow exception if required.
6326 * math/auto-libm-test-in: Add more tests of exp.
6327 * math/auto-libm-test-out: Regenerated.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6330
6331 [BZ #16283]
6332 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6333 * math/w_exp2f.c (__exp2f): Likewise.
6334 * math/w_exp2l.c (__exp2l): Likewise.
6335 * math/auto-libm-test-in: Do not allow missing errno on exp2
6336 underflow.
6337 * math/auto-libm-test-out: Regenerated.
6338
6339 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6340
6341 [BZ #16274]
6342 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6343 handle filename validation.
6344 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6345 (do_open): Delete.
6346
6347 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6348
6349 [BZ #6786]
6350 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6351 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6352 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6353 <float.h>.
6354 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6355 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6356 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6358 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6360 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6361 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6362 Add more erfc tests.
6363 * math/auto-libm-test-out: Regenerated.
6364 * sysdeps/i386/fpu/libm-test-ulps: Update.
6365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6366
6367 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6368 exp2, expm1, j0 and j1.
6369 * math/auto-libm-test-out: Regenerated.
6370 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6371 (erfc_test_data): Likewise.
6372 (exp_test_data): Likewise.
6373 (exp_tonearest_test_data): Likewise.
6374 (exp_towardzero_test_data): Likewise.
6375 (exp_downward_test_data): Likewise.
6376 (exp_upward_test_data): Likewise.
6377 (exp10_test_data): Likewise.
6378 (exp2_test_data): Likewise.
6379 (expm1_test_data): Likewise.
6380 (j0_test_data): Likewise.
6381 (j1_test_data): Likewise.
6382 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6383 (input_flag_type): Add flag_xfail_rounding.
6384 (input_flags): Add xfail-rounding.
6385 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6386 (output_for_one_input_case): Handle flag_xfail_rounding.
6387 * sysdeps/i386/fpu/libm-test-ulps: Update.
6388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6389
6390 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6391
6392 [BZ #16289]
6393 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6394 division by 0.
6395
6396 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6397
6398 [BZ #16195]
6399 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6400 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6401 (STAP_PROBE0): New macro.
6402 (STAP_PROBE1): Likewise.
6403 (STAP_PROBE2): Likewise.
6404 (STAP_PROBE3): Likewise.
6405 (STAP_PROBE4): Likewise.
6406
6407 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6408
6409 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6410
6411 2013-12-02 Steve Ellcey <sellcey@mips.com>
6412
6413 * benchtests/Makefile (bench): Add sqrt.
6414 (LDLIBS-bench-sqrt): New.
6415 * benchtests/sqrt-input: New.
6416
6417 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6418
6419 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6420 (GAIH_EAI): Likewise.
6421 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6422 (gaih_inet): Likewise.
6423 (getaddrinfo): Don't use GAIH_EAI.
6424
6425 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6426 (struct gaih): Remove definition.
6427
6428 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6429
6430 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6431 Use HERRNOP directly.
6432
6433 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434
6435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6436
6437 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6438
6439 * math/gen-auto-libm-tests.c (test_functions): Add more
6440 single-argument functions.
6441 (special_fill_pi_2): New function.
6442 (special_fill_minus_pi_2): Likewise.
6443 (special_fill_pi_6): Likewise.
6444 (special_fill_minus_pi_6): Likewise.
6445 (special_fill_pi_3): Likewise.
6446 (special_fill_2pi_3): Likewise.
6447 (special_fill_e): Likewise.
6448 (special_fill_1_e): Likewise.
6449 (special_fill_e_minus_1): Likewise.
6450 (special_real_inputs): Add more special inputs.
6451 (output_for_one_input_case): Do not require ERANGE on underflow to
6452 zero if round-to-nearest result does not underflow to zero, unless
6453 exact results required.
6454 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6455 atan, atanh, cbrt, cos and cosh.
6456 * math/auto-libm-test-out: Regenerated.
6457 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6458 (acos_tonearest_test_data): Likewise.
6459 (acos_towardzero_test_data): Likewise.
6460 (acos_downward_test_data): Likewise.
6461 (acos_upward_test_data): Likewise.
6462 (acosh_test_data): Likewise.
6463 (asin_test_data): Likewise.
6464 (asin_tonearest_test_data): Likewise.
6465 (asin_towardzero_test_data): Likewise.
6466 (asin_upward_test_data): Likewise.
6467 (asinh_test_data): Likewise.
6468 (atan_test_data): Likewise.
6469 (atanh_test_data): Likewise.
6470 (cbrt_test_data): Likewise.
6471 (cos_test_data): Likewise.
6472 (cos_tonearest_test_data): Likewise.
6473 (cos_towardzero_test_data): Likewise.
6474 (cos_downward_test_data): Likewise.
6475 (cos_upward_test_data): Likewise.
6476 (cosh_test_data): Likewise.
6477 (cosh_tonearest_test_data): Likewise.
6478 (cosh_towardzero_test_data): Likewise.
6479 (cosh_downward_test_data): Likewise.
6480 (cosh_upward_test_data): Likewise.
6481 * sysdeps/i386/fpu/libm-test-ulps: Update.
6482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6483
6484 2013-11-29 Joseph Myers <joseph@codesourcery.com>
6485
6486 [BZ #6787]
6487 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6488 * math/w_exp10f.c (__exp10f): Likewise.
6489 * math/w_exp10l.c (__exp10l): Likewise.
6490 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6491 errno settings in existing tests.
6492
6493 [BZ #14032]
6494 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6495 precision control set to double precision.
6496 * sysdeps/i386/fpu/w_sqrt.c: New file.
6497 * math/auto-libm-test-in: Add more tests.
6498 * math/auto-libm-test-out: Update.
6499
6500 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6501 (sqrt_test_tonearest): New function.
6502 (sqrt_towardzero_test_data): New variable.
6503 (sqrt_test_towardzero): New function.
6504 (sqrt_downward_test_data): New variable.
6505 (sqrt_test_downward): New function.
6506 (sqrt_upward_test_data): New variable.
6507 (sqrt_test_upward): New function.
6508 (main): Call the new functions.
6509
6510 * math/gen-auto-libm-tests.c: New file.
6511 * math/auto-libm-test-in: Likewise.
6512 * math/auto-libm-test-out: New generated file.
6513 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6514 variables.
6515 (%beautify): Add generated representations of zero.
6516 (top level): Set $auto_input and call parse_auto_input.
6517 (beautify): Remove trailing "f" from hex float constants.
6518 (parse_args): Handle XFAIL_TEST.
6519 (convert_condition): New function.
6520 (or_value): Likewise.
6521 (or_cond_value): Likewise.
6522 (generate_testfile): Handle AUTO_TESTS_* lines.
6523 (parse_auto_input): New function.
6524 * math/libm-test.inc (XFAIL_TEST): New macro.
6525 (ERRNO_UNCHANGED): Update value.
6526 (ERRNO_EDOM): Likewise.
6527 (ERRNO_ERANGE): Likewise.
6528 (IGNORE_RESULT): Likewise.
6529 (TEST_COND_flt_32): New macro.
6530 (TEST_COND_dbl_64): Likewise.
6531 (TEST_COND_ldbl_96_intel): Likewise.
6532 (TEST_COND_ldbl_96_m68k): Likewise.
6533 (TEST_COND_ldbl_128): Likewise.
6534 (TEST_COND_ldbl_128ibm): Likewise.
6535 (TEST_COND_long32): Likewise.
6536 (TEST_COND_long64): Likewise.
6537 (TEST_COND_before_rounding): Likewise.
6538 (TEST_COND_after_rounding): Likewise.
6539 (enable_test): Handle XFAIL_TEST flag.
6540 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6541 with finite results.
6542 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6543 auto-libm-test-out.
6544
6545 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6546 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6547
6548 [BZ #16214]
6549 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6550 __tls_get_addr_internal instead of __tls_get_offset in order to
6551 avoid GOT pointer dependency. Make rtld export
6552 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6553 __tls_get_addr since we are a __tls_get_offset platform.
6554 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6555 GOT pointer being set up before.
6556 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6557
6558 2013-11-28 Joseph Myers <joseph@codesourcery.com>
6559
6560 * manual/math.texi (Errors in Math Functions): Document accuracy
6561 goals.
6562
6563 [BZ #15004]
6564 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6565 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6568 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6570 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6580
6581 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6582 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6583 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6584 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6585 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6586 Likewise.
6587 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6588 Likewise.
6589 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6590 Likewise.
6591 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6592 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6593 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6594 atomic-feupdateenv and flt-rounds.
6595 * sysdeps/powerpc/nofpu/Versions (libc): Add
6596 __atomic_feholdexcept, __atomic_feclearexcept,
6597 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6598 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6599 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6600 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6601 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6602 here.
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6604 Update.
6605
6606 * manual/arith.texi (FP Exceptions): Document that exceptions may
6607 not be raised when matherr is used.
6608 (Math Error Reporting): Document overflow in directed rounding
6609 modes. Document that errno may not be set when finite values are
6610 returned on overflow. Document intent to set errno on underflow
6611 only for underflow to zero.
6612
6613 [BZ #16271]
6614 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6615 round-to-nearest then adjust result for other rounding modes.
6616 * include/fenv.h (fegetround): Use libm_hidden_proto.
6617 * math/fegetround.c (fegetround): Use libm_hidden_def.
6618 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6619 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6620 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6622 Likewise.
6623 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6624 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6625 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6626 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6627
6628 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6629
6630 [BZ #16077]
6631 * nss/Versions (libnss_files): Add
6632 _nss_files_gethostbyname3_r.
6633 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6634 New function.
6635 (HOST_DB_LOOKUP): Remove macro.
6636 (_nss_files_gethostbyname_r): Implement function without the
6637 HOST_DB_LOOKUP macro.
6638 (_nss_files_gethostbyname2_r): Likewise.
6639
6640 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
6641
6642 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6643
6644 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
6645
6646 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6647 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6648 warning.
6649
6650 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651
6652 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6653 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6654 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6655 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6656 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6657 __fe_nomask_env_priv and attribute_hidden.
6658 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6659 (libc_feupdateenv_test_ppc): Likewise.
6660 (libc_feresetround_ppc): Likewise.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6662 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6663 compat_symbol macro.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6665 (__fe_nomask_env): Likewise.
6666 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6667
6668 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6669
6670 * string/Makefile: Remove ifunc tests.
6671 * string/test-string.h: Define TEST_IFUNC.
6672 * string/test-bcopy-ifunc.c: Remove.
6673 * string/test-bzero-ifunc.c: Likewise.
6674 * string/test-memccpy-ifunc.c: Likewise.
6675 * string/test-memchr-ifunc.c: Likewise.
6676 * string/test-memcmp-ifunc.c: Likewise.
6677 * string/test-memcpy-ifunc.c: Likewise.
6678 * string/test-memmem-ifunc.c: Likewise.
6679 * string/test-memmove-ifunc.c: Likewise.
6680 * string/test-mempcpy-ifunc.c: Likewise.
6681 * string/test-memrchr-ifunc.c: Likewise.
6682 * string/test-memset-ifunc.c: Likewise.
6683 * string/test-rawmemchr-ifunc.c: Likewise.
6684 * string/test-stpcpy-ifunc.c: Likewise.
6685 * string/test-stpncpy-ifunc.c: Likewise.
6686 * string/test-strcasecmp-ifunc.c: Likewise.
6687 * string/test-strcasestr-ifunc.c: Likewise.
6688 * string/test-strcat-ifunc.c: Likewise.
6689 * string/test-strchr-ifunc.c: Likewise.
6690 * string/test-strchrnul-ifunc.c: Likewise.
6691 * string/test-strcmp-ifunc.c: Likewise.
6692 * string/test-strcpy-ifunc.c: Likewise.
6693 * string/test-strcspn-ifunc.c: Likewise.
6694 * string/test-strlen-ifunc.c: Likewise.
6695 * string/test-strncasecmp-ifunc.c: Likewise.
6696 * string/test-strncat-ifunc.c: Likewise.
6697 * string/test-strncmp-ifunc.c: Likewise.
6698 * string/test-strncpy-ifunc.c: Likewise.
6699 * string/test-strnlen-ifunc.c: Likewise.
6700 * string/test-strpbrk-ifunc.c: Likewise.
6701 * string/test-strrchr-ifunc.c: Likewise.
6702 * string/test-strspn-ifunc.c: Likewise.
6703 * string/test-strstr-ifunc.c: Likewise.
6704
6705 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6706
6707 * benchtests/Makefile: Remove ifunc tests.
6708 * benchtests/bench-string.h: Define TEST_IFUNC.
6709 * benchtests/bench-bcopy-ifunc.c: Remove.
6710 * benchtests/bench-bzero-ifunc.c: Likewise.
6711 * benchtests/bench-memccpy-ifunc.c: Likewise.
6712 * benchtests/bench-memchr-ifunc.c: Likewise.
6713 * benchtests/bench-memcmp-ifunc.c: Likewise.
6714 * benchtests/bench-memcpy-ifunc.c: Likewise.
6715 * benchtests/bench-memmem-ifunc.c: Likewise.
6716 * benchtests/bench-memmove-ifunc.c: Likewise.
6717 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6718 * benchtests/bench-memrchr-ifunc.c: Likewise.
6719 * benchtests/bench-memset-ifunc.c: Likewise.
6720 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6721 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6722 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6723 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6724 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6725 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6726 * benchtests/bench-strcat-ifunc.c: Likewise.
6727 * benchtests/bench-strchr-ifunc.c: Likewise.
6728 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6729 * benchtests/bench-strcmp-ifunc.c: Likewise.
6730 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6731 * benchtests/bench-strcpy-ifunc.c: Likewise.
6732 * benchtests/bench-strcspn-ifunc.c: Likewise.
6733 * benchtests/bench-strlen-ifunc.c: Likewise.
6734 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6735 * benchtests/bench-strncat-ifunc.c: Likewise.
6736 * benchtests/bench-strncmp-ifunc.c: Likewise.
6737 * benchtests/bench-strncpy-ifunc.c: Likewise.
6738 * benchtests/bench-strnlen-ifunc.c: Likewise.
6739 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6740 * benchtests/bench-strrchr-ifunc.c: Likewise.
6741 * benchtests/bench-strsep-ifunc.c: Likewise.
6742 * benchtests/bench-strspn-ifunc.c: Likewise.
6743 * benchtests/bench-strstr-ifunc.c: Likewise.
6744
6745 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6746
6747 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6748
6749 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6750
6751 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6752 * rt/aio.h: Likewise.
6753 * sysdeps/gnu/bits/utmp.h: Likewise.
6754 * sysdeps/gnu/bits/utmpx.h: Likewise.
6755 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6756 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6757 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6758 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6759 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6760 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6761 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6762 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6763 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6764 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6765 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6766 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6767 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6770 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6771 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6772 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6773 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6774 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6775 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6776 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6778 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6779 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6781 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6783 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6784 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6785 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6786 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6787 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6788 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6789 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6790 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6791 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6792 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6793 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6794 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6795 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6796 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6797
6798 2013-11-25 Carlos O'Donell <carlos@redhat.com>
6799
6800 [BZ #16245]
6801 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6802 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6803
6804 2013-11-25 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6807 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6808 Likewise.
6809
6810 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6811
6812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6813 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6814 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6815 (__fesetround): Remove define.
6816 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6817 rounding and exceptions handling.
6818 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6819 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6820 (__fe_nomask_env): Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6822 __fegetround instead of fegetround.
6823 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6825
6826 2013-11-21 Roland McGrath <roland@hack.frob.com>
6827
6828 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6829 it's there.
6830
6831 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6832
6833 2013-11-21 Meador Inge <meadori@codesourcery.com>
6834
6835 [BZ #11157]
6836 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6837 (encrypt_r): Likewise.
6838 * malloc/obstack.h (obstack_free): Likewise.
6839 * posix/unistd.h (encrypt): Likewise.
6840
6841 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6842
6843 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6844 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6845 DL_CALL_DT_FINI() that call the functions directly.
6846 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6847 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6848 * elf/dl-fini.c: Likewise.
6849
6850 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
6851
6852 * malloc/hooks.c (memalign_check): Add alignment rounding.
6853 * malloc/malloc.c (_mid_memalign): New function.
6854 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6855 Implement by calling _mid_memalign.
6856 * manual/probes.texi (Memory Allocation Probes): Remove
6857 memory_valloc_retry and memory_pvalloc_retry.
6858
6859 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6860
6861 * locale/programs/locarchive.c (open_archive): Add const
6862 qualifier to ARCHIVEFNAME and copy default fname to
6863 DEFAULT_FNAME.
6864
6865 [BZ #15601]
6866 * libio/tst-widetext.input: Rename Oriya to Odia.
6867 * locale/iso-639.def: Likewise.
6868
6869 * manual/probes.texi (Mathematical Function Probes): Add
6870 documentation for sin, cos, asin and acos probes.
6871 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6872 (__sin32): Add slowasin probe.
6873 (__cos32): Add slowacos probe.
6874 (__mpsin): Add slowsin probe.
6875 (__mpcos): Add slowcos probe.
6876
6877 2013-11-19 Joseph Myers <joseph@codesourcery.com>
6878
6879 [BZ #15483]
6880 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6881 thread-local __sim_exceptions_thread and global
6882 __sim_exceptions_global.
6883 (__sim_disabled_exceptions): Change to thread-local
6884 __sim_disabled_exceptions_thread and global
6885 __sim_disabled_exceptions_global.
6886 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6887 and global __sim_round_mode_global.
6888 (__simulate_exceptions): Use thread-local floating-point state and
6889 set global state from it as needed.
6890 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6891 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6892 __sim_round_mode_thread.
6893 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6894 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6895 and global __sim_exceptions_global.
6896 (__sim_disabled_exceptions): Change to thread-local
6897 __sim_disabled_exceptions_thread and global
6898 __sim_disabled_exceptions_global.
6899 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6900 and global __sim_round_mode_global.
6901 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6902 (SIM_SET_GLOBAL): Likewise.
6903 * sysdeps/powerpc/soft-fp/sfp-machine.h
6904 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6905 __sim_round_mode_thread.
6906 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6907 __sim_disabled_exceptions_thread.
6908 (__sim_exceptions): Change to __sim_exceptions_thread.
6909 (__sim_disabled_exceptions): Change to
6910 __sim_disabled_exceptions_thread.
6911 (__sim_round_mode): Change to __sim_round_mode_thread.
6912 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6913 thread-local floating-point state and set global state from it as
6914 needed.
6915 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6916 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6917 (__sim_disabled_exceptions): Remove extern declaration.
6918 (feenableexcept): Use thread-local floating-point state and set
6919 global state from it as needed.
6920 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6921 extern declaration.
6922 (__sim_disabled_exceptions): Likewise.
6923 (__sim_round_mode): Likewise.
6924 (__fegetenv): Use thread-local floating-point state.
6925 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6926 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6927 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6928 floating-point state and set global state from it as needed.
6929 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6930 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6931 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6932 Likewise.
6933 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6934 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6935 Likewise.
6936 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6937 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6938 Use __sim_round_mode_thread.
6939 * math/test-fenv-tls.c: New file.
6940 * math/Makefile (tests): Add test-fenv-tls.
6941 ($(objpfx)test-fenv-tls): Depend on
6942 $(common-objpfx)nptl/libpthread.so.
6943
6944 2013-11-19 Andreas Schwab <schwab@suse.de>
6945
6946 * locale/programs/locale.c (show_info): Decode wordarray elements.
6947 * locale/categories.def (LC_MONETARY): Add element for
6948 _NL_MONETARY_CRNCYSTR.
6949 * locale/C-monetary.c (conversion_rate): New variable.
6950 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6951 element.
6952
6953 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6954
6955 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6956 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6957
6958 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6959
6960 * elf/Makefile (tst-auxv): New test.
6961 * elf/tst-auxv.c: New
6962 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6963
6964 2013-11-18 Joseph Myers <joseph@codesourcery.com>
6965
6966 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6967 (hidden_proto): Caller changed.
6968 (hidden_tls_proto): New macro.
6969 (libc_hidden_tls_proto): Likewise.
6970 (rtld_hidden_tls_proto): Likewise.
6971 (libm_hidden_tls_proto): Likewise.
6972 (libresolv_hidden_tls_proto): Likewise.
6973 (librt_hidden_tls_proto): Likewise.
6974 (libdl_hidden_tls_proto): Likewise.
6975 (libnss_files_hidden_tls_proto): Likewise.
6976 (libnsl_hidden_tls_proto): Likewise.
6977 (libnss_nisplus_hidden_tls_proto): Likewise.
6978 (libutil_hidden_tls_proto): Likewise.
6979
6980 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
6981
6982 [BZ #10253]
6983 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6984 (decompose_rpath): Defer expansion to fillin_rpath.
6985 (_dl_init_paths): Pass linkmap to fillin_rpath.
6986
6987 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6988
6989 * benchtests/Makefile: Add strsep.
6990 * benchtests/bench-strsep.c: New file: strsep benchtest.
6991 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6992
6993 2013-11-18 Andreas Schwab <schwab@suse.de>
6994
6995 * locale/programs/locale.c (show_info) [case byte]: Check for
6996 '\377' instead of '\177'.
6997 * locale/C-monetary.c (not_available): Always use "\377".
6998 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6999 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7000 detect unavailable sign_posn locale elements.
7001 * locale/localeconv.c (__localeconv): For grouping and
7002 mon_grouping handle "\177" and "\377" like no grouping.
7003 (INT_ELEM): New macro. Use it to set all numeric members.
7004 * locale/programs/ld-monetary.c (monetary_read)
7005 <tok_mon_grouping>: Normalize single -1 to the empty string.
7006 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7007 Likewise.
7008
7009 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7010
7011 [BZ #16055]
7012 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7013 when we match (nil).
7014 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7015
7016 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7017
7018 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7019 (NO_TEST_INLINE): Update value.
7020 (ERRNO_UNCHANGED): Likewise.
7021 (ERRNO_EDOM): Likewise.
7022 (ERRNO_ERANGE): Likewise.
7023 (IGNORE_RESULT): Likewise.
7024 (check_float_internal): Check signs of NaN results if
7025 TEST_NAN_SIGN used.
7026 (check_complex): Pass TEST_NAN_SIGN flag through to second
7027 check_float_internal call.
7028 (copysign_test_data): Add tests with quiet NaNs as second
7029 argument. Use TEST_NAN_SIGN.
7030 (fabs_test_data): Add test of negative quiet NaN argument. Use
7031 TEST_NAN_SIGN.
7032 (signbit_test_data): Add tests of quiet NaN argument.
7033 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7034
7035 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7036 $ignore_result.
7037 (parse_args): Handle function results specified as IGNORE.
7038 * math/libm-test.inc (IGNORE_RESULT): New macro.
7039 (check_float_internal): Do not check numerical result if flag
7040 IGNORE_RESULT set.
7041 (check_complex): Pass through IGNORE_RESULT to second
7042 check_float_internal call.
7043 (check_int): Do not check numerical result if flag IGNORE_RESULT
7044 set.
7045 (check_long): Likewise.
7046 (check_bool): Likewise.
7047 (check_longlong): Likewise.
7048 (lrint_test_data): Add tests of infinite and NaN arguments.
7049 (lrint_tonearest_test_data): Likewise.
7050 (lrint_towardzero_test_data): Likewise.
7051 (lrint_downward_test_data): Likewise.
7052 (lrint_upward_test_data): Likewise.
7053 (llrint_test_data): Likewise.
7054 (llrint_tonearest_test_data): Likewise.
7055 (llrint_towardzero_test_data): Likewise.
7056 (llrint_downward_test_data): Likewise.
7057 (llrint_upward_test_data): Likewise.
7058 (lround_test_data): Likewise.
7059 (llround_test_data): Likewise.
7060
7061 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7062 (ERRNO_UNCHANGED): Update value.
7063 (ERRNO_EDOM): Likewise.
7064 (ERRNO_ERANGE): Likewise.
7065 (NO_TEST_INLINE_FLOAT): New macro.
7066 (NO_TEST_INLINE_DOUBLE): Likewise.
7067 (enable_test): New function.
7068 (RUN_TEST_f_f): Check enable_test before running test.
7069 (RUN_TEST_2_f): Likewise.
7070 (RUN_TEST_fff_f): Likewise.
7071 (RUN_TEST_c_f): Likewise.
7072 (RUN_TEST_f_f1): Likewise.
7073 (RUN_TEST_fF_f1): Likewise.
7074 (RUN_TEST_fI_f1): Likewise.
7075 (RUN_TEST_ffI_f1): Likewise.
7076 (RUN_TEST_c_c): Likewise.
7077 (RUN_TEST_cc_c): Likewise.
7078 (RUN_TEST_f_i): Likewise.
7079 (RUN_TEST_f_i_tg): Likewise.
7080 (RUN_TEST_ff_i_tg): Likewise.
7081 (RUN_TEST_f_b): Likewise.
7082 (RUN_TEST_f_b_tg): Likewise.
7083 (RUN_TEST_f_l): Likewise.
7084 (RUN_TEST_f_L): Likewise.
7085 (RUN_TEST_fFF_11): Likewise.
7086 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7087 conditionals.
7088 (cosh_test_data): Likewise.
7089 (exp_test_data): Likewise.
7090 (expm1_test_data): Likewise.
7091 (hypot_test_data): Likewise.
7092 (pow_test_data): Likewise.
7093 (sinh_test_data): Likewise.
7094 (tanh_test_data): Likewise.
7095 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7096 flags argument.
7097
7098 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7099 tests with quiet NaN input and output.
7100 (acosh_test_data): Likewise.
7101 (asin_test_data): Likewise.
7102 (asinh_test_data): Likewise.
7103 (atan_test_data): Likewise.
7104 (atanh_test_data): Likewise.
7105 (atan2_test_data): Likewise.
7106 (cbrt_test_data): Likewise.
7107 (cos_test_data): Likewise.
7108 (cosh_test_data): Likewise.
7109 (erf_test_data): Likewise.
7110 (erfc_test_data): Likewise.
7111 (exp_test_data): Likewise.
7112 (exp10_test_data): Likewise.
7113 (exp2_test_data): Likewise.
7114 (expm1_test_data): Likewise.
7115 (hypot_test_data): Likewise.
7116 (j0_test_data): Likewise.
7117 (j1_test_data): Likewise.
7118 (jn_test_data): Likewise.
7119 (lgamma_test_data): Likewise.
7120 (log_test_data): Likewise.
7121 (log10_test_data): Likewise.
7122 (log1p_test_data): Likewise.
7123 (log2_test_data): Likewise.
7124 (pow_test_data): Likewise.
7125 (scalb_test_data): Likewise.
7126 (sin_test_data): Likewise.
7127 (sincos_test_data): Likewise.
7128 (sinh_test_data): Likewise.
7129 (tan_test_data): Likewise.
7130 (tanh_test_data): Likewise.
7131 (tgamma_test_data): Likewise.
7132 (y0_test_data): Likewise.
7133 (y1_test_data): Likewise.
7134 (yn_test_data): Likewise.
7135
7136 [BZ #16167]
7137 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7138 argument being NaN and avoid computations with second argument in
7139 that case.
7140 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7141 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7142 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7143
7144 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7145
7146 * locale/iso-639.def: Add Chitwani Tharu (the).
7147
7148 2013-11-14 Andreas Schwab <schwab@suse.de>
7149
7150 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7151 word instead of empty string.
7152
7153 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7154
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7156 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7158 (__fe_nomask_env): Likewise.
7159
7160 2013-11-13 Steve Ellcey <sellcey@mips.com>
7161
7162 * benchtests/bench-timing.h: Include time.h.
7163
7164 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7165
7166 [BZ #15997]
7167 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7168 to 3.4.0 for x32.
7169 * sysdeps/unix/sysv/linux/configure: Regenerated.
7170
7171 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7172
7173 [BZ #16151]
7174 * stdlib/strtod_l.c (round_and_return): Do not consider
7175 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7176 exponent one less than half the least subnormal exponent.
7177 * stdlib/test-strtod-round-data: Add more tests.
7178 * stdlib/tst-strtod-round.c (tests): Regenerated.
7179
7180 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7181
7182 [BZ #14143]
7183 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7184 (__fe_mask_env): Likewise.
7185 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7186 libm_hidden_proto and add function prototype.
7187 (__fe_mask_env): Add function prototype.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7189 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7191 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7193 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7194
7195 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7196
7197 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7198 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7199
7200 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7201
7202 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7203 of htab_find_slot().
7204
7205 2013-11-11 David S. Miller <davem@davemloft.net>
7206
7207 [BZ #16150]
7208 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7209 symbol in the non-vis3 case in static builds.
7210 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7211 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7212 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7213 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7214
7215 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7216
7217 [BZ #387]
7218 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7219 it is empty.
7220
7221 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7222
7223 * benchtests/Makefile: Add bench-strtod.
7224 * benchtests/bench-strtod.c: New file: strtod benchtest
7225
7226 2013-11-11 Andreas Schwab <schwab@suse.de>
7227
7228 [BZ #16153]
7229 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7230 terminating NUL in key length.
7231
7232 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233
7234 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7235 Add artificial ODP entry for vDSO symbol for PPC64.
7236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7237 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7238
7239 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7240
7241 [BZ #15374]
7242 * nss/getent.c (services_keys): Recognize services starting with digit.
7243
7244 2013-11-06 David S. Miller <davem@davemloft.net>
7245
7246 [BZ #15985]
7247 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7248 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7249
7250 2013-11-06 Will Newton <will.newton@linaro.org>
7251
7252 * manual/memory.texi (Malloc Examples): Remove register
7253 keyword from examples.
7254
7255 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7256
7257 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7258
7259 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7260
7261 [BZ #6981]
7262 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7263 depending on [__GCC_IEC_559 > 0].
7264 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7265 depending on [__GCC_IEC_559_COMPLEX > 0].
7266
7267 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7268
7269 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7270 to iso-639.def.
7271
7272 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7273
7274 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7275
7276 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7277
7278 [BZ #16112]
7279 * malloc/malloc (malloc_info): Do not handle first bin as
7280 special case.
7281
7282 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7283
7284 * locale/iso-639.def: Add Central Nahuatl (nhn).
7285
7286 2013-11-01 Bruno Haible <bruno@clisp.org>
7287
7288 [BZ #7003]
7289 * manual/math.texi (BSD Random): Specify range upper bound as
7290 in POSIX.
7291
7292 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7293
7294 * locale/iso-639.def: Add Meadow Mari (mhr).
7295
7296 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7297
7298 [BZ #14752], [BZ #15763]
7299 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7300 Validate name.
7301 * rt/tst_shm.c: Add test for escaping directory.
7302
7303 2013-10-31 Andreas Schwab <schwab@suse.de>
7304
7305 [BZ #15917]
7306 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7307 followed by 'x' as part of digit sequence.
7308 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7309
7310 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7311
7312 [BZ #16037]
7313 * configure.ac: allow GNU Make 4.0 and greater.
7314 * configure: Regenerated.
7315
7316 2013-10-30 Will Newton <will.newton@linaro.org>
7317
7318 [BZ #16038]
7319 * malloc/hooks.c (memalign_check): Limit alignment to the
7320 maximum representable power of two.
7321 * malloc/malloc.c (__libc_memalign): Likewise.
7322 * malloc/tst-memalign.c (do_test): Add test for very
7323 large alignment values.
7324 * malloc/tst-posix_memalign.c (do_test): Likewise.
7325
7326 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7327
7328 [BZ #11087]
7329 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7330 (munmap_chunk): Likewise.
7331 (mremap_chunk): Likewise.
7332
7333 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7334
7335 [BZ #15799]
7336 * stdlib/div.c (div): Remove obsolete code.
7337 * stdlib/ldiv.c (ldiv): Likewise.
7338 * stdlib/lldiv.c (lldiv): Likewise.
7339
7340 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7341
7342 [BZ #16071]
7343 * nss/nss_files/files-XXX.c (get_contents_ret): New
7344 enumerator.
7345 (get_contents): New function.
7346 (internal_getent): Use it. Expand size of LINEBUFLEN.
7347
7348 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7349
7350 * configure.in: Moved to ...
7351 * configure.ac: ... here. Change reference to configure.in
7352 to configure.ac.
7353 * sysdeps/arm/preconfigure.ac: ... here.
7354 configure.in to configure.ac.
7355 * sysdeps/gnu/configure.in: Moved to ...
7356 * sysdeps/gnu/configure.ac: ... here.
7357 * sysdeps/i386/configure.in: Moved to ...
7358 * sysdeps/i386/configure.ac: ... here.
7359 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7360 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7361 * sysdeps/mach/configure.in: Moved to ...
7362 * sysdeps/mach/configure.ac: ... here.
7363 * sysdeps/mach/hurd/configure.in: Moved to ...
7364 * sysdeps/mach/hurd/configure.ac: ... here.
7365 * sysdeps/powerpc/configure.in: Moved to ...
7366 * sysdeps/powerpc/configure.ac: ... here.
7367 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7368 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7369 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7370 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7371 * sysdeps/s390/s390-32/configure.in: Moved to ...
7372 * sysdeps/s390/s390-32/configure.ac: ... here.
7373 * sysdeps/s390/s390-64/configure.in: Moved to ...
7374 * sysdeps/s390/s390-64/configure.ac: ... here.
7375 * sysdeps/sh/configure.in: Moved to ...
7376 * sysdeps/sh/configure.ac: ... here.
7377 * sysdeps/sparc/configure.in: Moved to ...
7378 * sysdeps/sparc/configure.ac: ... here.
7379 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7380 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7381 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7382 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7383 * sysdeps/x86_64/configure.in: Moved to ...
7384 * sysdeps/x86_64/configure.ac: ... here.
7385 * sysdeps/x86_64/preconfigure.in: Moved to ...
7386 * sysdeps/x86_64/preconfigure.ac: ... here.
7387 * aclocal.m4: Change reference to configure.in to configure.ac.
7388 * config.h.in: Likewise.
7389 * manual/install.texi: Likewise.
7390 * manual/maint.texi: Likewise.
7391 * Makefile: Likewise.
7392 * malloc/Makefile: Likewise.
7393 * nscd/Makefile: Likewise.
7394 * Makeconfig: Change reference to configure.in and
7395 preconfigure.in to configure.ac and preconfigure.ac
7396 respectively.
7397 * INSTALL: Regenerated.
7398 * configure: Likewise.
7399 * sysdeps/gnu/configure: Likewise.
7400 * sysdeps/i386/configure: Likewise.
7401 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7402 * sysdeps/mach/configure: Likewise.
7403 * sysdeps/mach/hurd/configure: Likewise.
7404 * sysdeps/powerpc/configure: Likewise.
7405 * sysdeps/powerpc/powerpc32/configure: Likewise.
7406 * sysdeps/powerpc/powerpc64/configure: Likewise.
7407 * sysdeps/s390/s390-32/configure: Likewise.
7408 * sysdeps/s390/s390-64/configure: Likewise.
7409 * sysdeps/sh/configure: Likewise.
7410 * sysdeps/sparc/configure: Likewise.
7411 * sysdeps/unix/sysv/linux/configure: Likewise.
7412 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7413 * sysdeps/x86_64/configure: Likewise.
7414 * sysdeps/x86_64/preconfigure: Likewise.
7415
7416 2013-10-29 Andreas Schwab <schwab@suse.de>
7417
7418 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7419
7420 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7421
7422 * benchtests/pow-inputs: Add new inputs.
7423
7424 * benchtests/exp-inputs: Add new inputs.
7425
7426 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7427 conditional check for return value.
7428 (__cos32): Likewise.
7429
7430 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7431
7432 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7433 to provide a boost for large inputs with word alignment.
7434 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7435 implementation based on optimized PPC64 strcpy.
7436 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7437 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7438 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7439 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7440
7441 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7442
7443 [BZ #2801]
7444 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7445
7446 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7447
7448 [BZ #14876]
7449 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7450 * time/tst-strptime.c (day_tests): Add testcase.
7451
7452 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7453
7454 [BZ #14029]
7455 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7456
7457 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7458
7459 [BZ #16074]
7460 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7461 MAP_FAILED on error.
7462
7463 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7464
7465 [BZ #16072]
7466 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7467 heap for large requests.
7468
7469 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7470
7471 [BZ #9954]
7472 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7473 result if the result has no associated interface.
7474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7475 interface for all 127.X.Y.Z addresses.
7476
7477 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7478
7479 * locale/iso-639.def: Add Ligurian (lij)
7480
7481 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7482
7483 [BZ #15825]
7484 * sunrpc/rpc_main.c: Document rpcgen -5.
7485
7486 2013-10-19 Michael Stahl <mstahl@redhat.com>
7487
7488 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7489
7490 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7491
7492 [BZ #10278]
7493 * posix/glob.c: Match only directories when trailing slash is present.
7494 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7495 (main): Add testcase.
7496
7497 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7498
7499 [BZ #15670]
7500 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7501
7502 2013-10-18 Carlos O'Donell <carlos@redhat.com>
7503
7504 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7505 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7506 AUTH_DES and cindex for FIPS 140-2.
7507 (DES Encryption): Add cindex FIPS 46-3.
7508
7509 * locale/locarchive.h (struct locarhandle): Add fname.
7510 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7511 if an optional argument was specified to --list-archive,
7512 otherwise NULL.
7513 * locale/programs/locarchive.c (show_archive_content): Take new
7514 argument fname and pass it via ah.fname to open_archive.
7515 * locale/programs/localedef.h: Update decl.
7516 (open_archive): If AH->fname is non-null, open that file
7517 rather than the default file name, and don't ignore ENOENT.
7518 (create_archive): Set AH.fname to NULL.
7519 (delete_locales_from_archive): Likewise.
7520 (add_locales_to_archive): Likewise.
7521 * locale/programs/locfile.c (write_all_categories): Likewise.
7522
7523 2013-10-18 Joseph Myers <joseph@codesourcery.com>
7524 Aldy Hernandez <aldyh@redhat.com>
7525
7526 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7527 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7528 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7529 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7530 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7531 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7532 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7533 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7534 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7535 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7536 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7537 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7538 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7539 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7540 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7541 Likewise.
7542 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7543 Likewise.
7544 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7545 Likewise.
7546 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7547 Likewise.
7548 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7549 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7550 Likewise.
7551 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7552 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7553 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7554 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7555 Likewise.
7556 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7557 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7558 * sysdeps/powerpc/preconfigure: Likewise.
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7560 Likewise.
7561 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7562 Replace contents of file by #include of <fenv_libc.h>.
7563 * sysdeps/powerpc/soft-fp/sfp-machine.h
7564 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7565 and <sys/prctl.h>.
7566 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7567 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7568 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7569 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7570 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7571 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7579 Allow copysignl PLT reference to be missing.
7580
7581 2013-10-18 Richard Sandiford <richard@codesourcery.com>
7582 Joseph Myers <joseph@codesourcery.com
7583
7584 [BZ #15948]
7585 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7586 single character.
7587 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7588
7589 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7590
7591 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7592 * elf/tst-tls1.c: Likewise.
7593 * elf/tst-tls10.h: Likewise.
7594 * elf/tst-tls14.c: Likewise.
7595 * elf/tst-tls2.c: Likewise.
7596 * elf/tst-tls3.c: Likewise.
7597 * elf/tst-tls4.c: Likewise.
7598 * elf/tst-tls5.c: Likewise.
7599 * elf/tst-tls6.c: Likewise.
7600 * elf/tst-tls7.c: Likewise.
7601 * elf/tst-tls8.c: Likewise.
7602 * elf/tst-tls9.c: Likewise.
7603 * elf/tst-tlsmod1.c: Likewise.
7604 * elf/tst-tlsmod13.c: Likewise.
7605 * elf/tst-tlsmod13a.c: Likewise.
7606 * elf/tst-tlsmod14a.c: Likewise.
7607 * elf/tst-tlsmod16a.c: Likewise.
7608 * elf/tst-tlsmod16b.c: Likewise.
7609 * elf/tst-tlsmod2.c: Likewise.
7610 * elf/tst-tlsmod3.c: Likewise.
7611 * elf/tst-tlsmod4.c: Likewise.
7612 * elf/tst-tlsmod5.c: Likewise.
7613 * elf/tst-tlsmod6.c: Likewise.
7614
7615 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
7616
7617 [BZ #12486]
7618 * malloc/malloc.c: remove checks for statistics.
7619
7620 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7621
7622 [BZ #15277]
7623 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7624 * inet/tst-network.c: Add testcase.
7625
7626 2013-10-17 Andreas Schwab <schwab@suse.de>
7627
7628 [BZ #15218]
7629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7630 to determine canonical name.
7631
7632 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7633
7634 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7635 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7640 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7642 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7643 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7644 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7645 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7658 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7659 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7664 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7692
7693 2013-10-17 Joseph Myers <joseph@codesourcery.com>
7694
7695 [BZ #16041]
7696 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7697 make result into a quiet NaN.
7698
7699 2013-10-16 Joseph Myers <joseph@codesourcery.com>
7700
7701 * soft-fp/adddf3.c: Fix horizontal whitespace.
7702 * soft-fp/addsf3.c: Likewise.
7703 * soft-fp/addtf3.c: Likewise.
7704 * soft-fp/divdf3.c: Likewise.
7705 * soft-fp/divsf3.c: Likewise.
7706 * soft-fp/divtf3.c: Likewise.
7707 * soft-fp/double.h: Likewise.
7708 * soft-fp/eqdf2.c: Likewise.
7709 * soft-fp/eqsf2.c: Likewise.
7710 * soft-fp/eqtf2.c: Likewise.
7711 * soft-fp/extenddftf2.c: Likewise.
7712 * soft-fp/extended.h: Likewise.
7713 * soft-fp/extendsfdf2.c: Likewise.
7714 * soft-fp/extendsftf2.c: Likewise.
7715 * soft-fp/extendxftf2.c: Likewise.
7716 * soft-fp/fixdfdi.c: Likewise.
7717 * soft-fp/fixdfsi.c: Likewise.
7718 * soft-fp/fixdfti.c: Likewise.
7719 * soft-fp/fixsfdi.c: Likewise.
7720 * soft-fp/fixsfsi.c: Likewise.
7721 * soft-fp/fixsfti.c: Likewise.
7722 * soft-fp/fixtfdi.c: Likewise.
7723 * soft-fp/fixtfsi.c: Likewise.
7724 * soft-fp/fixtfti.c: Likewise.
7725 * soft-fp/fixunsdfdi.c: Likewise.
7726 * soft-fp/fixunsdfsi.c: Likewise.
7727 * soft-fp/fixunsdfti.c: Likewise.
7728 * soft-fp/fixunssfdi.c: Likewise.
7729 * soft-fp/fixunssfsi.c: Likewise.
7730 * soft-fp/fixunssfti.c: Likewise.
7731 * soft-fp/fixunstfdi.c: Likewise.
7732 * soft-fp/fixunstfsi.c: Likewise.
7733 * soft-fp/fixunstfti.c: Likewise.
7734 * soft-fp/floatdidf.c: Likewise.
7735 * soft-fp/floatdisf.c: Likewise.
7736 * soft-fp/floatditf.c: Likewise.
7737 * soft-fp/floatsidf.c: Likewise.
7738 * soft-fp/floatsisf.c: Likewise.
7739 * soft-fp/floatsitf.c: Likewise.
7740 * soft-fp/floattidf.c: Likewise.
7741 * soft-fp/floattisf.c: Likewise.
7742 * soft-fp/floattitf.c: Likewise.
7743 * soft-fp/floatundidf.c: Likewise.
7744 * soft-fp/floatundisf.c: Likewise.
7745 * soft-fp/floatunditf.c: Likewise.
7746 * soft-fp/floatunsidf.c: Likewise.
7747 * soft-fp/floatunsisf.c: Likewise.
7748 * soft-fp/floatunsitf.c: Likewise.
7749 * soft-fp/floatuntidf.c: Likewise.
7750 * soft-fp/floatuntisf.c: Likewise.
7751 * soft-fp/floatuntitf.c: Likewise.
7752 * soft-fp/fmadf4.c: Likewise.
7753 * soft-fp/fmasf4.c: Likewise.
7754 * soft-fp/fmatf4.c: Likewise.
7755 * soft-fp/gedf2.c: Likewise.
7756 * soft-fp/gesf2.c: Likewise.
7757 * soft-fp/getf2.c: Likewise.
7758 * soft-fp/ledf2.c: Likewise.
7759 * soft-fp/lesf2.c: Likewise.
7760 * soft-fp/letf2.c: Likewise.
7761 * soft-fp/muldf3.c: Likewise.
7762 * soft-fp/mulsf3.c: Likewise.
7763 * soft-fp/multf3.c: Likewise.
7764 * soft-fp/negdf2.c: Likewise.
7765 * soft-fp/negsf2.c: Likewise.
7766 * soft-fp/negtf2.c: Likewise.
7767 * soft-fp/op-1.h: Likewise.
7768 * soft-fp/op-2.h: Likewise.
7769 * soft-fp/op-4.h: Likewise.
7770 * soft-fp/op-8.h: Likewise.
7771 * soft-fp/op-common.h: Likewise.
7772 * soft-fp/quad.h: Likewise.
7773 * soft-fp/single.h: Likewise.
7774 * soft-fp/soft-fp.h: Likewise.
7775 * soft-fp/sqrtdf2.c: Likewise.
7776 * soft-fp/sqrtsf2.c: Likewise.
7777 * soft-fp/sqrttf2.c: Likewise.
7778 * soft-fp/subdf3.c: Likewise.
7779 * soft-fp/subsf3.c: Likewise.
7780 * soft-fp/subtf3.c: Likewise.
7781 * soft-fp/truncdfsf2.c: Likewise.
7782 * soft-fp/trunctfdf2.c: Likewise.
7783 * soft-fp/trunctfsf2.c: Likewise.
7784 * soft-fp/trunctfxf2.c: Likewise.
7785 * soft-fp/unorddf2.c: Likewise.
7786 * soft-fp/unordsf2.c: Likewise.
7787 * soft-fp/unordtf2.c: Likewise.
7788
7789 2013-10-15 Joseph Myers <joseph@codesourcery.com>
7790
7791 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7792 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7793
7794 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
7795
7796 * elf/dl-libc.c: Clear initfini list after freeing.
7797
7798 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7799
7800 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7801 * soft-fp/addsf3.c: Likewise.
7802 * soft-fp/addtf3.c: Likewise.
7803 * soft-fp/divdf3.c: Likewise.
7804 * soft-fp/divsf3.c: Likewise.
7805 * soft-fp/divtf3.c: Likewise.
7806 * soft-fp/double.h: Likewise.
7807 * soft-fp/eqdf2.c: Likewise.
7808 * soft-fp/eqsf2.c: Likewise.
7809 * soft-fp/eqtf2.c: Likewise.
7810 * soft-fp/extenddftf2.c: Likewise.
7811 * soft-fp/extended.h: Likewise.
7812 * soft-fp/extendsfdf2.c: Likewise.
7813 * soft-fp/extendsftf2.c: Likewise.
7814 * soft-fp/extendxftf2.c: Likewise.
7815 * soft-fp/fixdfdi.c: Likewise.
7816 * soft-fp/fixdfsi.c: Likewise.
7817 * soft-fp/fixdfti.c: Likewise.
7818 * soft-fp/fixsfdi.c: Likewise.
7819 * soft-fp/fixsfsi.c: Likewise.
7820 * soft-fp/fixsfti.c: Likewise.
7821 * soft-fp/fixtfdi.c: Likewise.
7822 * soft-fp/fixtfsi.c: Likewise.
7823 * soft-fp/fixtfti.c: Likewise.
7824 * soft-fp/fixunsdfdi.c: Likewise.
7825 * soft-fp/fixunsdfsi.c: Likewise.
7826 * soft-fp/fixunsdfti.c: Likewise.
7827 * soft-fp/fixunssfdi.c: Likewise.
7828 * soft-fp/fixunssfsi.c: Likewise.
7829 * soft-fp/fixunssfti.c: Likewise.
7830 * soft-fp/fixunstfdi.c: Likewise.
7831 * soft-fp/fixunstfsi.c: Likewise.
7832 * soft-fp/fixunstfti.c: Likewise.
7833 * soft-fp/floatdidf.c: Likewise.
7834 * soft-fp/floatdisf.c: Likewise.
7835 * soft-fp/floatditf.c: Likewise.
7836 * soft-fp/floatsidf.c: Likewise.
7837 * soft-fp/floatsisf.c: Likewise.
7838 * soft-fp/floatsitf.c: Likewise.
7839 * soft-fp/floattidf.c: Likewise.
7840 * soft-fp/floattisf.c: Likewise.
7841 * soft-fp/floattitf.c: Likewise.
7842 * soft-fp/floatundidf.c: Likewise.
7843 * soft-fp/floatundisf.c: Likewise.
7844 * soft-fp/floatunsidf.c: Likewise.
7845 * soft-fp/floatunsisf.c: Likewise.
7846 * soft-fp/floatuntidf.c: Likewise.
7847 * soft-fp/floatuntisf.c: Likewise.
7848 * soft-fp/floatuntitf.c: Likewise.
7849 * soft-fp/fmadf4.c: Likewise.
7850 * soft-fp/fmasf4.c: Likewise.
7851 * soft-fp/fmatf4.c: Likewise.
7852 * soft-fp/gedf2.c: Likewise.
7853 * soft-fp/gesf2.c: Likewise.
7854 * soft-fp/getf2.c: Likewise.
7855 * soft-fp/ledf2.c: Likewise.
7856 * soft-fp/lesf2.c: Likewise.
7857 * soft-fp/letf2.c: Likewise.
7858 * soft-fp/muldf3.c: Likewise.
7859 * soft-fp/mulsf3.c: Likewise.
7860 * soft-fp/multf3.c: Likewise.
7861 * soft-fp/negdf2.c: Likewise.
7862 * soft-fp/negsf2.c: Likewise.
7863 * soft-fp/negtf2.c: Likewise.
7864 * soft-fp/op-1.h: Likewise.
7865 * soft-fp/op-2.h: Likewise.
7866 * soft-fp/op-4.h: Likewise.
7867 * soft-fp/op-8.h: Likewise.
7868 * soft-fp/op-common.h: Likewise.
7869 * soft-fp/quad.h: Likewise.
7870 * soft-fp/single.h: Likewise.
7871 * soft-fp/soft-fp.h: Likewise.
7872 * soft-fp/sqrtdf2.c: Likewise.
7873 * soft-fp/sqrtsf2.c: Likewise.
7874 * soft-fp/sqrttf2.c: Likewise.
7875 * soft-fp/subdf3.c: Likewise.
7876 * soft-fp/subsf3.c: Likewise.
7877 * soft-fp/subtf3.c: Likewise.
7878 * soft-fp/truncdfsf2.c: Likewise.
7879 * soft-fp/trunctfdf2.c: Likewise.
7880 * soft-fp/trunctfsf2.c: Likewise.
7881 * soft-fp/trunctfxf2.c: Likewise.
7882 * soft-fp/unorddf2.c: Likewise.
7883 * soft-fp/unordsf2.c: Likewise.
7884 * soft-fp/unordtf2.c: Likewise.
7885
7886 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
7887
7888 [BZ #15672]
7889 * misc/error.c (error_tail): Fix possible buffer overflow.
7890
7891 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7892
7893 [BZ #13028]
7894 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7895 address.
7896
7897 2013-10-14 P. J. McDermott <pj@pehjota.net>
7898
7899 [BZ #832]
7900 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7901 testing pipefail option.
7902
7903 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7904
7905 * soft-fp/double.h: Indent preprocessor directives inside #if.
7906 * soft-fp/extended.h: Likewise.
7907 * soft-fp/op-2.h: Likewise.
7908 * soft-fp/op-4.h: Likewise.
7909 * soft-fp/op-common.h: Likewise.
7910 * soft-fp/quad.h: Likewise.
7911 * soft-fp/single.h: Likewise.
7912 * soft-fp/soft-fp.h: Likewise.
7913
7914 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7915
7916 * iconv/iconv_prog.c: Fix typos.
7917 * stdio-common/psiginfo-data.h: Likewise.
7918
7919 2013-10-12 Reuben Thomas <rrt@sc3d.org>
7920
7921 [BZ #15764]
7922 * locale/setlocale.c: Fix typo.
7923
7924 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7925
7926 [BZ #16036]
7927 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7928 signaling NaN arguments.
7929 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7930 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7931
7932 [BZ #14910]
7933 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7934 unordered operands.
7935 * soft-fp/gesf2.c (__gesf2): Likewise.
7936 * soft-fp/getf2.c (__getf2): Likewise.
7937 * soft-fp/ledf2.c (__ledf2): Likewise.
7938 * soft-fp/lesf2.c (__lesf2): Likewise.
7939 * soft-fp/letf2.c (__letf2): Likewise.
7940
7941 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7942 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7943 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7944 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7945 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7946 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7947 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7948 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7949 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7950 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7951 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7952 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7953 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7954 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7955 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7956 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7957 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7958 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7959 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7960 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7961 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7962 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7963 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7964 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7965 * soft-fp/floattidf.c (__floattidf): Likewise.
7966 * soft-fp/floattisf.c (__floattisf): Likewise.
7967 * soft-fp/floattitf.c (__floattitf): Likewise.
7968 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7969 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7970 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7971 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7972 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7973 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7974 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7975 * soft-fp/gesf2.c (__gesf2): Likewise.
7976 * soft-fp/getf2.c (__getf2): Likewise.
7977 * soft-fp/ledf2.c (__ledf2): Likewise.
7978 * soft-fp/lesf2.c (__lesf2): Likewise.
7979 * soft-fp/letf2.c (__letf2): Likewise.
7980
7981 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7982 Undefine and redefine.
7983 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7984 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7985 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7986 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7987 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7988 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7989 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7990 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7991 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7992 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7993 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7994 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7995 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7996 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7997 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7998
7999 [BZ #16032]
8000 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8001 without decrementing exponent if mantissa >= that for the
8002 denominator, not >.
8003 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8004 denominator, not >. Decrement exponent in < case instead of
8005 incrementing in >= case.
8006 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8007 without decrementing exponent if mantissa >= that for the
8008 denominator, not >.
8009
8010 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8011 computing saturated result for unsigned overflow.
8012
8013 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8014 Jeff Law <law@redhat.com>
8015
8016 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8017 (atan2Mp): Add systemtap probe marker.
8018 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8019 (__ieee754_log): Add systemtap probe marker.
8020 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8021 (atanMp): Add systemtap probe marker.
8022 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8023 (tanMp): Add systemtap probe marker.
8024 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8025 (__slowexp): Add systemtap probe marker.
8026 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8027 (__slowpow): Add systemtap probe marker.
8028 * manual/probes.texi: Document probes.
8029
8030 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8031
8032 [BZ #15362]
8033 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8034 written.
8035 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8036 written.
8037 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8038 written to buffer but not flushed.
8039 * libio/iofwrite_u.c: Likewise.
8040 * libio/iopadn.c: Return bytes returned even if EOF was
8041 encountered.
8042 * libio/iowpadn.c: Likewise.
8043 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8044 if _IO_padn does not write the whole buffer.
8045 [!COMPILE_WPRINTF] (PAD): Likewise.
8046
8047 2013-10-10 David S. Miller <davem@davemloft.net>
8048
8049 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8050 directory block.
8051
8052 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8053
8054 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8055 instead of FSF address.
8056 * soft-fp/fixdfti.c: Likewise.
8057 * soft-fp/fixsfti.c: Likewise.
8058 * soft-fp/fixtfti.c: Likewise.
8059 * soft-fp/fixunsdfti.c: Likewise.
8060 * soft-fp/fixunssfti.c: Likewise.
8061 * soft-fp/fixunstfti.c: Likewise.
8062 * soft-fp/floattidf.c: Likewise.
8063 * soft-fp/floattisf.c: Likewise.
8064 * soft-fp/floattitf.c: Likewise.
8065 * soft-fp/floatuntidf.c: Likewise.
8066 * soft-fp/floatuntisf.c: Likewise.
8067 * soft-fp/floatuntitf.c: Likewise.
8068 * soft-fp/trunctfxf2.c: Likewise.
8069
8070 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8071 * soft-fp/fixdfti.c: Likewise.
8072 * soft-fp/fixsfti.c: Likewise.
8073 * soft-fp/fixtfti.c: Likewise.
8074 * soft-fp/fixunsdfti.c: Likewise.
8075 * soft-fp/fixunssfti.c: Likewise.
8076 * soft-fp/fixunstfti.c: Likewise.
8077 * soft-fp/floattidf.c: Likewise.
8078 * soft-fp/floattisf.c: Likewise.
8079 * soft-fp/floattitf.c: Likewise.
8080 * soft-fp/floatuntidf.c: Likewise.
8081 * soft-fp/floatuntisf.c: Likewise.
8082 * soft-fp/floatuntitf.c: Likewise.
8083 * soft-fp/trunctfxf2.c: Likewise.
8084
8085 2013-10-10 David S. Miller <davem@davemloft.net>
8086
8087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8088
8089 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8090
8091 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8092 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8093 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8094 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8095 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8096 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8097 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8098
8099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8100 for NaNs before doing comparisons on argument.
8101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8102 Likewise.
8103
8104 2013-10-10 Will Newton <will.newton@linaro.org>
8105
8106 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8107 passed to _int_memalign does not overflow.
8108
8109 2013-10-10 Torvald Riegel <triegel@redhat.com>
8110
8111 * scripts/bench.pl: Add include-sources directive.
8112 * benchtests/README: Update documentation.
8113
8114 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8115
8116 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8117 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8118 instead of FP_INIT_ROUNDMODE.
8119 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8120 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8121
8122 [BZ #16034]
8123 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8124 copy class of input value.
8125 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8126 not handle exceptions.
8127 * soft-fp/negsf2.c (__negsf2): Likewise.
8128 * soft-fp/negtf2.c (__negtf2): Likewise.
8129 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8130
8131 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8132
8133 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8134 semicolon. From Linux kernel.
8135
8136 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8137
8138 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8139
8140 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8141
8142 [BZ #156]
8143 * manual/socket.texi: Added statement about buffer
8144 for gethostbyname2_r.
8145
8146 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8147
8148 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8149 Use .p2align directive instead, throughout.
8150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8151 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8152 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8155 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8156 * sysdeps/x86_64/strchr.S: Likewise.
8157 * sysdeps/x86_64/strrchr.S: Likewise.
8158
8159 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8160
8161 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8162
8163 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8164
8165 * sysdeps/generic/math_private.h (__mpsin1): Remove
8166 declaration.
8167 (__mpcos1): Likewise.
8168 (__mpsin): New argument __range_reduce.
8169 (__mpcos): Likewise.
8170 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8171 (slow): Use __mpsin and __mpcos.
8172 (slow1): Likewise.
8173 (slow2): Likewise.
8174 (sloww): Likewise.
8175 (sloww1): Likewise.
8176 (sloww2): Likewise.
8177 (bsloww): Likewise.
8178 (bsloww1): Likewise.
8179 (bsloww2): Likewise.
8180 (cslow2): Likewise.
8181 (csloww): Likewise.
8182 (csloww1): Likewise.
8183 (csloww2): Likewise.
8184 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8185 range_reduce. Merge in __mpsin1.
8186 (__mpcos): Likewise.
8187 (__mpsin1): Remove.
8188 (__mpcos1): Likewise.
8189
8190 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8191
8192 * locale/loadlocale.c (_nl_intern_locale_data): Use
8193 LOCFILE_ALIGNED_P.
8194 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8195 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8196 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8197 obstack data is appropriately aligned.
8198 (obstack_int32_grow_fast): Likewise.
8199 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8200 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8201 (add_locale_uint32_array): Likewise.
8202
8203 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8204
8205 * benchtests/Makefile: Remove ARGLIST and RET variables.
8206 ($(objpfx)bench-%.c): Pass only function name to the script.
8207 * benchtests/README: Update documentation.
8208 * benchtests/acos-inputs: Add new directives.
8209 * benchtests/acosh-inputs: Likewise.
8210 * benchtests/asin-inputs: Likewise.
8211 * benchtests/asinh-inputs: Likewise.
8212 * benchtests/atan-inputs: Likewise.
8213 * benchtests/atanh-inputs: Likewise.
8214 * benchtests/cos-inputs: Likewise.
8215 * benchtests/cosh-inputs: Likewise.
8216 * benchtests/exp-inputs: Likewise.
8217 * benchtests/log-inputs: Likewise.
8218 * benchtests/pow-inputs: Likewise.
8219 * benchtests/rint-inputs: Likewise.
8220 * benchtests/sin-inputs: Likewise.
8221 * benchtests/sinh-inputs: Likewise.
8222 * benchtests/tan-inputs: Likewise.
8223 * benchtests/tanh-inputs: Likewise.
8224 * scripts/bench.pl: Add support for new directives.
8225
8226 2013-10-07 Alan Modra <amodra@gmail.com>
8227
8228 * README: Fix careless merge.
8229
8230 2013-10-05 Alan Modra <amodra@gmail.com>
8231
8232 * NEWS: Mention powerpc64le support and bugs fixed.
8233 * README: Both big-endian and little-endian powerpc64 supported.
8234
8235 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8236
8237 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8238 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8239 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8240 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8241
8242 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8243
8244 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8245 match prototype.
8246
8247 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8248
8249 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8250 Move -mhard-float appending from
8251 ports/sysdeps/powerpc/powerpc32/Makefile.
8252 [$(with-fp) = yes] (ASFLAGS): Likewise.
8253 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8254 * sysdeps/powerpc/nofpu: Move directory from
8255 ports/sysdeps/powerpc/nofpu.
8256 * sysdeps/powerpc/soft-fp: Move directory from
8257 ports/sysdeps/powerpc/soft-fp.
8258 * sysdeps/powerpc/powerpc32/405: Move directory from
8259 ports/sysdeps/powerpc/powerpc32/405.
8260 * sysdeps/powerpc/powerpc32/440: Move directory from
8261 ports/sysdeps/powerpc/powerpc32/440.
8262 * sysdeps/powerpc/powerpc32/464: Move directory from
8263 ports/sysdeps/powerpc/powerpc32/464.
8264 * sysdeps/powerpc/powerpc32/476: Move directory from
8265 ports/sysdeps/powerpc/powerpc32/476.
8266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8267 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8269 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8271 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8273 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8275 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8276 * README: Update for powerpc-*-linux-gnu software floating point
8277 support in libc.
8278
8279 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8280 case to powerpc/powerpc32*.
8281 * sysdeps/unix/sysv/linux/configure: Regenerated.
8282
8283 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8284 (_FPU_MASK_OM): Define as 0x04.
8285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8287 0x00c10080.
8288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8289 0x0000003c.
8290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8291
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8293 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8294 getcontext_e500.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8296 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8297 setcontext_e500.
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8299 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8300 and setcontext_e500.
8301
8302 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8303
8304 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8305
8306 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8307
8308 * manual/threads.texi (Default Thread Attributes): Fix typo.
8309
8310 2013-10-04 Will Newton <will.newton@linaro.org>
8311
8312 * malloc/Makefile: Add tst-memalign.
8313 * malloc/tst-memalign.c: New file.
8314
8315 * malloc/tst-posix_memalign.c: Add comments.
8316 (do_test): Add comments and call free on all potentially
8317 allocated pointers. Add space after cast.
8318
8319 * malloc/tst-pvalloc.c: Add comments.
8320 (do_test): Add comments and call free on all potentially
8321 allocated pointers. Remove duplicate check for NULL pointer.
8322 Add space after cast.
8323
8324 * malloc/tst-valloc.c: Add comments.
8325 (do_test): Add comments and call free on all potentially
8326 allocated pointers. Remove duplicate check for NULL pointer.
8327 Add space after cast.
8328
8329 2013-10-04 Alan Modra <amodra@gmail.com>
8330
8331 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8332 Use stdint types in rather than __attribute__((mode())).
8333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8334
8335 2013-10-04 Alan Modra <amodra@gmail.com>
8336
8337 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8338 Correct handling of unaligned relocs for little-endian.
8339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8340
8341 2013-10-04 Alan Modra <amodra@gmail.com>
8342
8343 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8344 * configure: Regenerate.
8345 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8346 * shlib-versions: Likewise.
8347
8348 2013-10-04 Alan Modra <amodra@gmail.com>
8349
8350 * string/tester.c (test_memrchr): Increment reported test cycle.
8351
8352 2013-10-04 Alan Modra <amodra@gmail.com>
8353
8354 * string/test-memcpy.c (do_one_test): When reporting errors, print
8355 string address and don't overrun end of string.
8356
8357 2013-10-04 Alan Modra <amodra@gmail.com>
8358
8359 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8360 insrdi. Make better use of reg selection to speed exit slightly.
8361 Schedule entry path a little better. Remove useless "are we done"
8362 checks on entry to main loop. Handle wrapping around zero address.
8363 Correct main loop count. Handle single left-over word from main
8364 loop inline rather than by using loop_small. Remove extra word
8365 case in loop_small caused by wrong loop count. Add little-endian
8366 support.
8367 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8368 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8369 cache hint.
8370 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8371 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8372 support. Avoid rlwimi.
8373 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8374
8375 2013-10-04 Alan Modra <amodra@gmail.com>
8376
8377 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8378 insrdi. Formatting.
8379 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8380 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8381 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8382 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8383 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8384 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8385
8386 2013-10-04 Alan Modra <amodra@gmail.com>
8387
8388 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8389 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8391 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8392 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8393 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8394 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8396 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8397 use of regs. Use power7 mtocrf. Tidy function tails.
8398
8399 2013-10-04 Alan Modra <amodra@gmail.com>
8400
8401 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8402 Formatting. Consistently use rXXX register defines or rN defines.
8403 Use early exit labels that avoid restoring unused non-volatile regs.
8404 Make cr field use more consistent with rWORDn compares. Rename
8405 regs used as shift registers for unaligned loop, using rN defines
8406 for short lifetime/multiple use regs.
8407 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8409 addi 1,1,64 to pop stack frame. Simplify return value code.
8410 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8411
8412 2013-10-04 Alan Modra <amodra@gmail.com>
8413
8414 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8415 support. Correct typos, formatting. Optimize tail. Use insrdi
8416 rather than rlwimi.
8417 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8418 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8419 little-endian support. Correct typos.
8420 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8421 rather than rlwimi.
8422 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8423 in loop and entry code to keep "and." results.
8424 (strchr): Add little-endian support. Comment. Move cntlzd
8425 earlier in tail.
8426 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8427
8428 2013-10-04 Alan Modra <amodra@gmail.com>
8429
8430 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8431 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8432 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8433 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8434
8435 2013-10-04 Alan Modra <amodra@gmail.com>
8436
8437 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8438 (rTMP): Define as r11.
8439 (strcmp): Add little-endian support. Optimise tail.
8440 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8441 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8442 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8443 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8447
8448 2013-10-04 Alan Modra <amodra@gmail.com>
8449
8450 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8451 little-endian support. Remove unnecessary "are we done" tests.
8452 Handle "s" wrapping around zero and extremely large "size".
8453 Correct main loop count. Handle single left-over word from main
8454 loop inline rather than by using small_loop. Correct comments.
8455 Delete "zero" tail, use "end_max" instead.
8456 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8457
8458 2013-10-04 Alan Modra <amodra@gmail.com>
8459
8460 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8461 support. Don't branch over align.
8462 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8463 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8464 support. Rearrange tmp reg use to suit. Comment.
8465 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8466
8467 2013-10-04 Alan Modra <amodra@gmail.com>
8468
8469 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8470
8471 2013-10-04 Alan Modra <amodra@gmail.com>
8472
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8474 conditional form of branch and link when obtaining pc.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8476
8477 2013-10-04 Alan Modra <amodra@gmail.com>
8478
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8480 HIWORD/LOWORD.
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8483
8484 2013-10-04 Alan Modra <amodra@gmail.com>
8485
8486 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8487 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8488 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8489 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8490 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8491 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8492 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8493 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8494 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8495 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8496
8497 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8498 Alistair Popple <alistair@ozlabs.au.ibm.com>
8499 Alan Modra <amodra@gmail.com>
8500
8501 [BZ #15723]
8502 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8504 _dl_hwcap access for little-endian.
8505 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8506 destroy vmx regs when saving unaligned.
8507 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8508 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8509 destroy vmx regs when saving unaligned.
8510
8511 2013-10-04 Alan Modra <amodra@gmail.com>
8512
8513 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8514 Don't use a union to pack hi/low value.
8515
8516 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8517
8518 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8519 for little-endian.
8520 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8522 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8523 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8524 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8525
8526 2013-10-04 Alan Modra <amodra@gmail.com>
8527
8528 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8529 constants to usual value for .cst8 section, and remove redundant
8530 high address load.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8532 constant for 0x1p52. Load little-endian words of double from
8533 correct stack offsets.
8534
8535 2013-10-04 Alan Modra <amodra@gmail.com>
8536
8537 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8538 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8539 words of double from correct stack offsets.
8540 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8541 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8542 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8544 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8545 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8546 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8547 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8548 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8550 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8551 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8552 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8553 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8554 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8555 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8556 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8557
8558 2013-10-04 Alan Modra <amodra@gmail.com>
8559
8560 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8561 64-bit int/double union.
8562 (_FPU_SETCW): Likewise.
8563 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8564 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8565
8566 2013-10-04 Alan Modra <amodra@gmail.com>
8567
8568 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8569 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8570
8571 2013-10-04 Alan Modra <amodra@gmail.com>
8572
8573 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8574 use vector int constants.
8575 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8576
8577 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8578
8579 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8580 array with long long.
8581 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8582 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8583 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8584 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8585 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8586 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8587 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8588 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8589 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8590 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8591 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8592 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8593 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8594
8595 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8596
8597 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8598 (__signbit): Likewise. Correct for little-endian.
8599 (__signbitl): Call __signbit.
8600 (lrint): Correct for little-endian.
8601 (lrintf): Call lrint.
8602
8603 2013-10-04 Alan Modra <amodra@gmail.com>
8604
8605 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8606 union 32-bit int array member with 64-bit int array.
8607 (t515, tm256): Double rather than long double.
8608 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8609
8610 2013-10-04 Alan Modra <amodra@gmail.com>
8611
8612 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8613 Delete.
8614 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8615 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8616 version of math_ldbl.h.
8617
8618 2013-10-04 Alan Modra <amodra@gmail.com>
8619
8620 [BZ #15734], [BZ #15735]
8621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8622 all uses of ieee875 long double macros and unions. Simplify test
8623 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8624 ldbl_extract_mantissa value for ix,iy exponents. Properly
8625 normalize after ldbl_extract_mantissa, and don't add hidden bit
8626 already handled. Don't treat low word of ieee854 mantissa like
8627 low word of IBM long double and mask off bit when testing for
8628 zero.
8629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8630 all uses of ieee875 long double macros and unions. Simplify tests
8631 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8632 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8633 two1022, instead use their values. Recognise that tests for large
8634 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8635 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8636 Rewrite all uses of ieee875 long double macros and unions. Simplify
8637 test for 0.0L and nan. Correct negation.
8638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8639 ieee875 long double macros and unions. Correct output for large
8640 magnitude x. Correct absolute value calculation.
8641 (__erfcl): Likewise.
8642 * math/libm-test.inc: Add tests for errors discovered in IBM long
8643 double versions of fmodl, remainderl, erfl and erfcl.
8644
8645 2013-10-04 Alan Modra <amodra@gmail.com>
8646
8647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8648 all uses of ieee854 long double macros and unions. Simplify tests
8649 for long doubles that are fully specified by the high double.
8650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8651 Likewise.
8652 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8653 Remove dead code too.
8654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8655 (__ieee754_ynl): Likewise.
8656 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8657 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8658 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8659 Remove dead code too.
8660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8661 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8663 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8664 Simplify.
8665 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8666 Simplify.
8667 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8670 Comment on variable precision.
8671 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8673 Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8679
8680 2013-10-04 Alan Modra <amodra@gmail.com>
8681
8682 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8684 all uses of ieee854 long double macros and unions.
8685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8691 Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8698 Simplify sign and nan test too.
8699 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8703 Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8706 Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8713
8714 2013-10-04 Alan Modra <amodra@gmail.com>
8715
8716 * stdio-common/printf_size.c (__printf_size): Don't use
8717 union ieee854_long_double in fpnum union.
8718 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8719 signbit macro to retrieve sign from long double.
8720 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8721 retrieve sign from long double.
8722 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8723 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8724 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8725 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8726 * math/test-misc.c (main): Don't use union ieee854_long_double.
8727
8728 2013-10-04 Alan Modra <amodra@gmail.com>
8729
8730 [BZ #15680]
8731 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8732 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8733 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8734 calculation. Remove unnecessary test for denormal exponent.
8735 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8736 Correct handling of denormals. Avoid undefined shift behaviour.
8737 Correct normalisation of low mantissa when low double is denormal.
8738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8739 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8740 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8741 Correct normalisation of low mantissa. Test for overflow of high
8742 mantissa and normalise.
8743 (ldbl_nearbyint): Use more readable constant for two52.
8744 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8745 (__mpn_construct_long_double): Fix test for overflow of high
8746 mantissa and correct normalisation. Avoid undefined shift.
8747
8748 2013-10-04 Alan Modra <amodra@gmail.com>
8749
8750 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8751 (union ibm_extended_long_double): Define as an array of ieee754_double.
8752 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8753 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8754 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8755 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8763
8764 2013-10-03 Joseph Myers <joseph@codesourcery.com>
8765
8766 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8767 page size instead of calling getpagesize.
8768
8769 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8770 (LOCFILE_ALIGN_MASK): Likewise.
8771 (LOCFILE_ALIGN_UP): Likewise.
8772 (LOCFILE_ALIGNED_P): Likewise.
8773 * locale/programs/ld-collate.c (collate_output): Use the new
8774 macros instead of __alignof__ (int32_t).
8775 * locale/weight.h (findidx): Likewise.
8776
8777 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
8778
8779 [BZ #431]
8780 * manual/string.texi: Fix strncat and wcsncat.
8781
8782 2013-10-03 Brooks Moses <bmoses@google.com>
8783
8784 [BZ #15915]
8785 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8786 * Makerules: ...here, and adjust associated comments.
8787
8788 2013-10-02 Will Newton <will.newton@linaro.org>
8789
8790 * malloc/Makefile: Add tst-pvalloc.
8791 * malloc/tst-pvalloc.c: New file.
8792
8793 2013-10-02 Will Newton <will.newton@linaro.org>
8794
8795 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8796 improve test coverage.
8797
8798 2013-10-02 Will Newton <will.newton@linaro.org>
8799
8800 * malloc/Makefile: Add tst-posix_memalign.
8801 * malloc/tst-posix_memalign.c: New file.
8802
8803 2013-10-01 Eric Blake <eblake@redhat.com>
8804
8805 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8806 Use __THROWNL rather than __THROW on static functions.
8807
8808 2013-09-30 Petr Machata <pmachata@redhat.com>
8809
8810 * elf/elf.h (R_AARCH64_ABS16): New macro.
8811 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8812 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8813 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8814 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8815 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8816 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8817 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8818 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8819 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8820 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8821 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8822 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8823 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8824 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8825 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8826 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8827 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8828 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8829 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8830 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8831 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8832 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8833 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8834 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8835 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8836 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8837 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8838 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8839 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8840 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8841 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8842 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8843 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8844 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8845 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8846 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8847 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8848 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8849 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8850 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8851 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8852 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8853 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8854 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8855 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8856 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8857 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8858 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8859 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8860 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8861 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8862 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8863 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8864 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8865 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8866 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8867 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8868 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8869 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8870 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8871 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8872 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8873 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8874 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8875 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8876 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8877 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8878 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8879 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8880 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8881 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8882 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8883 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8884 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8885 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8886 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8887 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8888 (R_AARCH64_TLSDESC_LDR): Likewise.
8889 (R_AARCH64_TLSDESC_ADD): Likewise.
8890 (R_AARCH64_TLSDESC_CALL): Likewise.
8891
8892 2013-09-30 Andreas Schwab <schwab@suse.de>
8893
8894 [BZ #15048]
8895 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8896 the nss database lookup.
8897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8899
8900 2013-09-28 Mike Frysinger <vapier@gentoo.org>
8901
8902 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8903
8904 2013-09-28 P. J. McDermott <pj@pehjota.net>
8905
8906 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8907 ${Bash-specific parameter/pattern/string} parameter expansion.
8908 * sysdeps/unix/make-syscalls.sh: Likewise.
8909
8910 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8911
8912 * sysdeps/sh/stackguard-macros.h: New file.
8913
8914 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
8915
8916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8918 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8920 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8921 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8922
8923 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8924
8925 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8926 Fix thread ID register.
8927
8928 2013-09-25 Joseph Myers <joseph@codesourcery.com>
8929
8930 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8931 [POSIX || UNIX98]: Require rather than permitting all symbols from
8932 <time.h>.
8933 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8934 element of struct sched_param.
8935 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8936 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8937 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8938 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8939 constant.
8940
8941 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8942
8943 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8944 argument calculation.
8945
8946 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8947
8948 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8949 Expect macro.
8950 [POSIX] (pthread_attr_t): Do not require type.
8951 [POSIX] (pthread_cond_t): Likewise.
8952 [POSIX] (pthread_condattr_t): Likewise.
8953 [POSIX] (pthread_key_t): Likewise.
8954 [POSIX] (pthread_mutex_t): Likewise.
8955 [POSIX] (pthread_mutexattr_t): Likewise.
8956 [POSIX] (pthread_once_t): Likewise.
8957 [POSIX] (pthread_t): Likewise.
8958 [POSIX-based standards] (pthread_atfork): Expect function.
8959
8960 2013-09-24 Joseph Myers <joseph@codesourcery.com>
8961 Richard Sandiford <richard@codesourcery.com>
8962
8963 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8964 (swap_endianness_p): New extern variable.
8965 (set_big_endian): New inline function.
8966 (maybe_swap_uint32): Likewise.
8967 (maybe_swap_uint32_array): Likewise.
8968 (maybe_swap_uint32_obstack): Likewise.
8969 * locale/programs/locfile.c: Include <stdbool.h>.
8970 (swap_endianness_p): New variable.
8971 (add_locale_uint32): Call maybe_swap_uint32.
8972 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8973 (write_locale_data): Call maybe_swap_uint32_array.
8974 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8975 maybe_swap_uint32.
8976 (obstack_int32_grow_fast): Likewise.
8977 (output_weightwc): Call maybe_swap_uint32_obstack.
8978 (collate_output): Likewise.
8979 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8980 (OPT_LITTLE_ENDIAN): Likewise.
8981 (options): Add --little-endian and --big-endian options.
8982 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8983 * locale/programs/locarchive.c: Include "locfile.h".
8984 (GET): New macro.
8985 (SET): Likewise.
8986 (INC): Likewise.
8987 (create_archive): Use the new macros to access fields of
8988 structures directly mapped from or written to locale archives.
8989 (oldlocrecentcmp): Likewise.
8990 (enlarge_archive): Likewise.
8991 (insert_name): Likewise.
8992 (add_alias): Likewise.
8993 (add_locale): Likewise.
8994 (delete_locales_from_archive): Likewise.
8995 (show_archive_content): Likewise.
8996 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8997 locale data.
8998
8999 2013-09-24 Roland McGrath <roland@hack.frob.com>
9000
9001 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9002 http://www.gnu.org/doc/freemanuals.texi.
9003 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9004
9005 2013-09-24 Will Newton <will.newton@linaro.org>
9006
9007 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9008 macro.
9009
9010 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9011
9012 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9013 unsigned char.
9014
9015 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9016
9017 * manual/threads.texi (POSIX Threads): Fix a typo.
9018
9019 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9020
9021 [BZ #14547]
9022 * string/tst-strcoll-overflow.c: New test case.
9023 * string/Makefile (xtests): Add tst-strcoll-overflow.
9024 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9025 cache if string sizes may cause integer overflow.
9026
9027 [BZ #14547]
9028 * string/strcoll_l.c (coll_seq): New members rule, idx,
9029 save_idx and back_us.
9030 (get_next_seq_nocache): New function.
9031 (do_compare_nocache): New function.
9032 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9033 when malloc fails.
9034
9035 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9036
9037 [BZ #15754]
9038 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9039 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9040 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9041
9042 [BZ #15754]
9043 * elf/Makefile (tests): Add tst-ptrguard1.
9044 (tests-static): Add tst-ptrguard1-static.
9045 (tst-ptrguard1-ARGS): Define.
9046 (tst-ptrguard1-static-ARGS): Define.
9047 * elf/tst-ptrguard1.c: New file.
9048 * elf/tst-ptrguard1-static.c: New file.
9049 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9050 * sysdeps/i386/stackguard-macros.h: Likewise.
9051 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9052 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9053 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9054 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9055 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9056 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9057
9058 2013-09-23 Hector Marco <hecmargi@upv.es>
9059 Ismael Ripoll <iripoll@disca.upv.es>
9060 Carlos O'Donell <carlos@redhat.com>
9061
9062 [BZ #15754]
9063 * sysdeps/generic/stackguard-macros.h: Define
9064 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9065 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9066 Define __pointer_chk_guard_local.
9067 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9068 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9069
9070 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9071
9072 [BZ #15859]
9073 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9074
9075 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9076
9077 * include/string.h (__ffs): Declare as hidden.
9078 * string/ffs.c (__ffs): Define as hidden.
9079 * sysdeps/i386/ffs.c (__ffs): Likewise.
9080 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9081 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9082 * sysdeps/s390/ffs.c (__ffs): Likewise.
9083 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9084
9085 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9086
9087 * NEWS: Mention malloc probes.
9088
9089 * malloc/arena.c (new_heap): New memory_heap_new probe.
9090 (grow_heap): New memory_heap_more probe.
9091 (shrink_heap): New memory_heap_less probe.
9092 (heap_trim): New memory_heap_free probe.
9093 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9094 (systrim): New memory_sbrk_less probe.
9095 * manual/probes.texi: Document them.
9096
9097 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9098 * manual/probes.texi: Document it.
9099
9100 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9101 (__libc_realloc): Add memory_realloc_retry probe.
9102 (__libc_memalign): Add memory_memalign_retry probe.
9103 (__libc_valloc): Add memory_valloc_retry probe.
9104 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9105 (__libc_calloc): Add memory_calloc_retry probe.
9106 * manual/probes.texi: Document them.
9107
9108 * malloc/arena.c (get_free_list): Add probe
9109 memory_arena_reuse_free_list.
9110 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9111 and memory_arena_reuse.
9112 (arena_get2) [!PER_THREAD]: Likewise.
9113 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9114 memory_arena_reuse_realloc.
9115 * manual/probes.texi: Document them.
9116
9117 * malloc/malloc.c (__libc_free): Add
9118 memory_mallopt_free_dyn_thresholds probe.
9119 (__libc_mallopt): Add multiple memory_mallopt probes.
9120 * manual/probes.texi: Document them.
9121
9122 * malloc/malloc.c: Include stap-probe.h.
9123 (__libc_mallopt): Add memory_mallopt probe.
9124 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9125 * manual/probes.texi: New.
9126 * manual/Makefile (chapters): Add probes.
9127 * manual/threads.texi: Set next node.
9128
9129 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9130
9131 [BZ #15963, #13985]
9132 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9133 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9134 Add `Chinese' to `nan' entry name.
9135
9136 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9137
9138 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9139 (POLYNOMIAL): Likewise.
9140 (TAYLOR_SINCOS): Likewise.
9141 (TAYLOR_SLOW): Likewise.
9142 (__sin): Use TAYLOR_SINCOS.
9143 (__cos): Likewise.
9144 (slow): Use TAYLOR_SLOW.
9145 (sloww): Likewise.
9146 (bsloww): Likewise.
9147 (csloww): Likewise.
9148
9149 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9150
9151 * stdlib/strtod_l.c: Fix buffer overrun.
9152
9153 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9154
9155 * benchtests/Makefile (bench): Add sincos.
9156 * benchtests/bench-sincos.c: New file.
9157
9158 * math/libm-test.inc (cos_test_data): New test inputs.
9159 (sin_test_data): Likewise.
9160
9161 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9162 macro.
9163 (__sin): Use it.
9164 (__cos): Likewise.
9165 (slow1): Likewise.
9166 (slow2): Likewise.
9167 (sloww1): Likewise.
9168 (sloww2): Likewise.
9169 (bsloww1): Likewise.
9170 (bsloww2): Likewise.
9171 (cslow2): Likewise.
9172 (csloww1): Likewise.
9173 (csloww2): Likewise.
9174
9175 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9176 function.
9177 (__sin): Use it.
9178 (__cos): Likewise.
9179
9180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9181 gotos.
9182 (__cos): Likewise.
9183
9184 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9185
9186 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9187 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9188 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9189 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9190 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9191 * elf/cache.c (print_entry): Handle the new cache flags.
9192
9193 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9194 Aldy Hernandez <aldyh@redhat.com>
9195
9196 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9197 Change condition to [_SOFT_FLOAT].
9198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9210 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9213 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9214 declaration.
9215
9216 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9217
9218 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9219 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9220 (__longjmp): Use LOAD_GP to load saved GPRs.
9221 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9222 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9223 (__sigsetjmp): Use SAVE_GP to save GPRs.
9224
9225 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9226 Do not append -msoft-float.
9227 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9228
9229 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9230
9231 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9232
9233 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9234
9235 [BZ #15966]
9236 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9237 (_FPU_GETCW): Use initial "__" on variable and field names but not
9238 on macro parameter name.
9239 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9240 parentheses around reference to macro parameter.
9241
9242 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9243
9244 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9245 prototype.
9246 (ctype_startup): Use uint32_t in cast and sizeof for
9247 ctype->charnames.
9248
9249 2013-09-11 Jia Liu <proljc@gmail.com>
9250
9251 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9252 __daddr_t_defined.
9253 [__FreeBSD__]: Likewise.
9254
9255 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9256
9257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9258 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9259 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9260 (strchr): Remove __strchr_sse42 ifunc selection.
9261 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9262 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9263
9264 2013-09-11 Will Newton <will.newton@linaro.org>
9265
9266 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9267 parameter to RES. Remove hardcoded 1000 value.
9268 * benchtests/bench-skeleton.c (main): Pass RES parameter
9269 to TIMING_INIT and multiply result by 1000.
9270
9271 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9272
9273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9274
9275 2013-09-11 Andreas Schwab <schwab@suse.de>
9276
9277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9278 if not defined.
9279 (O_TMPFILE) [__USE_GNU]: Define.
9280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9281 Define.
9282
9283 2013-09-11 Will Newton <will.newton@linaro.org>
9284
9285 [BZ #15857]
9286 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9287 does not overflow.
9288
9289 2013-09-11 Will Newton <will.newton@linaro.org>
9290
9291 [BZ #15856]
9292 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9293 does not overflow.
9294
9295 2013-09-11 Will Newton <will.newton@linaro.org>
9296
9297 [BZ #15855]
9298 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9299 does not overflow.
9300
9301 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9302
9303 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9308
9309 2013-09-10 Allan McRae <allan@archlinux.org>
9310
9311 [BZ #15748]
9312 * manual/arith.texi (Parsing of Floats): Clarify
9313 cross-reference.
9314
9315 [BZ #15849]
9316 * manual/install.texi (Running make install): Mention
9317 --enable-pt-chown.
9318 * INSTALL: Regenerated.
9319
9320 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9321
9322 * csu/init-first.c (_init): Remove the !SHARED condition around
9323 FPU control word initialization.
9324 * elf/dl-support.c (_dl_fpu_control): New variable.
9325 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9326 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9327 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9328 * math/test-fpucw-static.c: New file.
9329 * math/test-fpucw-ieee.c: New file.
9330 * math/test-fpucw-ieee-static.c: New file.
9331 * math/Makefile (tests): Add `test-fpucw-ieee' and
9332 `$(tests-static)'.
9333 (tests-static): New variable.
9334 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9335 dependency to...
9336 [($(build-shared),yes)]
9337 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9338 ... this.
9339 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9340 New dependency.
9341
9342 2013-09-09 Allan McRae <allan@archlinux.org>
9343
9344 [BZ #15939]
9345 * manual/string.texi (Collation Functions): Fix typo in
9346 strcoll example.
9347 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9348
9349 [BZ #15893]
9350 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9351
9352 [BZ #15892]
9353 * libio/memstream.c (open_memstream): Fix memory leak.
9354 * libio/wmemstream.c (open_wmemstream): Likewise.
9355
9356 [BZ #15895]
9357 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9358
9359 2013-09-09 Will Newton <will.newton@linaro.org>
9360
9361 * malloc/Makefile: Add tst-realloc to tests.
9362 * malloc/tst-realloc.c: New file.
9363
9364 2013-09-09 Allan McRae <allan@archlinux.org>
9365
9366 [BZ #15844]
9367 * COPYING: Update from GNU website to fix FSF address.
9368 * COPYING.LIB: Likewise.
9369
9370 2013-09-06 David S. Miller <davem@davemloft.net>
9371
9372 * po/zh_TW.po: Update Chinese (traditional) translation from
9373 translation project.
9374
9375 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9376 Joseph Myers <joseph@codesourcery.com>
9377
9378 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9379 "localeinfo.h".
9380 (obstack_chunk_alloc): New macro.
9381 (obstack_chunk_free): Likewise.
9382 (record_offset): New function.
9383 (init_locale_data): Likewise.
9384 (align_locale_data): Likewise.
9385 (add_locale_empty): Likewise.
9386 (add_locale_raw_data): Likewise.
9387 (add_locale_raw_obstack): Likewise.
9388 (add_locale_string): Likewise.
9389 (add_locale_wstring): Likewise.
9390 (add_locale_uint32): Likewise.
9391 (add_locale_uint32_array): Likewise.
9392 (add_locale_char): Likewise.
9393 (start_locale_structure): Likewise.
9394 (end_locale_structure): Likewise.
9395 (start_locale_prelude): Likewise.
9396 (end_locale_prelude): Likewise.
9397 (write_locale_data): Take locale_file structure rather than an
9398 iovec.
9399 * locale/programs/locfile.h: Include "obstack.h".
9400 (struct locale_file): Change to store locale file contents instead
9401 of header.
9402 (init_locale_data): New prototype.
9403 (align_locale_data): Likewise.
9404 (add_locale_empty): Likewise.
9405 (add_locale_raw_data): Likewise.
9406 (add_locale_raw_obstack): Likewise.
9407 (add_locale_string): Likewise.
9408 (add_locale_wstring): Likewise.
9409 (add_locale_uint32): Likewise.
9410 (add_locale_uint32_array): Likewise.
9411 (add_locale_char): Likewise.
9412 (start_locale_structure): Likewise.
9413 (end_locale_structure): Likewise.
9414 (start_locale_prelude): Likewise.
9415 (end_locale_prelude): Likewise.
9416 (write_locale_data): Update prototype.
9417 * locale/programs/3level.h (struct TABLE): Remove result field.
9418 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9419 Use new locale_file interface.
9420 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9421 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9422 * locale/programs/ld-address.c (address_output): Use new
9423 locale_file interface.
9424 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9425 NO_ADD_LOCALE.
9426 (collate_finish): Don't call collseq_table_finalize.
9427 (collate_output): Use new locale_file interface.
9428 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9429 in file.
9430 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9431 (TABLE): Move defines earlier in file.
9432 (ELEMENT): Likewise.
9433 (DEFAULT): Likewise.
9434 (wctrans_table_add): Move macro and inline function earlier in
9435 file.
9436 (struct wctype_table): Move type earlier in file.
9437 (add_locale_wctype_table): New static prototype.
9438 (struct locale_ctype_t): Use logical types instead of struct iovec
9439 pointers for members.
9440 (ctype_output): Use new locale_file interface.
9441 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9442 new locale_file interface.
9443 (allocate_arrays): Update for use of new locale_file interface.
9444 * locale/programs/ld-identification.c (identification_output): Use
9445 new locale_file interface.
9446 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9447 * locale/programs/ld-messages.c (messages_output): Likewise.
9448 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9449 * locale/programs/ld-name.c (name_output): Likewise.
9450 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9451 * locale/programs/ld-paper.c (paper_output): Likewise.
9452 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9453 * locale/programs/ld-time.c (time_output): Likewise.
9454
9455 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9456
9457 * benchtests/Makefile: Add memrchr benchmark.
9458 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9459 benchmark as memrchr.
9460 * benchtests/bench-memrchr-ifunc.c: New file.
9461 * benchtests/bench-memrchr.c: New file.
9462
9463 2013-09-06 Will Newton <will.newton@linaro.org>
9464
9465 * benchtests/Makefile (string-bench): Add memcpy.
9466
9467 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9468 Cong Wang <amwang@redhat.com>
9469
9470 [BZ #15850]
9471 * sysdeps/unix/sysv/linux/bits/in.h
9472 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9473 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9474 before __USE_KERNEL_IPV6_DEFS uses.
9475 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9476 IPPROTO_BEETPH.
9477 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9478 sockaddr_in6, or ipv6_mreq.
9479
9480 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9481
9482 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9483 memory access for final bytes in some large inputs.
9484 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9485
9486 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9487
9488 * string/test-memrchr.c: New file.
9489 * string/test-memrchr-ifunc.c: New file.
9490 * string/Makefile: Add new memrchr testcase.
9491
9492 2013-09-05 Mike Frysinger <vapier@gentoo.org>
9493
9494 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9495 fanotify_init returns EPERM.
9496
9497 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9498
9499 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9500 errors.
9501 (top level): Treat second token from macro or constant entries for
9502 allowed headers as allowed.
9503 * include/complex.h: Condition internal declarations on
9504 [!_ISOMAC].
9505 * include/fenv.h: Condition include of <stdbool.h> and internal
9506 declarations on [!_ISOMAC].
9507
9508 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9509
9510 [BZ #15923]
9511 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9512
9513 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9514
9515 * configure.in (--enable-versioning): Remove configure option.
9516 (libc_cv_asm_symver_directive): Remove configure test.
9517 (libc_cv_ld_version_script_option): Likewise.
9518 (VERSIONING): Remove variable and AC_SUBST.
9519 (DO_VERSIONING): Remove AC_DEFINE.
9520 * configure: Regenerated.
9521 * config.h.in (DO_VERSIONING): Remove macro.
9522 * Makerules [$(versioning) = yes]: Change conditionals to
9523 [$(build-shared) = yes].
9524 * config.make.in (versioning): Remove variable.
9525 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9526 [$(build-shared) = yes].
9527 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9528 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9529 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9530 [$(build-shared) = yes].
9531 * extra-lib.mk [$(versioning) = yes]: Likewise.
9532 * hurd/Makefile [$(versioning) = yes]: Likewise.
9533 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9534 [SHARED].
9535 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9536 [SHARED].
9537 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9538 [SHARED && !NO_HIDDEN].
9539 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9540 [SHARED].
9541 [SHARED && DO_VERSIONING]: Likewise..
9542 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9543 [$(build-shared) = yes].
9544 * manual/install.texi (--disable-versioning): Remove
9545 documentation.
9546 * INSTALL: Regenerated.
9547 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9548 to [SHARED].
9549 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9550 [$(build-shared) = yes].
9551 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9552 * sysdeps/i386/i686/multiarch/strstr-c.c
9553 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9554 [SHARED && !NO_HIDDEN].
9555 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9556 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9557 * sysdeps/powerpc/powerpc32/dl-machine.c
9558 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9559 * sysdeps/powerpc/powerpc32/sysdep.h
9560 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9561 to [SHARED && PIC && !NO_HIDDEN].
9562 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9563 conditional to [SHARED].
9564
9565 2013-09-04 Will Newton <will.newton@linaro.org>
9566
9567 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9568 * benchtests/bench-string.h: Include bench-timing.h instead
9569 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9570 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9571 call to HP_TIMING_DIFF_INIT.
9572 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9573 instead of hp-timing.h macros.
9574 * benchtests/bench-memchr.c: Likewise.
9575 * benchtests/bench-memcmp.c: Likewise.
9576 * benchtests/bench-memcpy.c: Likewise.
9577 * benchtests/bench-memmem.c: Likewise.
9578 * benchtests/bench-memmove.c: Likewise.
9579 * benchtests/bench-memset.c: Likewise.
9580 * benchtests/bench-rawmemchr.c: Likewise.
9581 * benchtests/bench-strcasecmp.c: Likewise.
9582 * benchtests/bench-strcasestr.c: Likewise.
9583 * benchtests/bench-strcat.c: Likewise.
9584 * benchtests/bench-strchr.c: Likewise.
9585 * benchtests/bench-strcmp.c: Likewise.
9586 * benchtests/bench-strcpy.c: Likewise.
9587 * benchtests/bench-strcpy_chk.c: Likewise.
9588 * benchtests/bench-strlen.c: Likewise.
9589 * benchtests/bench-strncasecmp.c: Likewise.
9590 * benchtests/bench-strncat.c: Likewise.
9591 * benchtests/bench-strncmp.c: Likewise.
9592 * benchtests/bench-strncpy.c: Likewise.
9593 * benchtests/bench-strnlen.c: Likewise.
9594 * benchtests/bench-strpbrk.c: Likewise.
9595 * benchtests/bench-strrchr.c: Likewise.
9596 * benchtests/bench-strspn.c: Likewise.
9597 * benchtests/bench-strstr.c: Likewise.
9598
9599 2013-09-04 Will Newton <will.newton@linaro.org>
9600
9601 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9602
9603 2013-09-03 Joseph Myers <joseph@codesourcery.com>
9604
9605 [BZ #15427]
9606 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9607 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9608 * math/libm-test.inc (lgamma_test_data): Add more tests.
9609 * sysdeps/i386/fpu/libm-test-ulps: Update.
9610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611
9612 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
9613
9614 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9616 Add ifunc.
9617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9618 Add strcmp-sse2-unaligned
9619 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9620
9621 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9622
9623 * Versions.def (libc): Add GLIBC_2.19.
9624
9625 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9626
9627 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9628 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9629
9630 2013-09-02 Joseph Myers <joseph@codesourcery.com>
9631
9632 [BZ #14155]
9633 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9634 intermediate calculations in recurrence.
9635 (__ieee754_ynf): Likewise.
9636 * math/libm-test.inc (jn_test_data): Do not allow spurious
9637 underflow exception. Add more tests.
9638 (yn_test_data): Add more tests.
9639 * sysdeps/i386/fpu/libm-test-ulps: Update.
9640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9641
9642 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
9643
9644 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9645
9646 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9647
9648 * csu/init-first.c: Fix then/than typos.
9649 * locale/programs/ld-collate.c: Likewise.
9650 * locale/programs/linereader.h: Likewise.
9651 * manual/charset.texi: Likewise.
9652 * manual/filesys.texi: Likewise.
9653 * manual/stdio.texi: Likewise.
9654 * manual/string.texi: Likewise.
9655 * stdlib/fmtmsg.c: Likewise.
9656 * sysdeps/i386/stpncpy.S: Likewise.
9657 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9658 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9661
9662 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9663
9664 * elf/dl-open.c: Fix typos.
9665 * iconvdata/gbbig5.c: Likewise.
9666 * iconvdata/iso-2022-jp.c: Likewise.
9667 * iconv/gconv_int.h: Likewise.
9668 * iconv/loop.c: Likewise.
9669 * nis/rpcsvc/nis.h: Likewise.
9670 * resolv/ns_name.c: Likewise.
9671 * stdio-common/vfscanf.c: Likewise.
9672 * streams/stropts.h: Likewise.
9673 * sunrpc/rpc_thread.c: Likewise.
9674 * sysdeps/i386/strpbrk.S: Likewise.
9675 * sysdeps/ieee754/k_standard.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9678 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9679 * sysdeps/mach/hurd/profil.c: Likewise.
9680 * sysdeps/s390/dl-procinfo.h: Likewise.
9681 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9683 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9684 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9685 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9686
9687 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9688
9689 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9691
9692 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9693
9694 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9695 aix specific files.
9696 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9698 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9699 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9700 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9702 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9703 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9704
9705 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9706 Roland McGrath <roland@hack.frob.com>
9707
9708 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9709 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9710
9711 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9712
9713 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9714 __executable_start symbol instead of _start.
9715
9716 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9717
9718 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9719 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9720 Move macros to...
9721 * sysdeps/gnu/ldsodefs.h: ... this new file.
9722
9723 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9724 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9725 instead of ELFOSABI_LINUX.
9726
9727 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9728 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9729 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9730 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9731 Likewise.
9732 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9733 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9735 Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9737 (ibm_extended_long_double): Add ieee_nan member.
9738 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9739 (do_test): New function.
9740
9741 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9742 TEST_TRUNC.
9743 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9744 functions, renamed from truncdfsf_test, trunctfsf_test,
9745 trunctfdf_test.
9746 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9747 functions.
9748 (do_test): Run all these.
9749
9750 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9751
9752 * argp/argp-help.c: Fix typos.
9753 * argp/argp-parse.c: Likewise.
9754 * debug/backtracesyms.c: Likewise.
9755 * elf/elf.h: Likewise.
9756 * malloc/malloc.c: Likewise.
9757 * nis/nis_print.c: Likewise.
9758 * resolv/res_comp.c: Likewise.
9759 * stdlib/stdlib.h: Likewise.
9760 * sunrpc/clnt_tcp.c: Likewise.
9761 * sunrpc/clnt_udp.c: Likewise.
9762 * sunrpc/clnt_unix.c: Likewise.
9763 * sysdeps/unix/bsd/ptsname.c: Likewise.
9764 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9765 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9767 Likewise.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9769 Likewise.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9771 Likewise.
9772 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9773
9774 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9775
9776 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9778
9779 2013-08-27 Mike Frysinger <vapier@gentoo.org>
9780
9781 [BZ #15897]
9782 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9783 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9784 ($(objpfx)bug-dl-leaf): New rule.
9785 ($(objpfx)bug-dl-leaf.so): Likewise.
9786 ($(objpfx)bug-dl-leaf.out): Likewise.
9787 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9788 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9789 * dlfcn/bug-dl-leaf.c: New test.
9790 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9791 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9792 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9793 (dlclose): Likewise.
9794 (dlmopen): Likewise.
9795
9796 2013-08-27 Roland McGrath <roland@hack.frob.com>
9797
9798 * include/netdb.h [!_ISOMAC]:
9799 Don't include <tls.h>.
9800 (h_errno, __libc_h_errno): Move declaration and macros out of
9801 [_LIBC_REENTRANT].
9802
9803 * include/resolv.h [_RESOLV_H_]:
9804 Don't include <tls.h>.
9805 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9806 * resolv/res_libc.c: Don't include <tls.h>.
9807 (_res): Use __attribute__ ((nocommon)) in place of
9808 __attribute__ ((section (".bss"))).
9809
9810 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9811 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9812
9813 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9814
9815 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9816 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9817
9818 * resolv/res_mkquery.c: Include <sys/time.h>.
9819
9820 * inet/ifreq.c: Moved to ...
9821 * sysdeps/unix/ifreq.c: ... here.
9822 * inet/ifreq.c: New file, true stub version.
9823
9824 * socket/sa_len.c: New file.
9825 * socket/Makefile (aux): Add it.
9826 * sysdeps/unix/sysv/linux/Makefile
9827 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9828 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9829 and #include <socket/sa_len.c>.
9830 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9831 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9832
9833 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9834 * bits/socket.h: ... here.
9835
9836 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9837 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9838 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9839
9840 2013-08-27 Andreas Schwab <schwab@suse.de>
9841
9842 [BZ #15736]
9843 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9844 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9845 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9846 * string/test-strcasecmp.c (test_main): Run tests in several
9847 locales.
9848 * string/test-strncasecmp.c (test_main): Likewise.
9849
9850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9851 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9852 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9854 (__strncasecmp_ssse3) [PIC]: Likewise.
9855
9856 2013-08-26 Roland McGrath <roland@hack.frob.com>
9857
9858 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9859
9860 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9861 instead of explicitly declaring xdecrypt.
9862 * nis/nss_nis/nis-publickey.c: Likewise.
9863
9864 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9865
9866 [BZ #15890]
9867 * nscd/aicache.c: Include res_hconf.h.
9868 (addhstaiX): Initialize res_hconf.
9869
9870 2013-08-26 Andreas Schwab <schwab@suse.de>
9871
9872 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9873 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9874
9875 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9876
9877 * nscd/aicache.c (addhstaiX): Fix indentation.
9878
9879 2013-08-25 Mike Frysinger <vapier@gentoo.org>
9880
9881 * configure.ac: Quote $build_pt_chown test.
9882 * configure: Regenerated.
9883
9884 2013-08-23 Joseph Myers <joseph@codesourcery.com>
9885
9886 [BZ #15532]
9887 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9888 * math/s_cexpf.c (__cexpf): Likewise.
9889 * math/s_cexpl.c (__cexpl): Likewise.
9890 * math/libm-test.inc (cexp_test_data): Correct expected return
9891 value for NaN + i0. Add another test.
9892
9893 2013-08-22 David S. Miller <davem@davemloft.net>
9894
9895 * po/ca.po: Update Catalan translation from translation project.
9896 * po/uk.po: Add Ukrainian translations from translation project.
9897
9898 2013-08-21 Joseph Myers <joseph@codesourcery.com>
9899
9900 [BZ #15797]
9901 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9902 is infinite, not alongside NaN test.
9903 * math/s_fdimf.c (__fdimf): Likewise.
9904 * math/s_fdiml.c (__fdiml): Likewise.
9905 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9906 errno is unchanged.
9907
9908 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
9909
9910 * argp/argp-help.c: Fix typos.
9911 * crypt/speeds.c: Likewise.
9912 * csu/check_fds.c: Likewise.
9913 * elf/dl-load.c: Likewise.
9914 * elf/dl-open.c: Likewise.
9915 * elf/reldep3.c: Likewise.
9916 * elf/reldep.c: Likewise.
9917 * elf/sprof.c: Likewise.
9918 * iconv/iconv_charmap.c: Likewise.
9919 * iconv/skeleton.c: Likewise.
9920 * iconv/strtab.c: Likewise.
9921 * io/lockf64.c: Likewise.
9922 * libio/libioP.h: Likewise.
9923 * resolv/gai_notify.c: Likewise.
9924 * resolv/ns_name.c: Likewise.
9925 * resolv/ns_samedomain.c: Likewise.
9926 * resolv/res_send.c: Likewise.
9927 * stdlib/random.c: Likewise.
9928 * sunrpc/rpc/xdr.h: Likewise.
9929 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9931 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9932 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9936 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9937 * sysdeps/mach/hurd/check_fds.c: Likewise.
9938 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9939 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9941 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9942 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9943 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9944 * sysdeps/pthread/aio_notify.c: Likewise.
9945 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9946 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9949 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9950
9951 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9952
9953 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9954 version if bit_Slow_SSE4_2 is set.
9955 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9957
9958 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9959
9960 [BZ #15867]
9961 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9962 trampoline stack frame information.
9963 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9964 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9965 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9966 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9967 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9968 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9969 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9970 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9971 sa_flags value.
9972 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9973 interrupting a syscall and set with option SA_SIGINFO.
9974
9975 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9976
9977 [BZ #15531]
9978 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9979 argument is infinite.
9980 * math/s_cprojf.c (__cprojf): Likewise.
9981 * math/s_cprojl.c (__cprojl): Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9983 * math/libm-test.inc (cproj_test_data): Add more tests.
9984
9985 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9986
9987 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9988 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9989 size. Use __ffs to determine corresponding shift.
9990
9991 2013-08-20 Joseph Myers <joseph@codesourcery.com>
9992 Roland McGrath <roland@hack.frob.com>
9993
9994 * Makefile (INSTALL): Remove trailing blank lines from output of
9995 makeinfo.
9996
9997 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9998
9999 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10000 Align 32 bit compat elf_greg to 8 bytes.
10001
10002 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10003
10004 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10005
10006 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10007
10008 * string/strcoll_l.c (coll_seq): New structure.
10009 (get_next_seq_cached): New function.
10010 (get_next_seq): New function.
10011 (do_compare): New function.
10012 (STRCOLL): Use GNU style definition. Simplify implementation
10013 by using get_next_seq, get_next_seq_cached and do_compare.
10014
10015 2013-08-16 Florian Weimer <fweimer@redhat.com>
10016
10017 [BZ #14699]
10018 CVE-2013-4237
10019 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10020 member.
10021 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10022 member.
10023 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10024 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10025 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10026 conditional.
10027 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10028 GETDENTS_64BIT_ALIGNED.
10029 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10030 * manual/filesys.texi (Reading/Closing Directory): Document
10031 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10032 strongly.
10033 * manual/conf.texi (Limits for Files): Add portability note to
10034 NAME_MAX, PATH_MAX.
10035 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10036
10037 2013-08-13 Andreas Schwab <schwab@suse.de>
10038
10039 [BZ #15749]
10040 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10041 of fabs.
10042 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10043 LDBL_MAX_EXP >= 16384]: Add tests for it.
10044
10045 2013-08-12 David S. Miller <davem@davemloft.net>
10046
10047 * version.h (RELEASE): Set to "development".
10048 (VERSION): Set to "2.18.90".
10049 * NEWS: Add 2.19 section.
10050
10051 2013-08-03 David S. Miller <davem@davemloft.net>
10052
10053 * po/ko.po: Update Korean translation from translation project.
10054
10055 2013-08-01 David S. Miller <davem@davemloft.net>
10056
10057 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10058 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10059 Bilka.
10060
10061 2013-07-30 David S. Miller <davem@davemloft.net>
10062
10063 * po/fr.po: Update French translation from translation project.
10064
10065 2013-07-28 David S. Miller <davem@davemloft.net>
10066
10067 * po/cs.po: Update Czech translation from translation project.
10068
10069 * po/sv.po: Update Swedish translation from translation project.
10070
10071 2013-07-27 David S. Miller <davem@davemloft.net>
10072
10073 * po/eo.po: Update Esperanto translation from translation project.
10074
10075 * po/vi.po: Update Vietnamese translation from translation project.
10076
10077 * po/de.po: Update German translation from translation project.
10078
10079 2013-07-26 David S. Miller <davem@davemloft.net>
10080
10081 * po/bg.po: Update Bulgarian translation from translation project.
10082
10083 * po/nl.po: Update Dutch translation from translation project.
10084 * po/pl.po: Update Polish translation from translation project.
10085 * po/ru.po: Update Russian translation from translation project.
10086
10087 2013-07-24 David S. Miller <davem@davemloft.net>
10088
10089 * po/libc.pot: Update.
10090
10091 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092
10093 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10094 variable page size.
10095 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10096 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10097 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10098
10099 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10100
10101 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10102
10103 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10104 Andreas Schwab <schwab@suse.de>
10105 Roland McGrath <roland@hack.frob.com>
10106 Joseph Myers <joseph@codesourcery.com>
10107 Carlos O'Donell <carlos@redhat.com>
10108
10109 [BZ #15755]
10110 * config.h.in: Define HAVE_PT_CHOWN.
10111 * config.make.in (build-pt-chown): New variable.
10112 * configure.in (--enable-pt_chown): New configure option.
10113 * configure: Regenerate.
10114 * login/Makefile: Include Makeconfig. Build pt_chown only if
10115 build-pt-chown is enabled.
10116 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10117 pt_chown to fix pty ownership.
10118 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10119 CLOSE_ALL_FDS.
10120 * manual/install.texi (Configuring and compiling): Mention
10121 --enable-pt_chown. Add @findex for grantpt.
10122 * INSTALL: Regenerate.
10123
10124 2013-07-20 David S. Miller <davem@davemloft.net>
10125
10126 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10127 difference between 32-bit and 64-bit.
10128
10129 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10130
10131 [BZ #15711]
10132 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10133 Avoid system header dependency with -ffreestanding.
10134 ($(objpfx)bits/syscall%d): Likewise.
10135
10136 2013-07-13 David S. Miller <davem@davemloft.net>
10137
10138 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10139 underflows from atanl/atan2l due to bug 15319.
10140 (casinh_test_data): Likewise.
10141
10142 2013-07-07 David S. Miller <davem@davemloft.net>
10143
10144 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10145
10146 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10147
10148 * sysdeps/i386/fpu/libm-test-ulps: Update.
10149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10150
10151 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10152
10153 * configure.in (--enable-lock-elision): Fix message text.
10154 * INSTALL: Regenerate.
10155 * configure: Regenerate.
10156
10157 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10158
10159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10160
10161 2013-07-03 Andreas Jaeger <aj@suse.de>
10162
10163 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10164 define.
10165 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10166 (ptrace_peeksiginfo_args): Add.
10167 (__ptrace_peeksiginfo_flags): Add.
10168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10171
10172 2013-07-03 Allan McRae <allan@archlinux.org>
10173
10174 * sysdeps/i386/fpu/libm-test-ulps: Update.
10175
10176 2013-07-02 David S. Miller <davem@davemloft.net>
10177
10178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10179
10180 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10181
10182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10183
10184 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10185
10186 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10188
10189 2013-07-02 Andi Kleen <ak@linux.intel.com>
10190
10191 * config.h.in (ENABLE_LOCK_ELISION): Add.
10192 * configure.in (--enable-lock-elision): Add option.
10193 * manual/install.texi: Document --enable lock elision.
10194 * configure: Regenerate
10195 * INSTALL: Regenerate.
10196
10197 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10200 SSE4.2 strcasecmp for libc.a.
10201 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10202
10203 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10204
10205 [BZ #13304]
10206 * soft-fp/op-common.h (_FP_FMA): New macro.
10207 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10208 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10209 (_FP_MUL_MEAT_1_imm): ... here.
10210 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10211 (_FP_MUL_MEAT_1_wide): ... here.
10212 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10213 (_FP_MUL_MEAT_1_hard): ... here.
10214 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10215 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10216 (_FP_MUL_MEAT_2_wide): ... here.
10217 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10218 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10219 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10220 (_FP_MUL_MEAT_2_gmp): ... here.
10221 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10222 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10223 (_FP_MUL_MEAT_4_wide): ... here.
10224 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10225 (_FP_MUL_MEAT_4_gmp): ... here.
10226 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10227 (_FP_WFRACBITS_DW_S): Likewise.
10228 (_FP_WFRACXBITS_DW_S): Likewise.
10229 (_FP_HIGHBIT_DW_S): Likewise.
10230 (FP_FMA_S): Likewise.
10231 (_FP_FRAC_HIGH_DW_S): Likewise.
10232 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10233 (_FP_WFRACBITS_DW_D): Likewise.
10234 (_FP_WFRACXBITS_DW_D): Likewise.
10235 (_FP_HIGHBIT_DW_D): Likewise.
10236 (FP_FMA_D): Likewise.
10237 (_FP_FRAC_HIGH_DW_D): Likewise.
10238 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10239 (_FP_WFRACBITS_DW_E): Likewise.
10240 (_FP_WFRACXBITS_DW_E): Likewise.
10241 (_FP_HIGHBIT_DW_E): Likewise.
10242 (FP_FMA_E): Likewise.
10243 (_FP_FRAC_HIGH_DW_E): Likewise.
10244 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10245 (_FP_WFRACBITS_DW_Q): Likewise.
10246 (_FP_WFRACXBITS_DW_Q): Likewise.
10247 (_FP_HIGHBIT_DW_Q): Likewise.
10248 (FP_FMA_Q): Likewise.
10249 (_FP_FRAC_HIGH_DW_Q): Likewise.
10250 * soft-fp/fmasf4.c: New file.
10251 * soft-fp/fmadf4.c: Likewise.
10252 * soft-fp/fmatf4.c: Likewise.
10253
10254 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10255
10256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10257 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10258 Silvermont.
10259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10260 macro.
10261 (index_Slow_SSE4_2): Likewise.
10262 (index_Prefer_PMINUB_for_stringop): Likewise.
10263 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10264 bit_Slow_SSE4_2 is set.
10265 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10267
10268 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10269
10270 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10271 rtld_global._dl_hwcap2.
10272 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10273 POWER8.
10274 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10275 POWER8 feature descriptions defined in _dl_hwcap2.
10276 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10277 string handling for POWER8 feature bits.
10278 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10279 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10280 _dl_powerpc_cap_flags.
10281 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10282 * sysdeps/powerpc/rtld-global-offsets.sym
10283 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10284 _dl_hwcap2 in the rtld_global_ro structure.
10285
10286 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10287
10288 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10289 hardware capabilities in support of AT_HWCAP2.
10290 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10291 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10292 GLRO(dl_hwcap2).
10293 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10294 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10295 explicitly the unknown a_type display mechanism is used.
10296 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10297 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10298 struct member.
10299 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10300 to macro prototype for AT_HWCAP2 support.
10301 * sysdeps/i386/dl-procinfo.h: Likewise.
10302 * sysdeps/s390/dl-procinfo.h: Likewise.
10303 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10304 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10305 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10306 return -1 for unknown a_type display fallback.
10307 * sysdeps/sparc/dl-procinfo.h: Likewise.
10308 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10309 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10310
10311 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10312
10313 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10314 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10315
10316 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10317
10318 [BZ #12492]
10319 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10320 mprotect making __stack_prot writable.
10321
10322 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10323 Joseph Myers <joseph@codesourcery.com>
10324
10325 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10326 as being properly aligned.
10327
10328 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10329
10330 * dlfcn/modstatic5.c: New file.
10331 * dlfcn/tststatic5.c: New file.
10332 * dlfcn/Makefile (tests): Add tststatic5.
10333 (tests-static): Likewise.
10334 (modules-names): Add modstatic5.
10335 (tststatic5-ENV): New variable.
10336 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10337
10338 [BZ #15022]
10339 * elf/dl-support.c (_dl_main_map): New variable.
10340 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10341 (_dl_nns, _dl_load_adds): Set to 1.
10342 (_dl_initial_searchlist): Refer to _dl_main_map.
10343 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10344 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10345 call to _dl_get_origin.
10346 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10347 around call_map.
10348 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10349 * dlfcn/modstatic3.c: New file.
10350 * dlfcn/tststatic3.c: New file.
10351 * dlfcn/tststatic4.c: New file.
10352 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10353 (tests-static): Likewise.
10354 (modules-names): Add modstatic3.
10355 (tststatic3-ENV, tststatic4-ENV): New variables.
10356 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10357 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10358
10359 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10360
10361 * configure.in (CC): Require GCC version 4.4 or later.
10362 * configure: Regenerated.
10363 * manual/install.texi (Tools for Compilation): Update GCC version
10364 requirement.
10365 * INSTALL: Regenerated.
10366
10367 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10368
10369 [BZ #15674]
10370 * string/test-memcmp.c (check2): New.
10371 (main): Call check2.
10372
10373 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10374
10375 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10376
10377 [BZ #15022]
10378 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10379 over to...
10380 (dl_open_worker) [!SHARED]: ... here.
10381
10382 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10383
10384 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10385
10386 2013-06-25 Richard Henderson <rth@redhat.com>
10387
10388 * locale/programs/locarchive.c: Include <libc-internal.h>
10389
10390 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10391
10392 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10393 trailing whitespace removed.
10394
10395 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10396
10397 [BZ #10283]
10398 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10399 * locale/programs/locarchive.c: Include libc-mmap.h.
10400 (prepare_address_space): Take two new outputs (the mmap base and len).
10401 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10402 values.
10403 (create_archive): Declare new mmap base and len values for
10404 prepare_address_space, and store the result in ah.
10405 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10406 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10407 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10408 Declare new mmap base and len values for
10409 prepare_address_space, and store the result in new_ah.
10410 (open_archive): Declare new mmap base and len values for
10411 prepare_address_space, and store the result in ah.
10412 (close_archive): If ah->mmap_base is not NULL, use that and
10413 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10414 * sysdeps/generic/libc-mmap.h: New file.
10415
10416 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10417
10418 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10419 (ALIGN_UP): Likewise.
10420 (PTR_ALIGN_DOWN): Likewise.
10421 (PTR_ALIGN_UP): Likewise.
10422
10423 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10424
10425 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10426 entry mapped to PPC_PLATFORM_POWER8.
10427 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10428 POWER8.
10429 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10430 (_dl_string_platform): Add case for exporting platform position for
10431 POWER8.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10433 search path to sysdeps/powerpc/powerpc32/power8 directory.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10435 search path to sysdeps/powerpc/powerpc64/power8 directory.
10436 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10437 power7 directories.
10438 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10439 power7 directories.
10440
10441 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10442
10443 * INSTALL: Regenerate.
10444
10445 * nscd/connections.c (nscd_init): Fix comment.
10446
10447 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10448
10449 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10450
10451 [BZ #15667]
10452 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10453 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10454
10455 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10456
10457 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10458 DL_DST_REQ_STATIC.
10459 (DL_DST_REQ_STATIC): Remove macro.
10460
10461 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10462
10463 [BZ #7006]
10464 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10465 with a shift of 0 bits.
10466
10467 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10468
10469 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10470 $(tststatic-ENV).
10471
10472 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10473
10474 [BZ #15655]
10475 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10476
10477 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10478
10479 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10480 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10481 accepts -fno-tree-loop-distribute-patterns.
10482 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10483 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10484 recursive call.
10485 * string/memset.c (memset): Likewise.
10486 * string/test-memmove.c (simple_memmove): Disable loop transformation
10487 to library calls.
10488 * string/test-memset.c (simple_memset): Likewise.
10489 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10490 * benchtests/bench-memset.c (simple_memset): Likewise.
10491 * configure: Regenerated.
10492
10493 2013-06-20 Joseph Myers <joseph@codesourcery.com>
10494
10495 * math/test-misc.c (main): Ignore fesetround failure when failures
10496 of subsequent rounding tests would be ignored.
10497
10498 [BZ #15654]
10499 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10500 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10501 * math/fegetenv.c (__fegetenv): Return 0.
10502 * math/fegetexcept.c (fegetexcept): Return 0.
10503 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10504 FE_TONEAREST.
10505 * math/feholdexcpt.c (feholdexcept): Return 0.
10506 * math/fesetenv.c (__fesetenv): Return 0.
10507 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10508 argument FE_TONEAREST.
10509 * math/feupdateenv.c (__feupdateenv): Return 0.
10510 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10511
10512 2013-06-18 Roland McGrath <roland@hack.frob.com>
10513
10514 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10515 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10516 ($(objpfx)rtld-%.os rules): Use them.
10517
10518 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10519
10520 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10521 fields.
10522
10523 2013-06-17 Roland McGrath <roland@hack.frob.com>
10524
10525 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10526 length of target pattern, then descending length of dependency pattern.
10527 * configure.in (AWK): Require gawk 3.1.2 or newer.
10528 * manual/install.texi (Tools for Compilation): Say that we do.
10529 * configure: Regenerated.
10530
10531 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10532 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10533 * scripts/sysd-rules.awk: ... this new script.
10534 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10535 than a glob-style pattern.
10536
10537 2013-06-17 Joseph Myers <joseph@codesourcery.com>
10538
10539 * math/test-misc.c (main): Do not treat incorrectly rounded
10540 conversions as failure unless ROUNDING_TESTS passes.
10541
10542 2013-06-15 Joseph Myers <joseph@codesourcery.com>
10543
10544 [BZ #15631]
10545 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10546 restore exception state around main square root computation, then
10547 check for inexactness explicitly.
10548
10549 * math/libm-test.inc (fma_test_data): Add another test.
10550
10551 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10552
10553 * manual/threads.texi (Non-POSIX Extensions): New document
10554 node. Document pthread_getattr_default_np and
10555 pthread_setattr_default_np.
10556
10557 * Versions.def (libpthread): Add GLIBC_2.18.
10558 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10560 Likewise.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10562 Likewise.
10563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10564 Likewise.
10565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10566 Likewise.
10567 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10568 Likewise.
10569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10570 Likewise.
10571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10572 Likewise.
10573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10574 Likewise.
10575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10576 Likewise.
10577
10578 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10579
10580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10581 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10582
10583 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10584 H.J. Lu <hjl.tools@gmail.com>
10585
10586 [BZ #15627]
10587 * sysdeps/x86_64/rtld-memset.c: Remove file.
10588 * sysdeps/x86_64/rtld-memset.S: New file.
10589
10590 2013-06-14 Joseph Myers <joseph@codesourcery.com>
10591
10592 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10593 (test_in_one_mode): Take arguments for whether the rounding mode
10594 is supported for each floating-point type.
10595 (do_test): Pass new arguments to test_in_one_mode using
10596 ROUNDING_TESTS.
10597
10598 2013-06-13 Roland McGrath <roland@hack.frob.com>
10599
10600 * posix/tst-waitid.c (do_test): Distinguish different instances of
10601 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10602 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10603 before entering the kernel for waitpid.
10604
10605 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10606
10607 * NEWS: Fix note on clock function precision. Text by Roland
10608 McGrath.
10609
10610 2013-06-13 Roland McGrath <roland@hack.frob.com>
10611
10612 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10613 it into place only when and if the sanity check passes.
10614
10615 2013-06-13 Joseph Myers <joseph@codesourcery.com>
10616
10617 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10618 output for whether conversion result is exact. Take argument
10619 indicating whether type is IBM long double.
10620 (round_for_all): Change need_exact field to ibm_ld.
10621 * stdlib/tst-strtod-round.c (struct exactness): New type.
10622 (struct test): Change bool ld_ok field to struct exactness exact.
10623 (TEST): Update all definitions for change to field.
10624 (tests): Regenerate array contents.
10625 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10626 field value. Check for IBM long double here.
10627 (do_test): Update calls to test_in_one_mode.
10628
10629 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10630
10631 [BZ #12515]
10632 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10633 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10634
10635 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10636
10637 [BZ #15605]
10638 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10639 generated by the compiler on loop optimizations.
10640 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10641 general definitions.
10642
10643 2013-06-12 Joseph Myers <joseph@codesourcery.com>
10644
10645 * math/bug-nextafter.c: Include <math-tests.h>.
10646 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10647 the relevant type.
10648 * math/bug-nexttoward.c: Include <math-tests.h>.
10649 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10650 the relevant type.
10651 * math/test-misc.c: Include <math-tests.h>.
10652 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10653 the relevant type.
10654
10655 2013-06-12 Andreas Jaeger <aj@suse.de>
10656
10657 * po/ia.po: Update Interlingua translation from translation
10658 project.
10659
10660 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10661
10662 * include/fenv.h: Include stdbool.h.
10663 (struct rm_ctx): New structure.
10664 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10665 Define macro.
10666 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10667 (SET_RESTORE_ROUNDF): Likewise.
10668 (SET_RESTORE_ROUNDL): Likewise.
10669 (SET_RESTORE_ROUND_NOEX): Likewise.
10670 (SET_RESTORE_ROUND_NOEXF): Likewise.
10671 (SET_RESTORE_ROUND_NOEXL): Likewise.
10672 (SET_RESTORE_ROUND_53BIT): Likewise.
10673 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10674 (libc_feresetround_noexf_ctx): Likewise.
10675 (libc_feresetround_noexl_ctx): Likewise.
10676 (libc_feholdsetround_53bit_ctx): Likewise.
10677 (libc_feresetround_53bit_ctx): Likewise.
10678 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10679 (libc_feholdexcept_setround_sse_ctx): New function.
10680 (libc_fesetenv_sse_ctx): Likewise.
10681 (libc_feupdateenv_sse_ctx): Likewise.
10682 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10683 (libc_feholdexcept_setround_387_ctx): Likewise.
10684 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10685 (libc_feholdsetround_387_prec_ctx): Likewise.
10686 (libc_feholdsetround_387_ctx): Likewise.
10687 (libc_feholdsetround_387_53bit_ctx): Likewise.
10688 (libc_feholdsetround_sse_ctx): Likewise.
10689 (libc_feresetround_sse_ctx): Likewise.
10690 (libc_feresetround_387_ctx): Likewise.
10691 (libc_feupdateenv_387_ctx): Likewise.
10692 (libc_feholdexcept_setroundf_ctx): Define macro.
10693 (libc_fesetenvf_ctx): Likewise.
10694 (libc_feupdateenvf_ctx): Likewise.
10695 (libc_feholdsetroundf_ctx): Likewise.
10696 (libc_feresetroundf_ctx): Likewise.
10697 (libc_feholdexcept_setround_ctx): Likewise.
10698 (libc_fesetenv_ctx): Likewise.
10699 (libc_feupdateenv_ctx): Likewise.
10700 (libc_feholdsetround_ctx): Likewise.
10701 (libc_feresetround_ctx): Likewise.
10702 (libc_feholdexcept_setroundl_ctx): Likewise.
10703 (libc_feupdateenvl_ctx): Likewise.
10704 (libc_feholdsetroundl_ctx): Likewise.
10705 (libc_feresetroundl_ctx): Likewise.
10706 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10707 (libc_feresetround_53bit_ctx): Likewise.
10708
10709 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10710
10711 * locale/iso-639.def: Convert to UTF-8.
10712
10713 2013-06-11 Joseph Myers <joseph@codesourcery.com>
10714
10715 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10716 (EXCEPTION_TESTS_double): Likewise.
10717 (EXCEPTION_TESTS_long_double): Likewise.
10718 (EXCEPTION_TESTS): Likewise.
10719 * math/libm-test.inc (test_exceptions): Only test exceptions if
10720 EXCEPTION_TESTS (FLOAT).
10721
10722 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10723
10724 * benchtests/Makefile (string-bench): Add strcpy_chk and
10725 stpcpy_chk.
10726 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10727 * benchtests/bench-stpcpy_chk.c: New file.
10728 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10729 * benchtests/bench-strcpy_chk.c: New file.
10730 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10731 code.
10732 (do_test): Likewise.
10733
10734 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10735
10736 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10737 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10738 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10739 with tabs where appropriate.
10740 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10741 dl-procinfo.h.
10742 [PPC_PLATFORM_PPC440]: Likewise.
10743 [PPC_PLATFORM_PPC464]: Likewise.
10744 [PPC_PLATFORM_PPC476]: Likewise.
10745 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10746 ppc464, and ppc476 platform strings merging from ports/
10747 dl-procinfo.h.
10748
10749 2013-06-11 Andreas Schwab <schwab@suse.de>
10750
10751 [BZ #14991]
10752 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10753 (from_ucs4_idx): Regenerate.
10754 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10755 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10756 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10757 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10758 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10759 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10760 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10761 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10762 from FROM_LOOP and TO_LOOP specific macros.
10763 (BODY): Handle combining characters.
10764 * iconvdata/BIG5HKSCS.irreversible: Update.
10765 * iconvdata/BIG5HKSCS.precomposed: New file.
10766 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10767 characters.
10768 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10769
10770 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10771
10772 * include/sys/time.h: Fix indentation and add copyright header.
10773
10774 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10775 (do_test): Likewise.
10776 * string/test-memchr.c (do_one_test): Likewise.
10777 (do_test): Likewise.
10778 * string/test-memcmp.c (do_one_test): Likewise.
10779 (do_test): Likewise.
10780 * string/test-memcpy.c (do_one_test): Likewise.
10781 (do_test): Likewise.
10782 * string/test-memmem.c (do_one_test): Likewise.
10783 (do_test): Likewise.
10784 (do_random_tests): Likewise.
10785 * string/test-memmove.c (do_one_test): Likewise.
10786 (do_test): Likewise.
10787 * string/test-memset.c (do_one_test): Likewise.
10788 (do_test): Likewise.
10789 * string/test-rawmemchr.c (do_one_test): Likewise.
10790 (do_test): Likewise.
10791 * string/test-strcasecmp.c (do_one_test): Likewise.
10792 (do_test): Likewise.
10793 * string/test-strcasestr.c (do_one_test): Likewise.
10794 (do_test): Likewise.
10795 * string/test-strcat.c (do_one_test): Likewise.
10796 (do_test): Likewise.
10797 * string/test-strchr.c (do_one_test): Likewise.
10798 (do_test): Likewise.
10799 * string/test-strcmp.c (do_one_test): Likewise.
10800 (do_test): Likewise.
10801 * string/test-strcpy.c (do_one_test): Likewise.
10802 (do_test): Likewise.
10803 * string/test-string.h: Likewise.
10804 (test_init): Likewise.
10805 * string/test-strlen.c (do_one_test): Likewise.
10806 (do_test): Likewise.
10807 * string/test-strncasecmp.c (do_one_test): Likewise.
10808 (do_test): Likewise.
10809 * string/test-strncat.c (do_one_test): Likewise.
10810 (do_test): Likewise.
10811 * string/test-strncmp.c (do_one_test): Likewise.
10812 (do_test_limit): Likewise.
10813 (do_test): Likewise.
10814 * string/test-strncpy.c (do_one_test): Likewise.
10815 (do_test): Likewise.
10816 * string/test-strnlen.c (do_one_test): Likewise.
10817 (do_test): Likewise.
10818 * string/test-strpbrk.c (do_one_test): Likewise.
10819 (do_test): Likewise.
10820 * string/test-strrchr.c (do_one_test): Likewise.
10821 (do_test): Likewise.
10822 * string/test-strspn.c (do_one_test): Likewise.
10823 (do_test): Likewise.
10824 * string/test-strstr.c (do_one_test): Likewise.
10825 (do_test): Likewise.
10826
10827 * benchtests/Makefile (string-bench): Add string benchmarks.
10828 * benchtests/bench-bcopy-ifunc.c: New file.
10829 * benchtests/bench-bcopy.c: New file.
10830 * benchtests/bench-bzero-ifunc.c: New file.
10831 * benchtests/bench-bzero.c: New file.
10832 * benchtests/bench-memccpy-ifunc.c: New file.
10833 * benchtests/bench-memccpy.c: New file.
10834 * benchtests/bench-memchr-ifunc.c: New file.
10835 * benchtests/bench-memchr.c: New file.
10836 * benchtests/bench-memcmp-ifunc.c: New file.
10837 * benchtests/bench-memcmp.c: New file.
10838 * benchtests/bench-memmem-ifunc.c: New file.
10839 * benchtests/bench-memmem.c: New file.
10840 * benchtests/bench-memmove-ifunc.c: New file.
10841 * benchtests/bench-memmove.c: New file.
10842 * benchtests/bench-mempcpy-ifunc.c: New file.
10843 * benchtests/bench-mempcpy.c: New file.
10844 * benchtests/bench-memset-ifunc.c: New file.
10845 * benchtests/bench-memset.c: New file.
10846 * benchtests/bench-rawmemchr-ifunc.c: New file.
10847 * benchtests/bench-rawmemchr.c: New file.
10848 * benchtests/bench-stpcpy-ifunc.c: New file.
10849 * benchtests/bench-stpcpy.c: New file.
10850 * benchtests/bench-stpncpy-ifunc.c: New file.
10851 * benchtests/bench-stpncpy.c: New file.
10852 * benchtests/bench-strcasecmp-ifunc.c: New file.
10853 * benchtests/bench-strcasecmp.c: New file.
10854 * benchtests/bench-strcasestr-ifunc.c: New file.
10855 * benchtests/bench-strcasestr.c: New file.
10856 * benchtests/bench-strcat-ifunc.c: New file.
10857 * benchtests/bench-strcat.c: New file.
10858 * benchtests/bench-strchr-ifunc.c: New file.
10859 * benchtests/bench-strchr.c: New file.
10860 * benchtests/bench-strchrnul-ifunc.c: New file.
10861 * benchtests/bench-strchrnul.c: New file.
10862 * benchtests/bench-strcmp-ifunc.c: New file.
10863 * benchtests/bench-strcmp.c: New file.
10864 * benchtests/bench-strcpy-ifunc.c: New file.
10865 * benchtests/bench-strcpy.c: New file.
10866 * benchtests/bench-strcspn-ifunc.c: New file.
10867 * benchtests/bench-strcspn.c: New file.
10868 * benchtests/bench-strlen-ifunc.c: New file.
10869 * benchtests/bench-strlen.c: New file.
10870 * benchtests/bench-strncasecmp-ifunc.c: New file.
10871 * benchtests/bench-strncasecmp.c: New file.
10872 * benchtests/bench-strncat-ifunc.c: New file.
10873 * benchtests/bench-strncat.c: New file.
10874 * benchtests/bench-strncmp-ifunc.c: New file.
10875 * benchtests/bench-strncmp.c: New file.
10876 * benchtests/bench-strncpy-ifunc.c: New file.
10877 * benchtests/bench-strncpy.c: New file.
10878 * benchtests/bench-strnlen-ifunc.c: New file.
10879 * benchtests/bench-strnlen.c: New file.
10880 * benchtests/bench-strpbrk-ifunc.c: New file.
10881 * benchtests/bench-strpbrk.c: New file.
10882 * benchtests/bench-strrchr-ifunc.c: New file.
10883 * benchtests/bench-strrchr.c: New file.
10884 * benchtests/bench-strspn-ifunc.c: New file.
10885 * benchtests/bench-strspn.c: New file.
10886 * benchtests/bench-strstr-ifunc.c: New file.
10887 * benchtests/bench-strstr.c: New file.
10888
10889 * benchtests/Makefile: Disable parallel execution of targets.
10890 (string-bench): Add memcpy.
10891 (benchset): New variable to store a list of benchmark sets.
10892 (bench-func): Renamed from bench.
10893 (bench-set): New target.
10894 (bench): Depend on bench-func and bench-set.
10895 * benchtests/README: Add section on benchmark sets.
10896 * benchtests/bench-memcpy-ifunc.c: New file.
10897 * benchtests/bench-memcpy.c: New file.
10898 * benchtests/bench-string.h: New file.
10899
10900 2013-06-11 Andreas Schwab <schwab@suse.de>
10901
10902 [BZ #15577]
10903 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10904 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10905 values in the triple.
10906 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10907 terminator in the group key.
10908
10909 2013-06-11 Andreas Jaeger <aj@suse.de>
10910
10911 * po/zh_TW.po: Update Chinese (traditional) translation from
10912 translation project.
10913
10914 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10915
10916 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10917 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10918 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10919 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10920 (clock_getcpuclockid): Likewise.
10921 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10922 Add weak_alias and libc_hidden_def.
10923 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10924 * rt/clock_gettime.c (clock_gettime): Rename to
10925 __clock_gettime. Add weak_alias and libc_hidden_def.
10926 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10927 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10928 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10929 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10930 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10931 Likewise.
10932 * rt/clock_settime.c (clock_settime): Rename to
10933 __clock_settime. Add weak_alias and libc_hidden_def.
10934 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10935
10936 2013-06-10 Joseph Myers <joseph@codesourcery.com>
10937
10938 * mach/err_boot.sub: Remove trailing whitespace.
10939 * mach/err_ipc.sub: Likewise.
10940 * mach/err_mach.sub: Likewise.
10941
10942 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10943 (ROUNDING_TESTS_double): Likewise.
10944 (ROUNDING_TESTS_long_double): Likewise.
10945 (ROUNDING_TESTS): Likewise.
10946 * math/libm-test.inc: Include <math-tests.h>.
10947 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10948 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10949 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10950 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10951
10952 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10953
10954 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10955 of assigning.
10956
10957 2013-06-08 Joseph Myers <joseph@codesourcery.com>
10958
10959 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10960 otherwise empty TRANS lines.
10961 * sysdeps/gnu/errlist.c: Regenerated.
10962
10963 * catgets/gencat.c (error_print): Use (void) in function
10964 definition.
10965 * crypt/crypt_util.c (__init_des): Likewise.
10966 * crypt/speeds.c (Stop): Likewise.
10967 (main): Likewise.
10968 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10969 * inet/ruserpass.c (token): Likewise.
10970 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10971 * intl/localealias.c (extend_alias_table): Likewise.
10972 * intl/plural-exp.c (init_germanic_plural): Likewise.
10973 * libio/fcloseall.c (__fcloseall): Likewise.
10974 * libio/genops.c (_IO_flush_all): Likewise.
10975 (_IO_flush_all_linebuffered): Likewise.
10976 (_IO_cleanup): Likewise.
10977 (_IO_iter_begin): Likewise.
10978 (_IO_iter_end): Likewise.
10979 (_IO_list_lock): Likewise.
10980 (_IO_list_unlock): Likewise.
10981 (_IO_list_resetlock): Likewise.
10982 * libio/getchar.c (getchar): Likewise.
10983 * libio/getchar_u.c (getchar_unlocked): Likewise.
10984 * libio/getwchar.c (getwchar): Likewise.
10985 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10986 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10987 * login/getpt.c (__getpt): Likewise.
10988 * login/tst-utmp.c (main): Likewise.
10989 * malloc/hooks.c (__malloc_check_init): Likewise.
10990 * malloc/malloc.c (__malloc_stats): Likewise.
10991 * malloc/mtrace.c (tr_break): Likewise.
10992 (mtrace): Likewise.
10993 (muntrace): Likewise.
10994 * misc/fstab.c (endfsent): Likewise.
10995 * misc/getclktck.c (__getclktck): Likewise.
10996 * misc/getdtsz.c (__getdtablesize): Likewise.
10997 * misc/gethostid.c (gethostid): Likewise.
10998 * misc/getpagesize.c (__getpagesize): Likewise.
10999 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11000 (__get_nprocs): Likewise.
11001 (__get_phys_pages): Likewise.
11002 (__get_avphys_pages): Likewise.
11003 * misc/getttyent.c (getttyent): Likewise.
11004 (setttyent): Likewise.
11005 (endttyent): Likewise.
11006 * misc/getusershell.c (getusershell): Likewise.
11007 (endusershell): Likewise.
11008 (setusershell): Likewise.
11009 (initshells): Likewise.
11010 * misc/hsearch.c (__hdestroy): Likewise.
11011 * misc/sync.c (sync): Likewise.
11012 * misc/syslog.c (closelog_internal): Likewise.
11013 (closelog): Likewise.
11014 * misc/ttyslot.c (ttyslot): Likewise.
11015 * misc/vhangup.c (vhangup): Likewise.
11016 * posix/fork.c (__fork): Likewise.
11017 * posix/getegid.c (__getegid): Likewise.
11018 * posix/geteuid.c (__geteuid): Likewise.
11019 * posix/getgid.c (__getgid): Likewise.
11020 * posix/getpid.c (__getpid): Likewise.
11021 * posix/getppid.c (__getppid): Likewise.
11022 * posix/getuid.c (__getuid): Likewise.
11023 * posix/pause.c (pause): Likewise.
11024 * posix/setpgrp.c (setpgrp): Likewise.
11025 * posix/setsid.c (__setsid): Likewise.
11026 * posix/test-vfork.c (noop): Likewise.
11027 * resolv/gethnamaddr.c (_endhtent): Likewise.
11028 (_gethtent): Likewise.
11029 (ht_endhostent): Likewise.
11030 (gethostent): Likewise.
11031 (dns_service): Likewise.
11032 * stdlib/drand48.c (drand48): Likewise.
11033 * stdlib/lrand48.c (lrand48): Likewise.
11034 * stdlib/mrand48.c (mrand48): Likewise.
11035 * stdlib/rand.c (rand): Likewise.
11036 * stdlib/random.c (__random): Likewise.
11037 * stdlib/setenv.c (clearenv): Likewise.
11038 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11039 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11040 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11041 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11042 (__get_nprocs): Likewise.
11043 (__get_phys_pages): Likewise.
11044 (__get_avphys_pages): Likewise.
11045 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11046 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11047 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11048 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11049 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11050 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11051 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11052 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11053 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11054 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11055 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11056 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11057 * sysdeps/posix/clock.c (clock): Likewise.
11058 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11059 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11060 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11061 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11062 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11064 (__get_nprocs_conf): Likewise.
11065 (__get_phys_pages): Likewise.
11066 (__get_avphys_pages): Likewise.
11067 * time/clock.c (clock): Likewise.
11068 * time/tzset.c (__tzname_max): Likewise.
11069
11070 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11071
11072 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11073 (__bswap_32): Do not use "register".
11074 * crypt/crypt.c (_ufc_doit_r): Likewise.
11075 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11076 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11077 * gmon/gmon.c (__monstartup): Likewise.
11078 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11079 * hurd/hurdmalloc.c (more_memory): Likewise.
11080 (malloc): Likewise.
11081 (free): Likewise.
11082 (realloc): Likewise.
11083 (malloc_fork_prepare): Likewise.
11084 (malloc_fork_parent): Likewise.
11085 (malloc_fork_child): Likewise.
11086 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11087 (_svcauth_des): Likewise.
11088 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11089 * inet/inet_net.c (inet_network): Likewise.
11090 * inet/inet_netof.c (inet_netof): Likewise.
11091 * inet/rcmd.c (__validuser2_sa): Likewise.
11092 * io/fts.c (fts_open): Likewise.
11093 (fts_load): Likewise.
11094 (fts_close): Likewise.
11095 (fts_read): Likewise.
11096 (fts_children): Likewise.
11097 (fts_build): Likewise.
11098 (fts_stat): Likewise.
11099 (fts_sort): Likewise.
11100 (fts_alloc): Likewise.
11101 (fts_lfree): Likewise.
11102 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11103 (_IO_file_xsgetn): Likewise.
11104 (_IO_file_xsgetn_mmap): Likewise.
11105 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11106 (_IO_cookie_write): Likewise.
11107 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11108 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11109 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11110 * malloc/obstack.c (_obstack_begin): Likewise.
11111 (_obstack_begin_1): Likewise.
11112 (_obstack_newchunk): Likewise.
11113 (_obstack_allocated_p): Likewise.
11114 (obstack_free): Likewise.
11115 (_obstack_memory_used): Likewise.
11116 * misc/getttyent.c (getttynam): Likewise.
11117 (getttyent): Likewise.
11118 (skip): Likewise.
11119 (value): Likewise.
11120 * misc/getusershell.c (initshells): Likewise.
11121 * misc/syslog.c (__vsyslog_chk): Likewise.
11122 * misc/ttyslot.c (ttyslot): Likewise.
11123 * nis/nis_hash.c (__nis_hash): Likewise.
11124 * posix/fnmatch_loop.c (FCT): Likewise.
11125 * posix/getconf.c (print_all): Likewise.
11126 (main): Likewise.
11127 * posix/getopt.c (exchange): Likewise.
11128 * posix/glob.c (globfree): Likewise.
11129 (prefix_array): Likewise.
11130 (__glob_pattern_type): Likewise.
11131 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11132 (NS_GET32): Likewise.
11133 (NS_PUT16): Likewise.
11134 (NS_PUT32): Likewise.
11135 * resolv/gethnamaddr.c (getanswer): Likewise.
11136 (gethostbyname2): Likewise.
11137 (gethostbyaddr): Likewise.
11138 (_gethtent): Likewise.
11139 (_gethtbyname2): Likewise.
11140 (_gethtbyaddr): Likewise.
11141 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11142 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11143 * resolv/res_init.c (__res_vinit): Likewise.
11144 (net_mask): Likewise.
11145 * resolv/res_mkquery.c (outchar): Likewise.
11146 (PRINT): Likewise.
11147 * stdio-common/printf_fp.c (outchar): Likewise.
11148 (PRINT): Likewise.
11149 * stdio-common/printf_fphex.c (outchar): Likewise.
11150 (PRINT): Likewise.
11151 * stdio-common/printf_size.c (outchar): Likewise.
11152 (PRINT): Likewise.
11153 * stdio-common/test_rdwr.c (main): Likewise.
11154 * stdio-common/tfformat.c (matches): Likewise.
11155 * stdio-common/vfprintf.c (outchar): Likewise.
11156 (printf_unknown): Likewise.
11157 (buffered_vfprintf): Likewise.
11158 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11159 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11160 (ReadFile): Likewise.
11161 * stdlib/qsort.c (SWAP): Likewise.
11162 (_quicksort): Likewise.
11163 * stdlib/setenv.c (__add_to_environ): Likewise.
11164 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11165 * stdlib/strtol_l.c (__strtol_l): Likewise.
11166 * stdlib/tst-strtod.c (main): Likewise.
11167 * stdlib/tst-strtol.c (main): Likewise.
11168 * stdlib/tst-strtoll.c (main): Likewise.
11169 * string/bits/string2.h (__strcmp_cc): Likewise.
11170 (__strcmp_cg): Likewise.
11171 (__strcspn_c1): Likewise.
11172 (__strcspn_c2): Likewise.
11173 (__strcspn_c3): Likewise.
11174 (__strspn_c1): Likewise.
11175 (__strspn_c2): Likewise.
11176 (__strspn_c3): Likewise.
11177 (__strsep_1c): Likewise.
11178 (__strsep_2c): Likewise.
11179 (__strsep_3c): Likewise.
11180 * string/memccpy.c (__memccpy): Likewise.
11181 * string/stpcpy.c (__stpcpy): Likewise.
11182 * string/strcmp.c (strcmp): Likewise.
11183 * string/strrchr.c (strrchr): Likewise.
11184 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11185 Likewise.
11186 * sysdeps/mach/hurd/getcwd.c
11187 (_hurd_canonicalize_directory_name_internal): Likewise.
11188 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11189 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11190 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11191 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11192 Likewise, in both definitions.
11193 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11194 definitions.
11195 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11196 64] (__bswap_64): Likewise.
11197 * time/test_time.c (main): Likewise.
11198 * time/tzfile.c (__tzfile_read): Likewise.
11199 (__tzfile_compute): Likewise.
11200 * time/tzset.c (__tzset_parse_tz): Likewise.
11201 (tzset_internal): Likewise.
11202 (compute_change): Likewise.
11203 * wcsmbs/wcscat.c (__wcscat): Likewise.
11204 * wcsmbs/wcschr.c (wcschr): Likewise.
11205 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11206 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11207 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11208 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11209 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11210 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11211 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11212 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11213 * wcsmbs/wmemset.c (wmemset): Likewise.
11214
11215 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11216
11217 * scripts/config.guess: Update to version 2013-05-16.
11218 * scripts/config.sub: Update to version 2013-04-24.
11219 * scripts/install-sh: Update to version 2011-11-20.07.
11220 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11221 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11222
11223 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11224
11225 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11226 * elf/sln.c: Likewise.
11227 * hurd/hurd/ioctl.h: Likewise.
11228 * hurd/hurdmalloc.c: Likewise.
11229 * hurd/xattr.c: Likewise.
11230 * include/shlib-compat.h: Likewise.
11231 * inet/ruserpass.c: Likewise.
11232 * libio/iofgets_u.c: Likewise.
11233 * libio/iofgetws_u.c: Likewise.
11234 * locale/programs/ld-identification.c: Likewise.
11235 * locale/programs/ld-time.c: Likewise.
11236 * mach/msg-destroy.c: Likewise.
11237 * nss/nss_files/files-netgrp.c: Likewise.
11238 * resolv/res_data.c: Likewise.
11239 * soft-fp/op-1.h: Likewise.
11240 * soft-fp/op-2.h: Likewise.
11241 * soft-fp/op-4.h: Likewise.
11242 * soft-fp/op-common.h: Likewise.
11243 * stdio-common/printf_fphex.c: Likewise.
11244 * stdlib/strtod_l.c: Likewise.
11245 * sunrpc/rpc/clnt.h: Likewise.
11246 * sysdeps/generic/framestate.c: Likewise.
11247 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11248 * sysdeps/i386/bsd-setjmp.S: Likewise.
11249 * sysdeps/i386/__longjmp.S: Likewise.
11250 * sysdeps/i386/setjmp.S: Likewise.
11251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11252 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11253 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11269 * sysdeps/ieee754/support.c: Likewise.
11270 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11271 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11272 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11273 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11274 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11275 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11276 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11277 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11278 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11279 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11280 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11281 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11282 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11283 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11284 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11285 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11286 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11288
11289 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11290
11291 * posix/transbug.c: Remove executable mode.
11292
11293 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11294
11295 * crypt/speeds.c: Remove trailing whitespace.
11296 * dlfcn/default.c: Likewise.
11297 * elf/ifuncdep2.c: Likewise.
11298 * elf/ifuncmain1.c: Likewise.
11299 * elf/ifuncmain1vis.c: Likewise.
11300 * elf/testobj.h: Likewise.
11301 * elf/tst-stackguard1.c: Likewise.
11302 * gmon/sys/gmon.h: Likewise.
11303 * hurd/hurdmsg.c: Likewise.
11304 * hurd/new-fd.c: Likewise.
11305 * hurd/ports-get.c: Likewise.
11306 * iconvdata/ibm1008_420.c: Likewise.
11307 * inet/tst-getni1.c: Likewise.
11308 * inet/tst-getni2.c: Likewise.
11309 * libio/ioungetc.c: Likewise.
11310 * libio/wfiledoalloc.c: Likewise.
11311 * manual/libm-err-tab.pl: Likewise.
11312 * math/w_dremf.c: Likewise.
11313 * misc/ftruncate.c: Likewise.
11314 * posix/bug-glob2.c: Likewise.
11315 * posix/tst-pcre.c: Likewise.
11316 * posix/wait4.c: Likewise.
11317 * resolv/README: Likewise.
11318 * resolv/res_debug.h: Likewise.
11319 * resolv/tst-inet_ntop.c: Likewise.
11320 * setjmp/bug269-setjmp.c: Likewise.
11321 * soft-fp/extended.h: Likewise.
11322 * soft-fp/op-1.h: Likewise.
11323 * soft-fp/op-2.h: Likewise.
11324 * soft-fp/op-4.h: Likewise.
11325 * soft-fp/op-8.h: Likewise.
11326 * soft-fp/testit.c: Likewise.
11327 * stdio-common/bug16.c: Likewise.
11328 * stdlib/random.c: Likewise.
11329 * sunrpc/rpcsvc/rquota.x: Likewise.
11330 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11331 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11332 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11333 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11334 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11335 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11336 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11337 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11338 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11340 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11359 * sysdeps/ieee754/s_lib_version.c: Likewise.
11360 * sysdeps/mach/hurd/check_fds.c: Likewise.
11361 * sysdeps/mach/hurd/getsockname.c: Likewise.
11362 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11363 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11364 * sysdeps/powerpc/bits/link.h: Likewise.
11365 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11366 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11367 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11368 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11369 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11370 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11371 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11372 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11373 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11374 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11375 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11379 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11380 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11381 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11382 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11383 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11384 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11385 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11386 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11387 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11388 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11389 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11390 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11397 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11399 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11400 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11401 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11402 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11403 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11404 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11405 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11406 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11407 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11408 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11409 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11410 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11413 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11416 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11417 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11422 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11423 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11424 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11425 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11426 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11427 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11429 * sysdeps/powerpc/sysdep.h: Likewise.
11430 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11431 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11432 * sysdeps/sh/dl-trampoline.S: Likewise.
11433 * sysdeps/sh/memset.S: Likewise.
11434 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11435 * sysdeps/sh/strlen.S: Likewise.
11436 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11437 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11438 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11439 * sysdeps/sparc/sparc32/rem.S: Likewise.
11440 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11441 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11442 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11443 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11444 * sysdeps/sparc/sparc32/urem.S: Likewise.
11445 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11446 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11447 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11448 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11450 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11451 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11452 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11453 * sysdeps/unix/bsd/times.c: Likewise.
11454 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11455 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11459 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11460 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11461 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11463 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11465 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11466 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11467 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11468 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11469 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11470 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11471 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11472 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11473 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11474 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11475 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11476 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11477 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11478 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11479 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11480 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11482 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11483 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11484 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11485 * sysdeps/x86_64/strcspn.S: Likewise.
11486
11487 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11488
11489 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11490 generated file. Regenerate properly from gen-translit.pl.
11491 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11492 locale/C-translit.h.
11493
11494 2013-06-05 Andreas Schwab <schwab@suse.de>
11495
11496 [BZ #15100]
11497 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11498 week as 6 instead of -1.
11499 * time/tst-strptime.c (day_tests): Add test case.
11500
11501 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11502
11503 * sysdeps/generic/math_private.h
11504 (libc_feholdexcept_setround_53bit): Replace with
11505 libc_feholdsetround_53bit.
11506 (libc_feupdateenv_53bit): Replace with
11507 libc_feresetround_53bit.
11508 (SET_RESTORE_ROUND_53BIT): Adjust.
11509
11510 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11511
11512 * string/test-strchrnul.c: Add copyright header.
11513
11514 * posix/tst-getaddrinfo4.c: Increase test timeout.
11515
11516 2013-06-03 Carlos O'Donell <carlos@redhat.com>
11517
11518 [BZ #15536]
11519 * math/libm-test.inc (MAX_EXP): Remove
11520 (MIN_EXP): Define.
11521 (ulp): Use MIN_EXP - MANT_DIG.
11522 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11523
11524 2013-05-31 Carlos O'Donell <carlos@redhat.com>
11525
11526 * po/be.po: Revert last change.
11527 * po/zh_CN.po: Likewise.
11528 * po/header.pot: Likewise.
11529
11530 2013-05-31 Joseph Myers <joseph@codesourcery.com>
11531
11532 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11533 link-libc-deps to empty as target-specific variable.
11534 * Makerules (link-libc-args): New variable.
11535 (libc-for-link): Likewise.
11536 (link-libc-deps): Likewise.
11537 (lib%.so): Depend on $(link-libc-deps). Link with
11538 $(link-libc-args).
11539 (build-module): Link with $(link-libc-args).
11540 (build-module-asneeded): Likewise.
11541 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11542 list of objects.
11543 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11544 target-specific variable.
11545 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11546 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11547 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11548 libc.
11549 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11550 libc and ld.so.
11551 ($(objpfx)libpcprofile.so): Likewise.
11552 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11553 libc_nonshared.a.
11554 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11555 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11556 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11557 $(link-libc-deps).
11558 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11559 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11560 * login/Makefile ($(objpfx)libutil.so): Likewise.
11561 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11562 * math/Makefile ($(objpfx)libm.so): Likewise.
11563 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11564 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11565 variable instead of depending directly on libc.
11566 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11567 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11568 $(link-libc-deps).
11569 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11570 libc.
11571 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11572 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11573 ($(objpfx)libanl.so): Likewise.
11574 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11575 ld.so.
11576 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11577 $(link-libc-deps).
11578 * sysdeps/i386/fpu/Makefile: Remove file.
11579 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11580 ($(objpfx)libm.so): Remove dependency on ld.so.
11581
11582 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
11583
11584 [BZ # 15553]
11585 * nis/yp_xdr.c (XDRMAXNAME): Define.
11586 (XDRMAXRECORD): Define.
11587 (xdr_domainname): Use XDRMAXNAME.
11588 (xdr_mapname): Likewise.
11589 (xdr_peername): Likewise.
11590 (xdr_keydat): Use XDRMAXRECORD.
11591 (xdr_valdat): Likewise.
11592
11593 2013-05-30 Jeff Law <law@redhat.com>
11594
11595 [BZ #14256]
11596 * manual/errno.texi (ESTALE): Update to account for more than
11597 just NFS file systems.
11598 * sysdeps/gnu/errlist.c: Regenerated.
11599
11600 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
11602 [BZ #15465]
11603 * elf/Makefile (tests): Add tst-null-argv.
11604 (modules-names): Add tst-null-argv-lib.
11605 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11606 (tst-null-argv-ENV): Set environment for tst-null-argv.
11607 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11608 (RTLD_PROGNAME): New macro.
11609 * elf/tst-null-argv.c: New test case.
11610 * elf/tst-null-argv-lib.c: Library for test case.
11611 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11612 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11613 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11614 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11615 * elf/dl-init.c (call_init): Likewise.
11616 (_dl_init): Likewise.
11617 * elf/dl-load.c (print_search_path): Likewise.
11618 (_dl_map_object): Likewise.
11619 * elf/dl-lookup.c (do_lookup_x): Likewise.
11620 (add_dependency): Likewise.
11621 (_dl_lookup_symbol_x): Likewise.
11622 (_dl_debug_bindings): Likewise.
11623 * elf/dl-open.c (_dl_show_scope): Likewise.
11624 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11625 * elf/dl-version.c (match_symbol): Likewise.
11626 (_dl_check_map_versions): Likewise.
11627 * elf/rtld.c (dl_main): Likewise.
11628 (print_unresolved): Use RTLD_PROGNAME.
11629 (print_missing_version): Likewise.
11630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11631 (elf_machine_rela): Likewise.
11632 * sysdeps/powerpc/powerpc32/dl-machine.c
11633 (__process_machine_rela): Likewise.
11634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11635 Likewise.
11636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11637 Likewise.
11638 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11639 Likewise.
11640 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11642 Likewise.
11643 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11644 Likewise.
11645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11646
11647 2013-05-28 Carlos O'Donell <carlos@redhat.com>
11648
11649 * po/be.po: Add descriptive title.
11650 * po/zh_CN.po: Likewise.
11651 * po/header.pot: Likewise.
11652
11653 2013-05-28 Mike Frysinger <vapier@gentoo.org>
11654
11655 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11656 error message.
11657 (enlarge_archive): Likewise.
11658
11659 2013-05-28 Ben North <ben@redfrontdoor.org>
11660
11661 * manual/arith.texi (frexp): It is the magnitude of the return
11662 value which lies in [0.5, 1), not the return value itself.
11663
11664 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11665
11666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11667
11668 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11669
11670 * stdio-common/bug26.c (main): Correct fscanf template.
11671
11672 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11673 declare _dl_skip_args.
11674
11675 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11676 Don't declare.
11677
11678 * manual/platform.texi: Add missing @end deftypefun.
11679
11680 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11681
11682 [BZ #15529]
11683 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11684 bit of mantissa of 2^16382.
11685 * math/libm-test.inc (hypot_test_data): Add more tests.
11686
11687 * math/libm-test.inc: Add drem and pow10 to list of tested
11688 functions.
11689 (pow10_test): New function.
11690 (drem_test): Likewise.
11691 (drem_test_tonearest): Likewise.
11692 (drem_test_towardzero): Likewise.
11693 (drem_test_downward): Likewise.
11694 (drem_test_upward): Likewise.
11695 (main): Call the new functions.
11696
11697 * math/libm-test.inc (finite_test_data): Remove.
11698 (finite_test): Run tests from isfinite_test_data.
11699 (gamma_test_data): Remove.
11700 (gamma_test): Run tests from lgamma_test_data.
11701 * sysdeps/i386/fpu/libm-test-ulps: Update.
11702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703
11704 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11705
11706 * manual/platform.texi: Add PowerPC PPR function set documentation.
11707 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11708 implementation.
11709
11710 2013-05-24 Carlos O'Donell <carlos@redhat.com>
11711
11712 * math/libm-test.inc (MAX_EXP): Define.
11713 (ULPDIFF): Define.
11714 (ulp): New function.
11715 (check_float_internal): Use ULPDIFF.
11716 (cpow_test): Disable failing test.
11717 (check_ulp): Test ulp() implemetnation.
11718 (main): Call check_ulp before starting tests.
11719
11720 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11721
11722 * math/gen-libm-test.pl (generate_testfile): Do not handle
11723 START_DATA and END_DATA.
11724 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11725 END_DATA.
11726 (acos_tonearest_test_data): Likewise.
11727 (acos_towardzero_test_data): Likewise.
11728 (acos_downward_test_data): Likewise.
11729 (acos_upward_test_data): Likewise.
11730 (acosh_test_data): Likewise.
11731 (asin_test_data): Likewise.
11732 (asin_tonearest_test_data): Likewise.
11733 (asin_towardzero_test_data): Likewise.
11734 (asin_downward_test_data): Likewise.
11735 (asin_upward_test_data): Likewise.
11736 (asinh_test_data): Likewise.
11737 (atan_test_data): Likewise.
11738 (atanh_test_data): Likewise.
11739 (atan2_test_data): Likewise.
11740 (cabs_test_data): Likewise.
11741 (cacos_test_data): Likewise.
11742 (cacosh_test_data): Likewise.
11743 (carg_test_data): Likewise.
11744 (casin_test_data): Likewise.
11745 (casinh_test_data): Likewise.
11746 (catan_test_data): Likewise.
11747 (catanh_test_data): Likewise.
11748 (cbrt_test_data): Likewise.
11749 (ccos_test_data): Likewise.
11750 (ccosh_test_data): Likewise.
11751 (ceil_test_data): Likewise.
11752 (cexp_test_data): Likewise.
11753 (cimag_test_data): Likewise.
11754 (clog_test_data): Likewise.
11755 (clog10_test_data): Likewise.
11756 (conj_test_data): Likewise.
11757 (copysign_test_data): Likewise.
11758 (cos_test_data): Likewise.
11759 (cos_tonearest_test_data): Likewise.
11760 (cos_towardzero_test_data): Likewise.
11761 (cos_downward_test_data): Likewise.
11762 (cos_upward_test_data): Likewise.
11763 (cosh_test_data): Likewise.
11764 (cosh_tonearest_test_data): Likewise.
11765 (cosh_towardzero_test_data): Likewise.
11766 (cosh_downward_test_data): Likewise.
11767 (cosh_upward_test_data): Likewise.
11768 (cpow_test_data): Likewise.
11769 (cproj_test_data): Likewise.
11770 (creal_test_data): Likewise.
11771 (csin_test_data): Likewise.
11772 (csinh_test_data): Likewise.
11773 (csqrt_test_data): Likewise.
11774 (ctan_test_data): Likewise.
11775 (ctan_tonearest_test_data): Likewise.
11776 (ctan_towardzero_test_data): Likewise.
11777 (ctan_downward_test_data): Likewise.
11778 (ctan_upward_test_data): Likewise.
11779 (ctanh_test_data): Likewise.
11780 (ctanh_tonearest_test_data): Likewise.
11781 (ctanh_towardzero_test_data): Likewise.
11782 (ctanh_downward_test_data): Likewise.
11783 (ctanh_upward_test_data): Likewise.
11784 (erf_test_data): Likewise.
11785 (erfc_test_data): Likewise.
11786 (exp_test_data): Likewise.
11787 (exp_tonearest_test_data): Likewise.
11788 (exp_towardzero_test_data): Likewise.
11789 (exp_downward_test_data): Likewise.
11790 (exp_upward_test_data): Likewise.
11791 (exp10_test_data): Likewise.
11792 (exp2_test_data): Likewise.
11793 (expm1_test_data): Likewise.
11794 (fabs_test_data): Likewise.
11795 (fdim_test_data): Likewise.
11796 (finite_test_data): Likewise.
11797 (floor_test_data): Likewise.
11798 (fma_test_data): Likewise.
11799 (fma_towardzero_test_data): Likewise.
11800 (fma_downward_test_data): Likewise.
11801 (fma_upward_test_data): Likewise.
11802 (fmax_test_data): Likewise.
11803 (fmin_test_data): Likewise.
11804 (fmod_test_data): Likewise.
11805 (fpclassify_test_data): Likewise.
11806 (frexp_test_data): Likewise.
11807 (gamma_test_data): Likewise.
11808 (hypot_test_data): Likewise.
11809 (ilogb_test_data): Likewise.
11810 (isfinite_test_data): Likewise.
11811 (isgreater_test_data): Likewise.
11812 (isgreaterequal_test_data): Likewise.
11813 (isinf_test_data): Likewise.
11814 (isless_test_data): Likewise.
11815 (islessequal_test_data): Likewise.
11816 (islessgreater_test_data): Likewise.
11817 (isnan_test_data): Likewise.
11818 (isnormal_test_data): Likewise.
11819 (issignaling_test_data): Likewise.
11820 (isunordered_test_data): Likewise.
11821 (j0_test_data): Likewise.
11822 (j1_test_data): Likewise.
11823 (jn_test_data): Likewise.
11824 (ldexp_test_data): Likewise.
11825 (lgamma_test_data): Likewise.
11826 (lrint_test_data): Likewise.
11827 (lrint_tonearest_test_data): Likewise.
11828 (lrint_towardzero_test_data): Likewise.
11829 (lrint_downward_test_data): Likewise.
11830 (lrint_upward_test_data): Likewise.
11831 (llrint_test_data): Likewise.
11832 (llrint_tonearest_test_data): Likewise.
11833 (llrint_towardzero_test_data): Likewise.
11834 (llrint_downward_test_data): Likewise.
11835 (llrint_upward_test_data): Likewise.
11836 (log_test_data): Likewise.
11837 (log10_test_data): Likewise.
11838 (log1p_test_data): Likewise.
11839 (log2_test_data): Likewise.
11840 (logb_test_data): Likewise.
11841 (logb_downward_test_data): Likewise.
11842 (lround_test_data): Likewise.
11843 (llround_test_data): Likewise.
11844 (modf_test_data): Likewise.
11845 (nearbyint_test_data): Likewise.
11846 (nextafter_test_data): Likewise.
11847 (nexttoward_test_data): Likewise.
11848 (pow_test_data): Likewise.
11849 (pow_tonearest_test_data): Likewise.
11850 (pow_towardzero_test_data): Likewise.
11851 (pow_downward_test_data): Likewise.
11852 (pow_upward_test_data): Likewise.
11853 (remainder_test_data): Likewise.
11854 (remainder_tonearest_test_data): Likewise.
11855 (remainder_towardzero_test_data): Likewise.
11856 (remainder_downward_test_data): Likewise.
11857 (remainder_upward_test_data): Likewise.
11858 (remquo_test_data): Likewise.
11859 (rint_test_data): Likewise.
11860 (rint_tonearest_test_data): Likewise.
11861 (rint_towardzero_test_data): Likewise.
11862 (rint_downward_test_data): Likewise.
11863 (rint_upward_test_data): Likewise.
11864 (round_test_data): Likewise.
11865 (scalb_test_data): Likewise.
11866 (scalbn_test_data): Likewise.
11867 (scalbln_test_data): Likewise.
11868 (signbit_test_data): Likewise.
11869 (sin_test_data): Likewise.
11870 (sin_tonearest_test_data): Likewise.
11871 (sin_towardzero_test_data): Likewise.
11872 (sin_downward_test_data): Likewise.
11873 (sin_upward_test_data): Likewise.
11874 (sincos_test_data): Likewise.
11875 (sinh_test_data): Likewise.
11876 (sinh_tonearest_test_data): Likewise.
11877 (sinh_towardzero_test_data): Likewise.
11878 (sinh_downward_test_data): Likewise.
11879 (sinh_upward_test_data): Likewise.
11880 (sqrt_test_data): Likewise.
11881 (tan_test_data): Likewise.
11882 (tan_tonearest_test_data): Likewise.
11883 (tan_towardzero_test_data): Likewise.
11884 (tan_downward_test_data): Likewise.
11885 (tan_upward_test_data): Likewise.
11886 (tanh_test_data): Likewise.
11887 (tgamma_test_data): Likewise.
11888 (trunc_test_data): Likewise.
11889 (y0_test_data): Likewise.
11890 (y1_test_data): Likewise.
11891 (yn_test_data): Likewise.
11892 (significand_test_data): Likewise.
11893
11894 * math/gen-libm-test.pl (@functions): Remove variable.
11895 (generate_testfile): Don't handle START and END lines.
11896 * math/libm-test.inc (START): New macro.
11897 (END): Likewise.
11898 (END_COMPLEX): Likewise.
11899 (acos_test): Use END macro without arguments.
11900 (acos_test_tonearest): Likewise.
11901 (acos_test_towardzero): Likewise.
11902 (acos_test_downward): Likewise.
11903 (acos_test_upward): Likewise.
11904 (acosh_test): Likewise.
11905 (asin_test): Likewise.
11906 (asin_test_tonearest): Likewise.
11907 (asin_test_towardzero): Likewise.
11908 (asin_test_downward): Likewise.
11909 (asin_test_upward): Likewise.
11910 (asinh_test): Likewise.
11911 (atan_test): Likewise.
11912 (atanh_test): Likewise.
11913 (atan2_test): Likewise.
11914 (cabs_test): Likewise.
11915 (cacos_test): Use END_COMPLEX macro without arguments.
11916 (cacosh_test): Likewise.
11917 (carg_test): Use END macro without arguments.
11918 (casin_test): Use END_COMPLEX macro without arguments.
11919 (casinh_test): Likewise.
11920 (catan_test): Likewise.
11921 (catanh_test): Likewise.
11922 (cbrt_test): Use END macro without arguments.
11923 (ccos_test): Use END_COMPLEX macro without arguments.
11924 (ccosh_test): Likewise.
11925 (ceil_test): Use END macro without arguments.
11926 (cexp_test): Use END_COMPLEX macro without arguments.
11927 (cimag_test): Use END macro without arguments.
11928 (clog_test): Use END_COMPLEX macro without arguments.
11929 (clog10_test): Likewise.
11930 (conj_test): Likewise.
11931 (copysign_test): Use END macro without arguments.
11932 (cos_test): Likewise.
11933 (cos_test_tonearest): Likewise.
11934 (cos_test_towardzero): Likewise.
11935 (cos_test_downward): Likewise.
11936 (cos_test_upward): Likewise.
11937 (cosh_test): Likewise.
11938 (cosh_test_tonearest): Likewise.
11939 (cosh_test_towardzero): Likewise.
11940 (cosh_test_downward): Likewise.
11941 (cosh_test_upward): Likewise.
11942 (cpow_test): Use END_COMPLEX macro without arguments.
11943 (cproj_test): Likewise.
11944 (creal_test): Use END macro without arguments.
11945 (csin_test): Use END_COMPLEX macro without arguments.
11946 (csinh_test): Likewise.
11947 (csqrt_test): Likewise.
11948 (ctan_test): Likewise.
11949 (ctan_test_tonearest): Likewise.
11950 (ctan_test_towardzero): Likewise.
11951 (ctan_test_downward): Likewise.
11952 (ctan_test_upward): Likewise.
11953 (ctanh_test): Likewise.
11954 (ctanh_test_tonearest): Likewise.
11955 (ctanh_test_towardzero): Likewise.
11956 (ctanh_test_downward): Likewise.
11957 (ctanh_test_upward): Likewise.
11958 (erf_test): Use END macro without arguments.
11959 (erfc_test): Likewise.
11960 (exp_test): Likewise.
11961 (exp_test_tonearest): Likewise.
11962 (exp_test_towardzero): Likewise.
11963 (exp_test_downward): Likewise.
11964 (exp_test_upward): Likewise.
11965 (exp10_test): Likewise.
11966 (exp2_test): Likewise.
11967 (expm1_test): Likewise.
11968 (fabs_test): Likewise.
11969 (fdim_test): Likewise.
11970 (finite_test): Likewise.
11971 (floor_test): Likewise.
11972 (fma_test): Likewise.
11973 (fma_test_towardzero): Likewise.
11974 (fma_test_downward): Likewise.
11975 (fma_test_upward): Likewise.
11976 (fmax_test): Likewise.
11977 (fmin_test): Likewise.
11978 (fmod_test): Likewise.
11979 (fpclassify_test): Likewise.
11980 (frexp_test): Likewise.
11981 (gamma_test): Likewise.
11982 (hypot_test): Likewise.
11983 (ilogb_test): Likewise.
11984 (isfinite_test): Likewise.
11985 (isgreater_test): Likewise.
11986 (isgreaterequal_test): Likewise.
11987 (isinf_test): Likewise.
11988 (isless_test): Likewise.
11989 (islessequal_test): Likewise.
11990 (islessgreater_test): Likewise.
11991 (isnan_test): Likewise.
11992 (isnormal_test): Likewise.
11993 (issignaling_test): Likewise.
11994 (isunordered_test): Likewise.
11995 (j0_test): Likewise.
11996 (j1_test): Likewise.
11997 (jn_test): Likewise.
11998 (ldexp_test): Likewise.
11999 (lgamma_test): Likewise.
12000 (lrint_test): Likewise.
12001 (lrint_test_tonearest): Likewise.
12002 (lrint_test_towardzero): Likewise.
12003 (lrint_test_downward): Likewise.
12004 (lrint_test_upward): Likewise.
12005 (llrint_test): Likewise.
12006 (llrint_test_tonearest): Likewise.
12007 (llrint_test_towardzero): Likewise.
12008 (llrint_test_downward): Likewise.
12009 (llrint_test_upward): Likewise.
12010 (log_test): Likewise.
12011 (log10_test): Likewise.
12012 (log1p_test): Likewise.
12013 (log2_test): Likewise.
12014 (logb_test): Likewise.
12015 (logb_test_downward): Likewise.
12016 (lround_test): Likewise.
12017 (llround_test): Likewise.
12018 (modf_test): Likewise.
12019 (nearbyint_test): Likewise.
12020 (nextafter_test): Likewise.
12021 (nexttoward_test): Likewise.
12022 (pow_test): Likewise.
12023 (pow_test_tonearest): Likewise.
12024 (pow_test_towardzero): Likewise.
12025 (pow_test_downward): Likewise.
12026 (pow_test_upward): Likewise.
12027 (remainder_test): Likewise.
12028 (remainder_test_tonearest): Likewise.
12029 (remainder_test_towardzero): Likewise.
12030 (remainder_test_downward): Likewise.
12031 (remainder_test_upward): Likewise.
12032 (remquo_test): Likewise.
12033 (rint_test): Likewise.
12034 (rint_test_tonearest): Likewise.
12035 (rint_test_towardzero): Likewise.
12036 (rint_test_downward): Likewise.
12037 (rint_test_upward): Likewise.
12038 (round_test): Likewise.
12039 (scalb_test): Likewise.
12040 (scalbn_test): Likewise.
12041 (scalbln_test): Likewise.
12042 (signbit_test): Likewise.
12043 (sin_test): Likewise.
12044 (sin_test_tonearest): Likewise.
12045 (sin_test_towardzero): Likewise.
12046 (sin_test_downward): Likewise.
12047 (sin_test_upward): Likewise.
12048 (sincos_test): Likewise.
12049 (sinh_test): Likewise.
12050 (sinh_test_tonearest): Likewise.
12051 (sinh_test_towardzero): Likewise.
12052 (sinh_test_downward): Likewise.
12053 (sinh_test_upward): Likewise.
12054 (sqrt_test): Likewise.
12055 (tan_test): Likewise.
12056 (tan_test_tonearest): Likewise.
12057 (tan_test_towardzero): Likewise.
12058 (tan_test_downward): Likewise.
12059 (tan_test_upward): Likewise.
12060 (tanh_test): Likewise.
12061 (tgamma_test): Likewise.
12062 (trunc_test): Likewise.
12063 (y0_test): Likewise.
12064 (y1_test): Likewise.
12065 (yn_test): Likewise.
12066 (significand_test): Likewise.
12067
12068 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12069
12070 [BZ #15381]
12071 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12072
12073 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12074
12075 [BZ #14894]
12076 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12077 __ppc_mdoio and __ppc_mdoom.
12078 * manual/platform.texi: Document new functions __ppc_yield,
12079 __ppc_mdoio and __ppc_mdoom.
12080
12081 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12082
12083 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12084 (main): Mention "tls" pseudo-hwcap is legacy.
12085 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12086
12087 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12088
12089 * math/gen-libm-test.pl (parse_args): Output only string of
12090 arguments as text for test name, not full call or descriptions of
12091 tests for extra outputs.
12092 (generate_testfile): Do not pass function name to parse_args.
12093 Generate this_func variable from START.
12094 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12095 field to arg_str.
12096 (struct test_ff_f_data): Likewise.
12097 (test_ff_f_data_nexttoward): Likewise.
12098 (struct test_fi_f_data): Likewise.
12099 (struct test_fl_f_data): Likewise.
12100 (struct test_if_f_data): Likewise.
12101 (struct test_fff_f_data): Likewise.
12102 (struct test_c_f_data): Likewise.
12103 (struct test_f_f1_data): Likewise. Remove field extra_name.
12104 (struct test_fF_f1_data): Likewise.
12105 (struct test_ffI_f1_data): Likewise.
12106 (struct test_c_c_data): Rename test_name field to arg_str.
12107 (struct test_cc_c_data): Likewise.
12108 (struct test_f_i_data): Likewise.
12109 (struct test_ff_i_data): Likewise.
12110 (struct test_f_l_data): Likewise.
12111 (struct test_f_L_data): Likewise.
12112 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12113 and extra2_name.
12114 (COMMON_TEST_SETUP): New macro.
12115 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12116 (COMMON_TEST_CLEANUP): Likewise.
12117 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12118 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12119 macros.
12120 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12121 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12122 macros.
12123 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12124 (RUN_TEST_fff_f): Take argument string. Call new setup and
12125 cleanup macros.
12126 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12127 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12128 macros.
12129 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12130 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12131 macros.
12132 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12133 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12134 cleanup macros.
12135 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12136 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12137 cleanup macros.
12138 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12139 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12140 cleanup macros.
12141 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12142 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12143 macros.
12144 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12145 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12146 macros.
12147 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12148 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12149 macros.
12150 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12151 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12152 cleanup macros.
12153 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12154 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12155 cleanup macros.
12156 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12157 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12158 macros.
12159 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12160 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12161 cleanup macros.
12162 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12163 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12164 macros.
12165 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12166 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12167 macros.
12168 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12169 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12170 cleanup macros.
12171 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12172
12173 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12174
12175 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12176 to _sifields.sigfault.
12177 (si_addr_lsb): Define new macro.
12178 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12180 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12181
12182 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12183
12184 [BZ #15441]
12185 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12186 returns -1.
12187 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12188 null return -1.
12189 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12190 loading the domain.
12191
12192 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12193
12194 * math/gen-libm-test.pl (parse_args): Do not include expected
12195 result in test name.
12196 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12197 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12198 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12200 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12202
12203 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12204
12205 * benchtests/Makefile: Sort function entries.
12206
12207 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12208 tanh, asinh, acosh, atanh.
12209 * benchtests/acos-inputs: New file.
12210 * benchtests/acosh-inputs: New file.
12211 * benchtests/asin-inputs: New file.
12212 * benchtests/asinh-inputs: New file.
12213 * benchtests/atanh-inputs: New file.
12214 * benchtests/cosh-inputs: New file.
12215 * benchtests/log-inputs: New file.
12216 * benchtests/sinh-inputs: New file.
12217 * benchtests/tanh-inputs: New file.
12218
12219 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12220
12221 [BZ #15339]
12222 * posix/tst-getaddrinfo4.c: New test.
12223 * posix/Makefile (tests): Add it.
12224
12225 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12226
12227 [BZ #15339]
12228 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12229 when no services were used.
12230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12231 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12232
12233 2013-05-21 Andreas Schwab <schwab@suse.de>
12234
12235 [BZ #15014]
12236 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12237 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12238 successful.
12239 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12240 redundant variable declarations and reallocation of buffer when
12241 parsing as IPv6 address. Always set NSS status when called from
12242 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12243 buffer too small. Correct computation of needed size.
12244 * nss/Makefile (tests): Add test-digits-dots.
12245 * nss/test-digits-dots.c: New test.
12246
12247 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12248
12249 * benchtests/Makefile: Remove instructions for adding
12250 benchmark tests.
12251 * benchtests/README: New file to explain how to execute and
12252 enhance the benchmark tests.
12253
12254 2013-05-21 Andreas Schwab <schwab@suse.de>
12255
12256 [BZ #15493]
12257 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12258 * setjmp/tst-sigsetjmp.c: New test.
12259
12260 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12261
12262 * sysdeps/x86_64/memset.S (memset): New implementation.
12263 (__bzero): Likewise.
12264 (__memset_tail): New function.
12265
12266 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12267
12268 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12269 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12270 __memcpy_sse2_unaligned ifunc selection.
12271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12272 Add memcpy-sse2-unaligned.S.
12273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12274 Add: __memcpy_sse2_unaligned.
12275
12276 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12277
12278 [BZ #15490]
12279 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12280 math_force_eval before restoring floating-point envrionment.
12281 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12282 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12283 Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12285 <math_private.h>.
12286 (__nearbyintl): Use math_force_eval before restoring
12287 floating-point environment.
12288 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12289
12290 * math/gen-libm-test.pl (special_functions): Remove.
12291 (parse_args): Don't handle TEST_extra. Handle functions with no
12292 return value.
12293 * math/libm-test.inc (struct test_sincos_data): Replace with
12294 struct test_fFF_11_data.
12295 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12296 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12297 (sincos_test_data): Change element type to struct
12298 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12299 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12300 RUN_TEST_LOOP_sincos.
12301 * math/README.libm-test: Don't mention special handling of
12302 individual functions.
12303 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12305 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12306 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12307 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12309
12310 * math/gen-libm-test.pl (get_variable): Remove function.
12311 (parse_args): Don't show pointer parameters to call in test
12312 names. Use "extra output N" in test names for extra outputs
12313 rather than naming variables.
12314
12315 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12316
12317 [BZ #15488]
12318 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12319 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12320 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12321 double tests.
12322 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12323 disable.
12324 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12325 check_long_double.
12326
12327 * math/gen-libm-test.pl (@tests): Remove variable.
12328 ($count): Likewise.
12329 (new_test): Remove function.
12330 (show_exceptions): New function.
12331 (special_functions): Use show_exceptions instead of new_test.
12332 (parse_args): Likewise.
12333 (generate_testfile): Pass only function name in generated call to
12334 print_max_error or print_complex_max_error.
12335 (get_ulps): Do not handle complex tests specially.
12336 (output_test): Rename to ...
12337 (get_all_ulps_for_test): ... this. Return a string rather than
12338 printing to a file. Require ulps to be present.
12339 (output_ulps): Generate arrays rather than #defines.
12340 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12341 (struct ulp_data): New type.
12342 (BUILD_COMPLEX_ULP): Remove macro.
12343 (compare_ulp_data): New function.
12344 (find_ulps): Likewise.
12345 (find_test_ulps): Likewise.
12346 (find_function_ulps): Likewise.
12347 (find_complex_function_ulps): Likewise.
12348 (print_max_error): Determine allowed ulps using
12349 find_function_ulps.
12350 (print_complex_max_error): Determine allowed ulps using
12351 find_complex_function_ulps.
12352 (check_float_internal): Determine max ulps using find_test_ulps.
12353 (check_float): Do not take max_ulp parameter. Update call to
12354 check_float_internal.
12355 (check_complex): Likewise.
12356 (check_int): Do not take max_ulp parameter.
12357 (check_long): Likewise.
12358 (check_bool): Likewise.
12359 (check_longlong): Likewise.
12360 (struct test_f_f_data): Remove max_ulp field.
12361 (struct test_ff_f_data): Likewise.
12362 (struct test_ff_f_data_nexttoward): Likewise.
12363 (struct test_fi_f_data): Likewise.
12364 (struct test_fl_f_data): Likewise.
12365 (struct test_if_f_data): Likewise.
12366 (struct test_fff_f_data): Likewise.
12367 (struct test_c_f_data): Likewise.
12368 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12369 (struct test_fF_f1_data): Likewise.
12370 (struct test_ffI_f1_data): Likewise.
12371 (struct test_c_c_data): Remove max_ulp field.
12372 (struct test_cc_c_data): Likewise.
12373 (struct test_f_i_data): Likewise.
12374 (struct test_ff_i_data): Likewise.
12375 (struct test_f_l_data): Likewise.
12376 (struct test_f_L_data): Likewise.
12377 (struct test_sincos_data): Likewise.
12378 (RUN_TEST_f_f): Do not handle ulps.
12379 (RUN_TEST_LOOP_f_f): Likewise.
12380 (RUN_TEST_2_f): Likewise.
12381 (RUN_TEST_LOOP_2_f): Likewise.
12382 (RUN_TEST_fff_f): Likewise.
12383 (RUN_TEST_LOOP_fff_f): Likewise.
12384 (RUN_TEST_c_f): Likewise.
12385 (RUN_TEST_LOOP_c_f): Likewise.
12386 (RUN_TEST_f_f1): Likewise.
12387 (RUN_TEST_LOOP_f_f1): Likewise.
12388 (RUN_TEST_fF_f1): Likewise.
12389 (RUN_TEST_LOOP_fF_f1): Likewise.
12390 (RUN_TEST_fI_f1): Likewise.
12391 (RUN_TEST_LOOP_fI_f1): Likewise.
12392 (RUN_TEST_ffI_f1): Likewise.
12393 (RUN_TEST_LOOP_ffI_f1): Likewise.
12394 (RUN_TEST_c_c): Likewise.
12395 (RUN_TEST_LOOP_c_c): Likewise.
12396 (RUN_TEST_cc_c): Likewise.
12397 (RUN_TEST_LOOP_cc_c): Likewise.
12398 (RUN_TEST_f_i): Likewise.
12399 (RUN_TEST_LOOP_f_i): Likewise.
12400 (RUN_TEST_f_i_tg): Likewise.
12401 (RUN_TEST_LOOP_f_i_tg): Likewise.
12402 (RUN_TEST_ff_i_tg): Likewise.
12403 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12404 (RUN_TEST_f_b): Likewise.
12405 (RUN_TEST_LOOP_f_b): Likewise.
12406 (RUN_TEST_f_b_tg): Likewise.
12407 (RUN_TEST_LOOP_f_b_tg): Likewise.
12408 (RUN_TEST_f_l): Likewise.
12409 (RUN_TEST_LOOP_f_l): Likewise.
12410 (RUN_TEST_f_L): Likewise.
12411 (RUN_TEST_LOOP_f_L): Likewise.
12412 (RUN_TEST_sincos): Likewise.
12413 (RUN_TEST_LOOP_sincos): Likewise.
12414
12415 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12416
12417 [BZ #15480]
12418 [BZ #15485]
12419 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12420 main case of finite arguments, set rounding mode to FE_TONEAREST
12421 and discard exceptions.
12422 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12423 exceptions.
12424 (remainder_tonearest_test_data): New variable.
12425 (remainder_test_tonearest): New function.
12426 (remainder_towardzero_test_data): New variable.
12427 (remainder_test_towardzero): New function.
12428 (remainder_downward_test_data): New variable.
12429 (remainder_test_downward): New function.
12430 (remainder_upward_test_data): New variable.
12431 (remainder_test_upward): New function.
12432 (main): Call the new test functions.
12433
12434 * math/libm-test.inc (struct test_f_f1_data): Remove field
12435 extra_init.
12436 (struct test_fF_f1_data): Likewise.
12437 (struct test_ffI_f1_data): Likewise.
12438 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12439 based on value of EXTRA_EXPECTED.
12440 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12441 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12442 EXTRA_VAR based on value of EXTRA_EXPECTED.
12443 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12444 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12445 EXTRA_VAR based on value of EXTRA_EXPECTED.
12446 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12447 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12448 EXTRA_VAR based on value of EXTRA_EXPECTED.
12449 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12450 * math/gen-libm-test.pl (parse_args): Don't output initializers
12451 for extra output values.
12452
12453 * math/libm-test.inc (check_int): Expect result to be exactly
12454 equal to expected value and do not handle ulps.
12455 (check_long): Likewise.
12456 (check_longlong): Likewise.
12457
12458 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12459 exceptions.
12460 (cimag_test_data): Likewise.
12461 (conj_test_data): Likewise.
12462 (copysign_test_data): Likewise.
12463 (cproj_test_data): Likewise.
12464 (creal_test_data): Likewise.
12465 (fabs_test_data): Likewise.
12466 (fdim_test_data): Likewise.
12467 (finite_test_data): Likewise.
12468 (floor_test_data): Likewise.
12469 (fmax_test_data): Likewise.
12470 (fmin_test_data): Likewise.
12471 (fmod_test_data): Likewise.
12472 (fpclassify_test_data): Likewise.
12473 (frexp_test_data): Likewise.
12474 (ilogb_test_data): Likewise.
12475 (isfinite_test_data): Likewise.
12476 (isgreater_test_data): Likewise.
12477 (isgreaterequal_test_data): Likewise.
12478 (isinf_test_data): Likewise.
12479 (isless_test_data): Likewise.
12480 (islessequal_test_data): Likewise.
12481 (islessgreater_test_data): Likewise.
12482 (isnan_test_data): Likewise.
12483 (isnormal_test_data): Likewise.
12484 (issignaling_test_data): Likewise.
12485 (isunordered_test_data): Likewise.
12486 (ldexp_test_data): Likewise.
12487 (lrint_test_data): Likewise.
12488 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12489 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12490 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12491 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12492 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12493 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12494 test input.
12495 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12496 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12497 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12498 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12499 that test input.
12500 (lrint_downward_test_data): Test for "inexact" exceptions.
12501 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12502 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12503 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12504 test input.
12505 (lrint_upward_test_data): Test for "inexact" exceptions.
12506 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12507 test input.
12508 (llrint_test_data): Test for "inexact" exceptions.
12509 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12510 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12511 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12512 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12513 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12514 (llrint_downward_test_data): Test for "inexact" exceptions.
12515 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12516 (llrint_upward_test_data): Test for "inexact" exceptions.
12517 (logb_test_data): Likewise.
12518 (logb_downward_test_data): Likewise.
12519 (nextafter_test_data): Likewise.
12520 (nexttoward_test_data): Likewise.
12521 (remainder_test_data): Likewise.
12522 (remquo_test_data): Likewise.
12523 (scalbn_test_data): Likewise.
12524 (scalbln_test_data): Likewise.
12525 (signbit_test_data): Likewise.
12526 (sqrt_test_data): Likewise.
12527 (significand_test_data): Likewise.
12528
12529 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12530
12531 [BZ #15424]
12532 * benchtests/bench-modf.c (struct args): Mark arg0 as
12533 volatile.
12534 * scripts/bench.pl: Mark members of struct args as volatile.
12535
12536 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12537
12538 [BZ # 15497]
12539 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12540 negative infinity on POWER6 or lower.
12541 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12542
12543 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12544
12545 [BZ #15442]
12546 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12547 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12548 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12549 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12550 (_FP_SETQNAN): New macro.
12551 (_FP_SETQNAN_SEMIRAW): Likewise.
12552 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12553 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12554 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12555 (FP_EXTEND): Use _FP_FRAC_SNANP.
12556 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12557 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12558 into account.
12559 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12560 New macro.
12561 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12562 Likewise.
12563
12564 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12565
12566 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12567 with DIVIDE_BY_ZERO_EXCEPTION.
12568 (gamma_test_data): Likewise.
12569 (lgamma_test_data): Likewise.
12570 (log_test_data): Likewise.
12571 (log10_test_data): Likewise.
12572 (log2_test_data): Likewise.
12573 (tgamma_test_data): Likewise.
12574
12575 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12576 (acos_test_tonearest): Likewise.
12577 (acos_test_towardzero): Likewise.
12578 (acos_test_downward): Likewise.
12579 (acos_test_upward): Likewise.
12580 (acosh_test): Likewise.
12581 (asin_test): Likewise.
12582 (asin_test_tonearest): Likewise.
12583 (asin_test_towardzero): Likewise.
12584 (asin_test_downward): Likewise.
12585 (asin_test_upward): Likewise.
12586 (asinh_test): Likewise.
12587 (atan_test): Likewise.
12588 (atanh_test): Likewise.
12589 (atan2_test): Likewise.
12590 (cabs_test): Likewise.
12591 (cacos_test): Likewise.
12592 (cacosh_test): Likewise.
12593 (casin_test): Likewise.
12594 (casinh_test): Likewise.
12595 (catan_test): Likewise.
12596 (catanh_test): Likewise.
12597 (cbrt_test): Likewise.
12598 (ccos_test): Likewise.
12599 (ccosh_test): Likewise.
12600 (cexp_test): Likewise.
12601 (clog_test): Likewise.
12602 (clog10_test): Likewise.
12603 (cos_test): Likewise.
12604 (cos_test_tonearest): Likewise.
12605 (cos_test_towardzero): Likewise.
12606 (cos_test_downward): Likewise.
12607 (cos_test_upward): Likewise.
12608 (cosh_test): Likewise.
12609 (cosh_test_tonearest): Likewise.
12610 (cosh_test_towardzero): Likewise.
12611 (cosh_test_downward): Likewise.
12612 (cosh_test_upward): Likewise.
12613 (cpow_test): Likewise.
12614 (csin_test): Likewise.
12615 (csinh_test): Likewise.
12616 (csqrt_test): Likewise.
12617 (ctan_test): Likewise.
12618 (ctan_test_tonearest): Likewise.
12619 (ctan_test_towardzero): Likewise.
12620 (ctan_test_downward): Likewise.
12621 (ctan_test_upward): Likewise.
12622 (ctanh_test): Likewise.
12623 (ctanh_test_tonearest): Likewise.
12624 (ctanh_test_towardzero): Likewise.
12625 (ctanh_test_downward): Likewise.
12626 (ctanh_test_upward): Likewise.
12627 (erf_test): Likewise.
12628 (erfc_test): Likewise.
12629 (exp_test): Likewise.
12630 (exp_test_tonearest): Likewise.
12631 (exp_test_towardzero): Likewise.
12632 (exp_test_downward): Likewise.
12633 (exp_test_upward): Likewise.
12634 (exp10_test): Likewise.
12635 (exp2_test): Likewise.
12636 (expm1_test): Likewise.
12637 (fmod_test): Likewise.
12638 (gamma_test): Likewise.
12639 (hypot_test): Likewise.
12640 (j0_test): Likewise.
12641 (j1_test): Likewise.
12642 (jn_test): Likewise.
12643 (lgamma_test): Likewise.
12644 (log_test): Likewise.
12645 (log10_test): Likewise.
12646 (log1p_test): Likewise.
12647 (log2_test): Likewise.
12648 (logb_test_downward): Likewise.
12649 (pow_test): Likewise.
12650 (pow_test_tonearest): Likewise.
12651 (pow_test_towardzero): Likewise.
12652 (pow_test_downward): Likewise.
12653 (pow_test_upward): Likewise.
12654 (remainder_test): Likewise.
12655 (remquo_test): Likewise.
12656 (sin_test): Likewise.
12657 (sin_test_tonearest): Likewise.
12658 (sin_test_towardzero): Likewise.
12659 (sin_test_downward): Likewise.
12660 (sin_test_upward): Likewise.
12661 (sincos_test): Likewise.
12662 (sinh_test): Likewise.
12663 (sinh_test_tonearest): Likewise.
12664 (sinh_test_towardzero): Likewise.
12665 (sinh_test_downward): Likewise.
12666 (sinh_test_upward): Likewise.
12667 (sqrt_test): Likewise.
12668 (tan_test): Likewise.
12669 (tan_test_tonearest): Likewise.
12670 (tan_test_towardzero): Likewise.
12671 (tan_test_downward): Likewise.
12672 (tan_test_upward): Likewise.
12673 (tanh_test): Likewise.
12674 (tgamma_test): Likewise.
12675 (y0_test): Likewise.
12676 (y1_test): Likewise.
12677 (yn_test): Likewise.
12678
12679 * math/gen-libm-test.pl (adjust_arg): Remove function.
12680 (special_function): Remove argument $in_func. Only handle
12681 generating output for tables of tests, not inside functions.
12682 (parse_args): Likewise.
12683 (generate_testfile): Remove variable $in_func. Update call to
12684 parse_args.
12685 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12686 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12687 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12688 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12689 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12690 (MAX_VALUE_INIT): Rename macro to max_value.
12691 (MIN_VALUE_INIT): Rename macro to min_value.
12692 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12693 (plus_zero): Remove variable.
12694 (minus_zero): Likewise.
12695 (plus_infty): Likewise.
12696 (minus_infty): Likewise.
12697 (qnan_value): Likewise.
12698 (max_value): Likewise.
12699 (min_value): Likewise.
12700 (min_subnorm_value): Likewise.
12701
12702 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12703
12704 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12705 uint64_t or uint32_t usage.
12706 * crypt/sha256-block.c: Likewise.
12707 * crypt/sha256-crypt.c: Likewise.
12708 * crypt/sha256.c: Likewise.
12709 * crypt/sha512-block.c: Likewise.
12710 * crypt/sha512-crypt.c: Likewise.
12711 * crypt/sha512.c: Likewise.
12712 * debug/backtrace-tst.c: Likewise.
12713 * debug/pcprofiledump.c: Likewise.
12714 * elf/cache.c: Likewise.
12715 * elf/dl-cache.c: Likewise.
12716 * elf/dl-misc.c: Likewise.
12717 * elf/dl-profile.c: Likewise.
12718 * elf/dl-support.c: Likewise.
12719 * elf/ldconfig.c: Likewise.
12720 * elf/sprof.c: Likewise.
12721 * iconv/dummy-repertoire.c: Likewise.
12722 * iconv/iconv_charmap.c: Likewise.
12723 * iconv/skeleton.c: Likewise.
12724 * iconvdata/8bit-generic.c: Likewise.
12725 * iconvdata/cp737.h: Likewise.
12726 * iconvdata/cp775.h: Likewise.
12727 * iconvdata/ibm1008.h: Likewise.
12728 * iconvdata/ibm1025.h: Likewise.
12729 * iconvdata/ibm1046.h: Likewise.
12730 * iconvdata/ibm1097.h: Likewise.
12731 * iconvdata/ibm1112.h: Likewise.
12732 * iconvdata/ibm1122.h: Likewise.
12733 * iconvdata/ibm1123.h: Likewise.
12734 * iconvdata/ibm1124.h: Likewise.
12735 * iconvdata/ibm1129.h: Likewise.
12736 * iconvdata/ibm1130.h: Likewise.
12737 * iconvdata/ibm1132.h: Likewise.
12738 * iconvdata/ibm1133.h: Likewise.
12739 * iconvdata/ibm1137.h: Likewise.
12740 * iconvdata/ibm1140.h: Likewise.
12741 * iconvdata/ibm1141.h: Likewise.
12742 * iconvdata/ibm1142.h: Likewise.
12743 * iconvdata/ibm1143.h: Likewise.
12744 * iconvdata/ibm1144.h: Likewise.
12745 * iconvdata/ibm1145.h: Likewise.
12746 * iconvdata/ibm1146.h: Likewise.
12747 * iconvdata/ibm1147.h: Likewise.
12748 * iconvdata/ibm1148.h: Likewise.
12749 * iconvdata/ibm1149.h: Likewise.
12750 * iconvdata/ibm1153.h: Likewise.
12751 * iconvdata/ibm1154.h: Likewise.
12752 * iconvdata/ibm1155.h: Likewise.
12753 * iconvdata/ibm1156.h: Likewise.
12754 * iconvdata/ibm1157.h: Likewise.
12755 * iconvdata/ibm1158.h: Likewise.
12756 * iconvdata/ibm1160.h: Likewise.
12757 * iconvdata/ibm1161.h: Likewise.
12758 * iconvdata/ibm1162.h: Likewise.
12759 * iconvdata/ibm1163.h: Likewise.
12760 * iconvdata/ibm1164.h: Likewise.
12761 * iconvdata/ibm1166.h: Likewise.
12762 * iconvdata/ibm1167.h: Likewise.
12763 * iconvdata/ibm12712.h: Likewise.
12764 * iconvdata/ibm1390.h: Likewise.
12765 * iconvdata/ibm1399.h: Likewise.
12766 * iconvdata/ibm16804.h: Likewise.
12767 * iconvdata/ibm4517.h: Likewise.
12768 * iconvdata/ibm4899.h: Likewise.
12769 * iconvdata/ibm4909.h: Likewise.
12770 * iconvdata/ibm4971.h: Likewise.
12771 * iconvdata/ibm5347.h: Likewise.
12772 * iconvdata/ibm803.h: Likewise.
12773 * iconvdata/ibm856.h: Likewise.
12774 * iconvdata/ibm901.h: Likewise.
12775 * iconvdata/ibm902.h: Likewise.
12776 * iconvdata/ibm9030.h: Likewise.
12777 * iconvdata/ibm9066.h: Likewise.
12778 * iconvdata/ibm921.h: Likewise.
12779 * iconvdata/ibm922.h: Likewise.
12780 * iconvdata/ibm9448.h: Likewise.
12781 * iconvdata/isiri-3342.h: Likewise.
12782 * iconvdata/jis0201.h: Likewise.
12783 * include/link.h: Likewise.
12784 * include/netdb.h: Likewise.
12785 * inet/check_native.c: Likewise.
12786 * inet/check_pf.c: Likewise.
12787 * inet/getipv4sourcefilter.c: Likewise.
12788 * inet/getnameinfo.c: Likewise.
12789 * inet/getsourcefilter.c: Likewise.
12790 * inet/htonl.c: Likewise.
12791 * inet/setipv4sourcefilter.c: Likewise.
12792 * inet/setsourcefilter.c: Likewise.
12793 * inet/test-inet6_opt.c: Likewise.
12794 * inet/tst-network.c: Likewise.
12795 * locale/C-collate.c: Likewise.
12796 * locale/C-ctype.c: Likewise.
12797 * locale/C-time.c: Likewise.
12798 * locale/C-translit.h: Likewise.
12799 * locale/loadarchive.c: Likewise.
12800 * locale/programs/3level.h: Likewise.
12801 * locale/programs/charmap.c: Likewise.
12802 * locale/programs/charmap.h: Likewise.
12803 * locale/programs/ld-address.c: Likewise.
12804 * locale/programs/ld-collate.c: Likewise.
12805 * locale/programs/ld-ctype.c: Likewise.
12806 * locale/programs/ld-identification.c: Likewise.
12807 * locale/programs/ld-measurement.c: Likewise.
12808 * locale/programs/ld-messages.c: Likewise.
12809 * locale/programs/ld-monetary.c: Likewise.
12810 * locale/programs/ld-name.c: Likewise.
12811 * locale/programs/ld-numeric.c: Likewise.
12812 * locale/programs/ld-paper.c: Likewise.
12813 * locale/programs/ld-telephone.c: Likewise.
12814 * locale/programs/ld-time.c: Likewise.
12815 * locale/programs/linereader.c: Likewise.
12816 * locale/programs/locale.c: Likewise.
12817 * locale/programs/locarchive.c: Likewise.
12818 * locale/programs/locfile.h: Likewise.
12819 * locale/programs/repertoire.c: Likewise.
12820 * locale/programs/simple-hash.c: Likewise.
12821 * locale/programs/simple-hash.h: Likewise.
12822 * malloc/memusage.c: Likewise.
12823 * malloc/memusagestat.c: Likewise.
12824 * nis/nis_defaults.c: Likewise.
12825 * nis/nis_hash.c: Likewise.
12826 * nis/nis_print.c: Likewise.
12827 * nis/nis_xdr.c: Likewise.
12828 * nscd/connections.c: Likewise.
12829 * nscd/hstcache.c: Likewise.
12830 * nscd/nscd_gethst_r.c: Likewise.
12831 * nscd/nscd_getserv_r.c: Likewise.
12832 * nscd/nscd_helper.c: Likewise.
12833 * nscd/servicescache.c: Likewise.
12834 * nss/makedb.c: Likewise.
12835 * nss/nss_db/db-XXX.c: Likewise.
12836 * nss/nss_db/db-initgroups.c: Likewise.
12837 * nss/nss_db/db-netgrp.c: Likewise.
12838 * nss/nss_files/files-network.c: Likewise.
12839 * nss/nss_files/files-parse.c: Likewise.
12840 * posix/bug-regex5.c: Likewise.
12841 * posix/fnmatch_loop.c: Likewise.
12842 * posix/regcomp.c: Likewise.
12843 * posix/regexec.c: Likewise.
12844 * posix/tst-rfc3484-2.c: Likewise.
12845 * posix/tst-rfc3484-3.c: Likewise.
12846 * posix/tst-rfc3484.c: Likewise.
12847 * resolv/nss_dns/dns-canon.c: Likewise.
12848 * resolv/nss_dns/dns-network.c: Likewise.
12849 * resolv/res_init.c: Likewise.
12850 * resolv/res_mkquery.c: Likewise.
12851 * resolv/tst-aton.c: Likewise.
12852 * stdlib/cxa_atexit.c: Likewise.
12853 * stdlib/cxa_finalize.c: Likewise.
12854 * stdlib/gen-fpioconst.c: Likewise.
12855 * stdlib/strtol_l.c: Likewise.
12856 * string/tst-endian.c: Likewise.
12857 * sunrpc/auth_des.c: Likewise.
12858 * sunrpc/clnt_udp.c: Likewise.
12859 * sunrpc/rtime.c: Likewise.
12860 * sunrpc/svcauth_des.c: Likewise.
12861 * sunrpc/xdr.c: Likewise.
12862 * sunrpc/xdr_intXX_t.c: Likewise.
12863 * sunrpc/xdr_rec.c: Likewise.
12864 * sysdeps/generic/ldconfig.h: Likewise.
12865 * sysdeps/generic/ldsodefs.h: Likewise.
12866 * sysdeps/generic/memusage.h: Likewise.
12867 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12877 * sysdeps/posix/getaddrinfo.c: Likewise.
12878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12880 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12881 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12882 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12883 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12884 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12885 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12886 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12888 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12889 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12890 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12891 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12892 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12893 * sysdeps/x86_64/dl-tls.h: Likewise.
12894 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12895 * time/alt_digit.c: Likewise.
12896 * time/era.c: Likewise.
12897 * wcsmbs/tst-c16c32-1.c: Likewise.
12898
12899 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12900
12901 * math/libm-test.inc (struct test_sincos_data): New type.
12902 (RUN_TEST_LOOP_sincos): New macro.
12903 (sincos_test_data): New variable.
12904 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12905
12906 2013-05-16 Richard Henderson <rth@redhat.com>
12907
12908 * math/atest-exp2.c (LIMB64): New macro.
12909 (CONSTSZ): New macro.
12910 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12911 (hexdig): Move ...
12912 (print_mpn_fp): ... to function scope.
12913 (read_mpn_hex): Remove.
12914 (get_log2): Remove.
12915 (exp2_mpn): Use mp_log2.
12916 (main): Use mp_exp1.
12917
12918 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12919
12920 * math/libm-test.inc: Remove comment about not testing "inexact"
12921 exceptions.
12922 (INEXACT_EXCEPTION): New macro.
12923 (NO_INEXACT_EXCEPTION): Likewise.
12924 (INVALID_EXCEPTION_OK): Update value.
12925 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12926 (OVERFLOW_EXCEPTION_OK): Likewise.
12927 (UNDERFLOW_EXCEPTION_OK): Likewise.
12928 (IGNORE_ZERO_INF_SIGN): Likewise.
12929 (ERRNO_UNCHANGED): Likewise.
12930 (ERRNO_EDOM): Likewise.
12931 (ERRNO_ERANGE): Likewise.
12932 (test_exceptions): Handle testing "inexact" exceptions.
12933 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12934 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12935 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12936 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12937 INEXACT_EXCEPTION.
12938 (rint_towardzero_test_data): Likewise.
12939 (rint_downward_test_data): Likewise.
12940 (rint_upward_test_data): Likewise.
12941
12942 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12943 with OVERFLOW_EXCEPTION.
12944 (exp10_test_data): Likewise.
12945 (exp2_test_data): Likewise.
12946 (expm1_test_data): Likewise.
12947 (lgamma_test_data): Likewise.
12948 (pow_test_data): Likewise.
12949 (tgamma_test_data): Likewise.
12950 (yn_test_data): Remove duplicate test of overflow.
12951
12952 * math/libm-test.inc (struct test_cc_c_data): New type.
12953 (RUN_TEST_LOOP_cc_c): New macro.
12954 (cpow_test_data): New variable.
12955 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12956
12957 * math/libm-test.inc (struct test_f_L_data): New type.
12958 (RUN_TEST_LOOP_f_L): New macro.
12959 (llrint_test_data): New variable.
12960 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12961 (llrint_tonearest_test_data): New variable.
12962 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12963 (llrint_towardzero_test_data): New variable.
12964 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12965 (llrint_downward_test_data): New variable.
12966 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12967 (llrint_upward_test_data): New variable.
12968 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12969 (llround_test_data): New variable.
12970 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12971
12972 2013-05-13 Peter Collingbourne <pcc@google.com>
12973
12974 * math/atest-exp2.c (get_log2): Remove const attribute.
12975
12976 2013-05-15 Joseph Myers <joseph@codesourcery.com>
12977
12978 * math/libm-test.inc (struct test_f_l_data): New type.
12979 (RUN_TEST_LOOP_f_l): New macro.
12980 (lrint_test_data): New variable.
12981 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12982 (lrint_tonearest_test_data): New variable.
12983 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12984 (lrint_towardzero_test_data): New variable.
12985 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12986 (lrint_downward_test_data): New variable.
12987 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12988 (lrint_upward_test_data): New variable.
12989 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12990 (lround_test_data): New variable.
12991 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12992
12993 2013-05-15 Peter Collingbourne <pcc@google.com>
12994
12995 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12996 (EXTRACT_WORDS64) Use where appropriate.
12997 (INSERT_WORDS64) Likewise.
12998
12999 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13000 constraints with x constraints.
13001 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13002
13003 * malloc/obstack.c (_obstack_compat): Add initializer.
13004
13005 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13006
13007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13008 si_trapno and add si_addr_lsb to _sifields.sigfault.
13009 (si_trapno): Remove macro.
13010 (si_addr_lsb): Define new macro.
13011 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13012
13013 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13014
13015 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13016 instead of TEST_f_l.
13017 (llrint_test_tonearest): Likewise.
13018 (llrint_test_towardzero): Likewise.
13019 (llrint_test_downward): Likewise.
13020 (llrint_test_upward): Likewise.
13021 (llround_test): Likewise.
13022
13023 * math/libm-test.inc (struct test_f_i_data): Add comment.
13024 (RUN_TEST_LOOP_f_b): New macro.
13025 (RUN_TEST_LOOP_f_b_tg): Likewise.
13026 (finite_test_data): New variable.
13027 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13028 (isfinite_test_data): New variable.
13029 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13030 (isinf_test_data): New variable.
13031 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13032 (isnan_test_data): New variable.
13033 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13034 (isnormal_test_data): New variable.
13035 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13036 (issignaling_test_data): New variable.
13037 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13038 (signbit_test_data): New variable.
13039 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13040
13041 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13042 with INVALID_EXCEPTION.
13043 (acosh_test_data): Likewise.
13044 (asin_test_data): Likewise.
13045 (atanh_test_data): Likewise.
13046 (fmod_test_data): Likewise.
13047 (log_test_data): Likewise.
13048 (log10_test_data): Likewise.
13049 (log2_test_data): Likewise.
13050 (pow_test_data): Likewise.
13051 (sqrt_test_data): Likewise.
13052 (y0_test_data): Likewise.
13053 (y1_test_data): Likewise.
13054 (yn_test_data): Likewise.
13055
13056 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13057 function contents.
13058
13059 * math/libm-test.inc (struct test_ff_i_data): New type.
13060 (RUN_TEST_LOOP_ff_i_tg): New macro.
13061 (isgreater_test_data): New variable.
13062 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13063 (isgreaterequal_test_data): New variable.
13064 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13065 (isless_test_data): New variable.
13066 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13067 (islessequal_test_data): New variable.
13068 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13069 (islessgreater_test_data): New variable.
13070 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13071 (isunordered_test_data): New variable.
13072 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13073
13074 2013-05-14 David S. Miller <davem@davemloft.net>
13075
13076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13077
13078 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13079
13080 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13081
13082 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13083 extra_test to int.
13084 (struct test_f_i_data): Change type of max_ulp to int.
13085
13086 * math/libm-test.inc (test_ffI_f1_data): New type.
13087 (RUN_TEST_LOOP_ffI_f1): New macro.
13088 (remquo_test_data): New variable.
13089 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13090
13091 * setjmp/tst-setjmp-fp.c: New file.
13092 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13093 (link-libm): New variable.
13094 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13095
13096 * math/libm-test.inc (struct test_f_i_data): New type.
13097 (RUN_TEST_LOOP_f_i): New macro.
13098 (RUN_TEST_LOOP_f_i_tg): Likewise.
13099 (fpclassify_test_data): New variable.
13100 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13101 (ilogb_test_data): New variable.
13102 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13103
13104 * math/libm-test.inc (scalbln_test): Correct function name in END
13105 call.
13106
13107 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13108 (RUN_TEST_LOOP_fI_f1): New macro.
13109 (frexp_test_data): New variable.
13110 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13111
13112 * math/libm-test.inc (struct test_fF_f1_data): New type.
13113 (RUN_TEST_LOOP_fF_f1): New macro.
13114 (modf_test_data): New variable.
13115 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13116
13117 * math/libm-test.inc (struct test_f_f1_data): New type.
13118 (RUN_TEST_LOOP_f_f1): New macro.
13119 (gamma_test_data): New variable.
13120 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13121 (lgamma_test_data): New variable.
13122 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13123
13124 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13125
13126 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13127 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13128 (main): Comment "tls" pseudo-hwcap.
13129
13130 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13131
13132 * math/libm-test.inc (struct test_fl_f_data): New type.
13133 (RUN_TEST_LOOP_fl_f): New variable.
13134 (scalbln_test_data): New variable.
13135 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13136
13137 * math/libm-test.inc (struct test_fi_f_data): New type.
13138 (RUN_TEST_LOOP_fi_f): New macro.
13139 (ldexp_test_data): New variable.
13140 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13141 (scalbn_test_data): New variable.
13142 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13143
13144 * math/libm-test.inc (struct test_c_f_data): New type.
13145 (RUN_TEST_LOOP_c_f): New macro.
13146 (cabs_test_data): New variable.
13147 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13148 (carg_test_data): New variable.
13149 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13150 (cimag_test_data): New variable.
13151 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13152 (creal_test_data): New variable.
13153 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13154
13155 * math/libm-test.inc (struct test_if_f_data): New type.
13156 (RUN_TEST_LOOP_if_f): New macro.
13157 (jn_test_data): New variable.
13158 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13159 (yn_test_data): New variable.
13160 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13161
13162 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13163
13164 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13165
13166 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13167 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13168
13169 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13170
13171 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13172 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13173 (bench-deps): Add bench-timing.h.
13174 * benchtests-bench-skeleton.c: Include bench-timing.h.
13175 (main): Use TIMING_* macros instead of clock_gettime.
13176 * benchtests/bench-timing.h: New file.
13177
13178 [BZ #14582]
13179 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13180 Renamed from _LIB_VERSION.
13181 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13182
13183 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13184
13185 * math/libm-test.inc (struct test_fff_f_data): New type.
13186 (RUN_TEST_LOOP_fff_f): New macro.
13187 (fma_test_data): New variable.
13188 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13189 (fma_towardzero_test_data): New variable.
13190 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13191 (fma_downward_test_data): New variable.
13192 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13193 (fma_upward_test_data): New variable.
13194 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13195
13196 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13197 (struct test_c_c_data): New type.
13198 (RUN_TEST_LOOP_c_c): New macro.
13199 (cacos_test_data): New variable.
13200 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13201 (cacosh_test_data): New variable.
13202 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13203 (casin_test_data): New variable.
13204 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13205 (casinh_test_data): New variable.
13206 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13207 (catan_test_data): New variable.
13208 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13209 (catanh_test_data): New variable.
13210 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13211 (ccos_test_data): New variable.
13212 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13213 (ccosh_test_data): New variable.
13214 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13215 (cexp_test_data): New variable.
13216 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13217 (clog_test_data): New variable.
13218 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13219 (clog10_test_data): New variable.
13220 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13221 (conj_test_data): New variable.
13222 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13223 (cproj_test_data): New variable.
13224 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13225 (csin_test_data): New variable.
13226 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13227 (csinh_test_data): New variable.
13228 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13229 (csqrt_test_data): New variable.
13230 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13231 (ctan_test_data): New variable.
13232 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13233 (ctan_tonearest_test_data): New variable.
13234 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13235 (ctan_towardzero_test_data): New variable.
13236 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13237 (ctan_downward_test_data): New variable.
13238 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13239 (ctan_upward_test_data): New variable.
13240 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13241 (ctanh_test_data): New variable.
13242 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13243 (ctanh_tonearest_test_data): New variable.
13244 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13245 (ctanh_towardzero_test_data): New variable.
13246 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13247 (ctanh_downward_test_data): New variable.
13248 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13249 (ctanh_upward_test_data): New variable.
13250 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13251 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13252 of BUILD_COMPLEX.
13253
13254 * math/libm-test.inc (struct test_ff_f_data): New type.
13255 (struct test_ff_f_data_nexttoward): Likewise.
13256 (RUN_TEST_LOOP_2_f): New macro.
13257 (RUN_TEST_LOOP_ff_f): Likewise.
13258 (atan2_test_data): New variable.
13259 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13260 (copysign_test_data): New variable.
13261 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13262 (fdim_test_data): New variable.
13263 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13264 (fmax_test_data): New variable.
13265 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13266 (fmin_test_data): New variable.
13267 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13268 (fmod_test_data): New variable.
13269 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13270 (hypot_test_data): New variable.
13271 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13272 (nextafter_test_data): New variable.
13273 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13274 (nexttoward_test_data): New variable.
13275 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13276 (pow_test_data): New variable.
13277 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13278 (pow_tonearest_test_data): New variable.
13279 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13280 (pow_towardzero_test_data): New variable.
13281 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13282 (pow_downward_test_data): New variable.
13283 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13284 (pow_upward_test_data): New variable.
13285 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13286 (remainder_test_data): New variable.
13287 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13288 (scalb_test_data): New variable.
13289 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13290 * sysdeps/i386/fpu/libm-test-ulps: Update.
13291
13292 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13293
13294 * math/libm-test.inc (fma_test): Use max_value instead of local
13295 variable fltmax.
13296 (nextafter_test): Likewise.
13297
13298 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13299 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13300 (acos_downward_test_data): New variable.
13301 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13302 (acos_upward_test_data): New variable.
13303 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13304 (acosh_test_data): New variable.
13305 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13306 (asin_test_data): New variable.
13307 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13308 (asin_tonearest_test_data): New variable.
13309 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13310 (asin_towardzero_test_data): New variable.
13311 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13312 (asin_downward_test_data): New variable.
13313 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13314 (asin_upward_test_data): New variable.
13315 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13316 (asinh_test_data): New variable.
13317 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13318 (atan_test_data): New variable.
13319 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13320 (atanh_test_data): New variable.
13321 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13322 (cbrt_test_data): New variable.
13323 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13324 (ceil_test_data): New variable.
13325 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13326 (cos_test_data): New variable.
13327 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13328 (cos_tonearest_test_data): New variable.
13329 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13330 (cos_towardzero_test_data): New variable.
13331 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13332 (cos_downward_test_data): New variable.
13333 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13334 (cos_upward_test_data): New variable.
13335 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13336 (cosh_test_data): New variable.
13337 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13338 (cosh_tonearest_test_data): New variable.
13339 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13340 (cosh_towardzero_test_data): New variable.
13341 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13342 (cosh_downward_test_data): New variable.
13343 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13344 (cosh_upward_test_data): New variable.
13345 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13346 (erf_test_data): New variable.
13347 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13348 (erfc_test_data): New variable.
13349 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13350 (exp_test_data): New variable.
13351 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13352 (exp_tonearest_test_data): New variable.
13353 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13354 (exp_towardzero_test_data): New variable.
13355 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13356 (exp_downward_test_data): New variable.
13357 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13358 (exp_upward_test_data): New variable.
13359 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13360 (exp10_test_data): New variable.
13361 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13362 (exp2_test_data): New variable.
13363 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13364 (expm1_test_data): New variable.
13365 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13366 (fabs_test_data): New variable.
13367 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13368 (floor_test_data): New variable.
13369 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13370 (j0_test_data): New variable.
13371 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13372 (j1_test_data): New variable.
13373 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13374 (log_test_data): New variable.
13375 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13376 (log10_test_data): New variable.
13377 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13378 (log1p_test_data): New variable.
13379 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13380 (log2_test_data): New variable.
13381 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13382 (logb_test_data): New variable.
13383 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13384 (logb_downward_test_data): New variable.
13385 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13386 (nearbyint_test_data): New variable.
13387 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13388 (rint_test_data): New variable.
13389 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13390 (rint_tonearest_test_data): New variable.
13391 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13392 (rint_towardzero_test_data): New variable.
13393 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13394 (rint_downward_test_data): New variable.
13395 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13396 (rint_upward_test_data): New variable.
13397 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13398 (round_test_data): New variable.
13399 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13400 (sin_test_data): New variable.
13401 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13402 (sin_tonearest_test_data): New variable.
13403 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13404 (sin_towardzero_test_data): New variable.
13405 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13406 (sin_downward_test_data): New variable.
13407 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13408 (sin_upward_test_data): New variable.
13409 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13410 (sinh_test_data): New variable.
13411 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13412 (sinh_tonearest_test_data): New variable.
13413 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13414 (sinh_towardzero_test_data): New variable.
13415 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13416 (sinh_downward_test_data): New variable.
13417 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13418 (sinh_upward_test_data): New variable.
13419 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13420 (sqrt_test_data): New variable.
13421 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13422 (tan_test_data): New variable.
13423 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13424 (tan_tonearest_test_data): New variable.
13425 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13426 (tan_towardzero_test_data): New variable.
13427 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13428 (tan_downward_test_data): New variable.
13429 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13430 (tan_upward_test_data): New variable.
13431 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13432 (tanh_test_data): New variable.
13433 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13434 (tgamma_test_data): New variable.
13435 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13436 (trunc_test_data): New variable.
13437 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13438 (y0_test_data): New variable.
13439 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13440 (y1_test_data): New variable.
13441 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13442 (significand_test_data): New variable.
13443 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13444
13445 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13446
13447 [BZ #12387]
13448 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13449
13450 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13451
13452 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13453
13454 2013-05-10 Andreas Jaeger <aj@suse.de>
13455
13456 [BZ #15448]
13457 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13458 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13459
13460 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13461
13462 * math/gen-libm-test.pl (adjust_arg): New function.
13463 (special_functions): Handle generating output in both functions
13464 and arrays.
13465 (parse_args): Likewise.
13466 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13467 $in_func argument to parse_args.
13468 * math/libm-test.inc (struct test_f_f_data): New type.
13469 (IF_ROUND_INIT_): New macro.
13470 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13474 (ROUND_RESTORE_): Likewise.
13475 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13476 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13477 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13478 (ROUND_RESTORE_FE_UPWARD): Likewise.
13479 (RUN_TEST_LOOP_f_f): New macro.
13480 (acos_test_data): New variable.
13481 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13482 (acos_tonearest_test_data): New variable.
13483 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13484
13485 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13486
13487 * benchtests/bench-skeleton.c (startup): Fix coding style.
13488
13489 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13490
13491 [BZ #6809]
13492 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13493 negative infinity argument.
13494 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13495 negative infinity argument.
13496 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13497 negative infinity argument.
13498 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13499 domain errors.
13500
13501 2013-05-10 Florian Weimer <fweimer@redhat.com>
13502
13503 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13504 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13505 * iconv/iconv_prog.c (main): Likewise.
13506 * locale/programs/charmap-dir.c (charmap_readdir)
13507 (fopen_uncompressed): Likewise.
13508 * locale/programs/locfile.c (siblings_uncached)
13509 (write_locale_data): Use lstat64 instead of lstat.
13510 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13511 stat.
13512
13513 2013-05-10 Andreas Jaeger <aj@suse.de>
13514
13515 [BZ #15395]
13516 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13517 localization.
13518 Include <locale.h>.
13519
13520 2013-05-09 Carlos O'Donell <carlos@redhat.com>
13521
13522 * elf/dl-close.c (_dl_close_worker): Add comments.
13523
13524 2013-05-09 Joseph Myers <joseph@codesourcery.com>
13525
13526 [BZ #15359]
13527 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13528 high part of pi/2.
13529 (__ieee754_rem_pio2l): Update comments.
13530
13531 [BZ #15429]
13532 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13533 high part of pi/2.
13534 (__ieee754_rem_pio2l): Update comments.
13535
13536 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13537 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13538
13539 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13540 M_PI_4l.
13541
13542 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13543 (M_PI_34_LOG10El): Likewise.
13544 (M_PI2_LOG10El): Likewise.
13545 (M_PI4_LOG10El): Likewise.
13546 (M_PI_LOG10El): Likewise.
13547
13548 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13549
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551
13552 2013-05-08 Joseph Myers <joseph@codesourcery.com>
13553
13554 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13555 (MINUS_ZERO_INIT): Likewise.
13556 (PLUS_INFTY_INIT): Likewise.
13557 (MINUS_INFTY_INIT): Likewise.
13558 (QNAN_VALUE_INIT): Likewise.
13559 (MAX_VALUE_INIT): Likewise.
13560 (MIN_VALUE_INIT): Likewise.
13561 (MIN_SUBNORM_VALUE_INIT): Likewise.
13562 (plus_zero): Initialize with PLUS_ZERO_INIT.
13563 (minus_zero): Initialize with MINUS_ZERO_INIT.
13564 (plus_infty): Initialize with PLUS_INFTY_INIT.
13565 (minus_infty): Initialize with MINUS_INFTY_INIT.
13566 (qnan_value): Initialize with QNAN_VALUE_INIT.
13567 (max_value): Initialize with MAX_VALUE_INIT.
13568 (min_value): Initialize with MIN_VALUE_INIT.
13569 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13570
13571 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13572 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13573 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13574 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13575
13576 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13577 (RUN_TEST_2_f): Likewise.
13578 (RUN_TEST_ff_f): Likewise.
13579 (RUN_TEST_fi_f): Likewise.
13580 (RUN_TEST_fl_f): Likewise.
13581 (RUN_TEST_fff_f): Likewise.
13582 (RUN_TEST_c_f): Likewise.
13583 (RUN_TEST_f_f1): Likewise.
13584 (RUN_TEST_fF_f1): Likewise.
13585 (RUN_TEST_fI_f1): Likewise.
13586 (RUN_TEST_ffI_f1): Likewise.
13587 (RUN_TEST_c_c): Likewise.
13588 (RUN_TEST_cc_c): Likewise.
13589 (RUN_TEST_f_i): Likewise.
13590 (RUN_TEST_f_i_tg): Likewise.
13591 (RUN_TEST_ff_i_tg): Likewise.
13592 (RUN_TEST_f_b): Likewise.
13593 (RUN_TEST_f_b_tg): Likewise.
13594 (RUN_TEST_f_l): Likewise.
13595 (RUN_TEST_f_L): Likewise.
13596 (RUN_TEST_sincos): Likewise.
13597 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13598 whether to show exceptions. Do not include ");\n" in return
13599 value.
13600 (special_functions): Output call to RUN_TEST_sincos instead of
13601 check_float calls. Update calls to new_test.
13602 (parse_args): Output call to single RUN_TEST_* macro instead of
13603 check_* calls and other assignments. Update calls to new_test.
13604
13605 [BZ #2546]
13606 [BZ #2560]
13607 [BZ #5159]
13608 [BZ #15426]
13609 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13610 input to result for tgamma overflow.
13611 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13612 (gamma_coeff): New variable.
13613 (NCOEFF): New macro.
13614 (gamma_positive): New function.
13615 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13616 underflow here. Use gamma_positive instead of exp (lgamma) for
13617 other arguments.
13618 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13619 (gamma_coeff): New variable.
13620 (NCOEFF): New macro.
13621 (gammaf_positive): New function.
13622 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13623 underflow here. Use gamma_positive instead of exp (lgamma) for
13624 other arguments.
13625 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13626 (gamma_coeff): New variable.
13627 (NCOEFF): New macro.
13628 (gammal_positive): New function.
13629 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13630 underflow here. Use gamma_positive instead of exp (lgamma) for
13631 other arguments.
13632 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13633 (gamma_coeff): New variable.
13634 (NCOEFF): New macro.
13635 (gammal_positive): New function.
13636 (__ieee754_gammal_r): Handle positive infinity, overflow and
13637 underflow here. Handle NaN the same as positive infinity. Remove
13638 check x < 0xffffffff for negative integers. Use gamma_positive
13639 instead of exp (lgamma) for other arguments.
13640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13641 (gamma_coeff): New variable.
13642 (NCOEFF): New macro.
13643 (gammal_positive): New function.
13644 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13645 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13649 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13650 * sysdeps/generic/math_private.h (__gamma_productf): New
13651 prototype.
13652 (__gamma_product): Likewise.
13653 (__gamma_productl): Likewise.
13654 * math/Makefile (libm-calls): Add gamma_product.
13655 * math/libm-test.inc (tgamma_test): Add more tests.
13656 * sysdeps/i386/fpu/libm-test-ulps: Update.
13657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13658
13659 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
13660
13661 * benchtests/bench-skeleton.c (main): Preheat CPU.
13662
13663 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13664
13665 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13666
13667 2013-05-07 Roland McGrath <roland@hack.frob.com>
13668
13669 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13670 and _dl_skip_args_internal.
13671
13672 2013-05-07 Carlos O'Donell <carlos@redhat.com>
13673
13674 * manual/message.texi (Message Translation): Talk about users.
13675 Message to key mapping impacts design.
13676
13677 2013-05-06 Roland McGrath <roland@hack.frob.com>
13678
13679 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13680
13681 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13682
13683 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13684 * sysdeps/wordsize-64/glob64.c: ... here.
13685
13686 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13687 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13688 New macros.
13689
13690 * debug/getlogin_r_chk.c: Moved to ...
13691 * login/getlogin_r_chk.c: ... here.
13692 * debug/Makefile (routines): Move getlogin_r_chk to ...
13693 * login/Makefile (routines): ... here.
13694 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13695 * login/Versions (libc: GLIBC_2.4): ... here.
13696
13697 * io/poll.c (__poll): Renamed from poll.
13698 Add libc_hidden_def.
13699 (poll): Define as weak alias.
13700
13701 * debug/ptsname_r_chk.c: Moved to ...
13702 * login/ptsname_r_chk.c: ... here.
13703 * debug/Makefile (routines): Move ptsname_r_chk to ...
13704 * login/Makefile (routines): ... here.
13705 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13706 * login/Versions (libc: GLIBC_2.4): ... here.
13707
13708 * posix/getlogin.c: Moved to ...
13709 * login/getlogin.c: ... here.
13710 * posix/getlogin_r.c: Moved to ...
13711 * login/getlogin_r.c: ... here.
13712 * posix/getlogin_r.c: Moved to ...
13713 * login/getlogin_r.c: ... here.
13714 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13715 * login/Makefile (routines): ... here.
13716 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13717 * login/Versions (libc: GLIBC_2.0): ... here.
13718
13719 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13720 (setrlimit): Define as weak alias.
13721
13722 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13723 Call __ names for open, ftruncate, and close.
13724 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13725 (truncate): Define as weak alias.
13726
13727 2013-05-06 Joseph Myers <joseph@codesourcery.com>
13728
13729 * math/gen-libm-test.pl (parse_args): Initialize x before each
13730 test of frexp, modf and remquo.
13731
13732 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13733 test signgam value.
13734
13735 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13736
13737 [BZ #15418]
13738 [BZ #15419]
13739 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13740 internal tests.
13741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13742
13743 2013-05-06 Roland McGrath <roland@hack.frob.com>
13744
13745 * elf/dl-writev.h: New file.
13746 * elf/dl-misc.c: Include it.
13747 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13748 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13749
13750 2013-05-04 Joseph Myers <joseph@codesourcery.com>
13751
13752 * math/libm-test.inc (noXFails): Remove variable.
13753 (noXPasses): Likewise.
13754 (BUILD_COMPLEX_INT): Remove macro.
13755 (print_screen): Remove xfail argument.
13756 (print_screen_max_error): Likewise.
13757 (update_stats): Likewise.
13758 (print_max_error): Likewise. Update calls to other affected
13759 functions.
13760 (print_complex_max_error): Likewise.
13761 (test_single_exception): Update calls to print_screen.
13762 (test_single_errno): Likewise.
13763 (check_float_internal): Remove xfail argument. Update calls to
13764 other affected functions.
13765 (check_float): Likewise.
13766 (check_complex): Likewise.
13767 (check_int): Likewise.
13768 (check_long): Likewise.
13769 (check_bool): Likewise.
13770 (check_longlong): Likewise.
13771 (main): Don't print noXFails and noXPasses.
13772 * math/gen-libm-test.pl (top level): Don't mention expected
13773 failure handling in comment.
13774 (new_test): Don't handle expected failures.
13775 (parse_args): Don't mention expected failure handling in comment.
13776 (generate_testfile): Don't handle expected failures.
13777 (parse_ulps): Likewise.
13778 (print_ulps_file): Likewise.
13779 (get_failure): Remove function.
13780 (output_test): Don't handle expected failures.
13781 * make/README.libm-test: Don't mention expected failure handling.
13782
13783 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13784 (minus_zero): Likewise.
13785 (plus_infty): Likewise.
13786 (minus_infty): Likewise.
13787 (qnan_value): Likewise.
13788 (max_value): Likewise.
13789 (min_value): Likewise.
13790 (min_subnorm_value): Likewise.
13791 (initialize): Do not initialize those variables dynamically.
13792
13793 2013-05-03 Roland McGrath <roland@hack.frob.com>
13794
13795 * io/open.c (__open_2): Moved to ...
13796 * io/open_2.c: ... this new file.
13797 * io/open64.c (__open64_2): Moved to ...
13798 * io/open64_2.c: ... this new file.
13799 * io/openat.c (__openat_2): Moved to ...
13800 * io/openat_2.c: ... this new file.
13801 * io/openat64.c (__openat64_2): Moved to ...
13802 * io/openat64_2.c: ... this new file.
13803 * io/Makefile (routines): Add them.
13804 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13805 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13806 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13807 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13808 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13809 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13810 (__openat64): Add hidden_ver.
13811 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13812 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13813
13814 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13815 Separately conditionalize setting of GLRO(dl_sysinfo) so
13816 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13817 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13818
13819 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13820
13821 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13822 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13823 definition.
13824 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13825 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13826 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13827 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13828 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13829
13830 2013-05-03 Joseph Myers <joseph@codesourcery.com>
13831
13832 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13833 test signgam value.
13834
13835 * math/libm-test.inc (hypot_test): Do not use
13836 IGNORE_ZERO_INF_SIGN.
13837
13838 2013-05-03 Andreas Jaeger <aj@suse.de>
13839
13840 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13841 Linux 3.9.
13842 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13843 (PF_MAX): Adjust for VSOCK change.
13844
13845 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13846
13847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13848
13849 2013-05-02 Carlos O'Donell <carlos@redhat.com>
13850
13851 [BZ #15264]
13852 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13853 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13854 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13855
13856 2013-05-02 David S. Miller <davem@davemloft.net>
13857
13858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13859
13860 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
13861
13862 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13863
13864 2013-05-01 Roland McGrath <roland@hack.frob.com>
13865
13866 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13867
13868 2013-05-01 Richard Smith <richard@metafoo.co.uk>
13869
13870 [BZ #14952]
13871 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13872 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13873 Use __attribute__ ((__gnu_inline__)).
13874 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13875 Don't use __attribute__ ((__gnu_inline__)).
13876
13877 2013-05-01 Joseph Myers <joseph@codesourcery.com>
13878
13879 [BZ #15423]
13880 * math/s_catan.c (__catan): Handle small real or imaginary part of
13881 input specially to avoid spurious underflow.
13882 * math/s_catanf.c (__catanf): Likewise.
13883 * math/s_catanh.c (__catanh): Likewise.
13884 * math/s_catanhf.c (__catanhf): Likewise.
13885 * math/s_catanhl.c (__catanhl): Likewise.
13886 * math/s_catanl.c (__catanl): Likewise.
13887 * math/libm-test.inc (catan_test): Add more tests.
13888 (catanh_test): Likewise.
13889 * sysdeps/i386/fpu/libm-test-ulps: Update.
13890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13891
13892 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13893
13894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13895
13896 2013-04-30 Joseph Myers <joseph@codesourcery.com>
13897
13898 [BZ #15416]
13899 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13900 accurately for denominator in atan2.
13901 * math/s_catanf.c (__catanf): Likewise.
13902 * math/s_catanh.c (__catanh): Likewise.
13903 * math/s_catanhf.c (__catanhf): Likewise.
13904 * math/s_catanhl.c (__catanhl): Likewise.
13905 * math/s_catanl.c (__catanl): Likewise.
13906 * math/libm-test.inc (catan_test): Add more tests.
13907 (catanh_test): Likewise.
13908 * sysdeps/i386/fpu/libm-test-ulps: Update.
13909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13910
13911 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13912
13913 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13914
13915 * benchtests/Makefile (bench): Remove slow benchmarks.
13916 * benchtests/atan-inputs: Add slow benchmark inputs.
13917 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13918 (BENCH_FUNC): Accept variant offset.
13919 (VARIANT): Define.
13920 * benchtests/bench-skeleton.c (main): Run benchmark for each
13921 variant.
13922 * benchtests/cos-inputs: Add slow benchmark inputs.
13923 * benchtests/exp-inputs: Likewise.
13924 * benchtests/pow-inputs: Likewise.
13925 * benchtests/sin-inputs: Likewise.
13926 * benchtests/slowatan-inputs: Remove.
13927 * benchtests/slowatan.c: Remove.
13928 * benchtests/slowcos-inputs: Remove.
13929 * benchtests/slowcos.c: Remove.
13930 * benchtests/slowexp-inputs: Remove.
13931 * benchtests/slowexp.c: Remove.
13932 * benchtests/slowpow-inputs: Remove.
13933 * benchtests/slowpow.c: Remove.
13934 * benchtests/slowsin-inputs: Remove.
13935 * benchtests/slowsin.c: Remove.
13936 * benchtests/slowtan-inputs: Remove.
13937 * benchtests/slowtan.c: Remove.
13938 * benchtests/tan-inputs: Add slow benchmark inputs.
13939 * scripts/bench.pl: Parse comments and directives.
13940
13941 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13942 in CPPFLAGS.
13943 ($(objpfx)bench-%.c): Remove *-ITER.
13944 * benchtests/bench-modf.c: Remove definition of ITER.
13945 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13946 (main): Loop for DURATION seconds instead of fixed number of
13947 iterations.
13948 * scripts/bench.pl: Don't expect iterations in parameters.
13949
13950 2013-04-29 Roland McGrath <roland@hack.frob.com>
13951
13952 * io/fchdir.c (__fchdir): Renamed from fchdir.
13953 (fchdir): Define as weak alias.
13954
13955 2013-04-29 Joseph Myers <joseph@codesourcery.com>
13956
13957 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13958 (ERRNO_EDOM): Likewise.
13959 (ERRNO_ERANGE): Likewise.
13960 (noErrnoTests): New variable.
13961 (init_max_error): Set errno to 0.
13962 (test_single_errno): New function.
13963 (test_errno): Likewise.
13964 (check_float_internal): Call test_errno. Set errno to 0.
13965 (check_complex): Refer to errno tests in comment.
13966 (check_int): Call test_errno. Set errno to 0.
13967 (check_long): Likewise.
13968 (check_bool): Likewise.
13969 (check_longlong): Likewise.
13970 (cos_test): Use ERRNO_* flags for errno tests instead of
13971 check_int.
13972 (expm1_test): Likewise.
13973 (fmod_test): Likewise.
13974 (ilogb_test): Likewise.
13975 (lgamma_test): Likewise.
13976 (pow_test): Likewise.
13977 (remainder_test): Likewise.
13978 (sin_test): Likewise.
13979 (tan_test): Likewise.
13980 (yn_test): Likewise.
13981 (initialize): Set errno to 0.
13982 (main): Print number of errno tests.
13983 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13984
13985 2013-04-29 Andreas Jaeger <aj@suse.de>
13986
13987 [BZ #15084]
13988 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13989 and RES_USEVC.
13990
13991 [BZ #15085]
13992 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13993 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13994 unimplemented.
13995
13996 [BZ #15380]
13997 * stdlib/random.c (__initstate): Return NULL if
13998 __initstate fails.
13999
14000 [BZ #15086]
14001 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14002 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14003 RES_SNGLKUPREOP.
14004
14005 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14006
14007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14008
14009 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14010
14011 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14012 of individual tests.
14013 (casin_test): Likewise.
14014 (casinh_test): Likewise.
14015
14016 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14017
14018 [BZ #15409]
14019 * math/s_catan.c (__catan): Handle arguments with large real or
14020 imaginary part separately without squaring.
14021 * math/s_catanf.c (__catanf): Likewise.
14022 * math/s_catanh.c (__catanh): Likewise.
14023 * math/s_catanhf.c (__catanhf): Likewise.
14024 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14025 and redefine.
14026 (__catanhl): Handle arguments with large real or imaginary part
14027 separately without squaring.
14028 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14029 and redefine.
14030 (__catanl): Handle arguments with large real or imaginary part
14031 separately without squaring.
14032 * math/libm-test.inc (catan_test): Add more tests.
14033 (catanh_test): Likewise.
14034 * sysdeps/i386/fpu/libm-test-ulps: Update.
14035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14036
14037 2013-04-27 Andreas Jaeger <aj@suse.de>
14038
14039 [BZ #15007]
14040 * stdlib/stdlib.h: Update guards for qecvt.
14041 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14042 <stdlib.h>.
14043
14044 2013-04-27 Allan McRae <allan@archlinux.org>
14045
14046 * sysdeps/i386/fpu/libm-test-ulps: Update.
14047
14048 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14049
14050 [BZ #15406]
14051 * math/s_catan.c: Include <float.h>.
14052 (__catan): Ensure underflow exception occurs for underflowed
14053 result.
14054 * math/s_catanf.c: Include <float.h>.
14055 (__catanf): Ensure underflow exception occurs for underflowed
14056 result.
14057 * math/s_catanh.c: Include <float.h>.
14058 (__catanh): Ensure underflow exception occurs for underflowed
14059 result.
14060 * math/s_catanhf.c: Include <float.h>.
14061 (__catanhf): Ensure underflow exception occurs for underflowed
14062 result.
14063 * math/s_catanhl.c: Include <float.h>.
14064 (__catanhl): Ensure underflow exception occurs for underflowed
14065 result.
14066 * math/s_catanl.c: Include <float.h>.
14067 (__catanl): Ensure underflow exception occurs for underflowed
14068 result.
14069 * math/libm-test.inc (catan_test): Add more tests.
14070 (catanh_test): Likewise.
14071
14072 [BZ #15405]
14073 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14074 underflowed result.
14075 * math/s_ccoshf.c (__ccoshf): Likewise.
14076 * math/s_ccoshl.c (__ccoshl): Likewise.
14077 * math/s_csin.c (__csin): Likewise.
14078 * math/s_csinf.c (__csinf): Likewise.
14079 * math/s_csinh.c (__csinh): Likewise.
14080 * math/s_csinhf.c (__csinhf): Likewise.
14081 * math/s_csinhl.c (__csinhl): Likewise.
14082 * math/s_csinl.c (__csinl): Likewise.
14083 * math/libm-test.inc (ccos_test): Add more tests.
14084 (ccosh_test): Likewise.
14085 (csin_test): Likewise.
14086 (csinh_test): Likewise.
14087
14088 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14089
14090 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14091 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14092 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14093 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14094 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14095 powerpc/power5+/fpu folders.
14096 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14097
14098
14099 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14100
14101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14102
14103 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14104
14105 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14106 additions to variable.
14107 [$(config-machine) = x86_64] (modules-names): Likewise.
14108 ($(objpfx)tst-audit3): Remove dependency.
14109 ($(objpfx)tst-audit3.out): Likewise.
14110 ($(objpfx)tst-audit4): Likewise.
14111 ($(objpfx)tst-audit4.out): Likewise.
14112 ($(objpfx)tst-audit5): Likewise.
14113 ($(objpfx)tst-audit5.out): Likewise.
14114 ($(objpfx)tst-audit6): Likewise.
14115 ($(objpfx)tst-audit6.out): Likewise.
14116 ($(objpfx)tst-audit7): Likewise.
14117 ($(objpfx)tst-audit7.out): Likewise.
14118 (tst-audit3-ENV): Remove variable.
14119 (tst-audit4-ENV): Likewise.
14120 (tst-audit5-ENV): Likewise.
14121 (tst-audit6-ENV): Likewise.
14122 (tst-audit7-ENV): Likewise.
14123 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14124 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14125 addition to variable.
14126 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14127 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14128 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14129 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14130 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14131 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14132 tst-audit3, tst-audit4 and tst-audit5.
14133 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14134 tst-audit6 and tst-audit7.
14135 [$(subdir) = elf] (modules-names): Add audit modules for those
14136 tests.
14137 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14138 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14139 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14140 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14141 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14142 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14143 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14144 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14145 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14146 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14147 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14148 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14149 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14150 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14151 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14152 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14153 Likewise.
14154 [$(subdir) = elf && $(config-cflags-avx) = yes]
14155 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14156 [$(subdir) = elf && $(config-cflags-avx) = yes]
14157 (CFLAGS-tst-auditmod4a.c): Likewise.
14158 [$(subdir) = elf && $(config-cflags-avx) = yes]
14159 (CFLAGS-tst-auditmod4b.c): Likewise.
14160 [$(subdir) = elf && $(config-cflags-avx) = yes]
14161 (CFLAGS-tst-auditmod6b.c): Likewise.
14162 [$(subdir) = elf && $(config-cflags-avx) = yes]
14163 (CFLAGS-tst-auditmod6c.c): Likewise.
14164 [$(subdir) = elf && $(config-cflags-avx) = yes]
14165 (CFLAGS-tst-auditmod7b.c): Likewise.
14166 * elf/tst-audit3.c: Move to ...
14167 * sysdeps/x86_64/tst-audit3.c: ... here.
14168 * elf/tst-audit4.c: Move to ...
14169 * sysdeps/x86_64/tst-audit4.c: ... here.
14170 * elf/tst-audit5.c: Move to ...
14171 * sysdeps/x86_64/tst-audit5.c: ... here.
14172 * elf/tst-audit6.c: Move to ...
14173 * sysdeps/x86_64/tst-audit6.c: ... here.
14174 * elf/tst-audit7.c: Move to ...
14175 * sysdeps/x86_64/tst-audit7.c: ... here.
14176 * elf/tst-auditmod3a.c: Move to ...
14177 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14178 * elf/tst-auditmod3b.c: Move to ...
14179 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14180 * elf/tst-auditmod4a.c: Move to ...
14181 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14182 * elf/tst-auditmod4b.c: Move to ...
14183 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14184 * elf/tst-auditmod5a.c: Move to ...
14185 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14186 * elf/tst-auditmod5b.c: Move to ...
14187 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14188 * elf/tst-auditmod6a.c: Move to ...
14189 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14190 * elf/tst-auditmod6b.c: Move to ...
14191 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14192 * elf/tst-auditmod6c.c: Move to ...
14193 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14194 * elf/tst-auditmod7a.c: Move to ...
14195 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14196 * elf/tst-auditmod7b.c: Move to ...
14197 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14198
14199 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14200
14201 [BZ #15366]
14202 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14203 define unconditionally.
14204 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14205 define unconditionally.
14206 (INT8_C, INT16_C, etc.): Likewise.
14207
14208 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14209
14210 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14211 __ehdr_start with hidden visibility.
14212
14213 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14214
14215 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14216
14217 * math/libm-test.inc (cos_test): Use accurate hex constants.
14218 (sincost_test): Likewise.
14219
14220 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14221
14222 * math/libm-test.inc (catan_test): Add more tests.
14223 (catanh_test): Likewise.
14224
14225 * math/s_catanf.c (__catanf): Use suffixed floating-point
14226 constants.
14227 * math/s_catanhf.c (__catanhf): Likewise.
14228 * math/s_catanhl.c (__catanhl): Likewise.
14229 * math/s_catanl.c (__catanl): Likewise.
14230
14231 [BZ #15394]
14232 * math/s_catan.c (__catan): Calculate imaginary part of result
14233 with log1p not log unless computing log of number close to 0.
14234 * math/s_catanf.c (__catanf): Likewise.
14235 * math/s_catanl.c (__catanl): Likewise.
14236 * math/s_catanh.c (__catanh): Calculate real part of result with
14237 log1p not log unless computing log of number close to 0.
14238 * math/s_catanhf.c (__catanhf): Likewise.
14239 * math/s_catanhl.c (__catanhl): Likewise.
14240 * math/libm-test.inc (catan_test): Add more tests.
14241 (catanh_test): Likewise.
14242 * sysdeps/i386/fpu/libm-test-ulps: Update.
14243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14244
14245 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14246
14247 * benchtests/Makefile: Mention files in which fast and slow
14248 paths of math functions are implemented.
14249
14250 2013-04-23 Roland McGrath <roland@hack.frob.com>
14251
14252 * sysdeps/posix/timespec_get.c: New file.
14253
14254 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14255
14256 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14257 POWER.
14258 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14259 for POWER.
14260 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14261 powerpc/power5/fpu folders.
14262 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14263 * benchtests/Makefile: Add modf testcase.
14264 * benchtests/bench-modf.c: New file: Benchmark test for mo
14265
14266 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14267
14268 [BZ #14888]
14269 * time/Makefile (tests): Add tst-strptime-whitespace.
14270 * time/strptime_l.c (get_number): Use ISSPACE.
14271 (__strptime_internal): Likewise.
14272 * time/tst-strptime-whitespace.c: New test case.
14273
14274 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14275
14276 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14277 member.
14278 (_nss_files_init): Set it here.
14279
14280 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14281
14282 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14283 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14284 unsigned.
14285
14286 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14287
14288 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14289
14290 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14291
14292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14293 size just once.
14294
14295 2013-04-21 David S. Miller <davem@davemloft.net>
14296
14297 * po/ru.po: Update Russion translation from translation project.
14298
14299 2013-04-17 Adam Conrad <adconrad@0c3.net>
14300
14301 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14302 and setfsgid.
14303
14304 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14305
14306 * configure.in: Remove i386 configure warning. Remove i386 case.
14307 * configure: Regenerate.
14308 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14309 Add example to error message.
14310 * sysdeps/i386/configure: Regenerate.
14311
14312 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14313
14314 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14315 slowtan.
14316 * benchtests/cos-inputs: New file.
14317 * benchtests/slowcos-inputs: New file.
14318 * benchtests/slowcos.c: New file.
14319 * benchtests/slowtan-inputs: New file.
14320 * benchtests/slowtan.c: New file.
14321 * benchtests/tan-inputs: New file.
14322
14323 2013-04-16 Roland McGrath <roland@hack.frob.com>
14324
14325 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14326 considered kosher.
14327
14328 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14329
14330 * benchtests/Makefile: Include cppflags-iterator.mk to add
14331 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14332
14333 * Makefile.in (bench-clean): New target.
14334 * benchtests/Makefile (bench-clean): Likewise.
14335
14336 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14337
14338 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14339
14340 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14341
14342 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14343
14344 2013-04-15 Andreas Schwab <schwab@suse.de>
14345
14346 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14348 * nscd/pwdcache.c (cache_addpw): Likewise.
14349 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14350 more than recsize.
14351
14352 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14353
14354 * benchtests/Makefile (bench): Write all output to
14355 bench-out.tmp together.
14356
14357 2013-04-15 Andreas Schwab <schwab@suse.de>
14358
14359 * nscd/nscd.c (main): Don't fork again after closing files.
14360
14361 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14362
14363 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14364
14365 * benchtests/Rules (bench-deps): Collect dependencies into a
14366 single variable. Add Makefile to dependencies.
14367 ($(objpfx)bench-%.c): Depend on bench-deps.
14368
14369 2013-04-12 Roland McGrath <roland@hack.frob.com>
14370 Xavier Roche <roche+kml2@exalead.com>
14371
14372 [BZ #15361]
14373 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14374 just that it's a file descriptor.
14375 * manual/llio.texi (Synchronizing AIO Operations): Update description
14376 for EBADF error from aio_fsync.
14377
14378 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14379
14380 * Rules (bench): Move target definition...
14381 * benchtests/Makefile: ... here.
14382
14383 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14384
14385 * math/libm-test.inc (cos_test): Fix PI/2 test.
14386 (sincos_test): Likewise.
14387 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14388 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14389
14390 2013-04-11 Andreas Schwab <schwab@suse.de>
14391
14392 [BZ #13988]
14393 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14394 accept exponent character only when digits were seen.
14395 * stdio-common/Makefile (tests): Add bug26.
14396 * stdio-common/bug26.c: New file.
14397
14398 [BZ #14293]
14399 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14400 non-freeable.
14401
14402 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14403
14404 * Makeconfig (rtld-prefix): Define built linker prefix.
14405 * Rules (run-bench): Use it.
14406 * math/Makefile (run-regen-ulps): Likewise.
14407
14408 * Rules (bench): Remove eval.
14409
14410 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14411 Roland McGrath <roland@hack.frob.com>
14412 Ondrej Bilka <neleai@seznam.cz>
14413
14414 [BZ #15346]
14415 * time/getdate.c: Include ctype.h and alloca.h.
14416 (__getdate_r): Trim leading and trailing spaces of input.
14417 * time/tst-getdate.c (tests): Add tests with leading and
14418 trailing spaces.
14419
14420 2013-04-08 Roland McGrath <roland@hack.frob.com>
14421
14422 [BZ #14280]
14423 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14424 when computing value.
14425
14426 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14427
14428 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14429 Use testrun.sh to run libm tests.
14430
14431 [BZ #15309]
14432 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14433
14434 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14435
14436 [BZ #15264]
14437 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14438
14439 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14440
14441 * Makefile.in (regen-ulps): New target.
14442 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14443 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14444 [ifneq (no,$(PERL)] (regen-ulps): New target.
14445 [ifeq (no,$(PERL)] (regen-ulps): New target.
14446 * math/libm-test.inc (ulps_file_name): Define.
14447 (output_dir): New variable.
14448 (options): Add "output-dir" option.
14449 (parse_opt): Handle 'o' case.
14450 (main): If output_dir is non-NULL use it as a prefix
14451 otherwise use "".
14452 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14453
14454 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14455
14456 [BZ #10060, #10062]
14457 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14458 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14459 fail configure if __sync_val_compare_and_swap is not inlined.
14460 * sysdeps/i386/configure: Regenerate.
14461 * configure.in: Build for i686 when configured for i386.
14462 * configure: Regenerate.
14463 * README: Remove i386 reference.
14464
14465 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14466
14467 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14468 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14469
14470 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14471
14472 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14473 (lmsnanval): New variables.
14474 (F): Add conversion tests.
14475 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14476 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14477
14478 * stdio-common/tstdiomisc.c (F): Properly collect individual
14479 tests' results.
14480
14481 [BZ #14686, #15336]
14482 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14483 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14484 Instead, use input NaN values or generate a qNaN by arithmetic
14485 operation. Also fix bugs to comply with the standard.
14486 * math/libm-test.inc (remainder_test): Add more tests.
14487
14488 [BZ #15335, #15342]
14489 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14491 input NaN values or generate a qNaN by arithmetic operation.
14492
14493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14494 unreachable code.
14495
14496 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14497 definitions.
14498
14499 2013-04-03 Joseph Myers <joseph@codesourcery.com>
14500
14501 [BZ #14478]
14502 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14503 underflowed result.
14504 * math/s_cexpf.c (__cexpf): Likewise.
14505 * math/s_cexpl.c (__cexpl): Likewise.
14506 * math/libm-test.inc (cexp_test): Add more tests.
14507
14508 2013-04-03 Andreas Schwab <schwab@suse.de>
14509
14510 [BZ #15330]
14511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14512 order arrays from heap if bigger than alloca cutoff.
14513
14514 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14515
14516 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14517 (SNAN_TESTS_double): Refer to GCC PR56831.
14518 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14519 GCC PR56828.
14520
14521 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14522
14523 * Rules (bench): Move bench.out after the run is complete.
14524
14525 * Rules (bench): Echo currently running benchmark.
14526
14527 * benchtests/Makefile (bench): Add atan and slowatan.
14528 * benchtests/atan-inputs: New file.
14529 * benchtests/slowatan-inputs: New file.
14530 * benchtests/slowatan.c: New file.
14531
14532 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14533 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14534 its value.
14535
14536 [BZ #15305]
14537 * sysdeps/unix/sysv/linux/kernel-features.h
14538 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14539 __ASSUME_XFS_RESTRICTED_CHOWN.
14540 * sysdeps/unix/sysv/linux/pathconf.c
14541 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14542 Save and restore errno.
14543
14544 2013-04-02 Joseph Myers <joseph@codesourcery.com>
14545
14546 [BZ #15327]
14547 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14548 arguments using __kernel_casinh.
14549 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14550 arguments using __kernel_casinhf.
14551 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14552 arguments using __kernel_casinhl.
14553 * math/libm-test.inc (cacosh_test): Add more tests.
14554 * sysdeps/i386/fpu/libm-test-ulps: Update.
14555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14556
14557 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14558
14559 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14561
14562 * bench/Makefile (bench): Add sin and slowsin.
14563 * benchtests/sin-inputs: New file.
14564 * benchtests/slowsin-inputs: New file.
14565 * benchtests/slowsin.c: New file.
14566
14567 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14568 (bench): Add slowexp and slowpow.
14569 (exp-ITER): Increase iterations.
14570 (pow-ITER): Likewise.
14571 * benchtests/exp-inputs: Change input.
14572 * benchtests/pow-inputs: Likewise.
14573 * benchtests/slowexp-inputs: New file.
14574 * benchtests/slowexp.c: New file.
14575 * benchtests/slowpow-inputs: New file.
14576 * benchtests/slowpow.c: New file.
14577
14578 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14579
14580 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14581 instructions.
14582 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14583 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14585 * benchtests/Makefile: Add rint benchtest.
14586 * benchtests/rint-inputs: Input for rint benchtest.
14587
14588 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14589
14590 * Versions.def (libm): Add GLIBC_2.18.
14591 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14592 hidden libm prototypes.
14593 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14594 * math/Makefile (libm-calls): Add s_issignaling.
14595 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14596 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14597 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14598 declaration.
14599 * math/math.h [__USE_GNU] (issignaling): New macro.
14600 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14601 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14606 * manual/arith.texi (issignaling): New section.
14607 * manual/libm-err-tab.pl (@all_functions): Update comment.
14608 * math/gen-libm-test.pl (parse_args): Apply special handling for
14609 issignaling.
14610 * math/libm-test.inc (print_float, issignaling_test): New
14611 functions.
14612 (check_float_internal): Add issignaling checks.
14613 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14614 default definition.
14615 * sysdeps/powerpc/math-tests.h: New file.
14616 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14617 tests.
14618 * math/test-snan.c (TEST_FUNC): Likewise.
14619
14620 2013-03-30 David S. Miller <davem@davemloft.net>
14621
14622 * po/de.po: Update from translation team.
14623
14624 2013-03-30 Joseph Myers <joseph@codesourcery.com>
14625
14626 [BZ #10357]
14627 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14628 imaginary part less than 1.0 and real part less than 0.5
14629 specially.
14630 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14631 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14632 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14633 (cacos_test): Add more tests.
14634 (casin_test): Likewise.
14635 (casinh_test): Likewise.
14636 * sysdeps/i386/fpu/libm-test-ulps: Update.
14637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14638
14639 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14640
14641 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14642 ONE with its value.
14643
14644 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14645 (__pow_mp): Replace ONE and MONE with their values.
14646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14647 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14648 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14649 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14650 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14652
14653 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14654
14655 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14656 (__pow_mp): Replace ZERO and MZERO with their values.
14657 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14659 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14661 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14662 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14663 (__sqr): Likewise.
14664
14665 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14666
14667 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14668
14669 2013-03-28 Roland McGrath <roland@hack.frob.com>
14670
14671 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14672 Declare with __attribute__ ((weak)).
14673 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14674 Call __call_tls_dtors only if it's not NULL.
14675
14676 2013-03-28 Roland McGrath <roland@hack.frob.com>
14677
14678 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14679 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14680 magic __ehdr_start linker symbol if it's defined.
14681 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14682 them up here if it was already done.
14683
14684 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14685 (_dl_aux_init): Use const in cast when setting it.
14686 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14687 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14688 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14689
14690 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14691 Declare them here.
14692 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14693 * csu/libc-tls.c: Nor here.
14694 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14695
14696 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14697 (__libc_message): Never call vsyslog.
14698
14699 2013-03-28 Alan Modra <amodra@gmail.com>
14700
14701 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14702 Define as empty.
14703 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14704 Likewise.
14705
14706 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14707
14708 [BZ #15214]
14709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14710 underflow.
14711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14712
14713 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14714
14715 [BZ #15304]
14716 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14717 Don't add gid passed as argument.
14718
14719 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14720
14721 2013-03-27 Joseph Myers <joseph@codesourcery.com>
14722
14723 [BZ #15307]
14724 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14725 imaginary part between 1.0 and 1.5 and real part less than 0.5
14726 specially.
14727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14729 * math/libm-test.inc (cacos_test): Add more tests.
14730 (casin_test): Likewise.
14731 (casinh_test): Likewise.
14732 * sysdeps/i386/fpu/libm-test-ulps: Update.
14733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14734
14735 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14736
14737 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14738 constants.
14739 (norm): Likewise.
14740 (denorm): Likewise.
14741 (__dbl_mp): Likewise.
14742 (add_magnitudes): Likewise.
14743 (sub_magnitudes): Likewise.
14744 (__add): Likewise.
14745 (__sub): Likewise.
14746 (__mul): Likewise.
14747 (__sqr): Likewise.
14748 (__inv): Likewise.
14749 (__dvd): Likewise.
14750
14751 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14752 commented code.
14753 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14754 (__dubcos): Likewise.
14755 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14756 (__ieee754_acos): Likewise.
14757 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14758 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14759 (__exp1): Likewise.
14760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14762 (log1): Likewise.
14763 (my_log2): Likewise.
14764 (checkint): Likewise.
14765 * sysdeps/ieee754/dbl-64/e_remainder.c
14766 (__ieee754_remainder): Likewise.
14767 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14769 (bsloww): Likewise.
14770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14771
14772 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14773 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14774 MANTISSA_STORE_T to store computations on mantissa. Use
14775 macros for rounding and division.
14776 (denorm): Likewise.
14777 (__dbl_mp): Likewise.
14778 (add_magnitudes): Likewise.
14779 (sub_magnitudes): Likewise.
14780 (__mul): Likewise.
14781 (__sqr): Likewise.
14782 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14783 powers of two in terms of TWOPOW macro.
14784 (mp_no): Make type of mantissa as MANTISSA_T.
14785 [!RADIXI]: Define RADIXI.
14786 [!TWO52]: Define TWO52.
14787 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14788
14789 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14790
14791 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14792 llroundl symbol when building for PPC32.
14793
14794 2013-03-24 Mark H Weaver <mhw@netris.org>
14795
14796 * manual/arith.texi (Normalization Functions): Fix prototypes for
14797 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14798
14799 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14800
14801 [BZ #13889]
14802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14803 high value to check if expl overflow.
14804 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14805 to check for underflow and overflow.
14806 * math/libm-test.inc: Add exp test.
14807
14808 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14809
14810 [BZ #11120]
14811 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14812 with NOT_IN_libc.
14813
14814 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14815
14816 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14817 symbol.
14818
14819 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14820
14821 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14822 wrap blocks consisting of several statements.
14823
14824 * sysdeps/generic/math-tests.h: New file.
14825 * sysdeps/i386/fpu/math-tests.h: Likewise.
14826 * math/test-snan.c: Include it.
14827 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14828
14829 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14830
14831 [BZ #15285]
14832 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14833 (__ieee754_j0l): Do not improve calculations using cos of twice
14834 input for inputs above LDBL_MAX / 2.0L.
14835 (__ieee754_y0l): Likewise.
14836 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14837 (__ieee754_j1l): Do not improve calculations using cos of twice
14838 input for inputs above LDBL_MAX / 2.0L.
14839 (__ieee754_y1l): Likewise.
14840 * math/libm-test.inc (j0_test): Add another test.
14841 (j1_test): Likewise.
14842 (y0_test): Likewise.
14843 (y1_test): Likewise.
14844 * sysdeps/i386/fpu/libm-test-ulps: Update.
14845
14846 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14847
14848 * Rules ($(objpfx)bench-%.c): Include code from a C source
14849 file.
14850
14851 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14852
14853 [BZ #15287]
14854 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14855 imaginary part 1.0 and real part less than 0.5 specially.
14856 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14857 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14858 * math/libm-test.inc (cacos_test): Add more tests.
14859 (casin_test): Likewise.
14860 (casinh_test): Likewise.
14861 * sysdeps/i386/fpu/libm-test-ulps: Update.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14863
14864 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14865
14866 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14867 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14868
14869 2013-03-20 Joseph Myers <joseph@codesourcery.com>
14870
14871 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14872 * config.make.in (config-cflags-sse4): Remove variable.
14873 (config-cflags-avx): Likewise.
14874 (config-cflags-sse2avx): Likewise.
14875 (config-cflags-novzeroupper): Likewise.
14876 (config-asflags-i686): Likewise.
14877 (have-mfma4): Likewise.
14878 (have-as-vis3): Likewise.
14879 (MIG): Likewise.
14880 * configure.in (MIG): Do not AC_SUBST.
14881 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14882 (libc_cv_cc_sse4): Do not AC_SUBST.
14883 (libc_cv_cc_avx): Likewise.
14884 (libc_cv_cc_sse2avx): Likewise.
14885 (libc_cv_cc_novzeroupper): Likewise.
14886 (libc_cv_cc_fma4): Likewise.
14887 (libc_cv_as_i686): Likewise.
14888 (libc_cv_sparc_as_vis3): Likewise.
14889 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14890 LIBC_CONFIG_VAR.
14891 (config-asflags-i686): Likewise.
14892 (config-cflags-avx): Likewise.
14893 (config-cflags-sse2avx): Likewise.
14894 (have-mfma4): Likewise.
14895 (config-cflags-novzeroupper): Likewise.
14896 * sysdeps/mach/configure.in (MIG): Likewise.
14897 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14898 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14899 LIBC_CONFIG_VAR.
14900 (config-cflags-avx): Likewise.
14901 (config-cflags-sse2avx): Likewise.
14902 (have-mfma4): Likewise.
14903 (config-cflags-novzeroupper): Likewise.
14904 * configure: Regenerated.
14905 * sysdeps/i386/configure: Likewise.
14906 * sysdeps/mach/configure: Likewise.
14907 * sysdeps/sparc/configure: Likewise.
14908 * sysdeps/x86_64/configure: Likewise.
14909
14910 2013-03-20 Roland McGrath <roland@hack.frob.com>
14911
14912 [BZ #14812]
14913 * locale/programs/localedef.c (options): Put N_ translation marker
14914 on argument names, not just descriptions.
14915
14916 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14917
14918 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14919
14920 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
14921
14922 [BZ #14176]
14923 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14924
14925 2013-03-19 Roland McGrath <roland@hack.frob.com>
14926
14927 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14928 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14929 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14930 [!BEFORE_ABORT] (before_abort): New function.
14931 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14932 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14933 (writev_for_fatal): New function.
14934 (WRITEV_FOR_FATAL): New macro; call that.
14935 (backtrace_and_maps): New function.
14936 (BEFORE_ABORT): New macro; call that.
14937 (struct str_list): Type removed.
14938 (__libc_message, __libc_fatal): Functions removed.
14939 Include <sysdeps/posix/libc_fatal.c> instead.
14940
14941 2013-03-19 Joseph Myers <joseph@codesourcery.com>
14942
14943 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14944 constants.
14945 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14946 double constants.
14947
14948 2013-03-19 Andreas Schwab <schwab@suse.de>
14949
14950 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14951 * sysdeps/gnu/configure: Regenerate.
14952
14953 * configure.in: Substitute libc_cv_rtlddir.
14954 * configure: Regenerate.
14955 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14956 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14957 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14958 * elf/Makefile (install-others, CFLAGS-interp.c)
14959 (ldso_install, common-ldd-rewrite): Likewise.
14960 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14961 $(inst_slibdir)/$(rtld-installed-name).
14962 * scripts/rellns-sh: Add -p option.
14963 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14964 for source.
14965
14966 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14967
14968 * manual/nptl.texi: Renamed to ...
14969 * manual/threads.texi: ... this.
14970 * manual/Makefile (chapters): Update.
14971
14972 2013-03-18 Roland McGrath <roland@hack.frob.com>
14973
14974 [BZ #14812]
14975 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14976 on argument names, not just descriptions.
14977 * malloc/memusagestat.c (options): Likewise.
14978 * nss/getent.c (options): Likewise.
14979
14980 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
14981
14982 [BZ #14812]
14983 * iconv/iconv_prog.c (options): Put N_ translation marker
14984 on argument names, not just descriptions.
14985 * iconv/iconvconfig.c (options): Likewise.
14986
14987 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
14988
14989 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14990 implementation which is faster on all x86_64 architectures.
14991 Tested on AMD, Intel Nehalem, SNB, IVB.
14992 * sysdeps/x86_64/strnlen.S: Likewise.
14993
14994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14995 Remove all multiarch strlen and strnlen versions.
14996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14997 Remove strlen and strnlen related parts.
14998
14999 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15000 Inline strlen part.
15001 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15002
15003 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15004 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15005 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15006 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15007 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15008 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15009
15010 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15011
15012 * manual/memory.texi (Malloc Tunable Parameters):
15013 Sort parameters alphabetically. Add comments for missing entries.
15014
15015 2013-03-17 David S. Miller <davem@davemloft.net>
15016
15017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15018
15019 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15020
15021 [BZ #15283]
15022 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15023 for arguments at most half maximum finite value.
15024 * math/libm-test.inc (j0_test): Add more tests.
15025 (j1_test): Likewise.
15026 (y0_test): Likewise.
15027 (y1_test): Likewise.
15028 * sysdeps/i386/fpu/libm-test-ulps: Update.
15029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15030
15031 [BZ #14155]
15032 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15033 1 / x and functions P and Q for arguments above 0x1p256L.
15034 (__ieee754_y0l): Likewise.
15035 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15036 (__ieee754_y1l): Likewise.
15037 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15038 (j1_test): Likewise.
15039 (y0_test): Likewise.
15040 (y1_test): Likewise.
15041
15042 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15043
15044 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15045 variable.
15046
15047 2013-03-15 Roland McGrath <roland@hack.frob.com>
15048
15049 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15050 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15051 zero since it's initialized to EXEC_PAGESIZE.
15052
15053 * sysdeps/unix/sysv/linux/ldsodefs.h
15054 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15055 * sysdeps/generic/ldsodefs.h: ... here.
15056
15057 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15058
15059 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15060
15061 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15062 math/test-snan.c.
15063 * math/test-snan.c: Renamed from
15064 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15065 * math/Makefile (tests): Add test-snan.
15066 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15067 test-powerpc-snan.
15068
15069 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15070 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15071 functions.
15072 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15073 __builtin_nan family of functions.
15074 * math/libm-test.inc (initialize): Initialize qnan_value with
15075 __builtin_nan family of functions.
15076 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15077 Remove variables.
15078 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15079 Remove functions.
15080 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15081 storage class. Initialize qNaN_var and sNaN_var with
15082 __builtin_nan and __builtin_nans families of functions,
15083 respectively.
15084
15085 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15086 (sqrt_test): Remove duplicate test with qNaN input.
15087 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15088 (round_test, signbit_test, significand_test): Note missing +/-Inf
15089 as well as qNaN tests.
15090
15091 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15092 qNaN_var. Fix a few strings, too.
15093 * math/libm-test.inc (nan_value): Rename to qnan_value.
15094 * math/gen-libm-test.pl (%beautify): Adjust to that.
15095 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15096 * math/test-misc.c (main): Likewise.
15097 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15098 to __qnan_bytes, and __qnan_union, respectively.
15099 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15100 Likewise.
15101 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15102 and lqnanval, respectively.
15103 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15104 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15105 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15106 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15107
15108 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15109 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15110 doubles.
15111
15112 * math/test-misc.c (main): Fix copy'n'pastos.
15113 * misc/tst-efgcvt.c (special): Likewise.
15114
15115 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15116 Remove declarations.
15117
15118 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15119
15120 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15121 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15122 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15123 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15124
15125 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126
15127 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15128 macro to return vdso values correctly in IFUNC implementations.
15129 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15130 Optimization by using IFUNC.
15131
15132 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15133 Richard Henderson <rth@redhat.com>
15134 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15135
15136 * Makefile.in (bench): New target.
15137 * NEWS: Mention the benchmark framework.
15138 * Rules (bench): Likewise.
15139 (binaries-bench): Generate binaries for functions to
15140 benchmark.
15141 * benchtests/Makefile: New makefile for benchmark tests.
15142 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15143 programs.
15144 * benchtests/exp-inputs: New input file for EXP function.
15145 * benchtests/pow-inputs: New input file for POW function.
15146 * scripts/bench.pl: New script to generate source files for
15147 benchmark programs.
15148
15149 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15150
15151 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15152 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15153 computations on mantissa. Use macros for rounding and
15154 division.
15155 (denorm): Likewise.
15156 (__dbl_mp): Likewise.
15157 (add_magnitudes): Likewise.
15158 (sub_magnitudes): Likewise.
15159 (__mul): Likewise.
15160 (__sqr): Likewise.
15161 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15162 powers of two in terms of TWOPOW macro.
15163 (mp_no): Make type of mantissa as MANTISSA_T.
15164 [!RADIXI]: Define RADIXI.
15165 [!TWO52]: Define TWO52.
15166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15167
15168 * manual/nptl.texi (cindex): Modify threads to pthreads.
15169
15170 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15171
15172 * sysdeps/x86_64/preconfigure: Regenerated.
15173
15174 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #14155]
15177 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15178 0x1p28 and above.
15179 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15180 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15181 0x1p28 and above.
15182 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15183 * math/libm-test.inc (j0_test): Do not allow one spurious
15184 underflow exception.
15185 (y1_test): Likewise.
15186
15187 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15188
15189 * manual/Makefile (chapters): Add nptl.
15190 * manual/debug.texi (Debugging Support): Add link to Threads
15191 chapter.
15192 * manual/nptl.texi: New file.
15193
15194 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15195
15196 2013-03-14 Petr Baudis <pasky@ucw.cz>
15197
15198 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15199 for non-NULL pointer before the memory validity test. Pointed
15200 out by Holger Brunck <holger.brunck@keymile.com>.
15201
15202 2013-03-13 Andreas Schwab <schwab@suse.de>
15203
15204 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15205 instead of .os.
15206
15207 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15208
15209 * timezone/zic.c: Update from tzcode 2013b.
15210
15211 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15212
15213 * manual/install.texi (Configuring and compiling):
15214 Mention i686 and i586.
15215 * INSTALL: Regenerate.
15216
15217 2013-03-12 Roland McGrath <roland@hack.frob.com>
15218
15219 * sysdeps/init_array/elf-init.c: New file.
15220 * csu/elf-init.c
15221 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15222 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15223
15224 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15225 __gmon_start__ as global, but as static with a .preinit_array pointer.
15226 * sysdeps/init_array/gmon-start.c: New file. Use that.
15227 * sysdeps/init_array/crti.S: New file, empty except for comments.
15228 * sysdeps/init_array/crtn.S: Likewise.
15229
15230 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15231
15232 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15233 definining bcopy.
15234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15235 Remove Prefer_SSE_for_memop.
15236 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15237 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15238 HAS_PREFER_SSE_FOR_MEMOP.
15239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15240 memset-x86-64.
15241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15242 Remove bzero, memset ifunc support.
15243 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15244 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15245 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15246 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15247
15248 2013-03-11 Andreas Schwab <schwab@suse.de>
15249
15250 [BZ #15234]
15251 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15252 by SHLIB_COMPAT.
15253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15254 (GLIBC_2.16): Remove pthread_atfork.
15255
15256 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15257
15258 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15259 (ptestcases.h): Likewise.
15260
15261 2013-03-08 Roland McGrath <roland@hack.frob.com>
15262
15263 * Makeconfig ($(common-objpfx)config.status): Depend on
15264 sysdeps/*/preconfigure{,.in} too.
15265
15266 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15267
15268 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15269 (__free_hook): Use void * instead of __malloc_ptr_t.
15270 (__malloc_hook): Likewise.
15271 (__realloc_hook): Likewise.
15272 (__memalign_hook): Likewise.
15273 (__after_morecore_hook): Likewise.
15274 * malloc/arena.c (save_malloc_hook): Likewise.
15275 (save_free_hook): Likewise.
15276 * malloc/hooks.c (malloc_hook_ini): Likewise.
15277 (realloc_hook_ini): Likewise.
15278 (memalign_hook_ini): Likewise.
15279 * malloc/malloc.c (malloc_hook_ini): Likewise.
15280 (realloc_hook_ini): Likewise.
15281 (memalign_hook_ini): Likewise.
15282 (__free_hook): Likewise.
15283 (__malloc_hook): Likewise.
15284 (__realloc_hook): Likewise.
15285 (__memalign_hook): Likewise.
15286 (__libc_malloc): Likewise.
15287 (__libc_free): Likewise.
15288 (__libc_realloc): Likewise.
15289 (__libc_memalign): Likewise.
15290 (__libc_valloc): Likewise.
15291 (__libc_pvalloc): Likewise.
15292 (__libc_calloc): Likewise.
15293 (__posix_memalign): Likewise.
15294 * malloc/morecore.c (__sbrk): Likewise.
15295 (__default_morecore): Likewise.
15296
15297 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15298
15299 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15300 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15301 __malloc_ptrdiff_t.
15302
15303 * malloc/malloc.h (__malloc_size_t): Remove macro.
15304 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15305 __malloc_size_t.
15306 (old_memalign_hook): Likewise.
15307 (old_realloc_hook): Likewise.
15308 (struct hdr): Likewise.
15309 (flood): Likewise.
15310 (mallochook): Likewise.
15311 (memalignhook): Likewise.
15312 (reallochook): Likewise.
15313 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15314 (tr_old_realloc_hook): Likewise.
15315 (tr_old_memalign_hook): Likewise.
15316 (tr_mallochook): Likewise.
15317 (tr_reallochook): Likewise.
15318 (tr_memalignhook): Likewise.
15319
15320 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15321
15322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15323 default_ldbl_pack and using as default implementation.
15324 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15325 implementation.
15326 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15327 redundant definition.
15328 (ldbl_insert_mantissa): Likewise.
15329 (ldbl_canonicalize): Likewise.
15330 (ldbl_nearbyint): Likewise.
15331 (ldbl_pack): Rename to ldbl_pack_ppc.
15332 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15333 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15334 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15335
15336 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15337
15338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15339 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15341 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15344 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15345 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15346
15347 2013-03-07 Andreas Jaeger <aj@suse.de>
15348
15349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15350 bits/mman-linux.h.
15351
15352 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15353
15354 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15355 Include mpa.h and declare __MPEXP.
15356 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15357 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15358 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15359 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15360 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15361 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15362 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15363
15364 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15365 (__slowpow): Use long double EXPL and LOGL functions to
15366 compute POW.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15368 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15370 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15371 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15372 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15373
15374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15375 intermediate variable to calculate exponent.
15376 (__sqr): Likewise.
15377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15378 Likewise.
15379 (__sqr): Likewise.
15380
15381 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15382 [!NO__SQR]: Define __sqr.
15383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15384 and NO__SQR. Remove all code except __mul and __sqr. Include
15385 sysdeps/ieee754/dbl-64/mpa.c.
15386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15387
15388 [BZ #12723]
15389 * posix/Makefile (tests): Add tst-pathconf.
15390 * posix/tst-pathconf.c: New test case.
15391 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15392 _PC_PIPE_BUF.
15393 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15394
15395 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15396
15397 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15398
15399 2013-03-06 Andreas Jaeger <aj@suse.de>
15400
15401 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15402 definition via __MAP_ANONYMOUS.
15403
15404 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15405 it's not part of Linux headers.
15406
15407 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15408 (MAP_HUGE_MASK): Define.
15409
15410 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15411 Define.
15412 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15414 Define.
15415 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15416 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15417 Define.
15418 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15419 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15420 Define.
15421 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15422
15423 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15424 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15425 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15426 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15427 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15428 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15429
15430 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15431 Handle f2fs.
15432
15433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15434 Handle f2fs and efivarfs.
15435
15436 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15437 f2fs.
15438
15439 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15440 (EFIVARFS_MAGIC): Add.
15441 (F2FS_LINK_MAX): Add.
15442
15443 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15444
15445 * stdio-common/vfprintf.c: Replace __builtin_expect with
15446 __glibc_unlikely.
15447
15448 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15449
15450 [BZ #13550]
15451 * sysdeps/generic/bp-sym.h: Remove file.
15452 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15453 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15454 <bp-sym.h> and <bp-asm.h>.
15455 (__longjmp): Don't use BP_SYM.
15456 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15457 and <bp-asm.h>.
15458 (memcpy): Don't use BP_SYM.
15459 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15460 <bp-sym.h> and <bp-asm.h>.
15461 (memcpy): Don't use BP_SYM.
15462 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15463 <bp-asm.h>.
15464 (memcpy): Don't use BP_SYM.
15465 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15466 <bp-asm.h>.
15467 (memset): Don't use BP_SYM.
15468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15470 (__bzero): Don't use BP_SYM.
15471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15473 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15474 <bp-sym.h> and <bp-asm.h>.
15475 (memcmp): Don't use BP_SYM. Remove comment about bounded
15476 pointers.
15477 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15478 <bp-sym.h> and <bp-asm.h>.
15479 (memcpy): Don't use BP_SYM.
15480 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15481 <bp-sym.h> and <bp-asm.h>.
15482 (memset): Don't use BP_SYM.
15483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15485 (__bzero): Don't use BP_SYM.
15486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15488 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15489 <bp-sym.h> and <bp-asm.h>.
15490 (strncmp): Don't use BP_SYM. Remove comment about bounded
15491 pointers.
15492 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15493 <bp-sym.h> and <bp-asm.h>.
15494 (memcpy): Don't use BP_SYM.
15495 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15496 <bp-sym.h> and <bp-asm.h>.
15497 (memset): Don't use BP_SYM.
15498 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15499 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15500 (__bzero): Don't use BP_SYM.
15501 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15502 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15504 <bp-sym.h> and <bp-asm.h>.
15505 (__memchr): Don't use BP_SYM.
15506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15507 <bp-sym.h> and <bp-asm.h>.
15508 (memcmp): Don't use BP_SYM. Remove comment about bounded
15509 pointers.
15510 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15511 <bp-sym.h> and <bp-asm.h>.
15512 (memcpy): Don't use BP_SYM.
15513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15514 <bp-sym.h> and <bp-asm.h>.
15515 (__mempcpy): Don't use BP_SYM.
15516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15517 <bp-sym.h> and <bp-asm.h>.
15518 (__memrchr): Don't use BP_SYM.
15519 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15520 <bp-sym.h> and <bp-asm.h>.
15521 (memset): Don't use BP_SYM.
15522 (__bzero): Likewise.
15523 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15524 <bp-sym.h> and <bp-asm.h>.
15525 (__rawmemchr): Don't use BP_SYM.
15526 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15527 <bp-sym.h> and <bp-asm.h>.
15528 (__STRCMP): Don't use BP_SYM.
15529 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15530 <bp-sym.h> and <bp-asm.h>.
15531 (strchr): Don't use BP_SYM.
15532 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15533 <bp-sym.h> and <bp-asm.h>.
15534 (__strchrnul): Don't use BP_SYM.
15535 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15536 <bp-sym.h> and <bp-asm.h>.
15537 (strlen): Don't use BP_SYM.
15538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15539 <bp-sym.h> and <bp-asm.h>.
15540 (strncmp): Don't use BP_SYM. Remove comment about bounded
15541 pointers.
15542 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15543 <bp-sym.h> and <bp-asm.h>.
15544 (__strnlen): Don't use BP_SYM.
15545 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15546 <bp-sym.h> and <bp-asm.h>.
15547 (__GI__setjmp): Don't use BP_SYM.
15548 (_setjmp): Likewise.
15549 (__sigsetjmp): Likewise.
15550 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15551 (L(start_addresses)): Don't use BP_SYM.
15552 (_start): Likewise.
15553 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15554 <bp-asm.h>.
15555 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15556 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15557 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15558 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15559 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15560 <bp-asm.h>.
15561 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15562 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15563 about bounded pointers.
15564 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15565 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15566 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15567 <bp-asm.h>.
15568 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15569 about bounded pointers. Remove GKM FIXME comments.
15570 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15571 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15572 <bp-asm.h>.
15573 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15574 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15575 Remove GKM FIXME comments.
15576 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15577 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15578 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15579 <bp-asm.h>.
15580 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15581 about bounded pointers. Remove GKM FIXME comment.
15582 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15583 and <bp-asm.h>.
15584 (strncmp): Don't use BP_SYM. Remove comment about bounded
15585 pointers.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15587 <bp-sym.h> and <bp-asm.h>.
15588 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15590 <bp-sym.h> and <bp-asm.h>.
15591 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15592 comment.
15593
15594 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15595
15596 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15597 call free(NULL).
15598
15599 2013-03-05 David S. Miller <davem@davemloft.net>
15600
15601 * po/es.po: Update from translation team.
15602
15603 2013-03-05 Andreas Jaeger <aj@suse.de>
15604
15605 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15606 <bits/mman-linux.h>.
15607 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15608 is fine.
15609 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15610 <bits/mman-linux.h> to end of file.
15611 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15612 is fine.
15613 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15614 <bits/mman-linux.h> to end of file.
15615 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15616 is fine.
15617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15618 <bits/mman-linux.h> to end of file.
15619
15620 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15621 (MCL_CURRENT, MCL_FUTURE): Define here.
15622
15623 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15624
15625 [BZ #15232]
15626 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15627 attribute_hidden.
15628 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15629
15630 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15631
15632 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15633 fourth parameter needed for rt_sigprocmask syscall.
15634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15636 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15637 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15638 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15639 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15640
15641 2013-03-04 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #13550]
15644 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15645 comment about bounded pointers.
15646 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15647 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15648
15649 2013-03-04 Andreas Jaeger <aj@suse.de>
15650
15651 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15652 common definitions.
15653
15654 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15655 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15656 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15657 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15659 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15660
15661 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15662
15663 [BZ #15055]
15664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15665 __ieee754_sqrl instead of __sqrl.
15666
15667 2013-03-01 Joseph Myers <joseph@codesourcery.com>
15668
15669 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15670 * sysdeps/powerpc/fpu_control.h: ... here.
15671 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15672 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15673 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15674 * sysdeps/powerpc/bits/mathinline.h: ... here.
15675
15676 2013-03-01 Roland McGrath <roland@hack.frob.com>
15677
15678 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15679 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15680 to just [NEED_DL_SYSINFO_DSO].
15681 * elf/dl-support.c: Likewise.
15682 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15683 * elf/rtld.c (dl_main): Likewise.
15684 * elf/setup-vdso.h (setup_vdso): Likewise.
15685 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15686 * sysdeps/unix/sysv/linux/dl-sysdep.c
15687 (_dl_discover_osversion): Likewise.
15688
15689 2013-03-01 Carlos O'Donell <carlos@redhat.com>
15690
15691 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15692 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15693
15694 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15695
15696 * NEWS: Mention libm performance improvements and non-x86 PI
15697 futex support.
15698
15699 * csu/libc-start.c (__pthread_initialize_minimal): Change
15700 function arguments.
15701 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15702
15703 2013-02-28 Joseph Myers <joseph@codesourcery.com>
15704
15705 [BZ #13550]
15706 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15707 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15708 <bp-sym.h> and <bp-asm.h>.
15709 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15710 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15711 and <bp-asm.h>.
15712 (memcpy): Don't use BP_SYM.
15713 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15714 <bp-asm.h>.
15715 (__mpn_add_n): Don't use BP_SYM.
15716 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15717 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15718 and <bp-asm.h>.
15719 (__mpn_addmul_1): Don't use BP_SYM.
15720 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15721 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15722 <bp-sym.h>.
15723 (_setjmp): Don't use BP_SYM.
15724 (__novmx_setjmp): Likewise.
15725 (__GI__setjmp): Likewise.
15726 (__vmx_setjmp): Likewise.
15727 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15728 <bp-sym.h>.
15729 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15730 (__bzero): Don't use BP_SYM.
15731 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15732 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15733 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15734 <bp-sym.h> and <bp-asm.h>.
15735 (memcpy): Don't use BP_SYM.
15736 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15737 <bp-sym.h> and <bp-asm.h>.
15738 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15739 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15740 <bp-sym.h> and <bp-asm.h>.
15741 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15742 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15743 <bp-asm.h>.
15744 (__mpn_lshift): Don't use BP_SYM.
15745 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15746 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15747 <bp-asm.h>.
15748 (memset): Don't use BP_SYM.
15749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15751 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15752 <bp-asm.h>.
15753 (__mpn_mul_1): Don't use BP_SYM.
15754 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15755 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15756 <bp-sym.h> and <bp-asm.h>.
15757 (memcmp): Don't use BP_SYM.
15758 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15759 <bp-sym.h> and <bp-asm.h>.
15760 (memcpy): Don't use BP_SYM.
15761 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15762 <bp-sym.h> and <bp-asm.h>.
15763 (memset): Don't use BP_SYM.
15764 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15765 <bp-sym.h> and <bp-asm.h>.
15766 (strncmp): Don't use BP_SYM.
15767 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15768 <bp-sym.h> and <bp-asm.h>.
15769 (memcpy): Don't use BP_SYM.
15770 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15771 <bp-sym.h> and <bp-asm.h>.
15772 (memset): Don't use BP_SYM.
15773 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15774 <bp-sym.h> and <bp-asm.h>.
15775 (__memchr): Don't use BP_SYM.
15776 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15777 <bp-sym.h> and <bp-asm.h>.
15778 (memcmp): Don't use BP_SYM.
15779 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15780 <bp-sym.h> and <bp-asm.h>.
15781 (memcpy): Don't use BP_SYM.
15782 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15783 <bp-sym.h> and <bp-asm.h>.
15784 (__mempcpy): Don't use BP_SYM.
15785 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15786 <bp-sym.h> and <bp-asm.h>.
15787 (__memrchr): Don't use BP_SYM.
15788 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15789 <bp-sym.h> and <bp-asm.h>.
15790 (memset): Don't use BP_SYM.
15791 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15792 <bp-sym.h> and <bp-asm.h>.
15793 (__rawmemchr): Don't use BP_SYM.
15794 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15795 <bp-sym.h> and <bp-asm.h>.
15796 (__STRCMP): Don't use BP_SYM.
15797 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15798 <bp-sym.h> and <bp-asm.h>.
15799 (strchr): Don't use BP_SYM.
15800 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15801 <bp-sym.h> and <bp-asm.h>.
15802 (__strchrnul): Don't use BP_SYM.
15803 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15804 <bp-sym.h> and <bp-asm.h>.
15805 (strlen): Don't use BP_SYM.
15806 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15807 <bp-sym.h> and <bp-asm.h>.
15808 (strncmp): Don't use BP_SYM.
15809 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15810 <bp-sym.h> and <bp-asm.h>.
15811 (__strnlen): Don't use BP_SYM.
15812 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15813 <bp-asm.h>.
15814 (__mpn_rshift): Don't use BP_SYM.
15815 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15816 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15817 <bp-sym.h> and <bp-asm.h>.
15818 (__sigsetjmp): Don't use BP_SYM.
15819 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15820 (L(start_addresses)): Don't use BP_SYM.
15821 (_start): Likewise.
15822 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15823 <bp-asm.h>.
15824 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15825 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15826 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15827 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15828 <bp-asm.h>.
15829 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15830 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15831 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15832 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15833 <bp-asm.h>.
15834 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15835 comments.
15836 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15837 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15838 <bp-asm.h>.
15839 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15840 FIXME comments.
15841 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15842 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15843 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15844 <bp-asm.h>.
15845 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15846 comment.
15847 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15848 and <bp-asm.h>.
15849 (strncmp): Don't use BP_SYM,
15850 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15851 <bp-asm.h>.
15852 (__mpn_sub_n): Don't use BP_SYM.
15853 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15854 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15855 and <bp-asm.h>.
15856 (__mpn_submul_1): Don't use BP_SYM.
15857 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15859 <bp-sym.h> and <bp-asm.h>.
15860 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15862 <bp-sym.h> and <bp-asm.h>.
15863 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15864 comment.
15865
15866 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15867
15868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15869 Use ZK to minimize writes to Z.
15870 (sub_magnitudes): Simplify code a bit.
15871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15872 Use ZK to minimize writes to Z.
15873 (sub_magnitudes): Simplify code a bit.
15874
15875 2013-02-27 Roland McGrath <roland@hack.frob.com>
15876
15877 * csu/gmon-start.c: Add special exception to license text.
15878
15879 2013-02-27 Richard Henderson <rth@redhat.com>
15880
15881 * scripts/config.guess: Update from config.git.
15882 * scripts/config.sub: Likewise.
15883
15884 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15885
15886 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15887
15888 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15889
15890 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15891
15892 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15893
15894 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15895
15896 2013-02-26 Roland McGrath <roland@hack.frob.com>
15897
15898 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15899 [$(build-shared = yes].
15900
15901 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15902
15903 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15904 (__mul): Reduce iterations for calculating mantissa.
15905
15906 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15907 MPTWO.
15908 (__mpranred): Likewise.
15909
15910 [BZ #15160]
15911 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15912 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15913
15914 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15915
15916 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15917 Define __attribute__.
15918
15919 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15920
15921 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15922 unused.
15923 * posix/regex_internal.h (__attribute): Remove.
15924 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15925 (re_string_context_at): Likewise.
15926 (bitset_not): Use __attribute__ and mark function as possibly
15927 unused.
15928 (bitset_merge): Likewise.
15929 (bitset_mask): Likewise.
15930 (re_string_char_size_at): Likewise.
15931 (re_string_wchar_at): Likewise.
15932 (re_string_elem_size_at): Likewise.
15933
15934 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15935
15936 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15937 code.
15938 (cc32): Likewise.
15939
15940 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15941 (__acr): Likewise.
15942 (__cpy): Likewise.
15943 (norm): Likewise.
15944 (denorm): Likewise.
15945 (__dbl_mp): Likewise.
15946 (add_magnitudes): Likewise.
15947 (sub_magnitudes): Likewise.
15948 (__mul): Likewise.
15949 (__inv): Likewise.
15950
15951 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15952 style.
15953
15954 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15955 style.
15956
15957 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15958 code.
15959
15960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15961 up changes with default code.
15962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15963 Likewise.
15964
15965 2013-02-24 Allan McRae <allan@archlinux.org>
15966
15967 * manual/socket.texi (The Internet Namespace): Order menu items
15968 to match that in the file.
15969
15970 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15971 node listing of the info page menu.
15972
15973 2013-02-21 Joseph Myers <joseph@codesourcery.com>
15974
15975 [BZ #13550]
15976 * sysdeps/i386/bp-asm.h: Remove file.
15977 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15978 (PARMS): Do not use macros from bp-asm.h.
15979 (S1): Likewise.
15980 (S2): Likewise.
15981 (SIZE): Likewise.
15982 (__mpn_add_n): Do not use BP_SYM
15983 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15984 "bp-asm.h".
15985 (PARMS): Do not use macros from bp-asm.h.
15986 (S1): Likewise.
15987 (SIZE): Likewise.
15988 (__mpn_addmul_1): Do not use BP_SYM
15989 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15990 "bp-asm.h".
15991 (PARMS): Do not use macros from bp-asm.h.
15992 (SIGMSK): Likewise.
15993 (_setjmp): Likewise. Do not use BP_SYM.
15994 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15995 "bp-asm.h".
15996 (PARMS): Do not use macros from bp-asm.h.
15997 (SIGMSK): Likewise.
15998 (setjmp): Likewise. Do not use BP_SYM.
15999 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16000 "bp-asm.h".
16001 (PARMS): Do not use macros from bp-asm.h.
16002 (__frexp): Do not use BP_SYM.
16003 (frexp): Likewise.
16004 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16005 "bp-asm.h".
16006 (PARMS): Do not use macros from bp-asm.h.
16007 (__frexpf): Do not use BP_SYM.
16008 (frexpf): Likewise.
16009 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16010 "bp-asm.h".
16011 (PARMS): Do not use macros from bp-asm.h.
16012 (__frexpl): Do not use BP_SYM.
16013 (frexpl): Likewise.
16014 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16015 "bp-asm.h".
16016 (PARMS): Do not use macros from bp-asm.h.
16017 (__remquo): Do not use BP_SYM.
16018 (remquo): Likewise.
16019 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16020 "bp-asm.h".
16021 (PARMS): Do not use macros from bp-asm.h.
16022 (__remquof): Do not use BP_SYM.
16023 (remquof): Likewise.
16024 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16025 "bp-asm.h".
16026 (PARMS): Do not use macros from bp-asm.h.
16027 (__remquol): Do not use BP_SYM.
16028 (remquol): Likewise.
16029 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16030 "bp-asm.h".
16031 (PARMS): Do not use macros from bp-asm.h.
16032 (DEST): Likewise.
16033 (SRC): Likewise.
16034 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16035 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16036 "bp-asm.h".
16037 (PARMS): Do not use macros from bp-asm.h.
16038 (strlen): Do not use BP_SYM.
16039 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16040 "bp-asm.h".
16041 (PARMS): Do not use macros from bp-asm.h.
16042 (S1): Likewise.
16043 (S2): Likewise.
16044 (SIZE): Likewise.
16045 (__mpn_add_n): Do not use BP_SYM.
16046 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16047 "bp-asm.h".
16048 (PARMS): Do not use macros from bp-asm.h.
16049 (S1): Likewise.
16050 (SIZE): Likewise.
16051 (__mpn_addmul_1): Do not use BP_SYM.
16052 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16053 weak_alias.
16054 (bzero): Likewise.
16055 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16056 "bp-asm.h".
16057 (PARMS): Do not use macros from bp-asm.h.
16058 (S): Likewise.
16059 (SIZE): Likewise.
16060 (__mpn_lshift): Do not use BP_SYM.
16061 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16062 "bp-asm.h".
16063 (PARMS): Do not use macros from bp-asm.h.
16064 (DEST): Likewise.
16065 (SRC): Likewise.
16066 (LEN): Likewise.
16067 (memcpy): Likewise. Do not use BP_SYM.
16068 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16069 libc_hidden_def and weak_alias.
16070 (mempcpy): Do not use BP_SYM in weak_alias.
16071 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16072 "bp-asm.h".
16073 (PARMS): Do not use macros from bp-asm.h.
16074 (DEST): Likewise.
16075 (LEN): Likewise.
16076 [!BZERO_P] (CHR): Likewise.
16077 (memset): Likewise. Do not use BP_SYM.
16078 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16079 "bp-asm.h".
16080 (PARMS): Do not use macros from bp-asm.h.
16081 (S1): Likewise.
16082 (SIZE): Likewise.
16083 (__mpn_mul_1): Do not use BP_SYM.
16084 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16085 "bp-asm.h".
16086 (PARMS): Do not use macros from bp-asm.h.
16087 (S): Likewise.
16088 (SIZE): Likewise.
16089 (__mpn_rshift): Do not use BP_SYM.
16090 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16091 "bp-asm.h".
16092 (PARMS): Do not use macros from bp-asm.h.
16093 (STR): Likewise.
16094 (CHR): Likewise.
16095 (strchr): Likewise. Do not use BP_SYM.
16096 (index): Do not use BP_SYM in weak_alias.
16097 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16098 "bp-asm.h".
16099 (PARMS): Do not use macros from bp-asm.h.
16100 (DEST): Likewise.
16101 (SRC): Likewise.
16102 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16103 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16104 "bp-asm.h".
16105 (PARMS): Do not use macros from bp-asm.h.
16106 (strlen): Do not use BP_SYM.
16107 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16108 "bp-asm.h".
16109 (PARMS): Do not use macros from bp-asm.h.
16110 (S1): Likewise.
16111 (S2): Likewise.
16112 (SIZE): Likewise.
16113 (__mpn_sub_n): Do not use BP_SYM.
16114 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16115 "bp-asm.h".
16116 (PARMS): Do not use macros from bp-asm.h.
16117 (S1): Likewise.
16118 (SIZE): Likewise.
16119 (__mpn_submul_1): Do not use BP_SYM.
16120 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16121 "bp-asm.h".
16122 (PARMS): Do not use macros from bp-asm.h.
16123 (S1): Likewise.
16124 (S2): Likewise.
16125 (SIZE): Likewise.
16126 (__mpn_add_n): Do not use BP_SYM.
16127 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16128 weak_alias.
16129 (bzero): Likewise.
16130 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16131 "bp-asm.h".
16132 (PARMS): Do not use macros from bp-asm.h.
16133 (BLK2): Likewise.
16134 (LEN): Likewise.
16135 (memcmp): Do not use BP_SYM.
16136 (bcmp): Do not use BP_SYM in weak_alias.
16137 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16138 "bp-asm.h".
16139 (PARMS): Do not use macros from bp-asm.h.
16140 (DEST): Likewise.
16141 (SRC): Likewise.
16142 (LEN): Likewise.
16143 (memcpy): Likewise. Do not use BP_SYM.
16144 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16145 "bp-asm.h".
16146 (PARMS): Do not use macros from bp-asm.h.
16147 (DEST): Likewise.
16148 (SRC): Likewise.
16149 (LEN): Likewise.
16150 (memmove): Likewise. Do not use BP_SYM.
16151 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16152 "bp-asm.h".
16153 (PARMS): Do not use macros from bp-asm.h.
16154 (DEST): Likewise.
16155 (SRC): Likewise.
16156 (LEN): Likewise.
16157 (__mempcpy): Likewise. Do not use BP_SYM.
16158 (mempcpy): Do not use BP_SYM in weak_alias.
16159 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16160 "bp-asm.h".
16161 (PARMS): Do not use macros from bp-asm.h.
16162 (DEST): Likewise.
16163 (LEN): Likewise.
16164 [!BZERO_P] (CHR): Likewise.
16165 (memset): Likewise. Do not use BP_SYM.
16166 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16167 "bp-asm.h".
16168 (PARMS): Do not use macros from bp-asm.h.
16169 (STR2): Likewise.
16170 (strcmp): Do not use BP_SYM.
16171 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16172 "bp-asm.h".
16173 (PARMS): Do not use macros from bp-asm.h.
16174 (STR): Likewise.
16175 (DELIM): Likewise.
16176 [USE_AS_STRTOK_R] (SAVE): Likewise.
16177 (FUNCTION): Likewise. Do not use BP_SYM.
16178 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16179 aliases.
16180 (strtok_r): Likewise.
16181 (__GI___strtok_r): Likewise.
16182 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16183 (PARMS): Do not use macros from bp-asm.h.
16184 (S): Likewise.
16185 (SIZE): Likewise.
16186 (__mpn_lshift): Do not use BP_SYM.
16187 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16188 (PARMS): Do not use macros from bp-asm.h.
16189 (STR): Likewise.
16190 (CHR): Likewise.
16191 (__memchr): Do not use BP_SYM.
16192 (memchr): Do not use BP_SYM in weak_alias.
16193 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16194 (PARMS): Do not use macros from bp-asm.h.
16195 (BLK2): Likewise.
16196 (LEN): Likewise.
16197 (memcmp): Do not use BP_SYM.
16198 (bcmp): Do not use BP_SYM in weak_alias.
16199 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16200 (PARMS): Do not use macros from bp-asm.h.
16201 (S1): Likewise.
16202 (SIZE): Likewise.
16203 (__mpn_mul_1): Do not use BP_SYM.
16204 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16205 "bp-asm.h".
16206 (PARMS): Do not use macros from bp-asm.h.
16207 (STR): Likewise.
16208 (CHR): Likewise.
16209 (__rawmemchr): Do not use BP_SYM.
16210 (rawmemchr): Do not use BP_SYM in weak_alias.
16211 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16212 (PARMS): Do not use macros from bp-asm.h.
16213 (S): Likewise.
16214 (SIZE): Likewise.
16215 (__mpn_rshift): Do not use BP_SYM.
16216 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16217 (PARMS): Do not use macros from bp-asm.h.
16218 (SIGMSK): Likewise.
16219 (__sigsetjmp): Likewise. Do not use BP_SYM.
16220 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16221 (_start): Do not use BP_SYM.
16222 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16223 (PARMS): Do not use macros from bp-asm.h.
16224 (DEST): Likewise.
16225 (SRC): Likewise.
16226 (__stpcpy): Likewise. Do not use BP_SYM.
16227 (stpcpy): Do not use BP_SYM in weak_alias.
16228 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16229 "bp-asm.h".
16230 (PARMS): Do not use macros from bp-asm.h.
16231 (DEST): Likewise.
16232 (SRC): Likewise.
16233 (LEN): Likewise.
16234 (__stpncpy): Likewise. Do not use BP_SYM.
16235 (stpncpy): Do not use BP_SYM in weak_alias.
16236 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16237 (PARMS): Do not use macros from bp-asm.h.
16238 (STR): Likewise.
16239 (CHR): Likewise.
16240 (strchr): Likewise. Do not use BP_SYM.
16241 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16242 "bp-asm.h".
16243 (PARMS): Do not use macros from bp-asm.h.
16244 (STR): Likewise.
16245 (CHR): Likewise.
16246 (__strchrnul): Likewise. Do not use BP_SYM.
16247 (strchrnul): Do not use BP_SYM in weak_alias.
16248 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16249 "bp-asm.h".
16250 (PARMS): Do not use macros from bp-asm.h.
16251 (STOP): Likewise.
16252 (strcspn): Do not use BP_SYM.
16253 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16254 "bp-asm.h".
16255 (PARMS): Do not use macros from bp-asm.h.
16256 (STR): Likewise.
16257 (STOP): Likewise.
16258 (strpbrk): Likewise. Do not use BP_SYM.
16259 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16260 "bp-asm.h".
16261 (PARMS): Do not use macros from bp-asm.h.
16262 (STR): Likewise.
16263 (CHR): Likewise.
16264 (strrchr): Likewise. Do not use BP_SYM.
16265 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16266 (PARMS): Do not use macros from bp-asm.h.
16267 (SKIP): Likewise.
16268 (strspn): Do not use BP_SYM.
16269 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16270 (PARMS): Do not use macros from bp-asm.h.
16271 (STR): Likewise.
16272 (DELIM): Likewise.
16273 (SAVE): Likewise.
16274 (FUNCTION): Likewise. Do not use BP_SYM.
16275 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16276 aliases.
16277 (strtok_r): Likewise.
16278 (__GI___strtok_r): Likewise.
16279 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16280 (PARMS): Do not use macros from bp-asm.h.
16281 (S1): Likewise.
16282 (S2): Likewise.
16283 (SIZE): Likewise.
16284 (__mpn_sub_n): Do not use BP_SYM.
16285 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16286 "bp-asm.h".
16287 (PARMS): Do not use macros from bp-asm.h.
16288 (S1): Likewise.
16289 (SIZE): Likewise.
16290 (__mpn_submul_1): Do not use BP_SYM.
16291 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16292 <bp-sym.h>.
16293 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16294 and <bp-asm.h>.
16295 (PARMS): Do not use macros from bp-asm.h.
16296 (FLAGS): Likewise.
16297 (PTID): Likewise.
16298 (TLS): Likewise.
16299 (CTID): Likewise.
16300 (__clone): Do not use BP_SYM.
16301 (clone): Do not use BP_SYM in weak_alias.
16302 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16303 and <bp-asm.h>.
16304 (PARMS): Do not use macros from bp-asm.h.
16305 (LEN): Likewise.
16306 (__mmap64): Do not use BP_SYM.
16307 (mmap64): Do not use BP_SYM in weak_alias.
16308 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16309 <bp-sym.h> and <bp-asm.h>.
16310 (PARMS): Do not use macros from bp-asm.h.
16311 (__posix_fadvise64_l64): Do not use BP_SYM.
16312 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16313 (PARMS): Do not use macros from bp-asm.h.
16314 (NSOPS): Likewise.
16315 (semtimedop): Do not use BP_SYM.
16316 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16317 and <bp-asm.h>.
16318
16319 2013-02-21 Allan McRae <allan@archlinux.org>
16320
16321 * manual/message.texi (Charset conversion in gettext):
16322 Move @end statement to beginning of line.
16323
16324 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16325
16326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16327 static.
16328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16329 Likewise.
16330
16331 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16332 (denorm): Likewise.
16333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16335
16336 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16337
16338 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16339 tail-call to the resolved function if pltexit isn't needed.
16340
16341 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16342
16343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16344 or Y being zero as being unlikely.
16345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16346 Likewise.
16347
16348 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16349
16350 * manual/nss.texi (System Databases and Name Service Switch):
16351 Remove frobnicate @pxref.
16352
16353 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16354
16355 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16356 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16357
16358 2013-02-20 Petr Machata <pmachata@redhat.com>
16359
16360 * elf/elf.h (R_ARM_TARGET1): New macro.
16361 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16362 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16363 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16364 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16365 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16366 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16367 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16368 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16369 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16370 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16371 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16372 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16373 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16374 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16375 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16376 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16377 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16378 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16379 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16380 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16381 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16382 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16383 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16384 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16385 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16386 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16387 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16388 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16389 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16390 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16391 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16392 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16393 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16394 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16395 (R_ARM_THM_GOT_BREL12): Likewise.
16396 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16397 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16398 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16399 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16400 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16401 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16402 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16403 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16404 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16405
16406 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16407
16408 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16409 __attribute_used__ to __attribute__ ((unused)).
16410
16411 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16412
16413 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16414 powerpc mpa.c.
16415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16416 comment formatting.
16417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16418
16419 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16420
16421 [BZ #13550]
16422 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16423 Remove macro.
16424 (ENTER): Remove both macro definitions.
16425 (LEAVE): Likewise.
16426 (CHECK_BOUNDS_LOW): Likewise.
16427 (CHECK_BOUNDS_HIGH): Likewise.
16428 (CHECK_BOUNDS_BOTH): Likewise.
16429 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16430 (RETURN_BOUNDED_POINTER): Likewise.
16431 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16432 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16433 (POP_ERRNO_LOCATION_RETURN): Likewise.
16434 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16435 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16436 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16437 macros.
16438 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16439 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16440 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16441 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16442 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16443 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16444 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16445 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16446 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16447 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16448 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16449 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16450 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16451 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16452 removed macros.
16453 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16454 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16455 macros.
16456 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16457 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16458 * sysdeps/i386/i586/memset.S (memset): Likewise.
16459 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16460 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16461 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16462 macros.
16463 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16464 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16465 Change uses of L(2) to L(out).
16466 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16467 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16468 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16469 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16470 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16471 removed macros.
16472 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16473 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16474 macros.
16475 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16476 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16477 (RETURN): Do not use macro LEAVE.
16478 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16479 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16480 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16481 * sysdeps/i386/i686/memset.S (memset): Likewise.
16482 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16483 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16484 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16485 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16486 Likewise.
16487 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16488 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16489 L(1_2) and L(1_3) into L(1).
16490 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16491 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16492 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16493 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16494 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16495 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16496 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16497 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16498 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16499 macros.
16500 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16501 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16502 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16503 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16504 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16505 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16506 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16507 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16508 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16509 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16510 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16511 * sysdeps/i386/strspn.S (strspn): Likewise.
16512 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16513 conditional code.
16514 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16515 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16516 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16517 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16518 L(1_3) into L(1_1).
16519 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16520 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16521 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16522 macros.
16523 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16524
16525 2013-02-19 Jakub Jelinek <jakub@redhat.com>
16526
16527 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16528 macro.
16529
16530 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16531
16532 * math/atest-exp.c (exp_mpn): Remove ROUND.
16533 * math/atest-exp2.c (exp_mpn): Likewise.
16534 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16535
16536 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16537 * stdlib/tst-tls-atexit-lib.c: Likewise.
16538 * stdlib/tst-tls-atexit.c: Likewise.
16539
16540 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16541
16542 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16543 and __attribute_alloc_size__.
16544
16545 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16546
16547 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16548 __attribute_alloc_size__.
16549 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16550 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16551
16552 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16553
16554 * include/programs/xmalloc.h: New file.
16555 * catgets/gencat.c: Include it.
16556 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16557 * elf/pldd.c: Likewise.
16558 * iconv/iconv_charmap.c: Likewise.
16559 * iconv/iconvconfig.c: Likewise.
16560 * iconv/strtab.c: Likewise.
16561 * locale/programs/locale.c: Likewise.
16562 * locale/programs/localedef.h: Likewise.
16563 * locale/programs/simple-hash.c: Likewise.
16564 * nscd/nscd.h: Likewise.
16565 * nss/makedb.c: Likewise.
16566 * sysdeps/generic/ldconfig.h: Likewise.
16567
16568 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16569
16570 * Versions.def: Add GLIBC_2.18.
16571 * include/link.h (struct link_map): New member l_tls_dtor_count.
16572 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16573 (__call_tls_dtors): Likewise.
16574 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16575 __cxa_thread_atexit_impl.
16576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16577 Likewise.
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16579 Likewise.
16580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16581 Likewise.
16582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16583 Likewise.
16584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16586 Likewise.
16587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16588 Likewise.
16589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16591 Likewise.
16592 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16593 (tests): Add test case tst-tls-atexit.
16594 (modules-names): Add shared library for tst-tls-atexit.
16595 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16596 (GLIBC_PRIVATE): Add __call_tls_dtors.
16597 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16598 for libstdc++.
16599 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16600 * stdlib/tst-tls-atexit.c: New test case.
16601 * stdlib/tst-tls-atexit-lib.c: New test case.
16602
16603 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16604
16605 * elf/Versions (ld): Add _dl_find_dso_for_object.
16606 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16607 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16608 (dl_open_worker): Use _dl_find_dso_for_object.
16609 * elf/dl-sym.c (do_sym): Likewise.
16610 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16611
16612 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16613
16614 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16615 Syntactic changes only.
16616 (_dl_runtime_profile): Do a tail-call to the resolved function.
16617
16618 2013-02-17 Joseph Myers <joseph@codesourcery.com>
16619
16620 [BZ #13550]
16621 * sysdeps/x86_64/bp-asm.h: Remove file.
16622 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16623 <bp-sym.h> and <bp-asm.h>.
16624 (__clone): Do not use BP_SYM.
16625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16626 <bp-sym.h> and <bp-asm.h>.
16627 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16628 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16629 "bp-asm.h".
16630 (_setjmp): Do not use BP_SYM.
16631 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16632 "bp-asm.h".
16633 (setjmp): Do not use BP_SYM.
16634 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16635 libc_hidden_def.
16636 (mempcpy): Do not use BP_SYM in weak_alias.
16637 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16638 "bp-asm.h".
16639 (strchr): Do not use BP_SYM.
16640 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16641 "bp-asm.h".
16642 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16643 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16644 (_start): Do not use BP_SYM.
16645 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16646 "bp-asm.h".
16647 (strcat): Do not use BP_SYM.
16648 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16649 "bp-asm.h".
16650 (STRCMP): Do not use BP_SYM.
16651 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16652 "bp-asm.h".
16653 (STRCPY): Do not use BP_SYM.
16654 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16655 "bp-asm.h".
16656 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16657 "bp-asm.h".
16658 (FUNCTION): Do not use BP_SYM.
16659 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16660 weak_alias.
16661 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16662
16663 2013-02-17 Andreas Jaeger <aj@suse.de>
16664
16665 * time/Versions: Sort entries.
16666 * string/Versions: Likewise.
16667 * resolv/Versions: Likewise.
16668 * posix/Versions: Likewise.
16669 * iconv/Versions: Likewise.
16670 * elf/Versions: Likewise.
16671 * wcsmbs/Versions: Likewise.
16672
16673 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16674
16675 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16676 loop termination condition.
16677
16678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16679 variable to calculate EZ.
16680 (__sqr): Likewise.
16681
16682 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16683 the lower precision input.
16684
16685 2013-02-15 Joseph Myers <joseph@codesourcery.com>
16686
16687 [BZ #13550]
16688 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16689 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16690 (run-via-rtld-prefix): Do not handle %-bp tests.
16691 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16692 (all-object-suffixes): Remove .ob.
16693 (bppfx): Remove variable.
16694 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16695 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16696 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16697 [$(build-bounded) = yes] (libtype.ob): Likewise.
16698 * Makerules (elide-routines.ob): Remove variable.
16699 (do-tests-clean): Do not handle *-bp.out.
16700 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16701 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16702 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16703 (tests): Do not include $(tests-bp.out).
16704 (xtests): Do not include $(xtests-bp.out).
16705 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16706 [$(build-bounded) = yes] ($(addprefix
16707 $(objpfx),$(binaries-bounded))): Remove rule.
16708 ($(objpfx)%-bp.out): Remove rule.
16709 * config.make.in (build-bounded): Remove variable.
16710 * crypt/Makefile [$(build-bounded) = yes]
16711 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16712 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16713 append to variable.
16714 [$(build-bounded) = yes] (install-lib): Likewise.
16715 [$(build-bounded) = yes] (generated): Likewise.
16716 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16717 Remove rule.
16718 * intl/Makefile [$(build-bounded) = yes]
16719 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16720 * math/Makefile [$(build-bounded) = yes]
16721 ($(tests:%=$(objpfx)%-bp): Likewise.
16722 * misc/Makefile [$(build-bounded) = yes]
16723 ($(objpfx)tst-tsearch-bp): Likewise.
16724 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16725 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16726 Remove dependency.
16727 * string/Makefile (o-objects.ob): Remove variable.
16728 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16729 (CFLAGS-.ob): Remove variable.
16730 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16731 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16732 both definitions of variable.
16733 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16734 (ASFLAGS-.ob): Remove variable.
16735
16736 2013-02-14 Joseph Myers <joseph@codesourcery.com>
16737
16738 [BZ #13550]
16739 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16740 Remove __BOUNDED_POINTERS__ from condition.
16741 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16742 * string/bits/string2.h [!__NO_STRING_INLINES &&
16743 !__BOUNDED_POINTERS__]: Likewise.
16744 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16745 Likewise.
16746 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16747 Remove conditional code.
16748 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16749 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16750 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16751 condition.
16752
16753 [BZ #13550]
16754 * csu/libc-start.c: Do not include <bp-sym.h>.
16755 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16756 * elf/dl-open.c: Do not include <bp-sym.h>.
16757 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16758 * math/fegetenv.c: Do not include <bp-sym.h>.
16759 (fegetenv): Do not use BP_SYM in versioned symbols.
16760 * nptl/sysdeps/pthread/bits/libc-lockP.h
16761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16762 <bp-sym.h>.
16763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16764 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16766 (__pthread_mutex_destroy): Likewise.
16767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16768 (__pthread_mutex_lock): Likewise.
16769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16770 (__pthread_mutex_trylock): Likewise.
16771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16772 (__pthread_mutex_unlock): Likewise.
16773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16774 (__pthread_mutexattr_init): Likewise.
16775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16776 (__pthread_mutexattr_destroy): Likewise.
16777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16778 (__pthread_mutexattr_settype): Likewise.
16779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16780 (__pthread_rwlock_init): Likewise.
16781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16782 (__pthread_rwlock_destroy): Likewise.
16783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16784 (__pthread_rwlock_rdlock): Likewise.
16785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16786 (__pthread_rwlock_tryrdlock): Likewise.
16787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16788 (__pthread_rwlock_wrlock): Likewise.
16789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16790 (__pthread_rwlock_trywrlock): Likewise.
16791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16792 (__pthread_rwlock_unlock): Likewise.
16793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16794 (__pthread_key_create): Likewise.
16795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16796 (__pthread_setspecific): Likewise.
16797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16798 (__pthread_getspecific): Likewise.
16799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16800 Likewise.
16801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16802 (_pthread_cleanup_push_defer): Likewise.
16803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16804 (_pthread_cleanup_pop_restore): Likewise.
16805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16806 (pthread_setcancelstate): Likewise.
16807 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16808 <bp-sym.h>.
16809 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16810 (memchr): Do not use BP_SYM in weak_alias.
16811 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16812 (fegetenv): Do not use BP_SYM in versioned symbols.
16813 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16814 (fesetenv): Do not use BP_SYM in versioned symbols.
16815 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16816 (feupdateenv): Do not use BP_SYM in versioned symbols.
16817 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16818 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16819 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16820 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16821 (open64): Do not use BP_SYM in weak_alias.
16822 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16823 (fegetenv): Do not use BP_SYM in versioned symbols.
16824 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16825 (fesetenv): Do not use BP_SYM in versioned symbols.
16826 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16827 (feupdateenv): Do not use BP_SYM in versioned symbols.
16828 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16829 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16830 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16831 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16832 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16833 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16834 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16835 <bp-sym.h>.
16836 (__libc_start_main): Do not use BP_SYM.
16837
16838 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16839
16840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16841 redundant return line.
16842 (norm): Likewise.
16843 (denorm): Likewise.
16844 (dbl_mp): Likewise.
16845 (sub_magnitudes): Likewise.
16846 (__add): Likewise.
16847 (__sub): Likewise.
16848 (__mul): Likewise.
16849 (__inv): Likewise.
16850 (__dvd): Likewise.
16851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16852 (norm): Likewise.
16853 (denorm): Likewise.
16854 (dbl_mp): Likewise.
16855 (sub_magnitudes): Likewise.
16856 (__add): Likewise.
16857 (__sub): Likewise.
16858 (__mul): Likewise.
16859 (__inv): Likewise.
16860 (__dvd): Likewise.
16861
16862 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16863 instead of __mul.
16864 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16865 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16866 (cc32): Likewise.
16867
16868 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16869 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16871 of __mul for squares.
16872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16873 function
16874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16875 Likewise.
16876 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16878
16879 2013-02-13 Joseph Myers <joseph@codesourcery.com>
16880
16881 [BZ #13550]
16882 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16883 code.
16884 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16885 prototype or function definition. Rename ubp_* variables and
16886 parameters. Remove argv definitions conditional on
16887 [__BOUNDED_POINTERS__].
16888 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16889 * elf/dl-runtime.c (_dl_fixup): Likewise.
16890 * include/set-hooks.h (RUN_HOOK): Likewise.
16891 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16892 definition.
16893 * string/strcpy.c (strcpy): Do not use __unbounded.
16894 * sysdeps/generic/frame.h (struct layout): Likewise.
16895 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16896 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16897 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16898 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16899 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16900 (__backtrace): Likewise.
16901 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16902 use __ptrvalue.
16903 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16904 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16905 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16906 Likewise.
16907 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16908 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16909 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16910 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16911 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16912 Do not use __unbounded.
16913 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16914 Rename __unboundedrlimits parameter to rlimits in prototype.
16915 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16916 Do not use __unbounded.
16917 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16918 not use __ptrvalue.
16919 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16920 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16921 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16922 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16923 __ptrvalue or __unbounded.
16924 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16925 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16926 use __unbounded.
16927 (__new_msgctl): Do not use __ptrvalue.
16928 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16929 __unbounded.
16930 (__libc_msgrcv): Do not use __ptrvalue.
16931 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16932 startup_info): Do not use __unbounded.
16933 (__libc_start_main): Likewise. Rename ubp_* variables and
16934 parameters. Remove argv definitions conditional on
16935 [__BOUNDED_POINTERS__].
16936 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16937 __ptrvalue.
16938 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16939 use __unbounded.
16940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16941 or __ptrvalue.
16942 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16943 use __unbounded.
16944 (__new_shmctl): Do not use __ptrvalue.
16945 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16946 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16947 Likewise.
16948 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16949 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16950 (__libc_sigaction): Likewise.
16951 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16952 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16953 Likewise.
16954 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16955
16956 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
16957
16958 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16959
16960 * string/mempcpy.c: Implement by calling memcpy.
16961
16962 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
16964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16965
16966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16967 evaluation.
16968
16969 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16970 values in the mantissa.
16971
16972 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16973 minimize writes to Z.
16974 (sub_magnitudes): Simplify code a bit.
16975
16976 2013-02-12 Roland McGrath <roland@hack.frob.com>
16977
16978 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16979 from the message. The linker prefixes all warnings with that already.
16980
16981 2013-02-12 Andreas Schwab <schwab@suse.de>
16982
16983 [BZ #15078]
16984 * posix/regexec.c (extend_buffers): Add parameter min_len.
16985 (check_matching): Pass minimum needed length.
16986 (clean_state_log_if_needed): Likewise.
16987 (get_subexp): Likewise.
16988 * posix/Makefile (tests): Add bug-regex34.
16989 (bug-regex34-ENV): Define.
16990 * posix/bug-regex34.c: New file.
16991
16992 [BZ #11561]
16993 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16994 elements compare against the byte sequence of it, not its name.
16995 * posix/Makefile (tests): Add bug-regex35.
16996 (bug-regex35-ENV): Define.
16997 * posix/bug-regex35.c: New file.
16998
16999 2013-02-11 Tom de Vries <tom@codesourcery.com>
17000
17001 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17002 comment.
17003 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17004 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17005 (CHECK_EOL): Add undef.
17006
17007 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17008
17009 * bits/stdlib-bsearch.h: New file.
17010 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17011 * stdlib/stdlib.h: Likewise.
17012
17013 2013-02-11 Roland McGrath <roland@hack.frob.com>
17014
17015 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17016 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17017 declaration.
17018 * manual/search.texi (Array Search Function): Add missing const in
17019 lfind prototype.
17020 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17021 declaration to use rlim_t.
17022 (Basic Scheduling Functions): Remove erroneous const from
17023 sched_getparam prototype. Remove erroneous * from
17024 sched_get_priority_max and sched_get_priority_min prototypes.
17025 (Resource Usage): Fix summary @comment on vtimes to refer to
17026 sys/vtimes.h rather than vtimes.h.
17027 Add missing *s in vtimes prototype.
17028 (Limits on Resources): Fix ulimit prototype to return long int.
17029 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17030 prototypes to use long int rather than double.
17031 (BSD Random): Fix initstate and setstate to use char *, not void *.
17032 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17033 prototype to make second argument 'struct aiocb64 *const[]'.
17034 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17035 (Status of AIO Operations): Remove erroneous const in aio_return and
17036 aio_return64 prototypes.
17037 (Synchronizing I/O): Fix sync prototype to return void.
17038 * manual/startup.texi (Suboptions): Remove an erroneous const in
17039 getsubopt prototype.
17040 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17041 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17042 use size_t rather than int.
17043 (Scanning All Users): Likewise for getpwent_r.
17044 (Setting Groups): Add missing const to setgroups prototype.
17045 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17046 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17047 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17048 'const void *' rather than 'const char *'.
17049 (Host Address Functions): Likewise for inet_ntop.
17050 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17051 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17052 ssize_t for return value.
17053 (Sending Data): Likewise for send, sendto, sendmsg.
17054 (Socket Option Functions): Add a missing const in setsockopt prototype.
17055 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17056 use wchar_t for the argument.
17057 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17058 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17059 take no arguments.
17060 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17061 double/float/long double for second argument.
17062 Fix return types of significand, significandf, significandl.
17063 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17064 argument in fchmod prototype.
17065 (File Owner): Use uid_t and gid_t in fchown prototype.
17066 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17067 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17068 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17069 use 'const struct dirent **' as argument types to CMP function pointer
17070 argument.
17071 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17072 (File Times): Fix summary magic @comment for struct utimbuf and utime
17073 to refer to utime.h, not time.h.
17074 * manual/string.texi (Argz Functions): Add missing const in
17075 argz_extract and argz_next prototypes.
17076 (Finding Tokens in a String): Likewise for basename.
17077 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17078 (Copying and Concatenation): Fix typo in wmemmove prototype.
17079 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17080 (Signal Stack): Remove erroneous const in sigstack prototype.
17081 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17082 prototype.
17083 (Simple Calendar Time): Likewise for stime.
17084 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17085 prototype.
17086 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17087 say sys/sysctl.h instead.
17088 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17089 and vsyslog prototypes.
17090
17091 2013-02-11 Tom de Vries <tom@codesourcery.com>
17092
17093 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17094 Remove.
17095
17096 2013-02-11 Roland McGrath <roland@hack.frob.com>
17097
17098 * misc/sys/mman.h: Fix typo in mremap comment.
17099
17100 2013-02-08 Roland McGrath <roland@hack.frob.com>
17101
17102 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17103 the '\0' terminator.
17104
17105 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17106
17107 [BZ #13550]
17108 * debug/segfault.c: Don't include <bp-checks.h>.
17109 * sysdeps/generic/bp-checks.h: Remove file.
17110 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17111 (__GETDENTS): Don't use CHECK_N.
17112 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17113 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17114 (__getgroups): Don't use CHECK_N.
17115 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17116 (setgroups): Don't use CHECK_N.
17117 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17118 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17119 (__libc_msgrcv): Don't use CHECK_N.
17120 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17121 (__libc_msgsnd): Don't use CHECK_N.
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17123 <bp-checks.h>.
17124 (__libc_pread): Don't use CHECK_N.
17125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17126 include <bp-checks.h>.
17127 (__libc_pread64): Don't use CHECK_N.
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17129 include <bp-checks.h>.
17130 (__libc_pwrite): Don't use CHECK_N.
17131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17132 include <bp-checks.h>.
17133 (__libc_pwrite64): Don't use CHECK_N.
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17135 <bp-checks.h>.
17136 (__libc_pread): Don't use CHECK_N.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17138 include <bp-checks.h>.
17139 (__libc_pread64): Don't use CHECK_N.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17141 include <bp-checks.h>.
17142 (__libc_pwrite): Don't use CHECK_N.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17144 include <bp-checks.h>.
17145 (__libc_pwrite64): Don't use CHECK_N.
17146 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17147 (do_pread): Don't use CHECK_N.
17148 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17149 (do_pread64): Don't use CHECK_N.
17150 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17151 (do_pwrite): Don't use CHECK_N.
17152 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17153 (do_pwrite64): Don't use CHECK_N.
17154 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17155 (__libc_readv): Don't use CHECK_N.
17156 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17157 (semop): Don't use CHECK_N.
17158 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17159 <bp-checks.h>.
17160 (semtimedop): Don't use CHECK_N.
17161 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17162 (__libc_pread): Don't use CHECK_N.
17163 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17164 <bp-checks.h>.
17165 (__libc_pread64): Don't use CHECK_N.
17166 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17167 <bp-checks.h>.
17168 (__libc_pwrite): Don't use CHECK_N.
17169 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17170 <bp-checks.h>.
17171 (__libc_pwrite64): Don't use CHECK_N.
17172 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17173 <bp-checks.h>.
17174 (__libc_msgrcv): Don't use CHECK_N.
17175 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17176 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17177 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17178 (__libc_writev): Don't use CHECK_N.
17179
17180 2013-02-08 Roland McGrath <roland@hack.frob.com>
17181
17182 * string/strcpy.c: Removed unused variable.
17183
17184 * Makeconfig (+sysdep-includes): Define with := rather than =.
17185 Use an existing include/ subdir of each sysdeps dir before it.
17186
17187 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17188
17189 * nscd/connection.c (register_traced_file): Comment function.
17190 [HAVE_INOTIFY] (union __inev): Define.
17191 [HAVE_INOTIFY] (inotify_check_files): New function.
17192 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17193 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17194 clear_db_cache.
17195 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17196
17197 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17198
17199 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17200 loaded if not already and that a failure is permanent.
17201
17202 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17203
17204 [BZ #15006]
17205 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17206 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17207
17208 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17209
17210 [BZ #13550]
17211 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17212 (CHECK_1_NULL_OK): Likewise.
17213 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17214 (__fxstat): Do not use CHECK_1.
17215 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17216 <bp-checks.h>.
17217 (___fxstat64): Do not use CHECK_1.
17218 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17219 <bp-checks.h>.
17220 (__fxstatat): Do not use CHECK_1.
17221 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17222 <bp-checks.h>.
17223 (__fxstatat64): Do not use CHECK_1.
17224 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17225 <bp-checks.h>.
17226 (__fxstat): Do not use CHECK_1.
17227 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17228 <bp-checks.h>.
17229 (__fxstatat): Do not use CHECK_1.
17230 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17231 <bp-checks.h>.
17232 (__getresgid): Do not use CHECK_1.
17233 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17234 <bp-checks.h>.
17235 (__getresuid): Do not use CHECK_1.
17236 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17237 <bp-checks.h>.
17238 (__lxstat): Do not use CHECK_1.
17239 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17240 <bp-checks.h>.
17241 (__old_msgctl): Do not use CHECK_1.
17242 (__new_msgctl): Likewise.
17243 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17244 <bp-checks.h>.
17245 (__new_setrlimit): Do not use CHECK_1.
17246 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17247 <bp-checks.h>.
17248 (__old_shmctl): Do not use CHECK_1.
17249 (__new_shmctl): Likewise.
17250 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17251 <bp-checks.h>.
17252 (__xstat): Do not use CHECK_1.
17253 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17254 (__lxstat): Do not use CHECK_1.
17255 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17256 <bp-checks.h>.
17257 (___lxstat64): Do not use CHECK_1.
17258 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17259 (__old_msgctl): Do not use CHECK_1.
17260 (__new_msgctl): Likewise.
17261 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17262 <bp-checks.h>.
17263 (__gettimeofday): Do not use CHECK_1.
17264 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17265 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17266 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17267 <bp-checks.h>.
17268 (__gettimeofday): Do not use CHECK_1.
17269 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17270 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17271 (__new_shmctl): Do not use CHECK_1.
17272 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17273 <bp-checks.h>.
17274 (do_sigtimedwait): Do not use CHECK_1.
17275 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17276 <bp-checks.h>.
17277 (do_sigwaitinfo): Do not use CHECK_1.
17278 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17279 <bp-checks.h>.
17280 (msgctl): Do not use CHECK_1.
17281 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17282 <bp-checks.h>.
17283 (shmctl): Do not use CHECK_1.
17284 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17285 (ustat): Do not use CHECK_1.
17286 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17287 <bp-checks.h>.
17288 (__fxstat): Do not use CHECK_1.
17289 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17290 <bp-checks.h>.
17291 (__fxstatat): Do not use CHECK_1.
17292 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17293 <bp-checks.h>.
17294 (__lxstat): Do not use CHECK_1.
17295 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17296 <bp-checks.h>.
17297 (__xstat): Do not use CHECK_1.
17298 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17299 (__xstat): Do not use CHECK_1.
17300 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17301 (___xstat64): Do not use CHECK_1.
17302
17303 [BZ #13550]
17304 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17305 definitions.
17306 (CHECK_BOUNDS_HIGH): Likewise.
17307 * string/strcpy.c: Do not include <bp-checks.h>.
17308 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17309
17310 2013-02-07 Roland McGrath <roland@hack.frob.com>
17311
17312 * nscd/nscd-client.h (__nscd_drop_map_ref):
17313 Add __attribute__ ((unused)).
17314 * nis/nss-nisplus.h (niserr2nss): Likewise.
17315
17316 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17317 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17318
17319 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17320 Remove inline keyword.
17321 * include/rounding-mode.h (round_away): Likewise.
17322 * libio/wfileops.c (adjust_wide_data): Likewise.
17323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17324 (__m128i_strloadu_tolower): Likewise.
17325 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17326 (__m128i_strloadu_tolower): Likewise.
17327 * time/mktime.c (ydhms_diff): Likewise.
17328 * locale/elem-hash.h (elem_hash): Likewise.
17329 * locale/setlocale.c (setdata): Likewise.
17330 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17331 (re_string_wchar_at): Likewise.
17332 (bitset_not, bitset_merge, bitset_mask): Likewise.
17333 [!(__GNUC__ > 3)] (inline): Remove macro.
17334 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17335 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17336 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17337 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17338 * string/memcmp.c (memcmp_bytes): Likewise.
17339 * locale/programs/locarchive.c (compute_hashval): Likewise.
17340 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17341 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17342 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17343 * nss/getent.c (print_rpc, print_protocols): Likewise.
17344 (print_passwd, print_group, print_aliases): Likewise.
17345 * nis/nss-nisplus.h (niserr2nss): Likewise.
17346 * nscd/connections.c (restart_p): Likewise.
17347 Change return type to bool.
17348
17349 2013-02-05 Roland McGrath <roland@hack.frob.com>
17350
17351 * Makeconfig (all-Depend-files): Add existing
17352 $(sorted-subdirs:=/Depend) files.
17353 (all-subdirs): Remove nss.
17354 * sysdeps/unix/inet/Subdirs: Add it here instead.
17355 * hesiod/Depend: New file.
17356
17357 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17358 instead of calling alloca.
17359
17360 * io/lseek.c (__lseek): Rename to __libc_lseek.
17361 Define __lseek as an alias.
17362
17363 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17364
17365 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17366
17367 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17368 else clause and remove check for non-standard endianness.
17369
17370 2013-02-04 David S. Miller <davem@davemloft.net>
17371
17372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17373
17374 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17375
17376 [BZ #13550]
17377 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17378 (__ubp_memchr): Remove prototype.
17379 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17380 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17381 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17382 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17383 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17384 Remove alias.
17385 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17386 (__ubp_memchr): Likewise.
17387 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17388 (__ubp_memchr): Likewise.
17389 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17390 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17391 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17392 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17393 CHECK_STRING.
17394 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17395 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17396 (__getcwd): Do not use CHECK_STRING.
17397 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17398 <bp-checks.h>.
17399 (__real_chown): Do not use CHECK_STRING.
17400 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17401 <bp-checks.h>.
17402 (fchownat): Do not use CHECK_STRING.
17403 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17404 CHECK_STRING.
17405 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17406 <bp-checks.h>.
17407 (__lchown): Do not use CHECK_STRING.
17408 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17409 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17410 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17411 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17413 include <bp-checks.h>.
17414 (truncate64): Do not use CHECK_STRING.
17415 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17416 <bp-checks.h>.
17417 (__real_chown): Do not use CHECK_STRING.
17418 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17419 <bp-checks.h>.
17420 (__lchown): Do not use CHECK_STRING.
17421 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17422 <bp-checks.h>.
17423 (__chown): Do not use CHECK_STRING.
17424 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17425 <bp-checks.h>.
17426 (truncate64): Do not use CHECK_STRING.
17427 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17428 Likewise.
17429 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17430 (__xmknod): Do not use CHECK_STRING.
17431 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17432 <bp-checks.h>.
17433 (__xmknodat): Do not use CHECK_STRING.
17434 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17435 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17436
17437 2013-02-04 Andreas Schwab <schwab@suse.de>
17438
17439 [BZ #14142]
17440 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17441 * include/netdb.h: Likewise for h_errno.
17442 * elf/tst-stackguard1.c: Include <tls.h>.
17443
17444 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17445
17446 * elf/link.h (struct link_map): Extend the l_addr comment.
17447 * include/link.h (struct link_map): Likewise.
17448
17449 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17450
17451 [BZ #13550]
17452 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17453 (BOUNDED_1): Remove macro.
17454 * debug/backtrace.c: Don't include <bp-checks.h>.
17455 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17456 (__backtrace): Likewise.
17457 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17458 <bp-checks.h>.
17459 (__backtrace): Don't use BOUNDED_1.
17460 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17461 <bp-checks.h>.
17462 (__backtrace): Don't use BOUNDED_1.
17463 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17464 (__backtrace): Don't use BOUNDED_1.
17465 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17466 (shmat): Don't use BOUNDED_N.
17467
17468 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17469
17470 [BZ #13550]
17471 * sysdeps/generic/bp-start.h: Remove file.
17472 * csu/libc-start.c: Don't include <bp-start.h>.
17473 (LIBC_START_MAIN): Set up __environ directly instead of using
17474 INIT_ARGV_and_ENVIRON.
17475 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17476 <bp-start.h>.
17477
17478 [BZ #13550]
17479 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17480 definitions.
17481 (CHECK_FCNTL): Likewise.
17482 (CHECK_N_PAGES): Likewise.
17483
17484 [BZ #13550]
17485 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17486 definitions.
17487 (CHECK_SIGSET_NULL_OK): Likewise.
17488 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17489 <bp-checks.h>.
17490 (sigpending): Don't use CHECK_SIGSET.
17491 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17492 <bp-checks.h>.
17493 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17494 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17495 <bp-checks.h>.
17496 (do_sigsuspend): Don't use CHECK_SIGSET.
17497 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17498 use CHECK_SIGSET.
17499 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17500 (do_sigwait): Don't use CHECK_SIGSET.
17501 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17502 use CHECK_SIGSET.
17503 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17504 include <bp-checks.h>.
17505 (sigpending): Don't use CHECK_SIGSET.
17506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17507 include <bp-checks.h>.
17508 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17509 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17510 <bp-checks.h>.
17511 (sigpending): Don't use CHECK_SIGSET.
17512 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17513 <bp-checks.h>.
17514 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17515
17516 [BZ #13550]
17517 * sysdeps/generic/bp-semctl.h: Remove file.
17518 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17519 <bp-checks.h> and <bp-semctl.h>.
17520 (__old_semctl): Don't use CHECK_SEMCTL.
17521 (__new_semctl): Likewise.
17522 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17523 and <bp-semctl.h>.
17524 (__old_semctl): Don't use CHECK_SEMCTL.
17525 (__new_semctl): Likewise.
17526 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17527 <bp-checks.h> and <bp-semctl.h>.
17528 (__old_semctl): Don't use CHECK_SEMCTL.
17529 (__new_semctl): Likewise.
17530 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17531 <bp-checks.h> and <bp-semctl.h>.
17532 (semctl): Don't use CHECK_SEMCTL.
17533
17534 [BZ #13550]
17535 * Makerules (elide-bp-thunks): Remove variable.
17536 (elide-routines.oS): Don't use $(elide-bp-thunks).
17537 (elide-routines.os): Likewise.
17538 (elide-routines.o): Likewise.
17539 (elide-routines.op): Likewise.
17540 (elide-routines.og): Likewise.
17541 (objects): Don't use $(bp-thunks).
17542 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17543 include.
17544 (common-generated): Do not add s-proto-bp.d.
17545 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17546 (int): Likewise.
17547 (typ): Likewise.
17548 Do not generate makefile rules for bounded-pointer thunks.
17549 * sysdeps/generic/bp-thunks.h: Remove file.
17550 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17551 * sysdeps/unix/s-proto-bp.S: Likewise.
17552
17553 [BZ #15062]
17554 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17555 parts of result separately when argument is not close to line from
17556 -i to i and one part of argument is small.
17557 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17558 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17559 * math/libm-test.inc (cacos_test): Add more tests.
17560 (casin_test): Likewise.
17561 (casinh_test): Likewise.
17562 * sysdeps/i386/fpu/libm-test-ulps: Update.
17563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17564
17565 2013-01-31 David S. Miller <davem@davemloft.net>
17566
17567 * po/de.po: Update from translation team.
17568
17569 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17570
17571 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17572
17573 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17574
17575 * configure.in (_AC_PROG_CC_C89): New definition.
17576 * configure: Regenerate.
17577
17578 * configure.in (AC_PROG_CPP): New definition.
17579 * configure: Regenerate.
17580
17581 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17582
17583 * debug/tst-backtrace.h: New file.
17584 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17585 (ret): Remove variable.
17586 (x): Likewise.
17587 (FAIL): Remove macro.
17588 (NO_INLINE): Likewise.
17589 (fn1): Use match function instead of strstr.
17590 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17591 (ret): Remove variable.
17592 (x): Likewise.
17593 (FAIL): Remove macro.
17594 (NO_INLINE): Likewise.
17595 (fn): Use match function instead of strstr.
17596 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17597 (ret): Remove variable.
17598 (x): Likewise.
17599 (FAIL): Remove macro.
17600 (NO_INLINE): Likewise.
17601 (handle_signal): Use match function instead of strstr.
17602 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17603 (ret): Remove variable.
17604 (x): Likewise.
17605 (FAIL): Remove macro.
17606 (NO_INLINE): Likewise.
17607 (handle_signal): Use match function instead of strstr.
17608
17609 2013-01-23 Roland McGrath <roland@hack.frob.com>
17610
17611 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17612
17613 2013-01-23 David S. Miller <davem@davemloft.net>
17614
17615 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17616 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17617 argument of CAS if possible.
17618 * sysdeps/sparc/sparc64/bits/atomic.h
17619 (__arch_compare_and_exchange_val_32_acq): Likewise.
17620 (__arch_compare_and_exchange_val_64_acq): Likewise.
17621
17622 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17623
17624 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17625 * sysdeps/posix/ulimit.c: ... this.
17626 Include <limits.h>.
17627 * sysdeps/unix/bsd/ulimit.c: Remove file.
17628
17629 2013-01-23 Adam Conrad <adconrad@0c3.net>
17630
17631 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17632 (LDFLAGS-tst-array5): Likewise.
17633
17634 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17635
17636 [BZ #15036]
17637 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17638 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17639 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17640 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17641
17642 2013-01-21 David S. Miller <davem@davemloft.net>
17643
17644 * sysdeps/sparc/backtrace.c: New file.
17645 * sysdeps/sparc/sparc32/backtrace.h: New file.
17646 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17647 * sysdeps/sparc/sparc64/backtrace.h: New file.
17648 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17649 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17650 -funwind-tables.
17651
17652 2013-01-21 Andreas Schwab <schwab@suse.de>
17653
17654 [BZ #15020]
17655 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17656 closed its stdout.
17657
17658 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17659
17660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17661 "mpa2.h".
17662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17663
17664 2013-01-18 Joseph Myers <joseph@codesourcery.com>
17665 Mark Mitchell <mark@codesourcery.com>
17666 Tom de Vries <tom@codesourcery.com>
17667 Paul Pluzhnikov <ppluzhnikov@google.com>
17668
17669 * debug/tst-backtrace2.c: New file.
17670 * debug/tst-backtrace3.c: Likewise.
17671 * debug/tst-backtrace4.c: Likewise.
17672 * debug/tst-backtrace5.c: Likewise.
17673 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17674 (CFLAGS-tst-backtrace3.c): Likewise.
17675 (CFLAGS-tst-backtrace4.c): Likewise.
17676 (CFLAGS-tst-backtrace5.c): Likewise.
17677 (LDFLAGS-tst-backtrace2): Likewise.
17678 (LDFLAGS-tst-backtrace3): Likewise.
17679 (LDFLAGS-tst-backtrace4): Likewise.
17680 (LDFLAGS-tst-backtrace5): Likewise.
17681 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17682 tst-backtrace4 and tst-backtrace5.
17683
17684 2013-01-18 Anton Blanchard <anton@samba.org>
17685 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17686
17687 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17688 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17689 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17690 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17692 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17693 "+r" and remove output regs list as redundant. Add explicit inline
17694 asm to specify register of return val to work around compiler codegen
17695 bug. Remove (int) cast on return value. Add return type parameter to
17696 use in macro so that this macro does not truncate return value for
17697 64-bit values.
17698 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17699 pass to INTERNAL_VSYSCALL_NCS.
17700 (INLINE_VSYSCALL): Add 'long int' as return type to
17701 INTERNAL_VSYSCALL_NCS macro invocation.
17702 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17703 INTERNAL_VSYSCALL_NCS macro invocation.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17705
17706 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17707
17708 [BZ #14496]
17709 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17710 Fix application of SIMD FP exception mask.
17711
17712 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17713 mp_no from a power of two.
17714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17715 __mpexp_twomm1. Use __pow_mp.
17716
17717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17718 multiplication.
17719
17720 2013-01-17 David S. Miller <davem@davemloft.net>
17721
17722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17723
17724 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17725
17726 [BZ #15023]
17727 * include/complex.h: Condition contents on [!_COMPLEX_H].
17728 (__kernel_casinhf): New prototype.
17729 (__kernel_casinh): Likewise.
17730 (__kernel_casinhl): Likewise.
17731 * math/Makefile (libm_calls): Add k_casinh.
17732 * math/k_casinh.c: New file.
17733 * math/k_casinhf.c: Likewise.
17734 * math/k_casinhl.c: Likewise.
17735 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17736 finite nonzero arguments.
17737 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17738 finite nonzero arguments.
17739 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17740 finite nonzero arguments.
17741 * math/s_casinh.c: Do not include <float.h>.
17742 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17743 * math/s_casinhf.c: Do not include <float.h>.
17744 (__casinhf): Move code for finite nonzero arguments to
17745 k_casinhf.c.
17746 * math/s_casinhl.c: Do not include <float.h>.
17747 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17748 redefine.
17749 (__casinhl): Move code for finite nonzero arguments to
17750 k_casinhl.c.
17751 * math/libm-test.inc (cacos_test): Add more tests.
17752 * sysdeps/i386/fpu/libm-test-ulps: Update.
17753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17754
17755 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17756
17757 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17758 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17759 [!HAVE_MREMAP]: Remove [defined linux] case.
17760 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17761
17762 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17763
17764 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17765
17766 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
17767
17768 * elf/elf.h (R_386_SIZE32): New relocation.
17769 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17770 R_386_SIZE32.
17771 (elf_machine_rela): Likewise.
17772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17773 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17774
17775 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17776
17777 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17778 (FP_FAST_FMA): Do not define.
17779 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17780 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17781 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17782 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17783 !_SOFT_FLOAT]: Likewise.
17784 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17785 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17786 value.
17787 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17788 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17789 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17790 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17791 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17792 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17793 file.
17794
17795 2013-01-16 Andreas Schwab <schwab@suse.de>
17796
17797 [BZ #14327]
17798 * include/stdlib.h (__mktemp): Add declaration.
17799 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17800 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17801
17802 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17803
17804 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17805 definitions.
17806 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17807 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17808 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17809 definitions here.
17810 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17811 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17812 definitions.
17813 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17814 and ONE.
17815 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17816 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17817 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17818 definitions.
17819 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17820 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17821 definitions.
17822 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17823
17824 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17825
17826 2013-01-15 David S. Miller <davem@davemloft.net>
17827
17828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17829 trunc{,f} to libm-sysdep_routes.
17830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17832 file.
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17835 file.
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17837 file.
17838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17840 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17841 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17842 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17843 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17844 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17845 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17846
17847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17848 nearbyint{,f} to libm-sysdep_routes.
17849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17851 New file.
17852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17853 file.
17854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17855 New file.
17856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17857 file.
17858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17861 file.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17864 file.
17865 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17866 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17867 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17868
17869 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17870 libc_feholdexcept and libc_fesetenv.
17871
17872 2013-01-15 Mike Frysinger <vapier@gentoo.org>
17873
17874 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17875
17876 2013-01-14 David S. Miller <davem@davemloft.net>
17877
17878 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17879 (SPARC_ASM_VIS2_IFUNC): Likewise.
17880 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17882 use of 'siam' instruction.
17883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17884 Likewise.
17885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17886 Likewise.
17887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17888 Likewise.
17889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17894 file.
17895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17896 file.
17897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17898 file.
17899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17900 file.
17901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17906 new VIS2 routines.
17907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17910 Likewise.
17911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17916 routines to libm-sysdep_routines.
17917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17918
17919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17920 fdim/fdimf to libm-sysdep_routines.
17921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17922 file.
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17925 file.
17926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17929 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17930 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17931 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17932 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17933
17934 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17935
17936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17937 to optimize copies.
17938
17939 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17942
17943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17944 local variable MPTWO.
17945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17946 Likewise.
17947
17948 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17949
17950 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17951 GLOB_NOESCAPE.
17952
17953 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17954
17955 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17956
17957 2013-01-13 Mike Frysinger <vapier@gentoo.org>
17958
17959 * manual/pattern.texi (glob_t): Document gl_flags.
17960 (glob64_t): Likewise.
17961
17962 2013-01-11 David S. Miller <davem@davemloft.net>
17963
17964 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17965 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17966 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
17967 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17968 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17969 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17970 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17971 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17972 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17973 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17974 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17975 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17976 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
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
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17984 Move to...
17985 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17986 Here.
17987
17988 2013-01-11 Roland McGrath <roland@hack.frob.com>
17989
17990 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17991 not in the main loop.
17992 * configure: Regenerated.
17993
17994 2013-01-11 Joseph Myers <joseph@codesourcery.com>
17995
17996 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17997 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17998 to just #else.
17999 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18000 [!__GLIBC_HAVE_LONG_LONG] case.
18001 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18002 condition to just #else.
18003 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18004 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18005 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18006 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18007 unconditional.
18008 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18009 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18010 #elif condition to just #else.
18011 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18012 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18013 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18014 #elif condition to just #else.
18015
18016 2013-01-11 Steve Ellcey <sellcey@mips.com>
18017
18018 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18019 (EF_MIPS_ARCH_64): Fix value.
18020 (EF_MIPS_ARCH_32R2): New.
18021 (EF_MIPS_ARCH_64R2): New.
18022
18023 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18024
18025 * Makeconfig (+link-pie-before-libc): New.
18026 (+link-pie-after-libc): Likewise.
18027 (+link-pie-tests): Likewise.
18028 (+link-pie): Rewritten.
18029 (link-before-libc): Remove $(config-LDFLAGS).
18030 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18031 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18032 (config-LDFLAGS): Renamed to ...
18033 (rtld-LDFLAGS): This.
18034 (rtld-tests-LDFLAGS): New macro.
18035 (link-libc-rpath-link): Likewise.
18036 (link-libc-tests-rpath-link): Likewise.
18037 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18038 (link-libc): Prepand $(link-libc-rpath-link).
18039 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18040 (test-program-prefix): New macro.
18041 (test-via-rtld-prefix): Likewise.
18042 (test-program-cmd): Likewise.
18043 (host-test-program-cmd): Likewise.
18044 * Makefile ($(common-objpfx)testrun.sh): Replace
18045 $(run-program-prefix) with $(test-program-prefix).
18046 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18047 $(rtld-LDFLAGS).
18048 ($(common-objpfx)shlib.lds): Likewise.
18049 (build-module-helper): Likewise.
18050 ($(common-objpfx)format.lds): Likewise.
18051 * Rules (binaries-pie-tests): New.
18052 (binaries-pie-notests): Likewise.
18053 (binaries-pie): Rewritten.
18054 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18055 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18056 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18057 (make-test-out): Replace $(host-built-program-cmd) with
18058 $(host-test-program-cmd).
18059 * config.make.in (build-hardcoded-path-in-tests): New variable.
18060 * configure.in (--enable-hardcoded-path-in-tests): New configure
18061 option.
18062 (hardcoded_path_in_tests): New AC_SUBST.
18063 * configure: Regenerated.
18064 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18065 $(built-program-cmd) with $(test-program-cmd).
18066 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18067 (test_program_cmd): This.
18068 * elf/Makefile ($(objpfx)order.out): Run test with
18069 $(test-program-prefix).
18070 ($(objpfx)order2.out): Likewise.
18071 ($(objpfx)tst-initorder.out): Likewise.
18072 ($(objpfx)tst-initorder2.out): Likewise.
18073 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18074 $(test-program-cmd).
18075 ($(objpfx)tst-array1-static.out): Likewise.
18076 ($(objpfx)tst-array2.out): Likewise.
18077 ($(objpfx)tst-array3.out): Likewise.
18078 ($(objpfx)tst-array4.out): Likewise.
18079 ($(objpfx)tst-array5.out): Likewise.
18080 ($(objpfx)tst-array5-static.out): Likewise.
18081 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18082 $(test-program-cmd).
18083 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18084 $(run-program-prefix) with $(test-program-prefix).
18085 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18086 (test_program_prefix): This.
18087 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18088 $(run-program-prefix) with $(test-program-prefix).
18089 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18090 (test_program_prefix): This.
18091 * iconvdata/tst-tables.sh: Likewise.
18092 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18093 $(run-program-prefix) with $(test-program-prefix).
18094 ($(objpfx)tst-translit.out): Likewise.
18095 ($(objpfx)tst-gettext2.out): Likewise.
18096 ($(objpfx)tst-gettext4.out): Likewise.
18097 ($(objpfx)tst-gettext6.out): Likewise.
18098 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18099 (test_program_prefix): This.
18100 * intl/tst-gettext2.sh: Likewise.
18101 * intl/tst-gettext4.sh Likewise.
18102 * intl/tst-gettext6.sh: Likewise.
18103 * intl/tst-translit.sh: Likewise.
18104 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18105 with $(test-program-cmd).
18106 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18107 $(run-program-prefix) with $(test-program-prefix).
18108 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18109 (test_program_prefix): This.
18110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18111 $(run-program-prefix) with $(test-program-prefix).
18112 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18113 (test_program_prefix): This.
18114 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18115 * posix/Makefile ($(objpfx)globtest.out): Replace
18116 $(run-via-rtld-prefix) and $(test-wrapper) with
18117 $(test-program-prefix) and $(test-via-rtld-prefix).
18118 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18119 $(test-program-prefix).
18120 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18121 $(host-test-program-cmd).
18122 (tst-spawn-ARGS): Likewise.
18123 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18124 $(test-program-prefix).
18125 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18126 (test_via_rtld_prefix): This.
18127 (test_wrapper): Renamed to ...
18128 (test_program_prefix): This.
18129 (run_program_prefix): Replaced by test_program_prefix.
18130 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18131 (test_program_prefix): This.
18132 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18133 with $(host-test-program-cmd).
18134 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18135 $(run-program-prefix) with $(test-program-prefix).
18136 ($(objpfx)tst-printf.out): Likewise.
18137 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18138 $(test-program-cmd).
18139 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18140 (test_program_prefix): This.
18141 * stdio-common/tst-unbputc.sh: Likewise.
18142 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18143 $(run-program-prefix) with $(test-program-prefix).
18144 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18145 (test_program_prefix): This.
18146 * string/Makefile ($(objpfx)tst-svc.out): Replace
18147 $(built-program-cmd) with $(test-program-cmd).
18148
18149 2013-01-11 Andreas Jaeger <aj@suse.de>
18150
18151 [BZ #15003]
18152 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18153 value. Sync with Linux 3.7.
18154
18155 2013-01-10 David S. Miller <davem@davemloft.net>
18156
18157 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18158 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18159 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18160
18161 2013-01-10 Roland McGrath <roland@hack.frob.com>
18162
18163 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18164 never set.
18165 * configure: Regenerated.
18166
18167 2013-01-10 David S. Miller <davem@davemloft.net>
18168
18169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18170 sparc V9 rather than using V8 code.
18171 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18172 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18173
18174 2013-01-10 Roland McGrath <roland@hack.frob.com>
18175
18176 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18177 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18178 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18179 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18180 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18181 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18182 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18183 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18184 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18185 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18186 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18187 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18188 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18189 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18190 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18191 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18192 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18193 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18194 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18195 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18196 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18197 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18198 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18199 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18200 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18201 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18202 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18203
18204 2013-01-10 David S. Miller <davem@davemloft.net>
18205
18206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18207
18208 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18209
18210 * posix/Makefile (tests-static): New variable.
18211 (tests): Add $(tests-static).
18212 (tst-exec-static-ARGS): New variable.
18213 (tst-spawn-static-ARGS): Likewise.
18214 * posix/tst-exec-static.c: New file.
18215 * posix/tst-spawn-static.c: Likewise.
18216 * posix/tst-exec.c: Support run directly.
18217 * posix/tst-spawn.c: Likewise.
18218
18219 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18220
18221 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18222 long.
18223 * math/bits/mathcalls.h (llrint): Likewise.
18224 (llround): Likewise.
18225 * stdlib/stdlib.h (struct drand48_data): Likewise.
18226 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18227 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18229 Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18231 Likewise.
18232 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18233 (elf_greg_t): Likewise.
18234 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18235 (__jmp_buf): Likewise.
18236 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18237 definitions.
18238 (llrint): Likewise, for all definitions.
18239 (llrintl): Likewise.
18240
18241 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18242 Remove [__GNUC__] condition.
18243 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18244 condition to just [__USE_ISOC99].
18245 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18246
18247 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 [BZ #14200]
18250 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18251 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18252 defined.
18253 (_POSIX_V6_ILP32_OFF32): Likewise.
18254 (_XBS5_ILP32_OFF32): Likewise.
18255 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18256 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18257
18258 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18259
18260 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18261
18262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18263 doubles __mpexp_twomm1. Adjust usage.
18264 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18265 Remove.
18266
18267 2013-01-10 Andreas Schwab <schwab@suse.de>
18268
18269 [BZ #14964]
18270 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18271 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18272
18273 2013-01-09 David S. Miller <davem@davemloft.net>
18274
18275 [BZ #15003]
18276 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18277 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18278 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18279 TCP_FASTOPEN): Define.
18280 (tcp_repair_opt): New structure.
18281 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18282 enum values.
18283 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18284 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18285 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18286 (tcp_cookie_transactions): New structure.
18287
18288 2013-01-09 Anton Blanchard <anton@samba.org>
18289
18290 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18291 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18292 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18294
18295 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18296
18297 * include/features.h (__USE_ANSI): Remove.
18298
18299 2013-01-09 Roland McGrath <roland@hack.frob.com>
18300
18301 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18302
18303 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18304
18305 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18306
18307 * sysdeps/s390/fpu/libm-test-ulps: Update.
18308
18309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18310
18311 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18312 (__acr): Likewise.
18313 (__cpy): Likewise.
18314 (norm): Likewise.
18315 (denorm): Likewise.
18316 (__mp_dbl): Likewise.
18317 (__dbl_mp): Likewise.
18318 (add_magnitudes): Likewise.
18319 (sub_magnitudes): Likewise.
18320 (__add): Likewise.
18321 (__sub): Likewise.
18322 (__mul): Likewise.
18323 (__inv): Likewise.
18324 (__dvd): Likewise.
18325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18326 (__acr): Likewise.
18327 (__cpy): Likewise.
18328 (norm): Likewise.
18329 (denorm): Likewise.
18330 (__mp_dbl): Likewise.
18331 (__dbl_mp): Likewise.
18332 (add_magnitudes): Likewise.
18333 (sub_magnitudes): Likewise.
18334 (__add): Likewise.
18335 (__sub): Likewise.
18336 (__mul): Likewise.
18337 (__inv): Likewise.
18338 (__dvd): Likewise.
18339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18340 (__acr): Likewise.
18341 (__cpy): Likewise.
18342 (norm): Likewise.
18343 (denorm): Likewise.
18344 (__mp_dbl): Likewise.
18345 (__dbl_mp): Likewise.
18346 (add_magnitudes): Likewise.
18347 (sub_magnitudes): Likewise.
18348 (__add): Likewise.
18349 (__sub): Likewise.
18350 (__mul): Likewise.
18351 (__inv): Likewise.
18352 (__dvd): Likewise.
18353
18354 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18355
18356 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18357 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18358 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18359 2 && __USE_EXTERN_INLINES]: Likewise.
18360
18361 2013-01-08 Andreas Jaeger <aj@suse.de>
18362
18363 [BZ# 14985]
18364 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18365 Remove.
18366 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18367 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18368
18369 2013-01-07 Anton Blanchard <anton@samba.org>
18370
18371 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18372 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18373 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18374 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18375 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18376 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18377 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18378 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18380 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18381 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18382 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18385 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18386 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18387 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18388 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18389 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18390 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18391 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18392 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18394 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18395 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18396 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18397 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18398 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18400 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18401 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18403 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18404 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18405 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18409 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18411 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18412 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18413 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18414
18415 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18416
18417 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18418 (__MALLOC_PMT): Likewise.
18419 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18420 [__GNUC__], only on [_LIBC].
18421 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18422 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18423 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18424 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18425 forward declaration.
18426 (realloc_hook_ini): Likewise.
18427 (memalign_hook_ini): Likewise.
18428 (__libc_memalign): Do not use __MALLOC_PMT in variable
18429 declaration.
18430 (__libc_valloc): Likewise.
18431 (__libc_pvalloc): Likewise.
18432 (__libc_calloc): Likewise.
18433 (__posix_memalign): Likewise.
18434
18435 [BZ #14996]
18436 * math/s_casinh.c: Include <float.h>.
18437 (__casinh): Do not do computation with squaring and square root
18438 for large arguments.
18439 * math/s_casinhf.c: Include <float.h>.
18440 (__casinhf): Do not do computation with squaring and square root
18441 for large arguments.
18442 * math/s_casinhl.c: Include <float.h>.
18443 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18444 (__casinhl): Do not do computation with squaring and square root
18445 for large arguments.
18446 * math/libm-test.inc (casin_test): Add more tests.
18447 (casinh_test): Likewise.
18448 * sysdeps/i386/fpu/libm-test-ulps: Update.
18449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18450
18451 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18452
18453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18454 (__x86_64_raw_data_cache_size): Likewise.
18455 (__x86_64_data_cache_size_half): Likewise.
18456 (__x86_64_raw_data_cache_size_half): Likewise.
18457 (__x86_64_shared_cache_size): Likewise.
18458 (__x86_64_raw_shared_cache_size): Likewise.
18459 (__x86_64_shared_cache_size_half): Likewise.
18460 (__x86_64_raw_shared_cache_size_half): Likewise.
18461 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18462 to ...
18463 (__x86_data_cache_size): This.
18464 (__x86_64_raw_data_cache_size): Renamed to ...
18465 (__x86_raw_data_cache_size): This.
18466 (__x86_64_data_cache_size_half): Renamed to ...
18467 (__x86_data_cache_size_half): This.
18468 (__x86_64_raw_data_cache_size_half): Renamed to ...
18469 (__x86_raw_data_cache_size_half): This.
18470 (__x86_64_shared_cache_size): Renamed to ...
18471 (__x86_shared_cache_size): This.
18472 (__x86_64_raw_shared_cache_size): Renamed to ...
18473 (__x86_raw_shared_cache_size): This.
18474 (__x86_64_shared_cache_size_half): Renamed to ...
18475 (__x86_shared_cache_size_half): This.
18476 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18477 (__x86_raw_shared_cache_size_half): This.
18478 * sysdeps/x86_64/memcpy.S: Updated.
18479 * sysdeps/x86_64/memset.S: Likewise.
18480 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18482 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18483
18484 2013-01-04 David S. Miller <davem@davemloft.net>
18485
18486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18487
18488 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18489
18490 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18491 1 to avoid redefinition warning.
18492 (__USE_GNU): Don't define.
18493 (init_signaling_nan): Protoize.
18494
18495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18496
18497 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18498
18499 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18501 (__cpymn): Likewise.
18502 (norm): Remove commented code.
18503 (denorm): Likewise.
18504 (__mp_dbl): Likewise.
18505 (__inv): Likewise.
18506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18507 (__cpymn): Likewise.
18508 (norm): Remove commented code.
18509 (denorm): Likewise.
18510 (__mp_dbl): Likewise.
18511 (__inv): Likewise.
18512
18513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18514 mp_no value for 1.0 and 2.0.
18515 (norm): Use RADIXI instead of radixi.d.
18516 (denorm): Likewise.
18517 (__mul): Use 0.0 instead of zero.d.
18518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18519 mp_no value for 1.0 and 2.0.
18520 (norm): Use RADIXI instead of radixi.d.
18521 (denorm): Likewise.
18522 (__mul): Use 0.0 instead of zero.d.
18523
18524 2013-01-04 Joseph Myers <joseph@codesourcery.com>
18525
18526 [BZ #14994]
18527 * math/s_casinh.c (__casinh): Reduce finite argument to first
18528 quadrant then set signs of results at the end.
18529 * math/s_casinhf.c (__casinhf): Likewise.
18530 * math/s_casinhl.c (__casinhl): Likewise.
18531 * math/libm-test.inc (casin_test): Add more tests.
18532 (casinh_test): Likewise.
18533 * sysdeps/i386/fpu/libm-test-ulps: Update.
18534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18535
18536 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18537
18538 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18539
18540 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18541
18542 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18543 declarations.
18544 (denorm): Likewise.
18545 (__mp_dbl): Likewise.
18546 (__inv): Likewise.
18547
18548 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18549 and adjust the header comment.
18550
18551 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18552 variable name from declaration.
18553
18554 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18555
18556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18557 Initialize COMMON_CPUID_INDEX_7 element.
18558 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18559 (CPUID_RTM): Likewise.
18560 (HAS_RTM): Likewise.
18561 (COMMON_CPUID_INDEX_7): New enum.
18562
18563 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18564
18565 [BZ #14981]
18566 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18567 size is zero, record memory as freed.
18568
18569 2013-01-03 Andreas Jaeger <aj@suse.de>
18570
18571 * po/ia.po: Add new Interlingua translation.
18572
18573 2012-01-03 Allan McRae <allan@archlinux.org>
18574
18575 * locale/programs/localedef.c: Fix description of '--posix' flag.
18576
18577 2013-01-02 Joseph Myers <joseph@codesourcery.com>
18578
18579 * NEWS: Update dates in second copyright notice.
18580 * README: Update copyright dates in example.
18581 * manual/libc.texinfo: Update copyright dates.
18582 * scripts/test-installation.pl: Update copyright date in --version
18583 output.
18584
18585 * hurd/ctty-input.c: Fix copyright notice formatting.
18586 * hurd/ctty-output.c: Likewise.
18587 * hurd/dtable.c: Likewise.
18588 * hurd/hurd-raise.c: Likewise.
18589 * hurd/hurdprio.c: Likewise.
18590 * hurd/msgportdemux.c: Likewise.
18591 * misc/sys/file.h: Likewise.
18592 * misc/sys/ioctl.h: Likewise.
18593 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18594 * sysdeps/mach/hurd/chdir.c: Likewise.
18595 * sysdeps/mach/hurd/fchdir.c: Likewise.
18596 * sysdeps/mach/hurd/rename.c: Likewise.
18597 * sysdeps/mach/hurd/rmdir.c: Likewise.
18598 * sysdeps/mach/hurd/seekdir.c: Likewise.
18599 * sysdeps/mach/hurd/setsid.c: Likewise.
18600 * sysdeps/posix/wait3.c: Likewise.
18601
18602 * All files with FSF copyright notices: Update copyright dates
18603 using scripts/update-copyrights.
18604 * intl/plural.c: Regenerated.
18605 * locale/programs/charmap-kw.h: Likewise.
18606 * locale/programs/locfile-kw.h: Likewise.
18607
18608 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18609
18610 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18611 four values.
18612
18613 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18614 calculation loop and add branch prediction.
18615
18616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18617 check access beyond bounds of m1np.
18618
18619 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18620 MPTWO.
18621 (__inv): Remove local variable MPTWO to use the global
18622 constant.
18623 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18624 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18625 variable MPTWO.
18626 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18627 MP3HALFS static const.
18628
18629 2013-01-01 David S. Miller <davem@davemloft.net>
18630
18631 * po/ca.po: Update from translation team.
18632
18633 2013-01-01 Joseph Myers <joseph@codesourcery.com>
18634
18635 * scripts/update-copyrights: New file.
18636 * Makeconfig: Reformat copyright notice.
18637 * ctype/ctype.h: Likewise.
18638 * debug/swprintf_chk.c: Likewise.
18639 * elf/dl-cache.c: Likewise.
18640 * elf/dl-debug.c: Likewise.
18641 * elf/dl-object.c: Likewise.
18642 * grp/initgroups.c: Likewise.
18643 * hurd/Makefile: Likewise.
18644 * hurd/hurd/signal.h: Likewise.
18645 * hurd/hurdfault.c: Likewise.
18646 * hurd/hurdioctl.c: Likewise.
18647 * hurd/hurdlookup.c: Likewise.
18648 * hurd/intr-msg.c: Likewise.
18649 * iconv/gconv_open.c: Likewise.
18650 * libio/swprintf.c: Likewise.
18651 * locale/lc-ctype.c: Likewise.
18652 * locale/nl_langinfo.c: Likewise.
18653 * mach/Machrules: Likewise.
18654 * mach/Makefile: Likewise.
18655 * malloc/obstack.h: Likewise.
18656 * manual/Makefile: Likewise.
18657 * manual/tsort.awk: Likewise.
18658 * misc/bits/stab.def: Likewise.
18659 * nis/nis_print_group_entry.c: Likewise.
18660 * nis/nis_table.c: Likewise.
18661 * nis/nss_compat/compat-pwd.c: Likewise.
18662 * nis/nss_compat/compat-spwd.c: Likewise.
18663 * po/Makefile: Likewise.
18664 * posix/fnmatch.c: Likewise.
18665 * posix/regex.h: Likewise.
18666 * resolv/Makefile: Likewise.
18667 * resolv/nss_dns/dns-network.c: Likewise.
18668 * resolv/res_hconf.c: Likewise.
18669 * scripts/gen-sorted.awk: Likewise.
18670 * soft-fp/soft-fp.h: Likewise.
18671 * stdio-common/printf.h: Likewise.
18672 * stdlib/monetary.h: Likewise.
18673 * stdlib/random.c: Likewise.
18674 * stdlib/random_r.c: Likewise.
18675 * sysdeps/generic/Makefile: Likewise.
18676 * sysdeps/gnu/Makefile: Likewise.
18677 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18701 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18705 * sysdeps/mach/hurd/errnos.awk: Likewise.
18706 * sysdeps/mach/hurd/fork.c: Likewise.
18707 * sysdeps/mach/hurd/getcwd.c: Likewise.
18708 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18709 * sysdeps/mach/hurd/mmap.c: Likewise.
18710 * sysdeps/mach/hurd/utimes.c: Likewise.
18711 * sysdeps/mach/hurd/xmknod.c: Likewise.
18712 * sysdeps/posix/profil.c: Likewise.
18713 * sysdeps/posix/readdir_r.c: Likewise.
18714 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18715 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18716 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18717 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18719 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18720 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18721 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18723 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18724 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18725 * sysdeps/pthread/lio_listio.c: Likewise.
18726 * sysdeps/sparc/dl-procinfo.h: Likewise.
18727 * sysdeps/unix/i386/sysdep.S: Likewise.
18728 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18729 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18730 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18731 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18733 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18734 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18735 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18736 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18737 * sysdeps/wordsize-32/divdi3.c: Likewise.
18738 * time/sys/time.h: Likewise.
18739 * wcsmbs/Makefile: Likewise.
18740
18741 2013-01-01 David S. Miller <davem@davemloft.net>
18742
18743 * po/fr.po: Update from translation team.
18744
18745 * catgets/gencat.c: Update copyright year.
18746 * csu/version.c: Likewise.
18747 * debug/catchsegv.sh: Likewise.
18748 * debug/pcprofiledump.c: Likewise.
18749 * debug/xtrace.sh: Likewise.
18750 * elf/ldconfig.c: Likewise.
18751 * elf/ldd.bash.in: Likewise.
18752 * elf/pldd.c: Likewise.
18753 * elf/sotruss.ksh: Likewise.
18754 * elf/sprof.c: Likewise.
18755 * iconv/iconv_prog.c: Likewise.
18756 * iconv/iconvconfig.c: Likewise.
18757 * locale/programs/locale.c: Likewise.
18758 * locale/programs/localedef.c: Likewise.
18759 * login/programs/pt_chown.c: Likewise.
18760 * malloc/memusage.sh: Likewise.
18761 * malloc/memusagestat.c: Likewise.
18762 * malloc/mtrace.pl: Likewise.
18763 * nscd/nscd.c: Likewise.
18764 * nss/getent.c: Likewise.
18765 * nss/makedb.c: Likewise.
18766 * posix/getconf.c: Likewise.
18767
18768 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18769
18770 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18771 numbers.
18772
18773 2012-12-30 Mike Frysinger <vapier@gentoo.org>
18774
18775 * math/bits/mathcalls.h (modf): Use __nonnull.
18776
18777 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18778
18779 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18780 (split): Use macro CN instead of the bare value.
18781 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18782 could be used.
18783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18784 instead of the bare value.
18785 (power1): Likewise.
18786
18787 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18788
18789 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18790 __ATAN_TWOM.
18791 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18792
18793 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18794 their values.
18795 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18796 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18797 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18798 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18799
18800 2012-12-28 Andreas Jaeger <aj@suse.de>
18801
18802 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18803 values are from Linux 3.7.
18804
18805 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18806 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18807
18808 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18809
18810 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18811 TRUE case.
18812
18813 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18814 (norm): Likewise.
18815 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18816 variables with preprocessor constants.
18817 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18818 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18819 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18820
18821 2012-12-27 Bruno Haible <bruno@clisp.org>
18822
18823 [BZ #14317]
18824 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18825 only if needed.
18826
18827 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18828
18829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18830 and use variable directly.
18831 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18832
18833 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18834 MPONE.
18835 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18837 variable MPONE.
18838 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18840 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18841 include directive. Remove local variable MPONE.
18842 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18843 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18844 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18845
18846 2012-12-25 David S. Miller <davem@davemloft.net>
18847
18848 * version.h (RELEASE): Set to "development".
18849 (VERSION): Set to "2.17.90".
18850 * NEWS: Add 2.18 section.
18851
18852 2012-12-21 David S. Miller <davem@davemloft.net>
18853
18854 * po/hr.po: Update from translation team.
18855
18856 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18857
18858 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18859
18860 2012-12-19 Steve Ellcey <sellcey@mips.com>
18861
18862 * NEWS: Mention new memcpy for MIPS.
18863
18864 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18865
18866 * manual/contrib.texi (Contributors): Spelling correction.
18867
18868 2012-12-15 David S. Miller <davem@davemloft.net>
18869
18870 * po/ru.po: Update from translation team.
18871
18872 2012-12-13 David S. Miller <davem@davemloft.net>
18873
18874 * NEWS: Mention IFUNC testsuite enhancements.
18875
18876 * po/pl.po: Update from translation team.
18877 * po/bg.po: Likewise.
18878
18879 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18880 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18881
18882 2012-12-11 David S. Miller <davem@davemloft.net>
18883
18884 * po/sv.po: Update from translation team.
18885
18886 * po/vi.po: Update from translation team.
18887
18888 * po/cs.po: Update from translation team.
18889
18890 * po/de.po: Update from translation team.
18891 * po/eo.po: Likewise.
18892 * po/nl.po: Likewise.
18893
18894 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18895
18896 [BZ #14246]
18897 * manual/argp.texi (Argp Helper Functions): Move node to follow
18898 Argp Parsing State.
18899
18900 [BZ #14872]
18901 * manual/conf.texi (Limits on File System Capacity): Mention if
18902 terminating null is included in the max size.
18903
18904 2012-12-10 Andreas Jaeger <aj@suse.de>
18905
18906 * po/cs.po: Update from translation team.
18907
18908 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18909
18910 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18911 void pointer and cast to uintptr_t.
18912 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18913 path.
18914 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18915 * sysdeps/s390/s390-64/memset.S: Likewise.
18916
18917 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
18918
18919 [BZ #14833]
18920 * menual/message.texi (Message Translation): Fix typos.
18921 (Helper programs for gettext): Likewise.
18922
18923 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18924
18925 [BZ #14898]
18926 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18927 Change to -1.
18928
18929 2012-12-07 David S. Miller <davem@davemloft.net>
18930
18931 * po/libc.pot: Update.
18932
18933 2012-12-07 Richard Henderson <rth@redhat.com>
18934
18935 [BZ #10114]
18936 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18937 normal/normal case to before the switch.
18938 (_FP_DIV): Likewise.
18939
18940 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18941 Mike Frysinger <vapier@gentoo.org>
18942
18943 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18944 check for __NR_fadvise64_64.
18945
18946 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18947
18948 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18949 0, not just to plain "0" as a statement.
18950 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18951 with cw.
18952
18953 2012-12-06 Joseph Myers <joseph@codesourcery.com>
18954
18955 * NEWS: Use sourceware.org in Bugzilla URL.
18956
18957 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18958
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18960 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18961
18962 * stdio-common/tst-put-error.c (do_test): Add newline to the
18963 padded test to ensure flush.
18964
18965 2012-12-05 Jeff Law <law@redhat.com>
18966
18967 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18968
18969 2012-12-05 Joseph Myers <joseph@codesourcery.com>
18970
18971 * README: Don't refer to ports add-on as distributed separately.
18972 Mention AArch64 in list of systems supported in the ports add-on.
18973
18974 * LICENSES: Add more non-FSF copyright and license notices.
18975
18976 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18977 ((unused)).
18978
18979 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18980
18981 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18982 10000 as width of padded output.
18983
18984 2012-12-04 Joseph Myers <joseph@codesourcery.com>
18985
18986 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18987
18988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18989 variable LX with __attribute__ ((unused)).
18990 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18991 Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18995 with __attribute__ ((unused)).
18996
18997 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
18998
18999 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19000
19001 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19002
19003 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19004 (CFLAGS-nldbl-acos.c): New variable.
19005 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19006 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19007 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19008 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19009 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19010 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19011 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19012 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19013 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19014 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19015 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19016 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19017 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19018 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19019 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19020 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19021 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19022 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19023 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19024 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19025 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19026 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19027 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19028 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19029 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19030 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19031 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19032 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19033 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19034 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19035 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19036 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19037 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19038 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19039 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19040 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19041 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19042 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19043 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19044 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19045 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19046 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19047 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19048 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19049 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19050 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19051 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19052 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19053 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19054 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19055 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19056 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19057 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19058 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19059 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19060 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19061 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19062 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19063 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19064 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19065 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19066 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19067 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19068 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19069 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19070 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19071 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19072 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19073 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19074 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19075 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19076 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19077 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19078 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19079 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19080 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19081 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19082 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19083 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19084 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19085 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19086 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19087 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19088 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19089 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19090 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19091 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19092 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19093 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19094 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19095 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19096 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19097 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19098 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19099 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19100 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19101 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19102
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19104 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19105
19106 [BZ #14914]
19107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19108 whole low double instead of just low 47 bits when splitting values
19109 into two parts.
19110
19111 2012-12-03 Allan McRae <allan@archlinux.org>
19112
19113 * manual/stdio.texi (Predefined Printf Handlers): Remove
19114 @hsep and @vsep usage.
19115
19116 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19117
19118 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19119 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19120
19121 2012-12-03 Jeff Law <law@redhat.com>
19122
19123 * time/sys/time.h (settimeofday): Do not mark TV argument
19124 as __nonnull.
19125
19126 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19127
19128 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19129 when currently writing and seek to current position when not.
19130 * libio/Makefile (tests): Remove bug-fclose1.
19131 * libio/bug-fclose1.c: Delete.
19132
19133 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19134
19135 * manual/arith.texi (feenableexcept): Fix typo.
19136 (fedisableexcept): Likewise.
19137
19138 2012-11-30 Roland McGrath <roland@hack.frob.com>
19139
19140 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19141 second, differently-typed declaration, rather than a cast.
19142
19143 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19144
19145 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19146 * include/rpc/svc.h: ... here.
19147
19148 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19149
19150 [BZ #13013]
19151 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19152 depending n and resplen2 to catch cases where answer
19153 equals answerp2.
19154
19155 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19156
19157 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19158 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19159
19160 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19161
19162 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19163
19164 2012-11-29 Roland McGrath <roland@hack.frob.com>
19165
19166 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19167
19168 2012-11-28 Jeff Law <law@redhat.com>
19169
19170 [BZ #13761]
19171 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19172 dataset_temporary. Track alloca usage into alloca_used.
19173 If dataset is large allocate and release it via malloc/free.
19174
19175 2012-06-04 Florian Weimer <fweimer@redhat.com>
19176
19177 [BZ #14197]
19178 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19179
19180 2012-11-28 David S. Miller <davem@davemloft.net>
19181
19182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19183
19184 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19185
19186 [BZ #14803]
19187 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19188 of pi/2 rounded to nearest to 64 bits.
19189 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19190 nearest to 64 bits.
19191 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19192 bits.
19193
19194 2012-11-28 Jeff Law <law@redhat.com>
19195 Martin Osvald <mosvald@redhat.com>
19196
19197 [BZ #14889]
19198 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19199 * sunrpc/svc.c: Include time.h.
19200 (__svc_accept_failed): New function.
19201 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19202 any reason other than EINTR, call __svc_accept_failed.
19203 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19204 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19205
19206 2012-11-28 Andreas Schwab <schwab@suse.de>
19207
19208 * scripts/abilist.awk: Also handle indirect functions in .opd
19209 section.
19210
19211 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19212
19213 [BZ #13881]
19214 * sysdeps/x86/fpu/powl_helper.c: New file.
19215 * sysdeps/x86/fpu/Makefile: Likewise.
19216 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19217 (p3): New object.
19218 (__ieee754_powl): Use __powl_helper for finite arguments except
19219 integer exponents below 8.
19220 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19221 (p3): New object.
19222 (__ieee754_powl): Use __powl_helper for finite arguments except
19223 integer exponents below 8.
19224 * math/libm-test.inc (pow_test): Add more tests and enable some
19225 previously disabled tests.
19226 * sysdeps/i386/fpu/libm-test-ulps: Update.
19227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19228
19229 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19230 Carlos O'Donell <carlos_odonell@mentor.com>
19231
19232 * nss/makedb.c (is_prime): Assert that input is odd and greater
19233 than 4. Note that fact in a comment too.
19234 (next_prime): Add 4 to input.
19235
19236 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19237
19238 [BZ #11741]
19239 * libio/Makefile (tests): Add test case tst-fwrite-error.
19240 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19241 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19242 * libio/tst-fwrite-error.c: New test case.
19243
19244 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19247 before casting to void *.
19248 * include/libc-internal.h (__pointer_type): New macro.
19249 (__integer_if_pointer_type_sub): Likewise.
19250 (__integer_if_pointer_type): Likewise.
19251 (cast_to_integer): Likewise.
19252 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19253 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19254 before casting to atomic64_t.
19255 (atomic_exchange_acq): Likewise.
19256 (__arch_exchange_and_add_body): Likewise.
19257 (__arch_add_body): Likewise.
19258 (atomic_add_negative): Likewise.
19259 (atomic_add_zero): Likewise.
19260
19261 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19262
19263 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19264 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19265 (add_fdes): Likewise.
19266 (linear_search_fdes): Likewise.
19267 (binary_search_unencoded_fdes): Likewise.
19268
19269 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19270
19271 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19272
19273 2012-11-24 Adam Conrad <adconrad@0c3.net>
19274
19275 * configure.in: Autodetect C++ header directories.
19276 * configure: Regenerated.
19277
19278 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19279
19280 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19281
19282 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19283
19284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19285
19286 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19287
19288 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19289 LDBL_MANT_DIG == 106]: Disable some tests.
19290 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19291 Likewise.
19292 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19293 Likewise.
19294
19295 [BZ #14871]
19296 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19297 input for small inputs. Return +/- pi/2 for large inputs.
19298 * math/libm-test.inc (atan_test): Add more tests.
19299
19300 * sysdeps/generic/unwind-dw2-fde-glibc.c
19301 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19302 __attribute__ ((unused)).
19303
19304 [BZ #14645]
19305 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19306 x * y if x and y are nonzero and z is zero.
19307
19308 [BZ #14811]
19309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19310 nonzero exponents with absolute value below 0x1p-117 to +/-
19311 0x1p-117.
19312
19313 [BZ #14869]
19314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19315 up arguments below 2**-450, not just those below 2**-500.
19316 * math/libm-test.inc (hypot_test): Add another test.
19317
19318 [BZ #14868]
19319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19320 Return a+b for ratio over 2**120, not 2**60.
19321 * math/libm-test.inc (hypot_test): Add another test.
19322
19323 * math/libm-test.inc (clog_test): Use
19324 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19325 (clog10_test): Likewise.
19326
19327 [BZ #6778]
19328 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19329
19330 2012-11-22 Andreas Schwab <schwab@suse.de>
19331
19332 * sysdeps/i386/fpu/libm-test-ulps: Update.
19333
19334 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19335
19336 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19337 printf output with newline.
19338
19339 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 [BZ #14865]
19342 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19343 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19344 -z nodlopen, -z initfirst and -z execstack support.
19345 * configure: Regenerated.
19346
19347 * elf/elf.h (DF_1_NODIRECT): New macro.
19348 (DF_1_IGNMULDEF): Likewise.
19349 (DF_1_NOKSYMS): Likewise.
19350 (DF_1_NOHDR): Likewise.
19351 (DF_1_EDITED): Likewise.
19352 (DF_1_NORELOC): Likewise.
19353 (DF_1_SYMINTPOSE): Likewise.
19354 (DF_1_GLOBAUDIT): Likewise.
19355 (DF_1_SINGLETON): Likewise.
19356 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19357 DT_1_SUPPORTED_MASK bits.
19358 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19359
19360 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19361
19362 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19363
19364 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19365
19366 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19367 macro.
19368
19369 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19370 (sendmmsg): Move declarations...
19371 * socket/sys/socket.h: ... here.
19372 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19373 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19374 include it from...
19375 * socket/recvmmsg.c: ... this new file.
19376 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19377 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19378 definition of __sendmmsg hidden.
19379 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19380 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19381 Move ENOSYS stub into and include it from...
19382 * socket/sendmmsg.c: ... this new file.
19383 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19384 (sysdep_routines): Move recvmmsg and sendmmsg...
19385 * socket/Makefile (routines): ... here.
19386 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19387 (GLIBC_PRIVATE): Add __sendmmsg.
19388 * include/sys/socket.h (__sendmmsg): Add declarations.
19389 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19390 sendmmsg.
19391
19392 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19393
19394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19395 variable I1 with __attribute__ ((unused)).
19396 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19397
19398 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19399
19400 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19401 DUMMY variables with __attribute__ ((unused)).
19402
19403 * bits/byteswap.h: Include <bits/types.h>.
19404 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19405
19406 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19407
19408 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19409 string_t. Do not manually set errno.
19410 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19411 length with __strnlen. Make sure to both set errno and return it on
19412 failure.
19413
19414 2012-11-19 David S. Miller <davem@davemloft.net>
19415
19416 With help from Joseph Myers.
19417 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19418 very large arguments properly.
19419 * math/libm-test.inc (atan_test): New tests.
19420 (atan2_test): New tests.
19421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19423
19424 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19425
19426 [BZ #14856]
19427 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19428 Define to 3.
19429
19430 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19431 [POSIX] (EADDRNOTAVAIL): Likewise.
19432 [POSIX] (EAFNOSUPPORT): Likewise.
19433 [POSIX] (EALREADY): Likewise.
19434 [POSIX] (ECONNABORTED): Likewise.
19435 [POSIX] (ECONNREFUSED): Likewise.
19436 [POSIX] (ECONNRESET): Likewise.
19437 [POSIX] (EDESTADDRREQ): Likewise.
19438 [POSIX] (EDQUOT): Likewise.
19439 [POSIX] (EHOSTUNREACH): Likewise.
19440 [POSIX] (EIDRM): Likewise.
19441 [POSIX] (EISCONN): Likewise.
19442 [POSIX] (ELOOP): Likewise.
19443 [POSIX] (EMULTIHOP): Likewise.
19444 [POSIX] (ENETDOWN): Likewise.
19445 [POSIX] (ENETUNREACH): Likewise.
19446 [POSIX] (ENOBUFS): Likewise.
19447 [POSIX] (ENODATA): Likewise.
19448 [POSIX] (ENOLINK): Likewise.
19449 [POSIX] (ENOMSG): Likewise.
19450 [POSIX] (ENOPROTOOPT): Likewise.
19451 [POSIX] (ENOSR): Likewise.
19452 [POSIX] (ENOSTR): Likewise.
19453 [POSIX] (ENOTCONN): Likewise.
19454 [POSIX] (ENOTSOCK): Likewise.
19455 [POSIX] (EOPNOTSUPP): Likewise.
19456 [POSIX] (EOVERFLOW): Likewise.
19457 [POSIX] (EPROTO): Likewise.
19458 [POSIX] (EPROTONOSUPPORT): Likewise.
19459 [POSIX] (EPROTOTYPE): Likewise.
19460 [POSIX] (ESTALE): Likewise.
19461 [POSIX] (ETIME): Likewise.
19462 [POSIX] (ETXTBSY): Likewise.
19463 [POSIX] (EWOULDBLOCK): Likewise.
19464 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19465 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19466 [POSIX] (SEEK_CUR): Likewise.
19467 [POSIX] (SEEK_END): Likewise.
19468 [POSIX || UNIX98] (mode_t): Do not require.
19469 [POSIX] (off_t): Likewise.
19470 [POSIX] (pid_t): Likewise.
19471 [POSIX] (sys/stat.h): Do not allow header.
19472 [POSIX] (unistd.h): Likewise.
19473 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19474 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19475 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19476 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19477 require.
19478 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19479 sigevent): Specify elements.
19480 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19481 entry.
19482 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19483 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19484
19485 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19486 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19487 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19488 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19489 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19490 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19491 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19492 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19494 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19495 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19496 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19497 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19498 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19499 Likewise.
19500 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19501 Likewise.
19502 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19503 Likewise.
19504 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19505 Likewise.
19506 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19507 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19508 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19509 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19511 Specify lower bound on value.
19512 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19518 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19519 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19520 value.
19521 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19522 as optional.
19523 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19539 entry.
19540 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19541 optional.
19542 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19548 Likewise.
19549 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19551 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19554 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19555 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19556 as optional.
19557 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19561 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19562 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19563 specify as optional.
19564 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19567 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19568 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19569 [XPG3] (NL_LANGMAX): Likewise.
19570 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19571 [POSIX || XPG3] (NL_NMAX): Likewise.
19572 [POSIX || XPG3] (NL_SETMAX): Likewise.
19573 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19574 [XPG3] (NZERO): Likewise.
19575 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19576 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19577 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19578 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19579 (REG_ERANGE): Expect.
19580 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19581 optional-constant.
19582 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19583 Use (void) in prototype.
19584 [POSIX] (*_t): Allow.
19585 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19586 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19587 (WRDE_BADVAL): Expect.
19588
19589 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19590 expect.
19591 [XPG3 || XPG4] (O_RSYNC): Likewise.
19592 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19593 Likewise.
19594 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19595 [XPG3 || XPG4] (sigqueue): Likewise.
19596 [XPG3 || XPG4] (sigtimedwait): Likewise.
19597 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19598 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19599 [XPG3 || XPG4] (vsnprintf): Likewise.
19600 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19601 Likewise.
19602 [XPG3 || XPG4] (blksize_t): Likewise.
19603 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19604 Likewise.
19605 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19606 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19607 [XPG3 || XPG4] (struct itimerspec): Likewise.
19608 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19609 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19610 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19611 [XPG3 || XPG4] (clockid_t): Likewise.
19612 [XPG3 || XPG4] (timer_t): Likewise.
19613 [XPG3 || XPG4] (clock_getres): Likewise.
19614 [XPG3 || XPG4] (clock_gettime): Likewise.
19615 [XPG3 || XPG4] (clock_settime): Likewise.
19616 [XPG3 || XPG4] (nanosleep): Likewise.
19617 [XPG3 || XPG4] (timer_create): Likewise.
19618 [XPG3 || XPG4] (timer_delete): Likewise.
19619 [XPG3 || XPG4] (timer_gettime): Likewise.
19620 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19621 [XPG3 || XPG4] (timer_settime): Likewise.
19622 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19623 [XPG3 || XPG4] (getlogin_r): Likewise.
19624 [XPG3 || XPG4] (pread): Likewise.
19625 [XPG3 || XPG4] (pthread_atfork): Likewise.
19626 [XPG3 || XPG4] (pwrite): Likewise.
19627
19628 [BZ #14835]
19629 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19630 <bits/siginfo.h>.
19631
19632 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19633
19634 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19635 finalizing MALLSTREAM.
19636
19637 * sysdeps/mach/hurd/syncfs.c: New file.
19638
19639 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19640
19641 [BZ #14719]
19642 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19643 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19644 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19645 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19646 (_nss_dns_gethostbyname4_r): Likewise.
19647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19648 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19649
19650 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19651
19652 [BZ #13763]
19653 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19654
19655 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19656
19657 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19658 * elf/cache.c (print_entry): Print ",AArch64" for
19659 FLAG_AARCH64_LIB64
19660
19661 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19662 * elf/cache.c (print_entry): Print ",hard-float" for
19663 FLAG_ARM_LIBHF.
19664
19665 2012-11-18 David S. Miller <davem@davemloft.net>
19666
19667 With help from Joseph Myers.
19668 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19669 cutoff to 2**-13.
19670 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19671 cutoff to 2**-25.
19672 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19673 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19674 small.
19675 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19676 * math/libm-test.inc (y0_test): New tests.
19677 (y1_test): New tests.
19678 * sysdeps/i386/fpu/libm-test-ulps: Update.
19679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19681
19682 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19683
19684 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19685 64-bit targets.
19686 * configure: Regenerated.
19687
19688 2012-11-17 David S. Miller <davem@davemloft.net>
19689
19690 [BZ #14811]
19691 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19692 nonzero exponents with absolute value below 0x1p-128 to +/-
19693 0x1p-128.
19694
19695 2012-11-17 Joseph Myers <joseph@codesourcery.com>
19696
19697 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19698
19699 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19700
19701 * posix/getconf-speclist.c: New file.
19702 * posix/posix-envs.def: Likewise.
19703 * posix/confstr.c (START_ENV_GROUP): New macro.
19704 (END_ENV_GROUP): Likewise.
19705 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19706 (KNOWN_PRESENT_ENV_STRING): Likewise.
19707 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19708 (UNKNOWN_ENVIRONMENT): Likewise.
19709 (confstr): Include posix-envs.def instead of handling
19710 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19711 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19712 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19713 (END_ENV_GROUP): Likewise.
19714 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19715 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19716 (UNKNOWN_ENVIRONMENT): Likewise.
19717 (__sysconf): Include posix-envs.def instead of handling associated
19718 cases directly here.
19719 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19720 preprocessing getconf-speclist.c rather than running getconf or
19721 generating empty file.
19722
19723 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19724
19725 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19726
19727 2012-11-16 Andrej Lajovic <natrij@gmail.com>
19728
19729 [BZ #14672]
19730 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19731
19732 2012-11-16 David S. Miller <davem@davemloft.net>
19733
19734 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19735 smaller than LDBL_EPSILON/2.0L, just return xm1.
19736
19737 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19738
19739 * elf/tst-array1.c (init): Set constructor priority to 1000.
19740 (fini): Set destructor priority to 1000.
19741 * elf/tst-array2dep.c: Likewise.
19742
19743 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19744
19745 [BZ #11741]
19746 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19747 (_IO_new_file_xsputn): Also return EOF if none of the input
19748 data was written when overflow failed.
19749 * libio/iopadn.c (_IO_padn): Likewise.
19750 * libio/iowpadn.c (_IO_wpadn): Likewise.
19751 * stdio-common/tst-put-error.c: Add copyright notice.
19752 (do_test): Add case for printing padded string.
19753 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19754 _IO_padn returned error.
19755 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19756 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19757 return EOF.
19758
19759 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19760
19761 * libio/libioP.h: Add comment note that the references to C++
19762 bits are now obsolete.
19763
19764 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19765
19766 * math/libm-test.inc (check_complex): Use asprintf.
19767
19768 2012-11-14 Joseph Myers <joseph@codesourcery.com>
19769
19770 * debug/pcprofiledump.c (print_version): Update copyright year.
19771 * malloc/memusagestat.c (print_version): Likewise.
19772
19773 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19774
19775 [BZ #14831]
19776 * elf/Makefile (tests): Add tst-audit8.
19777 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19778 ($(objpfx)tst-audit8.out): New target.
19779 (tst-audit8-ENV): New variable.
19780 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19781 audit if l_reloc_result is NULL.
19782 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19783 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19784 * elf/tst-audit8.c: New file.
19785
19786 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19787
19788 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19789 * misc/Makefile (CFLAGS-select.c): Define.
19790 * posix/Makefile (CFLAGS-pause.c): Define.
19791
19792 2012-11-13 David S. Miller <davem@davemloft.net>
19793
19794 * crypt/Makefile: Move test targets after toplevel Rules
19795 inclusion. Grab any necessary sysdep routines when linking.
19796 * crypt/md5.c (md5_process_block): Remove define, we will always
19797 name it __md5_process_block.
19798 (md5_finish_ctx): Update md5_process_block call.
19799 (md5_stream): Likewise.
19800 (md5_process_bytes): Likewise.
19801 (md5_process_block): Rename to __md5_process_block and move to ...
19802 * crypt/md5-block.c: ... here.
19803 * crypt/sha256.c (sha256_process_block): Move to ...
19804 * crypt/sha256-block.c: ... here.
19805 * crypt/sha512.c (sha512_process_block): Move to ...
19806 * crypt/sha512-block.c: ... here.
19807 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19808 path.
19809 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19810 * sysdeps/sparc/sparc64/multiarch/Makefile
19811 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19812 crypt subdir.
19813 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19814 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19815 multiarch changes.
19816 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19817 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19818 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19819 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19820 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19821 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19822 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19823 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19824 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19825 file.
19826 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19827 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19828 file.
19829 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19830
19831 2012-11-13 Joseph Myers <joseph@codesourcery.com>
19832
19833 * timezone/tzselect.ksh: Update from tzcode git revision
19834 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19835 * timezone/zdump.c: Likewise.
19836 * timezone/zic.c: Likewise.
19837 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19838 in TZVERSION setting, not $(PKGVERSION).
19839 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19840 REPORT_BUGS_TO settings.
19841
19842 [BZ #14838]
19843 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19844 macro.
19845
19846 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19847
19848 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19849 detection to immediately after _FP_ROUND().
19850 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19851 bits are 0.
19852
19853 2012-11-11 David S. Miller <davem@davemloft.net>
19854
19855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19856 inttypes.h
19857 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19858 __close rather than their public counterparts.
19859
19860 2012-11-10 Joseph Myers <joseph@codesourcery.com>
19861
19862 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19863 file.
19864 [UNIX98] (sem_timedwait): Do not expect.
19865 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19866 [XPG4 || UNIX98] (sockatmark): Do not expect.
19867 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19868 (clock_getcpuclockid): Do not expect.
19869 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19870 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19871 Do not expect.
19872 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19873 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19874 [UNIX98] (vwscanf): Likewise.
19875 [UNIX98] (vswscanf): Likewise.
19876
19877 2012-11-09 Joseph Myers <joseph@codesourcery.com>
19878
19879 * timezone/version.h: Remove file.
19880 * timezone/README: Do not refer to version.h.
19881 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19882 $(objpfx)version.h.
19883 ($(objpfx)zdump.o): Likewise.
19884 ($(objpfx)version.h): New target.
19885
19886 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19887 2012i.
19888 * timezone/README: Don't mention modification to tzselect.ksh.
19889 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19890 work on unmodified tzselect.ksh. Substitute version numbers in
19891 tzselect.ksh.
19892
19893 * Makefile (format-me): Remove.
19894 (INSTALL): Adjust indentation. Use commands directly instead of
19895 using $(format-me).
19896
19897 * aclocal.m4 (ACX_PKGVERSION): New macro.
19898 (ACX_BUGURL): Likewise.
19899 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19900 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19901 (REPORT_BUGS_TO): Likewise.
19902 * configure: Regenerated.
19903 * config.h.in (PKGVERSION): New macro.
19904 (REPORT_BUGS_TO): Likewise.
19905 * config.make.in (PKGVERSION): New variable.
19906 (PKGVERSION_TEXI): Likewise.
19907 (REPORT_BUGS_TO): Likewise.
19908 (REPORT_BUGS_TEXI): Likewise.
19909 * Makefile (format-me): Use -I$(common-objpfx)manual.
19910 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19911 ($(common-objpfx)manual/%): New target.
19912 (manual/%): Remove target.
19913 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19914 (print_version): Use PKGVERSION.
19915 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19916 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19917 and REPORT_BUGS_TO.
19918 ($(objpfx)xtrace): Likewise.
19919 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19920 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19921 (print_version): Use PKGVERSION.
19922 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19923 (do_version): Use PKGVERSION.
19924 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19925 REPORT_BUGS_TO.
19926 (common-ldd-rewrite): Likewise.
19927 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19928 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19929 (print_version): Use PKGVERSION.
19930 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19931 * elf/pldd.c (argp_program_bug_address): Remove variable.
19932 (more_help): New function.
19933 (argp): Use more_help.
19934 (print_version): Use PKGVERSION.
19935 * elf/sln.c (main): Use PKGVERSION.
19936 (usage): Use REPORT_BUGS_TO.
19937 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19938 (top level): Use PKGVERSION.
19939 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19940 (print_version): Use PKGVERSION.
19941 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19942 (print_version): Use PKGVERSION.
19943 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19944 (print_version): Use PKGVERSION.
19945 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19946 (print_version): Use PKGVERSION.
19947 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19948 (print_version): Use PKGVERSION.
19949 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19950 (print_version): Use PKGVERSION.
19951 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19952 and BUGURL.
19953 ($(objpfx)memusage): Likewise.
19954 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19955 (do_version): Use PKGVERSION.
19956 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19957 (print_version): Use PKGVERSION.
19958 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19959 ($PKGVERSION): New variable.
19960 ($REPORT_BUGS_TO): Likewise.
19961 (usage): Use $REPORT_BUGS_TO.
19962 (top level): Use $PKGVERSION.
19963 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19964 ($(objpfx)pkgvers.texi): New rule.
19965 ($(objpfx)stamp-pkgvers): Likewise.
19966 * manual/install.texi: Include pkgvers.texi.
19967 (--with-pkgversion): Document new configure option.
19968 (--with-bugurl): Likewise.
19969 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19970 than necessarily for this particular distribution. Use
19971 REPORT_BUGS_TO for where to report bugs.
19972 * INSTALL: Regenerated.
19973 * manual/libc.texinfo: Include pkgvers.texi.
19974 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19975 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19976 (print_version): Use PKGVERSION.
19977 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19978 (print_version): Use PKGVERSION.
19979 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19980 (print_version): Use PKGVERSION.
19981 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19982 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19983 macro.
19984 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19985 (print_version): Use PKGVERSION.
19986 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19987 (print_version): Use PKGVERSION.
19988 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19989 and PKGVERSION.
19990
19991 * timezone/checktab.awk: Update from tzcode 2012i.
19992 * timezone/ialloc.c: Likewise.
19993 * timezone/private.h: Likewise.
19994 * timezone/scheck.c: Likewise.
19995 * timezone/tzfile.h: Likewise.
19996 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19997 (TZVERSION): Hardcode tzcode version number.
19998 * timezone/zdump.c: Update from tzcode 2012i.
19999 * timezone/zic.c: Likewise.
20000 * timezone/version.h: New file.
20001 * timezone/README: Describe version.h. Update upstream location.
20002
20003 [BZ #14824]
20004 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20005 (mktemp): Enable declaration.
20006 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20008 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20009 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20010 Likewise.
20011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20012 Likewise.
20013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20014 Likewise.
20015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20016 Likewise.
20017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20018 Likewise.
20019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20020 Likewise.
20021
20022 [BZ #14821]
20023 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20024 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20025 for copies of such integer values.
20026 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20027 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20028
20029 2012-11-09 Andreas Jaeger <aj@suse.de>
20030
20031 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20032 definitions and declarations that are provided by
20033 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20034
20035 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20036
20037 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20038 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20039 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20040 definition.
20041
20042 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20043
20044 * elf/elf.h: Update comment before AArch64 relocations.
20045
20046 2012-11-07 David S. Miller <davem@davemloft.net>
20047
20048 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20049 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20050 (__start_context): Declare.
20051 (__makecontext_ret): Delete.
20052 (__makecontext): Hook up __start_context instead of
20053 __makecontext_ret.
20054 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20055 (sysdep_routines): Add __start_context when in stdlib.
20056
20057 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20058
20059 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20060 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20061 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20062 hardcoded "nm".
20063 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20064 (READELF): New variable. Use it instead of hardcoded "readelf".
20065
20066 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20067
20068 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20069 * sysdeps/x86/Makefile: Here.
20070 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20071 * sysdeps/x86/tst-xmmymm.sh: This.
20072
20073 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20074
20075 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20076 expectations.
20077 [UNIX98] (pthread_barrier_t): Do not expect.
20078 [UNIX98] (pthread_barrierattr_t): Likewise.
20079 [UNIX98] (pthread_spinlock_t): Likewise.
20080 [UNIX98] (pthread_barrier_destroy): Likewise.
20081 [UNIX98] (pthread_barrier_init): Likewise.
20082 [UNIX98] (pthread_barrier_wait): Likewise.
20083 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20084 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20085 [UNIX98] (pthread_barrierattr_init): Likewise.
20086 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20087 [UNIX98] (pthread_getcpuclockid): Likewise.
20088 [UNIX98] (pthread_mutex_timedlock): Likewise.
20089 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20090 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20091 [UNIX98] (pthread_sigmask): Likewise.
20092 [UNIX98] (pthread_spin_destroy): Likewise.
20093 [UNIX98] (pthread_spin_init): Likewise.
20094 [UNIX98] (pthread_spin_lock): Likewise.
20095 [UNIX98] (pthread_spin_trylock): Likewise.
20096 [UNIX98] (pthread_spin_unlock): Likewise.
20097 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20098 Do not expect.
20099 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20100 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20101 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20102 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20103 [XPG3 || XPG4] (pthread_key_t): Likewise.
20104 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20105 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20106 [XPG3 || XPG4] (pthread_once_t): Likewise.
20107 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20108 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20109 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20110 [XPG3 || XPG4] (pthread_t): Likewise.
20111
20112 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20113 not expect.
20114 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20115
20116 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20117 Change function return type to int.
20118
20119 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20120 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20121 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20122 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20123 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20124 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20125 [!POSIX] (posix_madvise): Likewise.
20126 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20127 && !UNIX98].
20128 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20129 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20130 (mode_t): Likewise.
20131 (posix_mem_offset): Likewise.
20132 (posix_typed_mem_get_info): Likewise.
20133 (posix_typed_mem_open): Likewise.
20134
20135 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20136 Change condition to [XOPEN2K8].
20137
20138 * conform/conformtest.pl: Preprocess allow-header data with -x c
20139 instead of from stdin.
20140 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20141 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20142 [C99-based standards] (cerfc): Likewise.
20143 [C99-based standards] (cexp2): Likewise.
20144 [C99-based standards] (cexpm1): Likewise.
20145 [C99-based standards] (clog10): Likewise.
20146 [C99-based standards] (clog1p): Likewise.
20147 [C99-based standards] (clog2): Likewise.
20148 [C99-based standards] (clgamma): Likewise.
20149 [C99-based standards] (ctgamma): Likewise.
20150 [C99-based standards] (cerff): Likewise.
20151 [C99-based standards] (cerfcf): Likewise.
20152 [C99-based standards] (cexp2f): Likewise.
20153 [C99-based standards] (cexpm1f): Likewise.
20154 [C99-based standards] (clog10f): Likewise.
20155 [C99-based standards] (clog1pf): Likewise.
20156 [C99-based standards] (clog2f): Likewise.
20157 [C99-based standards] (clgammaf): Likewise.
20158 [C99-based standards] (ctgammaf): Likewise.
20159 [C99-based standards] (cerfl): Likewise.
20160 [C99-based standards] (cerfcl): Likewise.
20161 [C99-based standards] (cexp2l): Likewise.
20162 [C99-based standards] (cexpm1l): Likewise.
20163 [C99-based standards] (clog10l): Likewise.
20164 [C99-based standards] (clog1pl): Likewise.
20165 [C99-based standards] (clog2l): Likewise.
20166 [C99-based standards] (clgammal): Likewise.
20167 [C99-based standards] (ctgammal): Likewise.
20168 * conform/data/inttypes.h-data [C99-based standards]: Include
20169 stdint.h-data. Remove all expectations for stdint.h contents.
20170 [C99-based standards] (PRI*): Do not allow.
20171 [C99-based standards] (SCN*): Likewise.
20172 [C99-based standards] (*_t): Likewise.
20173 [C99-based-standards] (PRId8): Expect macro.
20174 [C99-based-standards] (PRIi8): Likewise.
20175 [C99-based-standards] (PRIo8): Likewise.
20176 [C99-based-standards] (PRIu8): Likewise.
20177 [C99-based-standards] (PRIx8): Likewise.
20178 [C99-based-standards] (PRIX8): Likewise.
20179 [C99-based-standards] (SCNd8): Likewise.
20180 [C99-based-standards] (SCNi8): Likewise.
20181 [C99-based-standards] (SCNo8): Likewise.
20182 [C99-based-standards] (SCNu8): Likewise.
20183 [C99-based-standards] (SCNx8): Likewise.
20184 [C99-based-standards] (PRIdLEAST8): Likewise.
20185 [C99-based-standards] (PRIiLEAST8): Likewise.
20186 [C99-based-standards] (PRIoLEAST8): Likewise.
20187 [C99-based-standards] (PRIuLEAST8): Likewise.
20188 [C99-based-standards] (PRIxLEAST8): Likewise.
20189 [C99-based-standards] (PRIXLEAST8): Likewise.
20190 [C99-based-standards] (SCNdLEAST8): Likewise.
20191 [C99-based-standards] (SCNiLEAST8): Likewise.
20192 [C99-based-standards] (SCNoLEAST8): Likewise.
20193 [C99-based-standards] (SCNuLEAST8): Likewise.
20194 [C99-based-standards] (SCNxLEAST8): Likewise.
20195 [C99-based-standards] (PRIdFAST8): Likewise.
20196 [C99-based-standards] (PRIiFAST8): Likewise.
20197 [C99-based-standards] (PRIoFAST8): Likewise.
20198 [C99-based-standards] (PRIuFAST8): Likewise.
20199 [C99-based-standards] (PRIxFAST8): Likewise.
20200 [C99-based-standards] (PRIXFAST8): Likewise.
20201 [C99-based-standards] (SCNdFAST8): Likewise.
20202 [C99-based-standards] (SCNiFAST8): Likewise.
20203 [C99-based-standards] (SCNoFAST8): Likewise.
20204 [C99-based-standards] (SCNuFAST8): Likewise.
20205 [C99-based-standards] (SCNxFAST8): Likewise.
20206 [C99-based-standards] (PRId16): Likewise.
20207 [C99-based-standards] (PRIi16): Likewise.
20208 [C99-based-standards] (PRIo16): Likewise.
20209 [C99-based-standards] (PRIu16): Likewise.
20210 [C99-based-standards] (PRIx16): Likewise.
20211 [C99-based-standards] (PRIX16): Likewise.
20212 [C99-based-standards] (SCNd16): Likewise.
20213 [C99-based-standards] (SCNi16): Likewise.
20214 [C99-based-standards] (SCNo16): Likewise.
20215 [C99-based-standards] (SCNu16): Likewise.
20216 [C99-based-standards] (SCNx16): Likewise.
20217 [C99-based-standards] (PRIdLEAST16): Likewise.
20218 [C99-based-standards] (PRIiLEAST16): Likewise.
20219 [C99-based-standards] (PRIoLEAST16): Likewise.
20220 [C99-based-standards] (PRIuLEAST16): Likewise.
20221 [C99-based-standards] (PRIxLEAST16): Likewise.
20222 [C99-based-standards] (PRIXLEAST16): Likewise.
20223 [C99-based-standards] (SCNdLEAST16): Likewise.
20224 [C99-based-standards] (SCNiLEAST16): Likewise.
20225 [C99-based-standards] (SCNoLEAST16): Likewise.
20226 [C99-based-standards] (SCNuLEAST16): Likewise.
20227 [C99-based-standards] (SCNxLEAST16): Likewise.
20228 [C99-based-standards] (PRIdFAST16): Likewise.
20229 [C99-based-standards] (PRIiFAST16): Likewise.
20230 [C99-based-standards] (PRIoFAST16): Likewise.
20231 [C99-based-standards] (PRIuFAST16): Likewise.
20232 [C99-based-standards] (PRIxFAST16): Likewise.
20233 [C99-based-standards] (PRIXFAST16): Likewise.
20234 [C99-based-standards] (SCNdFAST16): Likewise.
20235 [C99-based-standards] (SCNiFAST16): Likewise.
20236 [C99-based-standards] (SCNoFAST16): Likewise.
20237 [C99-based-standards] (SCNuFAST16): Likewise.
20238 [C99-based-standards] (SCNxFAST16): Likewise.
20239 [C99-based-standards] (PRId32): Likewise.
20240 [C99-based-standards] (PRIi32): Likewise.
20241 [C99-based-standards] (PRIo32): Likewise.
20242 [C99-based-standards] (PRIu32): Likewise.
20243 [C99-based-standards] (PRIx32): Likewise.
20244 [C99-based-standards] (PRIX32): Likewise.
20245 [C99-based-standards] (SCNd32): Likewise.
20246 [C99-based-standards] (SCNi32): Likewise.
20247 [C99-based-standards] (SCNo32): Likewise.
20248 [C99-based-standards] (SCNu32): Likewise.
20249 [C99-based-standards] (SCNx32): Likewise.
20250 [C99-based-standards] (PRIdLEAST32): Likewise.
20251 [C99-based-standards] (PRIiLEAST32): Likewise.
20252 [C99-based-standards] (PRIoLEAST32): Likewise.
20253 [C99-based-standards] (PRIuLEAST32): Likewise.
20254 [C99-based-standards] (PRIxLEAST32): Likewise.
20255 [C99-based-standards] (PRIXLEAST32): Likewise.
20256 [C99-based-standards] (SCNdLEAST32): Likewise.
20257 [C99-based-standards] (SCNiLEAST32): Likewise.
20258 [C99-based-standards] (SCNoLEAST32): Likewise.
20259 [C99-based-standards] (SCNuLEAST32): Likewise.
20260 [C99-based-standards] (SCNxLEAST32): Likewise.
20261 [C99-based-standards] (PRIdFAST32): Likewise.
20262 [C99-based-standards] (PRIiFAST32): Likewise.
20263 [C99-based-standards] (PRIoFAST32): Likewise.
20264 [C99-based-standards] (PRIuFAST32): Likewise.
20265 [C99-based-standards] (PRIxFAST32): Likewise.
20266 [C99-based-standards] (PRIXFAST32): Likewise.
20267 [C99-based-standards] (SCNdFAST32): Likewise.
20268 [C99-based-standards] (SCNiFAST32): Likewise.
20269 [C99-based-standards] (SCNoFAST32): Likewise.
20270 [C99-based-standards] (SCNuFAST32): Likewise.
20271 [C99-based-standards] (SCNxFAST32): Likewise.
20272 [C99-based-standards] (PRId64): Likewise.
20273 [C99-based-standards] (PRIi64): Likewise.
20274 [C99-based-standards] (PRIo64): Likewise.
20275 [C99-based-standards] (PRIu64): Likewise.
20276 [C99-based-standards] (PRIx64): Likewise.
20277 [C99-based-standards] (PRIX64): Likewise.
20278 [C99-based-standards] (SCNd64): Likewise.
20279 [C99-based-standards] (SCNi64): Likewise.
20280 [C99-based-standards] (SCNo64): Likewise.
20281 [C99-based-standards] (SCNu64): Likewise.
20282 [C99-based-standards] (SCNx64): Likewise.
20283 [C99-based-standards] (PRIdLEAST64): Likewise.
20284 [C99-based-standards] (PRIiLEAST64): Likewise.
20285 [C99-based-standards] (PRIoLEAST64): Likewise.
20286 [C99-based-standards] (PRIuLEAST64): Likewise.
20287 [C99-based-standards] (PRIxLEAST64): Likewise.
20288 [C99-based-standards] (PRIXLEAST64): Likewise.
20289 [C99-based-standards] (SCNdLEAST64): Likewise.
20290 [C99-based-standards] (SCNiLEAST64): Likewise.
20291 [C99-based-standards] (SCNoLEAST64): Likewise.
20292 [C99-based-standards] (SCNuLEAST64): Likewise.
20293 [C99-based-standards] (SCNxLEAST64): Likewise.
20294 [C99-based-standards] (PRIdFAST64): Likewise.
20295 [C99-based-standards] (PRIiFAST64): Likewise.
20296 [C99-based-standards] (PRIoFAST64): Likewise.
20297 [C99-based-standards] (PRIuFAST64): Likewise.
20298 [C99-based-standards] (PRIxFAST64): Likewise.
20299 [C99-based-standards] (PRIXFAST64): Likewise.
20300 [C99-based-standards] (SCNdFAST64): Likewise.
20301 [C99-based-standards] (SCNiFAST64): Likewise.
20302 [C99-based-standards] (SCNoFAST64): Likewise.
20303 [C99-based-standards] (SCNuFAST64): Likewise.
20304 [C99-based-standards] (SCNxFAST64): Likewise.
20305 [C99-based-standards] (PRIdMAX): Likewise.
20306 [C99-based-standards] (PRIiMAX): Likewise.
20307 [C99-based-standards] (PRIoMAX): Likewise.
20308 [C99-based-standards] (PRIuMAX): Likewise.
20309 [C99-based-standards] (PRIxMAX): Likewise.
20310 [C99-based-standards] (PRIXMAX): Likewise.
20311 [C99-based-standards] (SCNdMAX): Likewise.
20312 [C99-based-standards] (SCNiMAX): Likewise.
20313 [C99-based-standards] (SCNoMAX): Likewise.
20314 [C99-based-standards] (SCNuMAX): Likewise.
20315 [C99-based-standards] (SCNxMAX): Likewise.
20316 [C99-based-standards] (PRIdPTR): Likewise.
20317 [C99-based-standards] (PRIiPTR): Likewise.
20318 [C99-based-standards] (PRIoPTR): Likewise.
20319 [C99-based-standards] (PRIuPTR): Likewise.
20320 [C99-based-standards] (PRIxPTR): Likewise.
20321 [C99-based-standards] (PRIXPTR): Likewise.
20322 [C99-based-standards] (SCNdPTR): Likewise.
20323 [C99-based-standards] (SCNiPTR): Likewise.
20324 [C99-based-standards] (SCNoPTR): Likewise.
20325 [C99-based-standards] (SCNuPTR): Likewise.
20326 [C99-based-standards] (SCNxPTR): Likewise.
20327 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20328 allow.
20329 * conform/data/stdint.h-data: Update comments to clarify
20330 requirements.
20331 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20332 type.
20333 [C99-based standards] (INT8_MAX): Likewise.
20334 [C99-based standards] (INT16_MIN): Likewise.
20335 [C99-based standards] (INT16_MAX): Likewise.
20336 [C99-based standards] (INT32_MIN): Likewise.
20337 [C99-based standards] (INT32_MAX): Likewise.
20338 [C99-based standards] (INT64_MIN): Likewise.
20339 [C99-based standards] (INT64_MAX): Likewise.
20340 [C99-based standards] (UINT8_MAX): Likewise.
20341 [C99-based standards] (UINT16_MAX): Likewise.
20342 [C99-based standards] (UINT32_MAX): Likewise.
20343 [C99-based standards] (UINT64_MAX): Likewise.
20344 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20345 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20346 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20347 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20348 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20349 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20350 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20351 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20352 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20353 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20354 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20355 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20356 [C99-based standards] (INT_FAST8_MIN): Likewise.
20357 [C99-based standards] (INT_FAST8_MAX): Likewise.
20358 [C99-based standards] (INT_FAST16_MIN): Likewise.
20359 [C99-based standards] (INT_FAST16_MAX): Likewise.
20360 [C99-based standards] (INT_FAST32_MIN): Likewise.
20361 [C99-based standards] (INT_FAST32_MAX): Likewise.
20362 [C99-based standards] (INT_FAST64_MIN): Likewise.
20363 [C99-based standards] (INT_FAST64_MAX): Likewise.
20364 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20365 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20366 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20367 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20368 [C99-based standards] (INTPTR_MIN): Likewise.
20369 [C99-based standards] (INTPTR_MAX): Likewise.
20370 [C99-based standards] (UINTPTR_MAX): Likewise.
20371 [C99-based standards] (INTMAX_MIN): Likewise.
20372 [C99-based standards] (INTMAX_MAX): Likewise.
20373 [C99-based standards] (UINTMAX_MAX): Likewise.
20374 [C99-based standards] (PTRDIFF_MIN): Likewise.
20375 [C99-based standards] (PTRDIFF_MAX): Likewise.
20376 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20377 [C99-based standards] (SIZE_MAX): Likewise.
20378 [C99-based standards] (WCHAR_MAX): Likewise.
20379 [C99-based standards] (WINT_MAX): Likewise.
20380 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20381 constraint on value.
20382 [C99-based standards] (WCHAR_MIN): Likewise.
20383 [C99-based standards] (WINT_MIN): Likewise.
20384 [C99-based standards] (*_t): Allow.
20385 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20386 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20387 Include math.h-data and complex.h-data. Remove all expectations
20388 of math.h and complex.h contents.
20389 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20390 at end of line.
20391 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20392 (struct tm): Expect tag.
20393 [C99-based-standards] (wcstof): Expect function.
20394 [C99-based-standards] (wcstold): Likewise.
20395 [C99-based-standards] (wcstoll): Likewise.
20396 [C99-based-standards] (wcstoull): Likewise.
20397 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20398 macro-int-constant. Specify type.
20399 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20400 constraint on value.
20401 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20402 Specify type.
20403 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20404 Specify value.
20405 [ISO C standards]: Do not allow headers.
20406 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20407 wcs[abcdefghijklmnopqrstuvwxyz]*.
20408 [ISO C standards] (*_t): Do not allow.
20409 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20410 Expect function.
20411 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20412 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20413 Specify type.
20414 [ISO C standards]: Do not allow headers.
20415 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20416 is[abcdefghijklmnopqrstuvwxyz]*.
20417 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20418 to[abcdefghijklmnopqrstuvwxyz]*.
20419 [ISO C standards] (*_t): Do not allow.
20420 * conform/data/stdalign.h-data: New file.
20421 * conform/data/stdbool.h-data: Likewise.
20422 * conform/data/stdnoreturn.h-data: Likewise.
20423
20424 2012-11-07 Roland McGrath <roland@hack.frob.com>
20425
20426 [BZ #14815]
20427 * manual/filesys.texi (Directory Entries): Typo fix.
20428 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20429
20430 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20431
20432 * elf/elf.h (EM_AARCH64): New macro.
20433 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20434 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20435 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20436 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20437 (R_AARCH64_TLSDESC): Likewise.
20438 (NT_ARM_TLS): Likewise.
20439 (NT_ARM_HW_BREAK): Likewise.
20440 (NT_ARM_HW_WATCH): Likewise.
20441
20442 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20443
20444 [BZ #14811]
20445 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20446 (__ieee754_powl): Saturate nonzero exponents with absolute value
20447 below 0x1p-79 to +/- 0x1p-79.
20448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20449 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20450 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20451 nonzero exponents with absolute value below 0x1p-32 to +/-
20452 0x1p-32.
20453 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20454 (__ieee754_powl): Saturate nonzero exponents with absolute value
20455 below 0x1p-79 to +/- 0x1p-79.
20456 * math/libm-test.inc (pow_test): Add more tests.
20457
20458 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20459
20460 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20461 _dl_s390_cap_flags with kernel. Increase string length.
20462 (_dl_s390_platforms): Add z196 and zEC12.
20463
20464 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20465
20466 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20467 Change XOPEN21K to XOPEN2K.
20468
20469 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20470
20471 * string/memmove.c: Use memcpy when possible.
20472
20473 2012-11-06 Andreas Jaeger <aj@suse.de>
20474
20475 * po/eo.po: Update from translation team.
20476
20477 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #14793]
20480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20481 exponent and small x and y exponents, scale x or y up. Increase
20482 by 2 the exponent used in scaling up.
20483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20484 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20485 * math/libm-test.inc (fma_test): Add more tests.
20486 (fma_test_towardzero): Likewise.
20487 (fma_test_downward): Likewise.
20488 (fma_test_upward): Likewise.
20489
20490 2012-11-05 Joseph Myers <joseph@codesourcery.com>
20491
20492 [BZ #14805]
20493 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20494 fenv_t *.
20495
20496 [BZ #14801]
20497 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20498 namespace for names of struct fields.
20499 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20500 fenv_t fields.
20501 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20502 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20503
20504 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20505
20506 [BZ #3665]
20507 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20508
20509 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20510
20511 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20512 PTR_DEMANGLE.
20513
20514 [BZ #5246]
20515 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20516 PTR_DEMANGLE.
20517
20518 2012-11-04 Joseph Myers <joseph@codesourcery.com>
20519
20520 [BZ #14797]
20521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20522 definitely overflow as x * y not x * y + z.
20523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20525 * math/libm-test.inc (fma_test): Add more tests.
20526 (fma_test_towardzero): Likewise.
20527 (fma_test_downward): Likewise.
20528 (fma_test_upward): Likewise.
20529
20530 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20531
20532 [BZ #157]
20533
20534 * include/stub-tag.h: Remove file.
20535 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20536 '#include' of it.
20537 * manual/maint.texi (Porting): Don't reference it.
20538 * Makerules ($(objpfx)stubs): Likewise.
20539 * dirent/closedir.c: Don't include <stub-tag.h>.
20540 * dirent/dirfd.c: Likewise.
20541 * dirent/fdopendir.c: Likewise.
20542 * dirent/getdents.c: Likewise.
20543 * dirent/getdents64.c: Likewise.
20544 * dirent/opendir.c: Likewise.
20545 * dirent/readdir.c: Likewise.
20546 * dirent/readdir64.c: Likewise.
20547 * dirent/readdir64_r.c: Likewise.
20548 * dirent/readdir_r.c: Likewise.
20549 * dirent/rewinddir.c: Likewise.
20550 * dirent/seekdir.c: Likewise.
20551 * dirent/telldir.c: Likewise.
20552 * gmon/profil.c: Likewise.
20553 * grp/setgroups.c: Likewise.
20554 * inet/if_index.c: Likewise.
20555 * io/access.c: Likewise.
20556 * io/chdir.c: Likewise.
20557 * io/chmod.c: Likewise.
20558 * io/chown.c: Likewise.
20559 * io/close.c: Likewise.
20560 * io/dup.c: Likewise.
20561 * io/dup2.c: Likewise.
20562 * io/dup3.c: Likewise.
20563 * io/euidaccess.c: Likewise.
20564 * io/faccessat.c: Likewise.
20565 * io/fchdir.c: Likewise.
20566 * io/fchmod.c: Likewise.
20567 * io/fchmodat.c: Likewise.
20568 * io/fchown.c: Likewise.
20569 * io/fchownat.c: Likewise.
20570 * io/fcntl.c: Likewise.
20571 * io/flock.c: Likewise.
20572 * io/fstatfs.c: Likewise.
20573 * io/fstatfs64.c: Likewise.
20574 * io/fstatvfs.c: Likewise.
20575 * io/fstatvfs64.c: Likewise.
20576 * io/futimens.c: Likewise.
20577 * io/fxstat.c: Likewise.
20578 * io/fxstat64.c: Likewise.
20579 * io/fxstatat.c: Likewise.
20580 * io/fxstatat64.c: Likewise.
20581 * io/getcwd.c: Likewise.
20582 * io/isatty.c: Likewise.
20583 * io/lchmod.c: Likewise.
20584 * io/lchown.c: Likewise.
20585 * io/link.c: Likewise.
20586 * io/linkat.c: Likewise.
20587 * io/lseek.c: Likewise.
20588 * io/lseek64.c: Likewise.
20589 * io/lxstat64.c: Likewise.
20590 * io/mkdir.c: Likewise.
20591 * io/mkdirat.c: Likewise.
20592 * io/mkfifo.c: Likewise.
20593 * io/mkfifoat.c: Likewise.
20594 * io/open.c: Likewise.
20595 * io/open64.c: Likewise.
20596 * io/openat.c: Likewise.
20597 * io/openat64.c: Likewise.
20598 * io/pipe.c: Likewise.
20599 * io/pipe2.c: Likewise.
20600 * io/poll.c: Likewise.
20601 * io/posix_fadvise.c: Likewise.
20602 * io/posix_fadvise64.c: Likewise.
20603 * io/posix_fallocate.c: Likewise.
20604 * io/posix_fallocate64.c: Likewise.
20605 * io/read.c: Likewise.
20606 * io/readlink.c: Likewise.
20607 * io/readlinkat.c: Likewise.
20608 * io/rmdir.c: Likewise.
20609 * io/sendfile.c: Likewise.
20610 * io/sendfile64.c: Likewise.
20611 * io/statfs.c: Likewise.
20612 * io/statfs64.c: Likewise.
20613 * io/statvfs.c: Likewise.
20614 * io/statvfs64.c: Likewise.
20615 * io/symlink.c: Likewise.
20616 * io/symlinkat.c: Likewise.
20617 * io/ttyname.c: Likewise.
20618 * io/ttyname_r.c: Likewise.
20619 * io/umask.c: Likewise.
20620 * io/unlink.c: Likewise.
20621 * io/unlinkat.c: Likewise.
20622 * io/utime.c: Likewise.
20623 * io/utimensat.c: Likewise.
20624 * io/write.c: Likewise.
20625 * io/xmknod.c: Likewise.
20626 * io/xmknodat.c: Likewise.
20627 * io/xstat.c: Likewise.
20628 * io/xstat64.c: Likewise.
20629 * login/getpt.c: Likewise.
20630 * login/grantpt.c: Likewise.
20631 * login/unlockpt.c: Likewise.
20632 * math/e_acoshl.c: Likewise.
20633 * math/e_acosl.c: Likewise.
20634 * math/e_asinl.c: Likewise.
20635 * math/e_atan2l.c: Likewise.
20636 * math/e_atanhl.c: Likewise.
20637 * math/e_coshl.c: Likewise.
20638 * math/e_expl.c: Likewise.
20639 * math/e_fmodl.c: Likewise.
20640 * math/e_gammal_r.c: Likewise.
20641 * math/e_hypotl.c: Likewise.
20642 * math/e_j0l.c: Likewise.
20643 * math/e_j1l.c: Likewise.
20644 * math/e_jnl.c: Likewise.
20645 * math/e_lgammal_r.c: Likewise.
20646 * math/e_log10l.c: Likewise.
20647 * math/e_log2l.c: Likewise.
20648 * math/e_logl.c: Likewise.
20649 * math/e_powl.c: Likewise.
20650 * math/e_rem_pio2l.c: Likewise.
20651 * math/e_sinhl.c: Likewise.
20652 * math/e_sqrtl.c: Likewise.
20653 * math/fclrexcpt.c: Likewise.
20654 * math/fedisblxcpt.c: Likewise.
20655 * math/feenablxcpt.c: Likewise.
20656 * math/fegetenv.c: Likewise.
20657 * math/fegetexcept.c: Likewise.
20658 * math/fegetround.c: Likewise.
20659 * math/feholdexcpt.c: Likewise.
20660 * math/fesetenv.c: Likewise.
20661 * math/fesetround.c: Likewise.
20662 * math/feupdateenv.c: Likewise.
20663 * math/fgetexcptflg.c: Likewise.
20664 * math/fraiseexcpt.c: Likewise.
20665 * math/fsetexcptflg.c: Likewise.
20666 * math/ftestexcept.c: Likewise.
20667 * math/k_cosl.c: Likewise.
20668 * math/k_rem_pio2l.c: Likewise.
20669 * math/k_sinl.c: Likewise.
20670 * math/k_tanl.c: Likewise.
20671 * math/s_asinhl.c: Likewise.
20672 * math/s_atanl.c: Likewise.
20673 * math/s_cbrtl.c: Likewise.
20674 * math/s_erfl.c: Likewise.
20675 * math/s_expm1l.c: Likewise.
20676 * math/s_log1pl.c: Likewise.
20677 * math/s_tanhl.c: Likewise.
20678 * misc/acct.c: Likewise.
20679 * misc/brk.c: Likewise.
20680 * misc/chflags.c: Likewise.
20681 * misc/chroot.c: Likewise.
20682 * misc/fchflags.c: Likewise.
20683 * misc/fgetxattr.c: Likewise.
20684 * misc/flistxattr.c: Likewise.
20685 * misc/fremovexattr.c: Likewise.
20686 * misc/fsetxattr.c: Likewise.
20687 * misc/fsync.c: Likewise.
20688 * misc/ftruncate.c: Likewise.
20689 * misc/futimes.c: Likewise.
20690 * misc/futimesat.c: Likewise.
20691 * misc/getdomain.c: Likewise.
20692 * misc/getdtsz.c: Likewise.
20693 * misc/gethostid.c: Likewise.
20694 * misc/gethostname.c: Likewise.
20695 * misc/getloadavg.c: Likewise.
20696 * misc/getpagesize.c: Likewise.
20697 * misc/getsysstats.c: Likewise.
20698 * misc/getxattr.c: Likewise.
20699 * misc/gtty.c: Likewise.
20700 * misc/ioctl.c: Likewise.
20701 * misc/lgetxattr.c: Likewise.
20702 * misc/listxattr.c: Likewise.
20703 * misc/llistxattr.c: Likewise.
20704 * misc/lremovexattr.c: Likewise.
20705 * misc/lsetxattr.c: Likewise.
20706 * misc/lutimes.c: Likewise.
20707 * misc/madvise.c: Likewise.
20708 * misc/mincore.c: Likewise.
20709 * misc/mlock.c: Likewise.
20710 * misc/mlockall.c: Likewise.
20711 * misc/mmap.c: Likewise.
20712 * misc/mprotect.c: Likewise.
20713 * misc/msync.c: Likewise.
20714 * misc/munlock.c: Likewise.
20715 * misc/munlockall.c: Likewise.
20716 * misc/munmap.c: Likewise.
20717 * misc/preadv.c: Likewise.
20718 * misc/preadv64.c: Likewise.
20719 * misc/ptrace.c: Likewise.
20720 * misc/pwritev.c: Likewise.
20721 * misc/pwritev64.c: Likewise.
20722 * misc/readv.c: Likewise.
20723 * misc/reboot.c: Likewise.
20724 * misc/remap_file_pages.c: Likewise.
20725 * misc/removexattr.c: Likewise.
20726 * misc/revoke.c: Likewise.
20727 * misc/select.c: Likewise.
20728 * misc/setdomain.c: Likewise.
20729 * misc/setegid.c: Likewise.
20730 * misc/seteuid.c: Likewise.
20731 * misc/sethostid.c: Likewise.
20732 * misc/sethostname.c: Likewise.
20733 * misc/setregid.c: Likewise.
20734 * misc/setreuid.c: Likewise.
20735 * misc/setxattr.c: Likewise.
20736 * misc/sstk.c: Likewise.
20737 * misc/stty.c: Likewise.
20738 * misc/swapoff.c: Likewise.
20739 * misc/swapon.c: Likewise.
20740 * misc/sync.c: Likewise.
20741 * misc/syncfs.c: Likewise.
20742 * misc/syscall.c: Likewise.
20743 * misc/truncate.c: Likewise.
20744 * misc/ualarm.c: Likewise.
20745 * misc/usleep.c: Likewise.
20746 * misc/ustat.c: Likewise.
20747 * misc/utimes.c: Likewise.
20748 * misc/vhangup.c: Likewise.
20749 * misc/writev.c: Likewise.
20750 * posix/_exit.c: Likewise.
20751 * posix/alarm.c: Likewise.
20752 * posix/execve.c: Likewise.
20753 * posix/fexecve.c: Likewise.
20754 * posix/fork.c: Likewise.
20755 * posix/fpathconf.c: Likewise.
20756 * posix/getaddrinfo.c: Likewise.
20757 * posix/getegid.c: Likewise.
20758 * posix/geteuid.c: Likewise.
20759 * posix/getgid.c: Likewise.
20760 * posix/getgroups.c: Likewise.
20761 * posix/getlogin.c: Likewise.
20762 * posix/getlogin_r.c: Likewise.
20763 * posix/getpgid.c: Likewise.
20764 * posix/getpid.c: Likewise.
20765 * posix/getppid.c: Likewise.
20766 * posix/getresgid.c: Likewise.
20767 * posix/getresuid.c: Likewise.
20768 * posix/getsid.c: Likewise.
20769 * posix/getuid.c: Likewise.
20770 * posix/glob64.c: Likewise.
20771 * posix/nanosleep.c: Likewise.
20772 * posix/pathconf.c: Likewise.
20773 * posix/pause.c: Likewise.
20774 * posix/posix_madvise.c: Likewise.
20775 * posix/pread.c: Likewise.
20776 * posix/pread64.c: Likewise.
20777 * posix/pwrite.c: Likewise.
20778 * posix/pwrite64.c: Likewise.
20779 * posix/sched_getaffinity.c: Likewise.
20780 * posix/sched_getp.c: Likewise.
20781 * posix/sched_gets.c: Likewise.
20782 * posix/sched_primax.c: Likewise.
20783 * posix/sched_primin.c: Likewise.
20784 * posix/sched_rr_gi.c: Likewise.
20785 * posix/sched_setaffinity.c: Likewise.
20786 * posix/sched_setp.c: Likewise.
20787 * posix/sched_sets.c: Likewise.
20788 * posix/sched_yield.c: Likewise.
20789 * posix/setgid.c: Likewise.
20790 * posix/setlogin.c: Likewise.
20791 * posix/setpgid.c: Likewise.
20792 * posix/setresgid.c: Likewise.
20793 * posix/setresuid.c: Likewise.
20794 * posix/setsid.c: Likewise.
20795 * posix/setuid.c: Likewise.
20796 * posix/sleep.c: Likewise.
20797 * posix/spawni.c: Likewise.
20798 * posix/sysconf.c: Likewise.
20799 * posix/times.c: Likewise.
20800 * posix/wait.c: Likewise.
20801 * posix/wait3.c: Likewise.
20802 * posix/wait4.c: Likewise.
20803 * posix/waitpid.c: Likewise.
20804 * resolv/gai_sigqueue.c: Likewise.
20805 * resource/getpriority.c: Likewise.
20806 * resource/getrlimit.c: Likewise.
20807 * resource/getrusage.c: Likewise.
20808 * resource/nice.c: Likewise.
20809 * resource/setpriority.c: Likewise.
20810 * resource/setrlimit.c: Likewise.
20811 * resource/ulimit.c: Likewise.
20812 * rt/aio_cancel.c: Likewise.
20813 * rt/aio_fsync.c: Likewise.
20814 * rt/aio_read.c: Likewise.
20815 * rt/aio_sigqueue.c: Likewise.
20816 * rt/aio_suspend.c: Likewise.
20817 * rt/aio_write.c: Likewise.
20818 * rt/clock_getres.c: Likewise.
20819 * rt/clock_gettime.c: Likewise.
20820 * rt/clock_nanosleep.c: Likewise.
20821 * rt/clock_settime.c: Likewise.
20822 * rt/lio_listio.c: Likewise.
20823 * rt/mq_close.c: Likewise.
20824 * rt/mq_getattr.c: Likewise.
20825 * rt/mq_notify.c: Likewise.
20826 * rt/mq_open.c: Likewise.
20827 * rt/mq_receive.c: Likewise.
20828 * rt/mq_send.c: Likewise.
20829 * rt/mq_setattr.c: Likewise.
20830 * rt/mq_timedreceive.c: Likewise.
20831 * rt/mq_timedsend.c: Likewise.
20832 * rt/mq_unlink.c: Likewise.
20833 * rt/shm_open.c: Likewise.
20834 * rt/shm_unlink.c: Likewise.
20835 * rt/timer_create.c: Likewise.
20836 * rt/timer_delete.c: Likewise.
20837 * rt/timer_getoverr.c: Likewise.
20838 * rt/timer_gettime.c: Likewise.
20839 * rt/timer_settime.c: Likewise.
20840 * setjmp/__longjmp.c: Likewise.
20841 * setjmp/setjmp.c: Likewise.
20842 * signal/kill.c: Likewise.
20843 * signal/killpg.c: Likewise.
20844 * signal/raise.c: Likewise.
20845 * signal/sigaction.c: Likewise.
20846 * signal/sigaltstack.c: Likewise.
20847 * signal/sigblock.c: Likewise.
20848 * signal/sigignore.c: Likewise.
20849 * signal/sigintr.c: Likewise.
20850 * signal/signal.c: Likewise.
20851 * signal/sigpause.c: Likewise.
20852 * signal/sigpending.c: Likewise.
20853 * signal/sigqueue.c: Likewise.
20854 * signal/sigreturn.c: Likewise.
20855 * signal/sigset.c: Likewise.
20856 * signal/sigsetmask.c: Likewise.
20857 * signal/sigstack.c: Likewise.
20858 * signal/sigsuspend.c: Likewise.
20859 * signal/sigtimedwait.c: Likewise.
20860 * signal/sigvec.c: Likewise.
20861 * signal/sigwait.c: Likewise.
20862 * signal/sigwaitinfo.c: Likewise.
20863 * signal/sysv_signal.c: Likewise.
20864 * socket/accept.c: Likewise.
20865 * socket/accept4.c: Likewise.
20866 * socket/bind.c: Likewise.
20867 * socket/connect.c: Likewise.
20868 * socket/getpeername.c: Likewise.
20869 * socket/getsockname.c: Likewise.
20870 * socket/getsockopt.c: Likewise.
20871 * socket/isfdtype.c: Likewise.
20872 * socket/listen.c: Likewise.
20873 * socket/recv.c: Likewise.
20874 * socket/recvfrom.c: Likewise.
20875 * socket/recvmsg.c: Likewise.
20876 * socket/send.c: Likewise.
20877 * socket/sendmsg.c: Likewise.
20878 * socket/sendto.c: Likewise.
20879 * socket/setsockopt.c: Likewise.
20880 * socket/shutdown.c: Likewise.
20881 * socket/sockatmark.c: Likewise.
20882 * socket/socket.c: Likewise.
20883 * socket/socketpair.c: Likewise.
20884 * stdio-common/ctermid.c: Likewise.
20885 * stdio-common/cuserid.c: Likewise.
20886 * stdio-common/remove.c: Likewise.
20887 * stdio-common/rename.c: Likewise.
20888 * stdio-common/renameat.c: Likewise.
20889 * stdio-common/tempname.c: Likewise.
20890 * stdlib/getcontext.c: Likewise.
20891 * stdlib/makecontext.c: Likewise.
20892 * stdlib/setcontext.c: Likewise.
20893 * stdlib/swapcontext.c: Likewise.
20894 * stdlib/system.c: Likewise.
20895 * streams/fattach.c: Likewise.
20896 * streams/fdetach.c: Likewise.
20897 * streams/getmsg.c: Likewise.
20898 * streams/getpmsg.c: Likewise.
20899 * streams/putmsg.c: Likewise.
20900 * streams/putpmsg.c: Likewise.
20901 * sysdeps/unix/bsd/getpt.c: Likewise.
20902 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20903 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20904 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20906 Likewise.
20907 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20908 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20909 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20910 * sysvipc/msgctl.c: Likewise.
20911 * sysvipc/msgget.c: Likewise.
20912 * sysvipc/msgrcv.c: Likewise.
20913 * sysvipc/msgsnd.c: Likewise.
20914 * sysvipc/semctl.c: Likewise.
20915 * sysvipc/semget.c: Likewise.
20916 * sysvipc/semop.c: Likewise.
20917 * sysvipc/semtimedop.c: Likewise.
20918 * sysvipc/shmat.c: Likewise.
20919 * sysvipc/shmctl.c: Likewise.
20920 * sysvipc/shmdt.c: Likewise.
20921 * sysvipc/shmget.c: Likewise.
20922 * termios/tcdrain.c: Likewise.
20923 * termios/tcflow.c: Likewise.
20924 * termios/tcflush.c: Likewise.
20925 * termios/tcgetattr.c: Likewise.
20926 * termios/tcgetpgrp.c: Likewise.
20927 * termios/tcsendbrk.c: Likewise.
20928 * termios/tcsetattr.c: Likewise.
20929 * termios/tcsetpgrp.c: Likewise.
20930 * time/adjtime.c: Likewise.
20931 * time/clock.c: Likewise.
20932 * time/getitimer.c: Likewise.
20933 * time/gettimeofday.c: Likewise.
20934 * time/setitimer.c: Likewise.
20935 * time/settimeofday.c: Likewise.
20936 * time/stime.c: Likewise.
20937 * time/time.c: Likewise.
20938
20939 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
20940
20941 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20942 /usr/old/bin.
20943
20944 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20945 instead of spaces.
20946 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20947
20948 2012-11-03 Joseph Myers <joseph@codesourcery.com>
20949
20950 [BZ #14796]
20951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20952 FE_TONEAREST before applying Dekker multiplication and Knuth
20953 addition. Clear inexact exceptions and check for exact zero
20954 results afterwards.
20955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20956 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20958 * math/libm-test.inc (fma_test): Add more tests.
20959 (fma_test_towardzero): Likewise.
20960 (fma_test_downward): Likewise.
20961 (fma_test_upward): Likewise.
20962 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20963 function.
20964 (libc_fesetround): New macro.
20965 (libc_fesetroundf): Likewise.
20966 (libc_fesetroundl): Likewise.
20967 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20968 function.
20969 (libc_fesetround_387): Likewise.
20970 (libc_fesetroundf): New macro.
20971 (libc_fesetround): Likewise.
20972 (libc_fesetroundl): Likewise.
20973 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20974 function.
20975 (libc_fesetroundf): New macro.
20976 (libc_fesetround): Likewise.
20977 (libc_fesetroundl): Likewise.
20978 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20979 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20980 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20981 libm_hidden_ver.
20982 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20983 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20984 libm_hidden_def.
20985 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20986 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20987 libm_hidden_ver.
20988 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20989 libm_hidden_def.
20990
20991 [BZ #3439]
20992 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20993 integer constant usable in #if and use that to give value to enum
20994 constant.
20995 (FE_DIVBYZERO): Likewise.
20996 (FE_UNDERFLOW): Likewise.
20997 (FE_OVERFLOW): Likewise.
20998 (FE_INVALID): Likewise.
20999 (FE_INVALID_SNAN): Likewise.
21000 (FE_INVALID_ISI): Likewise.
21001 (FE_INVALID_IDI): Likewise.
21002 (FE_INVALID_ZDZ): Likewise.
21003 (FE_INVALID_IMZ): Likewise.
21004 (FE_INVALID_COMPARE): Likewise.
21005 (FE_INVALID_SOFTWARE): Likewise.
21006 (FE_INVALID_SQRT): Likewise.
21007 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21008 (FE_TONEAREST): Likewise.
21009 (FE_TOWARDZERO): Likewise.
21010 (FE_UPWARD): Likewise.
21011 (FE_DOWNWARD): Likewise.
21012 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21013 (FE_DIVBYZERO): Likewise.
21014 (FE_OVERFLOW): Likewise.
21015 (FE_UNDERFLOW): Likewise.
21016 (FE_INEXACT): Likewise.
21017 (FE_TONEAREST): Likewise.
21018 (FE_DOWNWARD): Likewise.
21019 (FE_UPWARD): Likewise.
21020 (FE_TOWARDZERO): Likewise.
21021 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21022 (FE_UNDERFLOW): Likewise.
21023 (FE_OVERFLOW): Likewise.
21024 (FE_DIVBYZERO): Likewise.
21025 (FE_INVALID): Likewise.
21026 (FE_TONEAREST): Likewise.
21027 (FE_TOWARDZERO): Likewise.
21028 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21029 (FE_OVERFLOW): Likewise.
21030 (FE_UNDERFLOW): Likewise.
21031 (FE_DIVBYZERO): Likewise.
21032 (FE_INEXACT): Likewise.
21033 (FE_TONEAREST): Likewise.
21034 (FE_TOWARDZERO): Likewise.
21035 (FE_UPWARD): Likewise.
21036 (FE_DOWNWARD): Likewise.
21037 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21038 (FE_DIVBYZERO): Likewise.
21039 (FE_OVERFLOW): Likewise.
21040 (FE_UNDERFLOW): Likewise.
21041 (FE_INEXACT): Likewise.
21042 (FE_TONEAREST): Likewise.
21043 (FE_DOWNWARD): Likewise.
21044 (FE_UPWARD): Likewise.
21045 (FE_TOWARDZERO): Likewise.
21046
21047 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21048
21049 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21050
21051 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21052
21053 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21054 commands. Quote $PWD.
21055 (blacklist_exports): Don't use remove_newlines. Replace "declare
21056 -x" by "export".
21057 (remove_newlines): Remove.
21058
21059 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21060
21061 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21062 * stdlib/stdlib.h (atof): Moved to ...
21063 * include/bits/stdlib-float.h: Here. New file.
21064 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21065 * stdlib/bits/stdlib-float.h: New file.
21066 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21067 -mno-sse -mno-mmx.
21068 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21069 <xmmintrin.h>.
21070
21071 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21072
21073 * conform/conformtest.pl (@headers): Add fenv.h.
21074 * conform/data/fenv.h-data: New file.
21075 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21076 include of <math/fenv.h>.
21077
21078 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21079 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21080 && !UNIX98]. Enables tests for XOPEN2K8.
21081 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21082 POSIX2008]: Likewise.
21083
21084 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21085 (struct rusage): Do not expect type or its members.
21086
21087 [BZ #3439]
21088 * math/math.h (FP_NAN): Define macro to integer constant usable in
21089 #if and use that to give value to enum constant.
21090 (FP_INFINITE): Likewise.
21091 (FP_ZERO): Likewise.
21092 (FP_SUBNORMAL): Likewise.
21093 (FP_NORMAL): Likewise.
21094
21095 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21096
21097 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21098 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21099 arguments.
21100
21101 2012-11-02 Roland McGrath <roland@hack.frob.com>
21102
21103 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21104 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21105 autoconf-time if not.
21106 * configure.in: Remove AC_PREREQ.
21107
21108 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21109
21110 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21111 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21112 of the internal implementation.
21113
21114 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21115
21116 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21117 except include of <misc/sys/syslog.h>.
21118
21119 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21120
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21122 function returns with a NULL context exit with zero.
21123
21124 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21125
21126 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21127
21128 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21129
21130 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21131 (run_program_cmd): This.
21132 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21133 (tst_langinfo): New variable. Use it.
21134
21135 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21136
21137 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21138 floating point opcodes.
21139
21140 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21141
21142 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21143 variable.
21144
21145 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21146
21147 * sysdeps/mach/hurd/powerpc: Remove directory.
21148 * sysdeps/mach/powerpc: Likewise.
21149
21150 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21151
21152 * scripts/check-local-headers.sh: Ignore c++ headers.
21153
21154 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21155
21156 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21157 __libc_cleanup_region_start argument.
21158
21159 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21160
21161 [BZ #14784]
21162 [BZ #14785]
21163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21164 x * y using scaling, not as x * y + z.
21165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21167 * math/libm-test.inc (fma_test): Add more tests.
21168 (fma_test_towardzero): Likewise.
21169 (fma_test_downward): Likewise.
21170 (fma_test_upward): Likewise.
21171
21172 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21173
21174 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21175
21176 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21177
21178 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21179 New variable.
21180
21181 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21182
21183 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21184
21185 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21186
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21188 Fix sort order.
21189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21190 Likewise.
21191
21192 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21193
21194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21195 Fix the order of the list for glibc 2.17.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21197 Likewise.
21198
21199 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21200
21201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21202
21203 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21204
21205 [BZ #14610]
21206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21207 for low part of x being zero before using __atanl (y).
21208 * math/libm-test.inc (atan2_test): Add another test.
21209
21210 * manual/install.texi (Configuring and compiling): Document
21211 general use of test-wrapper and test-wrapper-env.
21212 * INSTALL: Regenerated.
21213
21214 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21215 (__fma): Do not extract and scale down low bits on after-rounding
21216 systems when result rounded to normal precision would have normal
21217 exponent.
21218 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21219 (__fmal): Do not extract and scale down low bits on after-rounding
21220 systems when result rounded to normal precision would have normal
21221 exponent.
21222 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21223 (__fmal): Do not extract and scale down low bits on after-rounding
21224 systems when result rounded to normal precision would have normal
21225 exponent.
21226 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21227 macro.
21228 (fma_test): Add more tests.
21229 (fma_test_towardzero): Likewise.
21230 (fma_test_downward): Likewise.
21231 (fma_test_upward): Likewise.
21232
21233 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21234
21235 * sysdeps/i386/tininess.h: Renamed to ...
21236 * sysdeps/x86/tininess.h: This.
21237 * sysdeps/x86_64/tininess.h: Removed.
21238
21239 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21240
21241 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21242 input. Use $(build-program-cmd).
21243 ($(objpfx)tst-array1-static.out): Likewise.
21244 ($(objpfx)tst-array2.out): Likewise.
21245 ($(objpfx)tst-array3.out): Likewise.
21246 ($(objpfx)tst-array4.out): Likewise.
21247 ($(objpfx)tst-array5.out): Likewise.
21248 ($(objpfx)tst-array5-static.out): Likewise.
21249
21250 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21251
21252 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21253 if defined.
21254
21255 * nss/nsswitch.h (nss_interface_function): Provide new
21256 macro for use with NSS functions.
21257 * grp/initgroups.c: Use new macro.
21258 * nss/getXXbyYY.c: Likewise.
21259 * nss/getXXbyYY_r.c: Likewise.
21260 * nss/getXXent.c: Likewise.
21261 * nss/getXXent_r.c: Likewise.
21262 * sysdeps/posix/getaddrinfo.c: Likewise.
21263
21264 2012-10-30 Andreas Jaeger <aj@suse.de>
21265
21266 * po/ru.po: Update Russion translation from translation project.
21267
21268 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21269
21270 [BZ #14152]
21271 [BZ #14783]
21272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21273 result and shift together with sticky bit instead of replicating
21274 round-to-nearest rounding.
21275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21277 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21278 missing underflow exceptions.
21279 (fma_test_towardzero): Add more tests.
21280 (fma_test_downward): Likewise.
21281 (fma_test_upward): Likewise.
21282
21283 [BZ #14047]
21284 * sysdeps/generic/tininess.h: New file.
21285 * sysdeps/i386/tininess.h: Likewise.
21286 * sysdeps/sh/tininess.h: Likewise.
21287 * sysdeps/x86_64/tininess.h: Likewise.
21288 * stdlib/tst-strtod-underflow.c: Likewise.
21289 * stdlib/tst-tininess.c: Likewise.
21290 * stdlib/strtod_l.c: Include <tininess.h>.
21291 (round_and_return): Do not set errno for exact underflow cases.
21292 Force an underflow exception when setting errno for underflow.
21293 Determine underflow based on rounding to normal precision if
21294 TININESS_AFTER_ROUNDING.
21295 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21296 ERANGE for exact underflow cases.
21297 * stdlib/Makefile (tests): Add tst-tininess and
21298 tst-strtod-underflow.
21299 ($(objpfx)tst-tininess): Use $(link-libm).
21300 ($(objpfx)tst-strtod-underflow): Likewise.
21301
21302 2012-10-30 Andreas Jaeger <aj@suse.de>
21303
21304 [BZ#14767]
21305 * elf/Makefile (tests): Remove conditional for have-initfini-array
21306 since this is now always required and the variable does not exist
21307 anymore.
21308 (tests-static): Likewise.
21309 (modules-names): Likewise.
21310
21311 * po/eo.po: Add Esperanto translation from translation project.
21312
21313 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21314 merged with constructor/destructor.
21315 (init_array): Likewise.
21316 * elf/tst-array2dep.c (fini_array): Likewise.
21317 (init_array): Likewise.
21318
21319 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21320
21321 * manual/message.texi: Delete @cartouche tags.
21322
21323 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21324
21325 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21326 EOPNOTSUPP.
21327 * sysdeps/mach/hurd/fsync.c: Likewise.
21328
21329 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21330 [_POSIX_REALTIME_SIGNALS]: Change condition to
21331 [_POSIX_REALTIME_SIGNALS > 0].
21332
21333 2012-10-27 Andreas Jaeger <aj@suse.de>
21334
21335 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21336 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21338 [__WORDSIZE != 64]: Likewise.
21339
21340 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21341
21342 * iconvdata/tst-table.sh: Remove ${SHELL}.
21343 * iconvdata/tst-tables.sh: Likewise.
21344
21345 2012-10-25 David S. Miller <davem@davemloft.net>
21346
21347 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21348 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21349 of strtoull.
21350
21351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21352 ifunc-impl-list.c
21353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21354 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21355 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21356 file.
21357
21358 2012-10-25 Roland McGrath <roland@hack.frob.com>
21359
21360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21361 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21362 __getdirentries.
21363
21364 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21365 Jim Blandy <jimb@codesourcery.com>
21366
21367 * scripts/cross-test-ssh.sh: New file.
21368 * manual/install.texi (Configuring and compiling): Document use of
21369 cross-test-ssh.sh.
21370 * INSTALL: Regenerated.
21371
21372 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21373
21374 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21375 EOPNOTSUPP.
21376
21377 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21378
21379 * Makeconfig (run-program-prefix): Fix comment.
21380
21381 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21382 Jim Blandy <jimb@codesourcery.com>
21383
21384 * Makeconfig (test-wrapper): New variable,
21385 (test-wrapper-env): Likewise.
21386 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21387 (run-built-tests): Define to yes.
21388 (run-program-prefix): Use $(test-wrapper).
21389 (built-program-cmd): Likewise.
21390 * Rules (make-test-out): Use $(test-wrapper-env) and
21391 $(host-built-program-cmd).
21392 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21393 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21394 tst-pathopt.sh.
21395 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21396 $(test-wrapper-env) to tst-rtld-load-self.sh.
21397 ($(objpfx)order2.out): Use $(test-wrapper).
21398 ($(objpfx)tst-initorder.out): Likewise.
21399 ($(objpfx)tst-initorder2.out): Likewise.
21400 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21401 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21402 (test_wrapper_env): New variable. Use it to run ld.so.
21403 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21404 Use it to run ld.so.
21405 (test_wrapper_env): Likewise.
21406 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21407 $(test-wrapper) to run-iconv-test.sh.
21408 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21409 (ICONV): Use $test_wrapper.
21410 * posix/Makefile ($(objpfx)globtest.out): Pass
21411 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21412 globtest.sh, not $(run-program-prefix).
21413 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21414 (test_wrapper): Likewise.
21415 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21416 set together with run_via_rtld_prefix.
21417 (run_program_prefix): Define in terms of test_wrapper and
21418 run_via_rtld_prefix.
21419
21420 2012-10-24 Roland McGrath <roland@hack.frob.com>
21421
21422 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21423 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21424 Targets removed.
21425
21426 [BZ #14743]
21427 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21428 Declare __clock_getres, __clock_gettime, __clock_settime,
21429 __clock_nanosleep, and __clock_getcpuclockid.
21430 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21431 Remove librt_hidden_def (clock_gettime).
21432 * sysdeps/unix/clock_gettime.c: Likewise.
21433 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21435 * rt/clock_getres.c: Define __clock_getres as an alias.
21436 * sysdeps/posix/clock_getres.c: Likewise.
21437 * rt/clock_settime.c: Define __clock_settime as an alias.
21438 * sysdeps/unix/clock_settime.c: Likewise.
21439 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21440 * sysdeps/unix/clock_nanosleep.c: Likewise.
21441 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21442 * rt/clock-compat.c: New file.
21443 * rt/Makefile (librt-routines): Add clock-compat and move
21444 $(clock-routines) to ...
21445 (routines): ... here, new variable.
21446 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21447 Don't add get_clockfreq here.
21448 * rt/Versions (libc: GLIBC_2.17): New version set.
21449 Add clock_* symbols here.
21450 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21451 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21452 (GLIBC_2.17): Add clock_* symbols.
21453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21457 Likewise.
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21459 Likewise.
21460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21464 * NEWS: Mention the move.
21465
21466 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21467 Use __open, __read, __close rather than their public counterparts.
21468 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21469 (__get_clockfreq_via_cpuinfo): Likewise.
21470 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21471 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21472
21473 * config.h.in (HAVE_IFUNC): New #undef.
21474 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21475 was successful.
21476 * configure: Regenerated.
21477
21478 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21479
21480 * configure.in: Move READELF check to start of file.
21481 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21482 libc_cv_asm_gnu_indirect_function in the process.
21483 * configure: Regenerated.
21484
21485 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21486
21487 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21488 send the output to /dev/null.
21489 (libc_cv_cc_with_libunwind): Likewise.
21490 (libc_cv_as_noexecstack): Likewise.
21491 * configure: Regenerate.
21492
21493 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21494
21495 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21496
21497 * posix/globtest.sh (TMPDIR): Do not set.
21498 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21499 (testout): Likewise.
21500
21501 2012-10-24 Andreas Jaeger <aj@suse.de>
21502
21503 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21504 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21505 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21506 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21507 posix_fadvise64, posix_fallocate64.
21508
21509 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21510 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21511 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21512 Likewise.
21513 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21514 Likewise.
21515 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21516
21517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21518 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21519 <bits/fcntl-linux.h>.
21520 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21521
21522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21523 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21524 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21525 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21526 [__WORDSIZE != 64]: Likewise.
21527
21528 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21529
21530 * Makeconfig (run-built-tests): New variable.
21531 * Rules [$(cross-compiling) = yes]: Change condition to
21532 [$(run-built-tests) = no].
21533 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21534 to [$(run-built-tests) = yes].
21535 * elf/Makefile [$(cross-compiling) = no]: Likewise
21536 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21537 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21538 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21539 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21540 * io/Makefile [$(cross-compiling) = no]: Likewise.
21541 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21542 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21543 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21544 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21545 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21546 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21547 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21548 * string/Makefile [$(cross-compiling) = no]: Likewise.
21549
21550 * posix/Makefile ($(objpfx)globtest.out): Pass
21551 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21552 $(rtld-installed-name).
21553 * posix/globtest.sh (elf_objpfx): Remove variable.
21554 (rtld_installed_name): Likewise.
21555 (library_path): Likewise.
21556 (run_program_prefix): New variable. Use for running globtest
21557 binary.
21558
21559 2012-10-23 Jim Blandy <jimb@codesourcery.com>
21560 Joseph Myers <joseph@codesourcery.com>
21561
21562 * Makeconfig (host-built-program-cmd): New variable.
21563 * elf/Makefile (tst-stackguard1-ARGS): Use
21564 $(host-built-program-cmd).
21565 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21566 (tst-spawn-ARGS): Likewise.
21567 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21568
21569 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21570 Jim Blandy <jimb@codesourcery.com>
21571
21572 * Makeconfig (run-via-rtld-prefix): New variable.
21573 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21574 (built-program-cmd): Likewise.
21575
21576 2012-10-22 Andreas Jaeger <aj@suse.de>
21577
21578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21579 __O_RSYNC if it exists, otherwise to O_SYNC.
21580
21581 2012-10-22 Jim Blandy <jimb@codesourcery.com>
21582 Joseph Myers <joseph@codesourcery.com>
21583
21584 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21585 /dev/null.
21586 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21587 from /dev/null
21588 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21589 /dev/null.
21590
21591 2012-10-22 Andreas Jaeger <aj@suse.de>
21592
21593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21594 Define always.
21595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21596
21597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21598 bits/fcntl-linux.h.
21599
21600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21601 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21602
21603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21604 to __O_LARGEFILE.
21605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21606 to __O_LARGEFILE.
21607
21608 2012-10-21 Jim Blandy <jimb@codesourcery.com>
21609 Joseph Myers <joseph@codesourcery.com>
21610
21611 * config.make.in (NM): New variable.
21612
21613 2012-10-21 Andreas Jaeger <aj@suse.de>
21614
21615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21616 definitions and declarations that are provided by
21617 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21618
21619 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21620
21621 [BZ #14683]
21622 * elf/Makefile (tests-static): Add tst-leaks1-static.
21623 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21624 ($(objpfx)tst-leaks1-static): New rule.
21625 ($(objpfx)tst-leaks1-static-mem): Likewise.
21626 (tst-leaks1-static-ENV): New macro.
21627 * elf/dl-open.c (dl_open_worker): Check the main application
21628 only if SHARED is defined.
21629 * elf/tst-leaks1-static.c: New file.
21630
21631 2012-10-20 Andreas Jaeger <aj@suse.de>
21632
21633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21634 generic values for Linux.
21635 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21636 and declarations that are provided by <bits/fcntl-linux.h> and
21637 include <bits/fcntl-linux.h>.
21638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21640
21641 2012-10-20 Roland McGrath <roland@hack.frob.com>
21642
21643 * io/fcntl.h: Move include of <bits/types.h> to the top and
21644 include it unconditionally.
21645
21646 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21647
21648 * wcsmbs/Makefile (tests-ifunc): New variable.
21649 (tests): Add $(tests-ifunc).
21650 * wcsmbs/test-wcschr-ifunc.c: New file.
21651 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21652 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21653 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21654 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21655 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21656
21657 * string/Makefile (tests-ifunc): New variable.
21658 (tests): Add $(tests-ifunc).
21659 * string/test-memccpy.c (TEST_NAME): New macro.
21660 * string/test-memchr.c (TEST_NAME): Likewise.
21661 * string/test-memcmp.c (TEST_NAME): Likewise.
21662 * string/test-memcpy.c (TEST_NAME): Likewise.
21663 * string/test-memmem.c (TEST_NAME): Likewise.
21664 * string/test-memmove.c (TEST_NAME): Likewise.
21665 * string/test-memset.c (TEST_NAME): Likewise.
21666 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21667 * string/test-stpcpy.c (TEST_NAME): Likewise.
21668 * string/test-stpncpy.c (TEST_NAME): Likewise.
21669 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21670 * string/test-strcasestr.c (TEST_NAME): Likewise.
21671 * string/test-strcat.c (TEST_NAME): Likewise.
21672 * string/test-strchr.c (TEST_NAME): Likewise.
21673 * string/test-strcmp.c(TEST_NAME): Likewise.
21674 * string/test-strcpy.c (TEST_NAME): Likewise.
21675 * string/test-strcspn.c (TEST_NAME): Likewise.
21676 * string/test-strlen.c (TEST_NAME): Likewise.
21677 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21678 * string/test-strncmp.c (TEST_NAME): Likewise.
21679 * string/test-strncpy.c (TEST_NAME): Likewise.
21680 * string/test-strnlen.c (TEST_NAME): Likewise.
21681 * string/test-strpbrk.c (TEST_NAME): Likewise.
21682 * string/test-strrchr.c (TEST_NAME): Likewise.
21683 * string/test-strspn.c (TEST_NAME): Likewise.
21684 * string/test-strstr.c (TEST_NAME): Likewise.
21685 * string/test-bcopy-ifunc.c: New file.
21686 * string/test-bzero-ifunc.c: Likewise.
21687 * string/test-memccpy-ifunc.c: Likewise.
21688 * string/test-memchr-ifunc.c: Likewise.
21689 * string/test-memcmp-ifunc.c: Likewise.
21690 * string/test-memcpy-ifunc.c: Likewise.
21691 * string/test-memmem-ifunc.c: Likewise.
21692 * string/test-memmove-ifunc.c: Likewise.
21693 * string/test-mempcpy-ifunc.c: Likewise.
21694 * string/test-memset-ifunc.c: Likewise.
21695 * string/test-rawmemchr-ifunc.c: Likewise.
21696 * string/test-stpcpy-ifunc.c: Likewise.
21697 * string/test-stpncpy-ifunc.c: Likewise.
21698 * string/test-strcasecmp-ifunc.c: Likewise.
21699 * string/test-strcasestr-ifunc.c: Likewise.
21700 * string/test-strcat-ifunc.c: Likewise.
21701 * string/test-strchr-ifunc.c: Likewise.
21702 * string/test-strchrnul-ifunc.c: Likewise.
21703 * string/test-strcmp-ifunc.c: Likewise.
21704 * string/test-strcpy-ifunc.c: Likewise.
21705 * string/test-strcspn-ifunc.c: Likewise.
21706 * string/test-strlen-ifunc.c: Likewise.
21707 * string/test-strncasecmp-ifunc.c: Likewise.
21708 * string/test-strncat-ifunc.c: Likewise.
21709 * string/test-strncmp-ifunc.c: Likewise.
21710 * string/test-strncpy-ifunc.c: Likewise.
21711 * string/test-strnlen-ifunc.c: Likewise.
21712 * string/test-strpbrk-ifunc.c: Likewise.
21713 * string/test-strrchr-ifunc.c: Likewise.
21714 * string/test-strspn-ifunc.c: Likewise.
21715 * string/test-strstr-ifunc.c: Likewise.
21716
21717 * debug/Makefile (tests-ifunc): New variable.
21718 (tests): Add $(tests-ifunc).
21719 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21720 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21721 * debug/test-stpcpy_chk-ifunc.c: New file.
21722 * debug/test-strcpy_chk-ifunc.c: Likewise.
21723
21724 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21725
21726 [BZ #13601]
21727 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21728 header is not read in.
21729
21730 2012-10-19 Joseph Myers <joseph@codesourcery.com>
21731
21732 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21733 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21734 directly. Pass built executable to script as
21735 $(built-program-cmd).
21736 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21737 $testprogram without using LD_LIBRARY_PATH and $ldso.
21738
21739 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21740 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21741 $(rtld-installed-name).
21742 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21743 (rtld_installed_name): Likewise.
21744 (library_path): Likewise.
21745 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21746 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21747 $(run-program-prefix) to tst-tables.sh.
21748 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21749 it to run tst-table-from and tst-table-to.
21750 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21751 Pass it to tst-table.sh.
21752 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21753 $(run-program-prefix) to tst-gettext.sh.
21754 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21755 tst-translit.sh.
21756 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21757 tst-gettext2.sh.
21758 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21759 to run tst-gettext.
21760 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21761 to run tst-gettext2.
21762 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21763 to run tst-translit.
21764 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21765 $(run-program-prefix) to tst-mtrace.sh.
21766 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21767 to run tst-mtrace.
21768 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21769 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21770 $(rtld-installed-name).
21771 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21772 (rtld_installed_name): Likewise.
21773 (run_program_prefix): New variable. Use it to run wordexp-test.
21774
21775 * Makeconfig (ARCH): Remove all definitions.
21776 (machine): Likewise.
21777 [ARCH]: Remove conditional code.
21778 [!objdir]: Give error.
21779 [!objdir] (objpfx): Remove.
21780 [!objdir] (common-objpfx): Likewise.
21781 [!objdir] (common-objdir): Likewise.
21782 * configure.in (config_makefile): Remove. Hardcode Makefile in
21783 AC_CONFIG_FILES call.
21784 * configure: Regenerated.
21785
21786 [BZ #13888]
21787 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21788 or TMPDIR.
21789 (testout): Likewise.
21790
21791 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21792 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21793 $(rtld-installed-name).
21794 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21795 (rtld_installed_name): Likwise.
21796 (runit): Remove function.
21797 (run_getconf): New variable, Use it for running getconf binary.
21798
21799 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21800
21801 [BZ #14716]
21802 * string/test-memmem.c (check_result): New function.
21803 (do_one_test): Use it.
21804 (check1): New function.
21805 (test_main): Use it.
21806
21807 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21808
21809 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21810
21811 2012-10-18 Joseph Myers <joseph@codesourcery.com>
21812
21813 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21814 (_G_LSEEK64): Likewise.
21815 (_G_MMAP64): Likewise.
21816 (_G_FSTAT64): Likewise.
21817 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21818 (_G_LSEEK64): Likewise.
21819 (_G_MMAP64): Likewise.
21820 (_G_FSTAT64): Likewise.
21821 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21822 unconditional. Call __mmap64 directly.
21823 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21824 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21825 __lseek64 directly.
21826 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21827 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21828 __mmap64 directly.
21829 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21830 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21831 __lseek64 directly.
21832 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21833 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21834 __lseek64 directly.
21835 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21836 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21837 __lseek64 directly.
21838 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21839 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21840 __fxstat64 directly.
21841 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21842 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21843 unconditional.
21844 (freopen64) [!_G_OPEN64]: Remove conditional code.
21845 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21846 unconditional.
21847 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21848 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21849 unconditional.
21850 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21851 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21852 unconditional.
21853 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21854 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21855 unconditional.
21856 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21857 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21858 unconditional.
21859 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21860 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21861 unconditional.
21862 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21863 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21864 unconditional.
21865 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21866
21867 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21868
21869 [BZ #12140]
21870 * manual/memory.texi (Malloc Tunable Parameters): Add note
21871 about free list pointers overwriting some perturb bytes.
21872 Wording suggested by Roland McGrath.
21873
21874 2012-10-17 Joseph Myers <joseph@codesourcery.com>
21875
21876 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21877 (lgamma_test): Likewise.
21878 (tgamma_test): Likewise.
21879
21880 2012-10-16 Florian Weimer <fweimer@redhat.com>
21881
21882 [BZ #14700]
21883 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21884 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21885
21886 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21887
21888 * NEWS: Mention BZ #14716.
21889 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21890 when removing AVAILABLE1_USES_J macro.
21891
21892 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21895 (__bswap_64): __uint64_t for unsigned 64-bit int.
21896
21897 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21898
21899 * include/string.h (memmem): Declare libc hidden alias.
21900 * string/memmem.c (memmem): Define libc hidden alias.
21901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21902 __read, __close instead of open, read, close.
21903
21904 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21905
21906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21907 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21908 global and hidden.
21909 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21910 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21911 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21912 Likewise.
21913 (__rawmemchr_sse2): Likewise.
21914 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21915 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21916 (__strchr_sse2): Likewise.
21917 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21918 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21919 (__strcasecmp_sse2): Likewise.
21920 (__strncasecmp_sse2): Likewise.
21921 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21922 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21923 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21924 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21925 (__strrchr_sse2): Likewise.
21926 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21927 ifunc-impl-list.c.
21928 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21929 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21930 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21931 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21932 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21933 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21934 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21935 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21936 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21937 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21938 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21939 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21940 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21941 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21942 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21943 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21944 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21945 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21946 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21947 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21948 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21949 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21950 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21951 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21952 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21953 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21954 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21955 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21956 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21957 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21958
21959 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21960 global and hidden.
21961 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21962 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21963 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21964 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21965 Likewise.
21966 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21967 Likewise.
21968 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21969 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21970 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21971 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21972 ifunc-impl-list.c.
21973 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21974 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21975 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21976 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21977 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21978 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21979 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21980 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21981 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21982 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21983 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21984 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21985 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21986 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21987 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21988 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21989 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21990 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21993 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21994 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21995 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21996 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21997 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21998 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21999 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22000 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22001 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22002 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22003 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22004 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22005 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22006 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22007 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22008 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22009 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22010 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22011 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22012 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22013 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22014
22015 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22016 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22017 * include/ifunc-impl-list.h: New file.
22018 * misc/ifunc-impl-list.c: Likewise.
22019 * misc/Makefile (routines): Add ifunc-impl-list.
22020 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22021 * string/test-string.h: Include <ifunc-impl-list.h>.
22022 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22023 impl_array): New variables.
22024 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22025 are defined.
22026 (test_init): Call __libc_ifunc_impl_list to initialize
22027 func_list if TEST_IFUNC and TEST_NAME are defined.
22028
22029 * string/Makefile (strop-tests): Add bcopy and bzero.
22030 * string/test-bcopy.c: New file.
22031 * string/test-bzero.c: Likewise.
22032 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22033 defined.
22034 * string/test-memset.c: Support bzero test if TEST_BZERO is
22035 defined.
22036 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22037 __libc_memmove.
22038 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22039 __libc_memset.
22040 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22041 of memset.
22042
22043 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22044
22045 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22046 * configure: Regenerated.
22047
22048 * Makeconfig (+link-static-before-libc): Don't include
22049 $(link-static-libc).
22050
22051 * libio/libio.h (_IO_pos_t): Remove.
22052
22053 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22054
22055 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22056 McGrath.
22057
22058 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22059
22060 * crypt/crypt-entry.c: Include fips-private.h.
22061 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22062 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22063 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22064 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22065
22066 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22067
22068 * crypt/crypt-private.h: Include stdbool.h.
22069 (_ufc_setup_salt_r): Return bool.
22070 * crypt/crypt-entry.c: Include errno.h.
22071 (__crypt_r): Return NULL with EINVAL for bad salt.
22072 * crypt/crypt_util.c (bad_for_salt): New.
22073 (_ufc_setup_salt_r): Check that salt is long enough and within
22074 the specified alphabet.
22075 * crypt/badsalttest.c: New file.
22076 * crypt/Makefile (tests): Add it.
22077 ($(objpfx)badsalttest): New.
22078
22079 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22080
22081 * NEWS: Add entry for BZ #14602.
22082
22083 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22084
22085 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22086 type-generic.
22087 * math/libm-test.inc: Update comment listing what functions and
22088 macros are tested.
22089 (isgreater_test): New function.
22090 (isgreaterequal_test): Likewise.
22091 (isless_test): Likewise.
22092 (islessequal_test): Likewise.
22093 (islessgreater_test): Likewise.
22094 (isunordered_test): Likewise.
22095 (main): Call the new functions.
22096
22097 2012-10-09 Roland McGrath <roland@hack.frob.com>
22098
22099 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22100 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22101 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22102 * sysdeps/i386/configure: Regenerated.
22103 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22104 * sysdeps/mach/configure: Regenerated.
22105 * sysdeps/mach/hurd/configure: Regenerated.
22106 * sysdeps/powerpc/configure: Regenerated.
22107 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22108 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22109 * sysdeps/s390/s390-32/configure: Regenerated.
22110 * sysdeps/s390/s390-64/configure: Regenerated.
22111 * sysdeps/sh/configure: Regenerated.
22112 * sysdeps/sparc/configure: Regenerated.
22113 * sysdeps/unix/sysv/linux/configure: Regenerated.
22114 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22115 * sysdeps/x86_64/configure: Regenerated.
22116
22117 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22118 defined. Don't check if MAP is NULL.
22119
22120 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22121
22122 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22123 (_G_stat64): Likewise.
22124 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22125 (_G_stat64): Likewise.
22126 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22127 instead of struct _G_stat64.
22128 * libio/fileops.c (mmap_remap_check): Likewise.
22129 (decide_maybe_mmap): Likewise.
22130 (_IO_new_file_seekoff): Likewise.
22131 (_IO_file_stat): Likewise.
22132 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22133 _G_off64_t.
22134 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22135 instead of struct _G_stat64.
22136 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22137
22138 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22139
22140 [BZ #14602]
22141 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22142 Replace with ...
22143 (CHECK_EOL): New macro.
22144 (two_way_short_needle): Check beginning of haystack for EOL. Use
22145 CHECK_EOL.
22146 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22147 Replace with CHECK_EOL.
22148 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22149 Replace with CHECK_EOL.
22150
22151 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22152
22153 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22154 type-generic.
22155 * math/libm-test.inc: Update comment listing what functions and
22156 macros are tested.
22157 (finite_test): New function.
22158 (isinf_test): Likewise.
22159 (isnan_test): Likewise.
22160 (fpclassify_test): Test subnormal input.
22161 (isfinite_test): Likewise.
22162 (isnormal_test): Likewise.
22163 (main): Call the new functions.
22164
22165 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22166
22167 [BZ #14660]
22168 * Makerules (%.dynsym): Force C locale when running
22169 $(OBJDUMP) --dynamic-syms.
22170
22171 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22172
22173 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22174 <stdint.h>.
22175
22176 2012-10-06 David S. Miller <davem@davemloft.net>
22177
22178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22179 upper 32-bits of the length value in %o2 since we use branch-on-register
22180 tests which consider the entire 64-bit register.
22181
22182 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * string/test-strstr.c (check2): Add a test for page boundary.
22185
22186 2012-10-05 David S. Miller <davem@davemloft.net>
22187
22188 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22189 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22190 file.
22191 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22192 sysdep_routines.
22193 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22194 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22195 and bzero when HWCAP_SPARC_CRYPTO is present.
22196
22197 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22198
22199 [BZ #14602]
22200 * string/test-strstr.c (check2): New function.
22201 (test_main): Call check2.
22202
22203 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22204 and bug-strchr1.
22205 * string/bug-strcasestr1.c (do_test): Moved to ...
22206 * string/test-strcasestr.c (check1): Here. New function.
22207 (do_one_test): Break out result checking code into ...
22208 (check_result): This. New function.
22209 (do_one_test): Call check_result.
22210 (test_main): Call check1.
22211 * string/bug-strchr1.c (do_test): Moved to ...
22212 * string/test-strchr.c (check1): Here. New function.
22213 (do_one_test): Break out result checking code into ...
22214 (check_result): This. New function.
22215 (do_one_test): Call check_result.
22216 (test_main): Call check1.
22217 * string/bug-strstr1.c (main): Moved to ...
22218 * string/test-strstr.c (check1): Here. New function.
22219 (do_one_test): Break out result checking code into ...
22220 (check_result): This. New function.
22221 (do_one_test): Call check_result.
22222 (test_main): Call check1.
22223 * string/bug-strcasestr1.c: Removed.
22224 * string/bug-strchr1.c: Likewise.
22225 * string/bug-strstr1.c: Likewise.
22226
22227 * elf/Makefile (dl-routines): Add hwcaps.
22228 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22229 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22230 (_dl_important_hwcaps): Moved to ...
22231 * elf/dl-hwcaps.c: Here. New file.
22232 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22233
22234 [BZ #14557]
22235 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22236 if IS_IN_rtld isn't defined.
22237
22238 * elf/dl-support.c (_dl_sysinfo_map): New.
22239 Include "get-dynamic-info.h" and "setup-vdso.h".
22240 (_dl_non_dynamic_init): Call setup_vdso.
22241 * elf/dynamic-link.h: Don't include <assert.h>.
22242 (elf_get_dynamic_info): Moved to ...
22243 * elf/get-dynamic-info.h: Here. New file.
22244 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22245 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22246 * elf/setup-vdso.h: Here. New file.
22247 * elf/rtld.c: Include "setup-vdso.h".
22248 (dl_main): Call setup_vdso.
22249
22250 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22251
22252 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22253 creal in comment listing functions tested. List finite, isinf,
22254 isnan, isless, islessequal, isgreater, isgreaterequal,
22255 islessgreater, isunordered, lgamma_r and pow10 as functions and
22256 macros not tested. Mention which functions not tested are aliases
22257 for other functions. Fix typo. Note that signs of NaNs are not
22258 tested.
22259
22260 * scripts/config.guess: Update from config.git.
22261 * scripts/config.sub: Likewise.
22262
22263 2012-10-04 Roland McGrath <roland@hack.frob.com>
22264
22265 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22266 * misc/madvise.c (madvise): Renamed to __madvise.
22267 Make madvise a weak alias.
22268 * include/sys/mman.h: Declare __madvise.
22269 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22270 * sysdeps/unix/syscalls.list
22271 (madvise): Make __madvise the strong name, and madvise a weak alias.
22272 * sysdeps/unix/sysv/linux/syscalls.list
22273 (madvise, mmap): Remove redundant entries.
22274 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22275 * malloc/malloc.c (mtrim): Likewise.
22276 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22277
22278 2012-10-03 Roland McGrath <roland@hack.frob.com>
22279
22280 * sysdeps/mach/hurd/dl-cache.c: File removed.
22281 * config.h.in (USE_LDCONFIG): New #undef.
22282 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22283 * configure: Regenerated.
22284 * elf/Makefile (dl-routines): Add dl-cache only under
22285 [$(use-ldconfig) = yes].
22286 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22287 cache on [USE_LDCONFIG].
22288 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22289 [USE_LDCONFIG].
22290 * elf/rtld.c (dl_main): Likewise.
22291
22292 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22293
22294 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22295 _SC_LEVEL4_CACHE_LINESIZE.
22296
22297 2012-10-03 Roland McGrath <roland@hack.frob.com>
22298
22299 * sysdeps/unix/bsd/confstr.h: File removed.
22300
22301 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22302
22303 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22304 sys/sdt-config.h.
22305
22306 2012-10-02 Roland McGrath <roland@hack.frob.com>
22307
22308 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22309 Make 'mapoff' field ElfW(Off) rather than off_t.
22310
22311 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22312
22313 * nscd/Makefile: Remove nscd-cflags and all its users.
22314 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22315 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22316
22317 [BZ #10631]
22318 * malloc.c (malloc_printerr): Clarify error message.
22319
22320 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22321
22322 [BZ #14648]
22323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22324 Set bit_FMA_Usable if FMA is supported.
22325 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22326 macro.
22327 (bit_FMA4_Usable): Updated.
22328 (index_FMA_Usable): New macro.
22329 (CPUID_FMA): Likewise
22330 (HAS_FMA): Defined with bit_FMA_Usable.
22331
22332 2012-10-01 Roland McGrath <roland@hack.frob.com>
22333
22334 * bits/types.h (__swblk_t): Type removed.
22335 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22336 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22338 (__SWBLK_T_TYPE): Likewise.
22339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22340 (__SWBLK_T_TYPE): Likewise.
22341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22342 (__SWBLK_T_TYPE): Likewise.
22343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22344 (__SWBLK_T_TYPE): Likewise.
22345
22346 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22347 Honza Horak <hhorak@redhat.com>
22348
22349 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22350 (xdr_mapname): Use YPMAXMAP as maxsize.
22351 (xdr_peername): Use YPMAXPEER as maxsize.
22352 (xdr_keydat): Use YPAXRECORD as maxsize.
22353 (xdr_valdat): Use YPMAXRECORD as maxsize.
22354
22355 2012-10-01 Roland McGrath <roland@hack.frob.com>
22356
22357 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22358
22359 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22360 * csu/init-first.c: ... here.
22361 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22362 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22363 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22364 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22365 * sysdeps/i386/init-first.c: File removed.
22366 * sysdeps/sh/init-first.c: File removed.
22367
22368 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22369
22370 [BZ #14645]
22371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22372 if x * y might underflow to zero and z is zero.
22373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22374 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22375 * math/libm-test.inc (min_subnorm_value): New variable.
22376 (fma_test): Add more tests.
22377 (fma_test_towardzero): Likewise.
22378 (fma_test_downward): Likewise
22379 (fma_test_upward): Likewise.
22380 (initialize): Set min_subnorm_value.
22381
22382 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22383
22384 [BZ #14638]
22385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22386 0 + 0.
22387 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22388 mode for addition resulting in exact zero.
22389 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22391 exact 0 + 0.
22392 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22394 * math/libm-test.inc (fma_test): Add more tests.
22395 (fma_test_towardzero): New function.
22396 (fma_test_downward): Likewise.
22397 (fma_test_upward): Likewise.
22398 (main): Call the new functions.
22399
22400 2012-09-28 David S. Miller <davem@davemloft.net>
22401
22402 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22403
22404 2012-09-28 Roland McGrath <roland@hack.frob.com>
22405
22406 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22407 instead of SIGALRM.
22408
22409 * sysdeps/gnu/_G_config.h: Moved to ...
22410 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22411 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22412 * sysdeps/generic/_G_config.h: ... here.
22413
22414 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22415
22416 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22417
22418 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22419 Conditionalize target on [libnss_test1.so-version].
22420
22421 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22422
22423 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22424 (elfobjdir): Move out of conditionals.
22425
22426 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22427 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22428 (__nss_lookup_function): Conditionalize label remove_from_tree on
22429 [!DO_STATIC_NSS || SHARED], matching its only use.
22430
22431 2012-09-28 David S. Miller <davem@davemloft.net>
22432
22433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22434 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22435 file.
22436 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22437 sysdep_routines.
22438 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22440 when HWCAP_SPARC_CRYPTO is present.
22441
22442 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22443
22444 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22445
22446 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22447
22448 [BZ #6530]
22449 * stdio-common/vfprintf.c (process_string_arg): Revert
22450 2000-07-22 change.
22451
22452 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22453
22454 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22455 for testcase.
22456 * stdio-common/tst-sprintf.c: Include <locale.h>
22457 (main): Test sprintf's handling of incomplete multibyte
22458 characters.
22459
22460 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 * elf/dl-runtime.c (VERSYMIDX): Removed.
22463 * elf/dl-version.c (VERSYMIDX): Likewise.
22464 * elf/do-rel.h (VERSYMIDX): Likewise.
22465 (VALIDX): Likewise.
22466 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22467 * elf/rtld.c (VALIDX): Likewise.
22468 (ADDRIDX): Likewise.
22469 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22470 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22471 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22472 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22473 (VALIDX): Likewise.
22474 (ADDRIDX): Likewise.
22475
22476 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22477
22478 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22479
22480 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22481
22482 [BZ #11438]
22483 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22484 to global scope.
22485 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22486 addresses are in the same scope as 192.0.2/24.
22487 * posix/gai.conf: Document new scope table defaults.
22488
22489 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22490
22491 [BZ #5298]
22492 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22493 for ftell. Compute offsets from write pointers instead.
22494 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22495
22496 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22497
22498 [BZ #14543]
22499 * libio/Makefile (tests): New test case tst-fseek.
22500 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22501 combination works in wide mode.
22502 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22503 state when the external buffer state changes.
22504
22505 2012-09-27 David S. Miller <davem@davemloft.net>
22506
22507 [BZ #14376]
22508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22509 pass reloc->r_addend in as the 'high' argument to
22510 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22511
22512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22513
22514 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22515
22516 * rt/tst-aio2.c: Include <pthread.h>.
22517 * rt/tst-aio3.c: Likewise.
22518
22519 2012-09-27 Steve Ellcey <sellcey@mips.com>
22520
22521 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22522
22523 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22524
22525 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22526 contents on [SHARED].
22527
22528 2012-09-26 Marek Polacek <polacek@redhat.com>
22529
22530 [BZ #14530]
22531 [BZ #13741]
22532 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22533 for C++ and GCC <4.3 as well as for non GCC compilers.
22534
22535 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22536
22537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22538
22539 2012-09-25 Roland McGrath <roland@hack.frob.com>
22540
22541 * Makefile.in (all, install): Declare with .PHONY.
22542 Reported by Michael Hope <michael.hope@linaro.org>.
22543
22544 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22545
22546 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22547 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22548 system header.
22549 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22550 Likewise.
22551 (sydep_routines): Add the new and the internal functions.
22552 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22553 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22555 (GLIBC_2.17): Add the new function.
22556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22557 (GLIBC_2.17): Likewise.
22558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22559 (GLIBC_2.17): Likewise.
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22561 (GLIBC_2.17): Likewise.
22562 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22563
22564 2012-09-25 Alan Modra <amodra@gmail.com>
22565
22566 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22567 Add release barrier before setting once_control to say
22568 initialisation is done. Add hints on lwarx. Use macro in
22569 place of isync.
22570 (clear_once_control): Add release barrier.
22571
22572 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22573
22574 [BZ #13629]
22575 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22576 specially.
22577 * math/s_clog10.c (__clog10): Likewise.
22578 * math/s_clog10f.c (__clog10f): Likewise.
22579 * math/s_clog10l.c (__clog10l): Likewise.
22580 * math/s_clogf.c (__clogf): Likewise.
22581 * math/s_clogl.c (__clogl): Likewise.
22582 * math/Makefile (libm-calls): Add x2y2m1.
22583 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22584 (__x2y2m1): Likewise.
22585 (__x2y2m1l): Likewise.
22586 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22587 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22590 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22591 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22592 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22593 * sysdeps/i386/fpu/libm-test-ulps: Update.
22594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22595
22596 [BZ #14621]
22597 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22598 int as type of variable DEPTH.
22599 (glob): Use size_t instead of int as type of variables NEWCOUNT
22600 and OLD_PATHC.
22601
22602 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22603
22604 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22605 Add s_sincosf-sse2.
22606 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22607 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22608 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22609 macros for using routine as __sincosf_ia32.
22610 Use macro for function declaration and weak_alias.
22611 * sysdeps/i386/fpu/libm-test-ulps: Update.
22612
22613 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22615
22616 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22617 subnormal argument.
22618 * math/s_cexpf.c (__cexpf): Likewise.
22619 * math/s_csinf.c (__csinf): Likewise.
22620 * math/s_csinhf.c (__csinhf): Likewise.
22621 * math/s_ctanf.c (__ctanf): Likewise.
22622 * math/s_ctanhf.c (__ctanhf): Likewise.
22623 * math/s_ccosh.c (__ccoshf): Likewise.
22624 * math/s_cexp.c (__cexpl): Likewise.
22625 * math/s_csin.c (__csin): Likewise.
22626 * math/s_csinh.c (__csinh): Likewise.
22627 * math/s_ctan.c (__ctan): Likewise.
22628 * math/s_ctanh.c (ctanh): Likewise.
22629 * math/s_ccoshl.c (__ccoshl): Likewise.
22630 * math/s_cexpl.c (__cexpl): Likewise.
22631 * math/s_csinl.c (__csinl): Likewise.
22632 * math/s_csinhl.c (__csinhl): Likewise.
22633 * math/s_ctanl.c (__ctanl): Likewise.
22634 * math/s_ctanhl.c (__ctanhl): Likewise.
22635
22636 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22637
22638 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22639 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22640 (_IO_off_t): Define to __off_t, not _G_off_t.
22641 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22642 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22643 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22644 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22645 type of __dummy and __dummy2 fields.
22646 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22647 (_G_ssize_t): Likewise.
22648 (_G_off_t): Likewise.
22649 (_G_pid_t): Likewise.
22650 (_G_uid_t): Likewise.
22651 (_G_wchar_t): Likewise.
22652 (_G_wint_t): Likewise.
22653 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22654 (_G_ssize_t): Likewise.
22655 (_G_off_t): Likewise.
22656 (_G_pid_t): Likewise.
22657 (_G_uid_t): Likewise.
22658 (_G_wchar_t): Likewise.
22659 (_G_wint_t): Likewise.
22660 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22661 (_G_ssize_t): Likewise.
22662 (_G_off_t): Likewise.
22663 (_G_pid_t): Likewise.
22664 (_G_uid_t): Likewise.
22665 (_G_wchar_t): Likewise.
22666 (_G_wint_t): Likewise.
22667
22668 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22669
22670 * malloc/arena.c: Include malloc-sysdep.h.
22671 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22672 is sufficient to shrink the heap or an unmap is needed.
22673 * sysdeps/generic/malloc-sysdep.h: New file. Define
22674 new function check_may_shrink_heap.
22675 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22676 new function check_may_shrink_heap.
22677
22678 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22679
22680 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22681 comments.
22682
22683 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22684
22685 * catgets/test-gencat.sh: Add "set -e".
22686 * elf/tst-pathopt.sh: Likewise.
22687 * grp/tst_fgetgrent.sh: Likewise.
22688 * iconvdata/run-iconv-test.sh: Likewise.
22689 * intl/tst-gettext.sh: Likewise.
22690 * intl/tst-gettext2.sh: Likewise.
22691 * intl/tst-gettext4.sh: Likewise.
22692 * intl/tst-gettext6.sh: Likewise.
22693 * intl/tst-translit.sh: Likewise.
22694 * io/ftwtest-sh: Likewise.
22695 * libio/test-freopen.sh: Likewise.
22696 * malloc/tst-mtrace.sh: Likewise.
22697 * posix/globtest.sh: Likewise.
22698 * posix/tst-getconf.sh: Likewise.
22699 * posix/wordexp-tst.sh: Likewise.
22700 * stdio-common/tst-printf.sh: Likewise.
22701 * stdio-common/tst-unbputc.sh: Likewise.
22702 * stdlib/tst-fmtmsg.sh: Likewise.
22703 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22704 * catgets/Makefile: Do not specify -e option when running
22705 testsuite shell scripts.
22706 * elf/Makefile: Likewise.
22707 * grp/Makefile: Likewise.
22708 * iconvdata/Makefile: Likewise.
22709 * intl/Makefile: Likewise.
22710 * io/Makefile: Likewise.
22711 * libio/Makefile: Likewise.
22712 * malloc/Makefile: Likewise.
22713 * posix/Makefile: Likewise.
22714 * stdio-common/Makefile: Likewise.
22715 * stdlib/Makefile: Likewise.
22716 * sysdeps/x86_64/Makefile: Likewise.
22717
22718 * io/ftwtest-sh: Add copyright header.
22719 * posix/globtest.sh: Likewise.
22720 * posix/tst-getconf.sh: Likewise.
22721 * posix/wordexp-tst.sh: Likewise.
22722 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22723
22724 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22725
22726 [BZ #13679]
22727 * Makeconfig (+link): Defined as $(+link-static) if
22728 $(build-shared) isn't yes.
22729 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22730 isn't yes.
22731 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22732
22733 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22734
22735 [BZ #14562]
22736 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22737 new chunk size with MALLOC_ALIGN_MASK.
22738
22739 2012-09-24 Joseph Myers <joseph@codesourcery.com>
22740
22741 [BZ #5044]
22742 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22743 <rounding-mode.h>.
22744 (__printf_fphex): Determine rounding using get_rounding_mode and
22745 round_away.
22746 * stdio-common/tst-printf-round.c (struct hex_test): New
22747 structure.
22748 (hex_tests): New variable.
22749 (test_hex_in_one_mode): New function.
22750 (do_test): Also run tests for hex float output.
22751
22752 2012-09-21 Joseph Myers <joseph@codesourcery.com>
22753
22754 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22755 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22756 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22757 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22758 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22759 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22760 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22761 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22762
22763 2012-09-20 Joseph Myers <joseph@codesourcery.com>
22764
22765 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22766 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22767 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22768 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22769
22770 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22771
22772 [BZ #14579]
22773 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22774 mode only.
22775 * elf/tst-rtld-load-self.sh: New test.
22776 * elf/Makefile: Run it.
22777
22778 2012-09-18 Joseph Myers <joseph@codesourcery.com>
22779
22780 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22781 (tst-writev-ENV): Remove.
22782 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22783
22784 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22785
22786 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22787
22788 2012-09-17 Joseph Myers <joseph@codesourcery.com>
22789
22790 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22791 unconditional.
22792 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22793 Likewise.
22794 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22795 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22796 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22797 Likewise.
22798
22799 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 [BZ #14587]
22802 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22803 * config.make.in (have-cpp-asm-debuginfo): Removed.
22804 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22805 * configure: Regenerated.
22806
22807 2012-09-14 Joseph Myers <joseph@codesourcery.com>
22808
22809 [BZ #5044]
22810 * stdio-common/printf_fp.c: Include <stdbool.h> and
22811 <rounding-mode.h>.
22812 (___printf_fp): Determine rounding using get_rounding_mode and
22813 round_away.
22814 * stdio-common/tst-printf-round.c: New file.
22815 * stdio-common/Makefile (tests): Add tst-printf-round.
22816 (link-libm): New variable.
22817 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22818
22819 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22820
22821 [BZ #14576]
22822 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22823 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22824 Likewise.
22825 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22826 Likewise.
22827
22828 2012-09-13 Joseph Myers <joseph@codesourcery.com>
22829
22830 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22831 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22832 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22833 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22834
22835 2012-09-12 Joseph Myers <joseph@codesourcery.com>
22836
22837 [BZ #14518]
22838 * include/rounding-mode.h: New file.
22839 * sysdeps/generic/get-rounding-mode.h: Likewise.
22840 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22841 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22842 (MAX_VALUE): New macro.
22843 (MIN_VALUE): Likewise.
22844 (overflow_value): New function.
22845 (underflow_value): Likewise.
22846 (round_and_return): Use overflow_value and underflow_value to
22847 determine return values in overflow and underflow cases. Use
22848 round_away to determine rounding depending on rounding mode.
22849 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22850 determine return values in overflow and underflow cases.
22851 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22852 (struct test_results): New structure.
22853 (struct test): Use struct test_results to store expected results
22854 for all rounding modes.
22855 (TEST): Include expected results for all rounding modes.
22856 (test_in_one_mode): New function.
22857 (do_test): Use test_in_one_mode to compute and check results.
22858 Check results for all rounding modes.
22859 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22860 $(link-libm).
22861
22862 2012-12-09 Allan McRae <allan@archlinux.org>
22863
22864 * sysdeps/i386/fpu/libm-test-ulps: Update
22865
22866 2012-09-11 Joseph Myers <joseph@codesourcery.com>
22867
22868 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22869 (_G_int32_t): Likewise.
22870 (_G_uint16_t): Likewise.
22871 (_G_uint32_t): Likewise.
22872 (_G_HAVE_BOOL): Likewise.
22873 (_G_HAVE_ATEXIT): Likewise.
22874 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22875 (_G_HAVE_IO_FILE_OPEN): Likewise.
22876 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22877 (_G_int32_t): Likewise.
22878 (_G_uint16_t): Likewise.
22879 (_G_uint32_t): Likewise.
22880 (_G_HAVE_BOOL): Likewise.
22881 (_G_HAVE_ATEXIT): Likewise.
22882 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22883 (_G_HAVE_IO_FILE_OPEN): Likewise.
22884 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22885 (_G_int32_t): Likewise.
22886 (_G_uint16_t): Likewise.
22887 (_G_uint32_t): Likewise.
22888 (_G_HAVE_BOOL): Likewise.
22889 (_G_HAVE_ATEXIT): Likewise.
22890 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22891 (_G_HAVE_IO_FILE_OPEN): Likewise.
22892
22893 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22894
22895 * csu/libc-tls.c: Update copyright years.
22896
22897 2012-09-10 Joseph Myers <joseph@codesourcery.com>
22898
22899 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22900 [!_G_USING_THUNKS]: Remove conditional code.
22901 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22902 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22903
22904 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22905 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22906 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22907 (_G_VTABLE_LABEL_PREFIX): Likewise.
22908 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22909 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22910 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22911 (_G_VTABLE_LABEL_PREFIX): Likewise.
22912 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22913 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22914 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22915 (_G_VTABLE_LABEL_PREFIX): Likewise.
22916 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22917
22918 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22919
22920 * libio/Makefile: Include ../Makeconfig before tests.
22921 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22922 only if $(build-shared) is yes.
22923
22924 * iconv/gconv_db.c: Update copyright years.
22925
22926 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22927
22928 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22929 unwind info if defined PIC. Fix special cases description.
22930 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22931
22932 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22933 DP_HI_MASK entry.
22934 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22935
22936 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22937
22938 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22939
22940 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22941 is NULL.
22942
22943 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22944 (LDLIBS-tst-chk4): This.
22945 (LDFLAGS-tst-chk5): Renamed to ...
22946 (LDLIBS-tst-chk5): This.
22947 (LDFLAGS-tst-chk6): Renamed to ...
22948 (LDLIBS-tst-chk6): This.
22949 (LDFLAGS-tst-lfschk4): Renamed to ...
22950 (LDLIBS-tst-lfschk4): This.
22951 (LDFLAGS-tst-lfschk5): Renamed to ...
22952 (LDLIBS-tst-lfschk5): This.
22953 (LDFLAGS-tst-lfschk6): Renamed to ...
22954 (LDLIBS-tst-lfschk6): This.
22955
22956 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22957 on $(common-objpfx)soversions.mk.
22958
22959 2012-09-07 Joseph Myers <joseph@codesourcery.com>
22960
22961 [BZ #10014]
22962 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22963 example host name.
22964
22965 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22966
22967 * malloc/arena.c (arena_get_retry): New function that gets
22968 another arena for the caller to try its request on.
22969 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22970 current arena cannot fulfill the request.
22971 (__libc_memalign): Likewise.
22972 (__libc_memalign): Likewise.
22973 (__libc_pvalloc): Likewise.
22974 (__libc_calloc): Likewise.
22975
22976 2012-09-05 John Tobey <john.tobey@gmail.com>
22977
22978 [BZ #13542]
22979 * manual/arith.texi (Operations on Complex): Fix description
22980 of carg branch cut.
22981
22982 2012-09-06 Joseph Myers <joseph@codesourcery.com>
22983
22984 [BZ #10014]
22985 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22986 host name.
22987
22988 [BZ #10038]
22989 * manual/memory.texi (Memory): Make order of menu items match
22990 order of sections.
22991
22992 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22993
22994 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22995 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22996 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22997
22998 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22999
23000 * csu/libc-tls.c (static_dtv): Renamed to ...
23001 (_dl_static_dtv): This. Make it global.
23002 (_dl_initial_dtv): Removed.
23003 (__libc_setup_tls): Updated.
23004 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23005 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23006 DL_INITIAL_DTV.
23007
23008 2012-09-06 Petr Machata <pmachata@redhat.com>
23009
23010 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23011 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23012 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23013 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23014
23015 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23016
23017 [BZ #14545]
23018 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23019 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23020 freeing dtv[-1].
23021
23022 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23023
23024 [BZ #14544]
23025 * Makeconfig (link-static-before-libc): Replace $(+prector)
23026 with $(+prectorT).
23027 (link-static-after-libc): Replace $(+postctor) with
23028 $(+postctorT).
23029 (link-bounded): Replace $(+prector)/$(+postctor) with
23030 $(+prectorT)/$(+postctorT).
23031 (+prectorT): New macro.
23032 (+postctorT): Likewise.
23033
23034 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23035
23036 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23037 (round_str): Handle values above the maximum for IBM long double
23038 as inexact.
23039 * stdlib/tst-strtod-round.c (tests): Regenerated.
23040
23041 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23042
23043 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23044 assembler flag.
23045 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23046 zarch_nohighgprs around the zarch optimized routines.
23047 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23048 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23049 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23050 for zarch.
23051
23052 2012-09-05 David S. Miller <davem@davemloft.net>
23053
23054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23055
23056 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23057 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23058 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23059 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23060 entries.
23061
23062 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23063
23064 * malloc/arena.c: Fold copyright years.
23065 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23066
23067 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23068
23069 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23070
23071 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23072
23073 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23074
23075 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23076
23077 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23078 change internal state upon failure.
23079
23080 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23081
23082 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23083 * malloc/memusage.c (mmap): Likewise.
23084 (mmap64, mremap): Likewise. Adjust name in comment.
23085
23086 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23087
23088 * libio/fileops.c: Fix typos in comments.
23089 * libio/oldfileops.c: Likewise.
23090 * libio/wfileops.c: Likewise.
23091
23092 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23093
23094 [BZ #1349]
23095 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23096 (tst-malloc-usable-ENV): Set environment for test case.
23097 * malloc/hooks.c (malloc_check_get_size): New function to get
23098 requested size.
23099 * malloc/malloc.c (musable): Use malloc_check_get_size.
23100 * malloc/tst-malloc-usable.c: New test case.
23101
23102 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23103
23104 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23105
23106 2012-09-05 Allan McRae <allan@archlinux.org>
23107
23108 [BZ #13966]
23109 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23110 determine header location.
23111 * configure: Regenerated.
23112
23113 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23114
23115 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23116 float format.
23117 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23118 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23119 format.
23120 (test): Regenerate.
23121
23122 2012-09-04 David S. Miller <davem@davemloft.net>
23123
23124 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23125 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23126 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23127
23128 2012-09-04 Florian Weimer <fweimer@redhat.com>
23129
23130 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23131 failures.
23132
23133 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23134
23135 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23136
23137 [BZ #9914]
23138 * libio/iogetdelim.c: Include <limits.h>.
23139 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23140 + len + 1 would overflow.
23141
23142 2012-09-03 Andreas Jaeger <aj@suse.de>
23143
23144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23145 * sysdeps/i386/fpu/libm-test-ulps: Update.
23146
23147 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23148
23149 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23150 Add s_sinf-sse2, s_conf-sse2.
23151
23152 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23153 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23154 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23155 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23156
23157 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23158 for using routine as __sinf_ia32.
23159 Use macro for function declaration and weak_alias.
23160 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23161 for using routine as __cosf_ia32.
23162 Use macro for function declaration and weak_alias.
23163
23164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23165 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23166
23167 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23168 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23170
23171 * math/libm-test.inc (cos_test): Add more test cases.
23172 (sin_test): Likewise.
23173 (sincos_test): Likewise.
23174
23175 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23176
23177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23178 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23179 hidden.
23180 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23181
23182 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23183
23184 [BZ #14538]
23185 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23186 first element of the GOT.
23187 (elf_machine_load_address): Return the difference between
23188 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23189
23190 2012-09-01 Allan McRae <allan@archlinux.org>
23191
23192 [BZ #13412]
23193 * configure.in (AWK): Require gawk version 3.0 or later.
23194 * configure: Regenerated.
23195
23196 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23197
23198 * sysdeps/unix/sysv/linux/kernel-features.h
23199 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23201 [__NR_clock_getres]: Make code unconditional.
23202 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23203 (clock_getcpuclockid): Remove code left unreachable by removal of
23204 conditionals.
23205 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23206 code unconditional.
23207 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23208 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23209 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23210 Make code unconditional.
23211 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23212 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23213 * sysdeps/unix/sysv/linux/clock_settime.c
23214 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23215 conditional code.
23216 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23217 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23218
23219 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23220
23221 [BZ #14476]
23222 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23223 scripts/test-installation.pl.
23224
23225 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23226 and $ld_so_version if it is set.
23227
23228 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23229
23230 [BZ #14516]
23231 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23232 failure if reading from procfs failed.
23233 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23234
23235 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23236
23237 * sysdeps/unix/sysv/linux/kernel-features.h
23238 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23239 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23240 Remove conditional code.
23241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23242 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23243 Remove conditional code.
23244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23245 * sysdeps/unix/sysv/linux/i386/fxstat.c
23246 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23248 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23249 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23251 * sysdeps/unix/sysv/linux/i386/lxstat.c
23252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23254 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23255 Remove conditional code.
23256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23257 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23258 Remove conditional code.
23259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23260 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23261 <kernel-features.h>.
23262 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23263 Remove.
23264 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23265 Remove conditional code.
23266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23267 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23268 Remove conditional.
23269
23270 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23271
23272 [BZ #5400]
23273 * NEWS: Add fixed bug number.
23274
23275 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23276
23277 [BZ #14519]
23278 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23279 underflowing exponent in case of negative sign.
23280 * stdlib/tst-strtod-round-data: Add more tests.
23281 * stdlib/tst-strtod-round.c (tests): Regenerated.
23282
23283 [BZ #3479]
23284 * stdlib/strtod_l.c (NDIG): Remove.
23285 (HEXNDIG): Likewise.
23286 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23287 smallest representable value.
23288 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23289 lie within an exact representation of 1/2 ulp of the result.
23290 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23291 unconditionally.
23292 (TENS_P9_IDX): Define unconditionally.
23293 (TENS_P9_SIZE): Likewise.
23294 (TENS_P10_IDX): Likewise.
23295 (TENS_P10_SIZE): Likewise.
23296 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23297 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23298 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23299 entries for 10^2^13 and 10^2^14.
23300 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23301 (TENS_P13_IDX): Define.
23302 (TENS_P13_SIZE): Likewise.
23303 (TENS_P14_IDX): Likewise.
23304 (TENS_P14_SIZE): Likewise.
23305 (_fpioconst_pow10): Change array size to
23306 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23307 unconditional.
23308 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23309 1024]: Add entries for 10^2^13 and 10^2^14.
23310 [LAST_POW10 > _LAST_POW10]: Remove #error.
23311 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23312 (_fpioconst_pow10): Change array size to
23313 FPIOCONST_POW10_ARRAY_SIZE.
23314 * stdlib/gen-fpioconst.c: New file.
23315 * stdlib/gen-tst-strtod-round.c: Likewise.
23316 * stdlib/tst-strtod-round-data: Likewise.
23317 * stdlib/tst-strtod-round.c: Likewise.
23318 * stdlib/Makefile (tests): Add tst-strtod-round.
23319
23320 [BZ #14459]
23321 * stdlib/strtod_l.c: Include <stdint.h>.
23322 (NDEBUG): Do not define.
23323 (round_and_return): Change EXPONENT parameter to type intmax_t.
23324 Rearrange calculations to avoid internal overflow possibilities.
23325 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23326 Rearrange calculations to avoid internal overflow possibilities.
23327 Assert that number fits inside MPNSIZE limbs.
23328 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23329 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23330 calculations and add assertions to avoid internal overflow
23331 possibilities. Add casts to avoid signed/unsigned operations.
23332 * stdlib/tst-strtod-overflow.c: New file.
23333 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23334
23335 2012-08-25 Marek Polacek <polacek@redhat.com>
23336
23337 * time/time.h: Fix some typos in comments.
23338
23339 2012-08-23 Roland McGrath <roland@hack.frob.com>
23340
23341 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23342 * posix/tst-rfc3484-2.c: Likewise.
23343 * posix/tst-rfc3484-3.c: Likewise.
23344
23345 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23346
23347 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23348 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23349
23350 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23351
23352 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23353 #include of fxstatat64.c.
23354
23355 2012-08-22 Roland McGrath <roland@hack.frob.com>
23356
23357 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23358 * shadow/getspent_r.c: Likewise.
23359 * shadow/getspnam.c: Likewise.
23360 * shadow/getspnam_r.c: Likewise.
23361 * gshadow/getsgent.c: Likewise.
23362 * gshadow/getsgent_r.c: Likewise.
23363 * gshadow/getsgnam.c: Likewise.
23364 * gshadow/getsgnam_r.c: Likewise.
23365 * inet/getnetbyad.c: Likewise.
23366 * inet/getnetbyad_r.c: Likewise.
23367 * inet/getnetbynm.c: Likewise.
23368 * inet/getnetbynm_r.c: Likewise.
23369 * inet/getnetent.c: Likewise.
23370 * inet/getnetent_r.c: Likewise.
23371 * inet/getproto.c: Likewise.
23372 * inet/getproto_r.c: Likewise.
23373 * inet/getprtent.c: Likewise.
23374 * inet/getprtent_r.c: Likewise.
23375 * inet/getprtname.c: Likewise.
23376 * inet/getprtname_r.c: Likewise.
23377 * inet/getrpcbyname.c: Likewise.
23378 * inet/getrpcbyname_r.c: Likewise.
23379 * inet/getrpcbynumber.c: Likewise.
23380 * inet/getrpcbynumber_r.c: Likewise.
23381 * inet/getrpcent.c: Likewise.
23382 * inet/getrpcent_r.c: Likewise.
23383 * inet/getaliasent.c: Likewise.
23384 * inet/getaliasent_r.c: Likewise.
23385 * inet/getaliasname.c: Likewise.
23386 * inet/getaliasname_r.c: Likewise.
23387 * nscd/getgrgid_r.c: Likewise.
23388 * nscd/getgrnam_r.c: Likewise.
23389 * nscd/gethstbyad_r.c: Likewise.
23390 * nscd/gethstbynm3_r.c: Likewise.
23391 * nscd/getpwnam_r.c: Likewise.
23392 * nscd/getpwuid_r.c: Likewise.
23393 * nscd/getsrvbynm_r.c: Likewise.
23394 * nscd/getsrvbypt_r.c: Likewise.
23395 * nscd/gai.c: Likewise.
23396
23397 * configure.in (build_nscd): New substituted variable, set
23398 by --disable-build-nscd and defaults to $use_nscd.
23399 * configure: Regenerated.
23400 * config.make.in (build-nscd): New substituted variable.
23401 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23402 Change conditional to require [$(build-nscd) = yes] as well.
23403 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23404
23405 [BZ# 13696]
23406 * configure.in (use_nscd): New substituted variable, set by
23407 --disable-nscd. If enabled, define USE_NSCD.
23408 * configure: Regenerated.
23409 * config.h.in: Add USE_NSCD.
23410 * config.make.in (use-nscd): New substituted variable.
23411 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23412 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23413 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23414 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23415 (CFLAGS-getgrnam_r.c): Likewise.
23416 (CFLAGS-initgroups.c): Likewise.
23417 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23418 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23419 Variables removed.
23420 * inet/getnetgrent_r.c
23421 (nscd_setnetgrent): New function, broken out of ...
23422 (setnetgrent): ... here. Call it.
23423 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23424 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23425 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23426 * nscd/Makefile (routines, aux): Move definitions after include of
23427 Makeconfig. Conditionalize on [$(use-nscd) != no].
23428 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23429 Conditionalize on [USE_NSCD].
23430 (is_nscd, nscd_init_cb): Likewise.
23431 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23432 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23433 * nss/nss_db/db-init.c: Likewise.
23434 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23435 [USE_NSCD].
23436 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23437 (make_request): Use it.
23438 (cache_valid_p): New function.
23439 (__check_pf): Use it.
23440 * NEWS: Add item for --disable-nscd.
23441
23442 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23443
23444 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23445 to support sed >= 4.2.1-20-ga9bf076.
23446 * configure: Regenerated.
23447
23448 2012-08-22 Roland McGrath <roland@hack.frob.com>
23449
23450 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23451 Conditionalize whole body on [IREL].
23452
23453 2012-08-22 Jeff Law <law@redhat.com>
23454
23455 [BZ #14505]
23456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23457 if the family is PF_UNSPEC.
23458
23459 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23460
23461 * Makerules (lib-version): Rename from V.
23462 (install-lib-nosubdir): Change V to lib-version.
23463
23464 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23465
23466 [BZ #14252]
23467 * powerpc32/power6/wcschr.c: New file.
23468 * powerpc32/power6/wcscpy.c: New file.
23469 * powerpc32/power6/wcsrchr.c: New file.
23470 * powerpc64/power6/wcschr.c: New file.
23471 * powerpc64/power6/wcscpy.c: New file.
23472 * powerpc64/power6/wcsrchr.c: New file.
23473
23474 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23475
23476 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23477 (two_way_short_needle): Use it.
23478 * string/strstr.c (AVAILABLE1_USES_J): Define.
23479 * string/strcasestr.c: Likewise.
23480
23481 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23482 array references.
23483 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23484
23485 [BZ #11607]
23486 * NEWS: Add an entry.
23487 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23488 define their defaults.
23489 (two_way_short_needle): Detect end-of-string on-the-fly.
23490 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23491 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23492 * string/bug-strcasestr1.c: New test.
23493 * string/Makefile: Run it.
23494
23495 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23496
23497 [BZ #11607]
23498 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23499 the first character.
23500
23501 2012-08-21 Roland McGrath <roland@hack.frob.com>
23502
23503 * csu/elf-init.c (__libc_csu_irel): Function removed.
23504 * csu/libc-start.c (apply_irel): New function.
23505 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23506
23507 2012-08-21 Joseph Myers <joseph@codesourcery.com>
23508
23509 * sysdeps/unix/sysv/linux/kernel-features.h
23510 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23511 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23512 <kernel-features.h>.
23513 [__NR_fadvise64_64]: Make code unconditional.
23514 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23515 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23516 !__NR_fadvise64_64)]: Likewise.
23517 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23518 !__NR_fadvise64_64))]: Likewise.
23519 [__NR_fadvise64]: Make code unconditional.
23520 [!__NR_fadvise64]: Remove conditional code.
23521 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23522 <kernel-features.h>.
23523 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23524 unconditional.
23525 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23526 conditional code.
23527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23528 not include <kernel-features.h>.
23529 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23530 unconditional.
23531 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23532 conditional code.
23533 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23534 include <kernel-features.h>.
23535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23536 unconditional.
23537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23538 conditional code.
23539
23540 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23541
23542 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23543 slight instruction rearrangements per scrollpipe analysis.
23544 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23545
23546 2012-08-20 Roland McGrath <roland@hack.frob.com>
23547
23548 * manual/syslog.texi (syslog; vsyslog, closelog):
23549 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23550 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23551
23552 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23553 DSOCAPS to match condition on defining it.
23554
23555 2012-08-20 Joseph Myers <joseph@codesourcery.com>
23556
23557 * sysdeps/unix/sysv/linux/kernel-features.h
23558 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23560 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23561 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23563 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23564 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23568
23569 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23570 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23571
23572 * sysdeps/unix/sysv/linux/kernel-features.h
23573 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23574 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23575 unconditional.
23576 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23577 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23578 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23579 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23580 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23581 Make code unconditional.
23582 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23583 (__mmap64) [!__NR_mmap2]: Likewise.
23584 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23585 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23586 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23587 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23588 [__NR_mmap2]: Make code unconditional.
23589 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23590 (__mmap64) [!__NR_mmap2]: Likewise.
23591
23592 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23593
23594 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23595
23596 2012-08-18 Andreas Jaeger <aj@suse.de>
23597
23598 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23599
23600 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23601
23602 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23603 * include/unistd.h (__have_sock_cloexec): Likewise.
23604 (__have_pipe2): Likewise.
23605 (__have_dup3): Likewise.
23606
23607 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23608
23609 [BZ #9685]
23610 * include/unistd.h (__have_pipe2): Change define into an extern int.
23611 (__have_dup3): Likewise.
23612 * socket/have_sock_cloexec.c: Include fcntl.h.
23613 (__have_pipe2): New variable.
23614 (__have_dup3): Likewise.
23615
23616 2012-08-17 Mike Frysinger <vapier@gentoo.org>
23617
23618 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23619
23620 2012-08-17 Marek Polacek <polacek@redhat.com>
23621
23622 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23623 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23624
23625 2012-08-17 Roland McGrath <roland@hack.frob.com>
23626
23627 * configure.in: Add AC_SUBST for sysheaders.
23628 * configure: Regenerated.
23629 * config.make.in (sysheaders): New substituted variable.
23630
23631 * sysdeps/unix/mkfifo.c: Moved ...
23632 * sysdeps/posix/mkfifo.c: ... here.
23633 * sysdeps/unix/mkfifoat.c: Moved ...
23634 * sysdeps/posix/mkfifoat.c: ... here.
23635
23636 * sysdeps/unix/utime.c: Moved ...
23637 * sysdeps/posix/utime.c: ... here.
23638
23639 * sysdeps/unix/time.c: Moved ...
23640 * sysdeps/posix/time.c: ... here.
23641 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23642 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23643
23644 * sysdeps/unix/nice.c: Moved ...
23645 * sysdeps/posix/nice.c: ... here.
23646
23647 * sysdeps/unix/alarm.c: Moved ...
23648 * sysdeps/posix/alarm.c: ... here.
23649
23650 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23651
23652 2012-08-17 Jeff Law <law@redhat.com>
23653
23654 * intl/Makefile (codeset_mo): New variable.
23655 ($(codeset_mo)): New target.
23656 (tst-codeset.out): Depend on that. Remove explicit rule.
23657 (tst-gettext3.out, tst-gettext5.out): Likewise.
23658 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23659 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23660 * intl/tst-codeset.sh: Remove.
23661 * intl/tst-gettext3.sh: Likewise.
23662 * intl/tst-gettext5.sh: Likewise.
23663
23664 2012-08-17 Roland McGrath <roland@hack.frob.com>
23665
23666 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23667 * sysdeps/unix/syscalls.list: ... here.
23668
23669 * sysdeps/posix/getaddrinfo.c
23670 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23671 (gaiconf_init, gaiconf_reload): Use them.
23672 [!_STATBUF_ST_NSEC]
23673 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23674 Define using time_t rather than struct timespec.
23675
23676 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23677 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23678 Macros removed.
23679 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23680 [!NO_THREADS].
23681 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23682 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23683 Likewise.
23684
23685 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23686 __libc_cleanup_push argument.
23687
23688 * bits/param.h: New file.
23689 * misc/sys/param.h: New file.
23690 * include/sys/param.h: New file.
23691 * misc/Makefile (headers): Add bits/param.h.
23692 * sysdeps/generic/sys/param.h: File removed.
23693 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23694 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23695 * sysdeps/mach/hurd/bits/param.h: New file.
23696 * sysdeps/mach/hurd/sys/param.h: File removed.
23697
23698 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23699 last change.
23700
23701 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23702 [_IO_MTSAFE_IO].
23703 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23704 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23705 New macros.
23706
23707 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23708 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23709 rather than -D_IO_MTSAFE_IO conditionally.
23710 * stdio-common/Makefile (CPPFLAGS): Likewise.
23711 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23712 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23713 Use $(libio-mtsafe).
23714 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23715 of -D_IO_MTSAFE_IO.
23716 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23717 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23718 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23719 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23720 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23721 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23722 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23723 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23724 (CFLAGS-fread_u_chk.c): Likewise.
23725 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23726 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23727 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23728 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23729 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23730 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23731 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23732 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23733 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23734
23735 * libio/Makefile: Test [$(libc-reentrant) = yes]
23736 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23737
23738 * Makeconfig
23739 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23740 * sysdeps/pthread/configure: File removed.
23741 * sysdeps/pthread/Makeconfig: New file.
23742 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23743 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23744
23745 2012-08-16 Gary Benson <gbenson@redhat.com>
23746
23747 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23748 unmapping the first object in a namespace.
23749
23750 2012-08-16 Roland McGrath <roland@hack.frob.com>
23751
23752 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23753 (__internal_setnetgrent): ... this. Add internal_function to
23754 definition. Add libc_hidden_def.
23755 (setnetgrent): Update caller.
23756 (internal_endnetgrent): Renamed to ...
23757 (__internal_endnetgrent): ... this. Add internal_function to
23758 definition. Add libc_hidden_def.
23759 (endnetgrent): Update caller.
23760 (internal_getnetgrent_r): Renamed to ...
23761 (__internal_getnetgrent_r): ... this. Add internal_function to
23762 definition. Add libc_hidden_def.
23763 (__getnetgrent_r): Update caller.
23764 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23765
23766 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23767
23768 * stdlib/longlong.h: Update from GCC.
23769
23770 2012-08-16 Roland McGrath <roland@hack.frob.com>
23771
23772 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23773 on _QL, which is set by umul_ppmm but never used.
23774 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23775 variables, which are set by GMP macros but never used.
23776 * stdio-common/_itowa.c (_itowa): Likewise.
23777 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23778 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23779
23780 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23781
23782 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23783 struct La_sh_regs is not constant.
23784 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23785 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23786 and struct La_sparc64_regs are not constant.
23787
23788 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23789
23790 * sysdeps/unix/sysv/linux/kernel-features.h
23791 (__ASSUME_POSIX_TIMERS): Remove.
23792 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23793 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23794 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23795 Make code unconditional.
23796 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23797 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23798 Make code unconditional.
23799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23800 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23801 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23803 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23804 Make code unconditional.
23805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23806 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23807 (__libc_missing_posix_timers): Remove.
23808
23809 2012-08-15 Roland McGrath <roland@hack.frob.com>
23810
23811 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23812 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23813
23814 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23815
23816 * elf/dl-sym.c: Include <stdlib.h>.
23817
23818 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23819 constants, which avoids warnings in 32-bit builds.
23820
23821 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23822 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23823
23824 * misc/lseek.c: File moved to ...
23825 * io/lseek.c: ... here.
23826
23827 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23828
23829 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23830 shifting LEN more than 31 bits at once.
23831
23832 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23833
23834 [BZ #14195]
23835 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23836 segmentation fault for a case of two empty input strings.
23837 * string/test-strncasecmp.c (check1): Renamed to...
23838 (bz12205): ...this.
23839 (bz14195): Add new testcase for two empty input strings and N > 0.
23840 (test_main): Call new testcase, adapt for renamed function.
23841
23842 2012-08-15 Andreas Jaeger <aj@suse.de>
23843
23844 [BZ #14090]
23845 * crypt/md5test2.c: New test, based on test supplied by Serge
23846 Belyshev <belyshev@depni.sinp.msu.ru>.
23847 * crypt/Makefile (xtests): Add md5test-giant..
23848 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23849
23850 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23851
23852 [BZ #14090]
23853 * crypt/md5.c (md5_process_block): Don't assume the buffer
23854 length is less than 2**32.
23855 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23856 length is less than 2**64.
23857
23858 2012-08-15 Roland McGrath <roland@hack.frob.com>
23859
23860 * string/str-two-way.h: Include <sys/param.h>.
23861 (MAX): Macro removed.
23862
23863 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23864 Move #define and #undef of memmove to just before and after
23865 including <string.h>.
23866
23867 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23868 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23869 and after including <string.h>. Move declarations of
23870 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23871 to before #include "string/memmove.c".
23872
23873 * include/dirent.h: Declare __getdirentries.
23874
23875 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23876 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23877
23878 2012-08-14 Mike Frysinger <vapier@gentoo.org>
23879
23880 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23881 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23882 * sysdeps/i386/configure: Regenerated.
23883 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23884 STABS_CURRENT_FILE, and STABS_FUN.
23885 (END): Remove call to STABS_FUN_END.
23886 (STABS_CURRENT_FILE1): Delete.
23887 (STABS_CURRENT_FILE): Likewise.
23888 (STABS_FUN): Likewise.
23889 (STABS_FUN_END): Likewise.
23890 (STABS_FUN2): Likewise.
23891 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23892 * sysdeps/x86_64/configure: Regenerated.
23893
23894 2012-08-14 Roland McGrath <roland@hack.frob.com>
23895
23896 * elf/dl-open.c: Include <atomic.h>.
23897 * elf/dl-lookup.c: Likewise.
23898
23899 2012-08-14 Joseph Myers <joseph@codesourcery.com>
23900
23901 * sysdeps/unix/sysv/linux/kernel-features.h
23902 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23903 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23904 unconditionally.
23905 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23906 unconditionally.
23907 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23908 condition on __ASSUME_CLONE_THREAD_FLAGS.
23909
23910 2012-08-14 Andreas Jaeger <aj@suse.de>
23911
23912 * sysdeps/i386/fpu/libm-test-ulps: Update.
23913
23914 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23915
23916 * include/atomic.h (atomic_exchange_and_add): Split into ...
23917 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23918 New atomic macros.
23919
23920 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23921
23922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23923
23924 2012-08-13 Jeff Law <law@redhat.com>
23925
23926 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23927 null byte in the output string.
23928
23929 2012-08-10 Joseph Myers <joseph@codesourcery.com>
23930
23931 * sysdeps/unix/sysv/linux/kernel-features.h
23932 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23933 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23934 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23935 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23936 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23937 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23938 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23939
23940 2012-08-09 Jeff Law <law@redhat.com>
23941
23942 [BZ #13939]
23943 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23944 When avoid_arena is set, don't retry in the that arena. Pick the
23945 next one, whatever it might be.
23946 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23947 (arena_lock): Pass in new parameter to arena_get2.
23948 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23949 arena_get2.
23950 (__libc_malloc): Unify retrying after main arena failure with
23951 __libc_memalign version.
23952 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23953
23954 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 [BZ #14166]
23957 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23958 to __redirect_strstr.
23959 (__strstr_sse42): Use typeof __redirect_strstr.
23960 (__strstr_ia32): Likewise.
23961 (__libc_strstr): New prototype.
23962 (strstr): Renamed to ...
23963 (__libc_strstr): This.
23964 (strstr): New strong alias of __libc_strstr.
23965 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23966 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23967 __redirect_time.
23968 Include <time.h>.
23969 (__libc_time): New prototype.
23970 (time_ifunc): Replace time with __libc_time.
23971 (time): New strong alias and hidden definition of __libc_time.
23972 (__GI_time): Remove strong alias.
23973 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23974 Include <stddef.h>.
23975 (memmove): Redefined to __redirect_memmove.
23976 (__memmove_sse2): Use typeof __redirect_memmove.
23977 (__memmove_ssse3): Likewise.
23978 (__memmove_ssse3_back): Likewise.
23979 (__libc_memmove): New prototype.
23980 (memmove): Renamed to ...
23981 (__libc_memmove): This.
23982 (memmove): New strong alias of __libc_memmove.
23983
23984 2012-08-08 Mark Salter <msalter@redhat.com>
23985
23986 * elf/elf.h
23987 (R_MN10300_TLS_GD): Define.
23988 (R_MN10300_TLS_LD): Likewise.
23989 (R_MN10300_TLS_LDO): Likewise.
23990 (R_MN10300_TLS_GOTIE): Likewise.
23991 (R_MN10300_TLS_IE): Likewise.
23992 (R_MN10300_TLS_LE): Likewise.
23993 (R_MN10300_TLS_DTPMOD): Likewise.
23994 (R_MN10300_TLS_DTPOFF): Likewise.
23995 (R_MN10300_TLS_TPOFF): Likewise.
23996 (R_MN10300_SYM_DIFF): Likewise.
23997 (R_MN10300_ALIGN): Likewise.
23998 (R_MN10300_NUM): Update.
23999
24000 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24001
24002 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24003 Remove.
24004
24005 2012-08-08 Roland McGrath <roland@hack.frob.com>
24006
24007 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24008
24009 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24010 sysdeps/unix -> sysdeps/posix move.
24011 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24012
24013 2012-08-07 Allan McRae <allan@archlinux.org>
24014
24015 [BZ #14303]
24016 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24017 (SUNOS_CPP): Likewise.
24018 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24019 not found.
24020 (open_input): Call CPP using execvp.
24021
24022 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24023
24024 * sysdeps/unix/sysv/linux/kernel-features.h
24025 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24026 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24027 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24028 (__ASSUME_WAITID_SYSCALL): Likewise.
24029 * sysdeps/unix/sysv/linux/dl-execstack.c
24030 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24031 code unconditional.
24032 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24033 conditional code.
24034 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24035 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24036 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24037 code.
24038 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24039 unconditional.
24040 [__ASSUME_WAITID_SYSCALL]: Likewise.
24041 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24042
24043 2012-08-07 Roland McGrath <roland@hack.frob.com>
24044
24045 * sysdeps/unix/closedir.c: Renamed to ...
24046 * sysdeps/posix/closedir.c: ... here.
24047 * sysdeps/unix/dirfd.c: Renamed to ...
24048 * sysdeps/posix/dirfd.c: ... here.
24049 * sysdeps/unix/dirstream.h: Renamed to ...
24050 * sysdeps/posix/dirstream.h: ... here.
24051 * sysdeps/unix/fdopendir.c: Renamed to ...
24052 * sysdeps/posix/fdopendir.c: ... here.
24053 * sysdeps/unix/opendir.c: Renamed to ...
24054 * sysdeps/posix/opendir.c: ... here.
24055 * sysdeps/unix/readdir.c: Renamed to ...
24056 * sysdeps/posix/readdir.c: ... here.
24057 * sysdeps/unix/readdir_r.c: Renamed to ...
24058 * sysdeps/posix/readdir_r.c: ... here.
24059 * sysdeps/unix/rewinddir.c: Renamed to ...
24060 * sysdeps/posix/rewinddir.c: ... here.
24061 * sysdeps/unix/seekdir.c: Renamed to ...
24062 * sysdeps/posix/seekdir.c: ... here.
24063 * sysdeps/unix/telldir.c: Renamed to ...
24064 * sysdeps/posix/telldir.c: ... here.
24065 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24066 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24067 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24068 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24069
24070 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24071 * bits/fcntl.h: ... here.
24072
24073 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24074 not 0.
24075 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24076 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24077 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24078 (struct flock): Move l_start, l_len to the beginning.
24079 Use __pid_t for l_pid.
24080 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24081 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24082 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24083 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24084 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24085 [__USE_LARGEFILE64] (struct flock64): New type.
24086 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24087
24088 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24089 * bits/dirent.h: ... here.
24090
24091 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24092 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24093
24094 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24095
24096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24097 Change from 2.6.0 to 2.6.16.
24098 * sysdeps/unix/sysv/linux/configure: Regenerated.
24099 * sysdeps/unix/sysv/linux/kernel-features.h
24100 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24101 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24102 version.
24103 (__ASSUME_UTIMES): Likewise.
24104 (__ASSUME_CLONE_STOPPED): Remove.
24105 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24106 architectures, not kernel version.
24107 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24108 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24109 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24110 (__ASSUME_WAITID_SYSCALL): Likewise.
24111 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24112 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24113 * README: State 2.6.16 as minimum Linux kernel version. Do not
24114 refer to older versions.
24115
24116 2012-08-06 Roland McGrath <roland@hack.frob.com>
24117
24118 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24119 Define alphasort64 as an alias.
24120 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24121 Define versionsort64 as an alias.
24122 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24123 Define scandir64 as an alias.
24124 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24125 Define scandirat64 as an alias.
24126 * dirent/alphasort64.c (alphasort64):
24127 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24128 * dirent/versionsort64.c: Likewise.
24129 * dirent/scandir64.c: Likewise.
24130 * dirent/scandirat64.c: Likewise.
24131 * sysdeps/wordsize-64/alphasort.c: File removed.
24132 * sysdeps/wordsize-64/alphasort64.c: File removed.
24133 * sysdeps/wordsize-64/scandir.c: File removed.
24134 * sysdeps/wordsize-64/scandir64.c: File removed.
24135 * sysdeps/wordsize-64/scandirat.c: File removed.
24136 * sysdeps/wordsize-64/scandirat64.c: File removed.
24137 * sysdeps/wordsize-64/versionsort.c: File removed.
24138 * sysdeps/wordsize-64/versionsort64.c: File removed.
24139 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24140 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24141 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24142 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24143 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24144 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24146 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24147
24148 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24150 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24152 [defined __arch64__ || defined __sparcv9]
24153 (__INO_T_MATCHES_INO64_T): New macro.
24154 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24155 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24156 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24157 * sysdeps/unix/sysv/linux/bits/dirent.h
24158 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24159 (_DIRENT_MATCHES_DIRENT64): New macro.
24160
24161 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24162 Define lockf64 as an alias.
24163 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24164 Define fseeko64 as an alias.
24165 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24166 Define ftello64 as an alias.
24167 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24168 Define _IO_fgetpos64 and fgetpos64 as aliases.
24169 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24170 Define _IO_fsetpos64 and fsetpos64 as aliases.
24171 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24172 Conditionalize body on this.
24173 * libio/fseeko64.c: Likewise.
24174 * libio/ftello64.c: Likewise.
24175 * libio/iofgetpos64.c: Likewise.
24176 * libio/iofsetpos64.c: Likewise.
24177 * sysdeps/wordsize-64/lockf.c: File removed.
24178 * sysdeps/wordsize-64/lockf64.c: File removed.
24179 * sysdeps/wordsize-64/fseeko.c: File removed.
24180 * sysdeps/wordsize-64/fseeko64.c: File removed.
24181 * sysdeps/wordsize-64/ftello.c: File removed.
24182 * sysdeps/wordsize-64/ftello64.c: File removed.
24183 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24184 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24185 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24186 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24187 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24188 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24189 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24190 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24191 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24192 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24193 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24194 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24195 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24196 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24197
24198 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24200 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24202 [defined __arch64__ || defined __sparcv9]
24203 (__OFF_T_MATCHES_OFF64_T): New macro.
24204 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24205 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24207 (__OFF_T_MATCHES_OFF64_T): New macro.
24208
24209 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24210
24211 * stdlib/secure-getenv.c (__secure_getenv): Replace
24212 GLIBC_2_16 with GLIBC_2_17.
24213
24214 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24217 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24218
24219 2012-08-03 David S. Miller <davem@davemloft.net>
24220
24221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24222
24223 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24224
24225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24226 Remove.
24227 (__ASSUME_CORRECT_SI_PID): Likewise.
24228 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24229 (__ASSUME_TMPFS_NAME): Likewise.
24230 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24231 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24232 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24233 (HAVE_AUX_SECURE): Make definition unconditional.
24234 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24235 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24236
24237 2012-08-03 Roland McGrath <roland@hack.frob.com>
24238
24239 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24240 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24241 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24242 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24243 __eloop_threshold instead of SYMLOOP_MAX.
24244
24245 * sysdeps/generic/eloop-threshold.h: New file.
24246 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24247 of MAXSYMLINKS.
24248 * elf/chroot_canon.c (chroot_canon): Likewise.
24249
24250 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24251
24252 [BZ #13717]
24253 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24254 Change to 2.6.0 everywhere.
24255 * sysdeps/unix/sysv/linux/configure: Regenerated.
24256 * sysdeps/unix/sysv/linux/kernel-features.h
24257 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24258 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24259 kernel versions.
24260 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24261 (__ASSUME_FUTEX_REQUEUE): Remove.
24262 (__ASSUME_STATFS64): Define unconditionally.
24263 (__ASSUME_AT_SECURE): Likewise.
24264 (__ASSUME_CORRECT_SI_PID): Likewise.
24265 (__ASSUME_TGKILL): Define without depending on kernel version for
24266 i386.
24267 (__ASSUME_UTIMES): Likewise.
24268 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24269 kernel version.
24270 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24271 (__ASSUME_TMPFS_NAME): Likewise.
24272 * README: Update reference to Linux kernel versions.
24273
24274 2012-08-02 Marek Polacek <polacek@redhat.com>
24275
24276 [BZ# 14150]
24277 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24278 libc_cv_asm_type_prefix with %.
24279 * configure: Regenerated.
24280 * include/libc-symbols.h: Remove comment about
24281 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24282 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24283 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24284 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24285 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24286 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24287 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24288 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24289 * elf/tst-unique2mod1.c: Likewise.
24290 * elf/tst-unique1mod2.c: Likewise.
24291 * elf/tst-unique1mod1.c: Likewise.
24292 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24293 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24294 Replace ASM_TYPE_DIRECTIVE with .type.
24295 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24296 * sysdeps/i386/sysdep.h: Likewise.
24297 * sysdeps/x86_64/sysdep.h: Likewise.
24298 * sysdeps/sh/sysdep.h: Likewise.
24299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24300 Do not define ASM_TYPE_DIRECTIVE.
24301 * sysdeps/powerpc/sysdep.h: Likewise.
24302 * sysdeps/powerpc/powerpc32/sysdep.h:
24303 Replace ASM_TYPE_DIRECTIVE with .type.
24304 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24305 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24306 * sysdeps/i386/fpu/e_powf.S: Likewise.
24307 * sysdeps/i386/fpu/e_expl.S: Likewise.
24308 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24309 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24310 * sysdeps/i386/fpu/e_pow.S: Likewise.
24311 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24312 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24313 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24314 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24315 * sysdeps/i386/fpu/e_log2.S: Likewise.
24316 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24317 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24318 * sysdeps/i386/fpu/e_powl.S: Likewise.
24319 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24320 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24321 * sysdeps/i386/fpu/e_logl.S: Likewise.
24322 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24323 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24324 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24325 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24326 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24327 * sysdeps/i386/fpu/e_log.S: Likewise.
24328 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24329 * sysdeps/i386/fpu/e_logf.S: Likewise.
24330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24332 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24333 * sysdeps/i386/fpu/e_log10.S: Likewise.
24334 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24335 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24336 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24337 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24338 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24339 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24340 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24341 * sysdeps/i386/i686/strtok.S: Likewise.
24342 * sysdeps/i386/i386-mcount.S: Likewise.
24343 * sysdeps/i386/strtok.S: Likewise.
24344 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24346 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24347 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24348 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24349 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24350 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24351 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24353 * sysdeps/x86_64/_mcount.S: Likewise.
24354 * sysdeps/x86_64/strtok.S: Likewise.
24355 * sysdeps/sh/_mcount.S: Likewise.
24356
24357 2012-08-01 Roland McGrath <roland@hack.frob.com>
24358
24359 * libio/iofopen.c: Include <fcntl.h>.
24360 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24361 (_IO_fopen64, fopen64): Define as aliases.
24362 * libio/iofopen64.c: Include <fcntl.h>.
24363 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24364 Conditionalize body on this.
24365 * sysdeps/wordsize-64/iofopen.c: File removed.
24366 * sysdeps/wordsize-64/iofopen64.c: File removed.
24367
24368 2012-08-01 Marek Polacek <polacek@redhat.com>
24369
24370 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24371 Use dlfcn directly instead of a variable.
24372 (binfmt-subdir): Do not define.
24373 (dlfcn): Likewise.
24374
24375 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24376
24377 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24378 Remove all definitions.
24379 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24380 <kernel-features.h>.
24381 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24382 (miss_F_GETOWN_EX): Remove all definitions.
24383 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24384 macro definition.
24385 [!__ASSUME_FCNTL64]: Remove conditional code.
24386 [__ASSUME_FCNTL64]: Make code unconditional.
24387 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24388 <kernel-features.h>.
24389 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24390 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24391 (lockf64) [__NR_fcntl64]: Make code unconditional.
24392 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24393
24394 * sysdeps/unix/sysv/linux/kernel-features.h
24395 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24396 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24397 Make code unconditional.
24398 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24399 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24401 [__NR_vfork]: Make code unconditional.
24402 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24403 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24405 [__NR_vfork]: Make code unconditional.
24406 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24407 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24408
24409 2012-08-01 Roland McGrath <roland@hack.frob.com>
24410
24411 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24412 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24413
24414 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24415 Define mkstemp64 as an alias.
24416 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24417 Define mkstemps64 as an alias.
24418 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24419 Define mkostemp64 as an alias.
24420 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24421 Define mkostemps64 as an alias.
24422 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24423 Conditionalize body on this.
24424 * misc/mkostemp64.c: Likewise.
24425 * misc/mkostemps64.c: Likewise.
24426 * misc/mkstemps64.c: Likewise.
24427 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24428 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24429 * sysdeps/wordsize-64/mkostemp.c: File removed.
24430 * sysdeps/wordsize-64/mkstemp.c: File removed.
24431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24432 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24433 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24434 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24435
24436 [BZ #14138]
24437 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24438 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24439 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24440 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24441
24442 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24443 compat_symbol macros from <shlib-compat.h> rather than the underlying
24444 default_symbol_version and symbol_version macros, so that DEFAULT
24445 lines in shlib-versions are respected.
24446 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24447
24448 2012-08-01 Florian Weimer <fweimer@redhat.com>
24449
24450 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24451 Declare with warn_unused_result.
24452 (setgid, setregid, setegid, setresgid): Likewise.
24453 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24454 Likewise.
24455 * WUR-REPORT: Remove set*id functions.
24456
24457 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24458
24459 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24460
24461 2012-07-31 Roland McGrath <roland@hack.frob.com>
24462
24463 [BZ #10191]
24464 * include/sys/socket.h (__libc_accept, __libc_accept4):
24465 Add attribute_hidden.
24466 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24467
24468 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24469 use of PTR_MANGLE.
24470 * inet/getnetgrent_r.c (setup): Likewise.
24471
24472 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24473
24474 2012-07-31 David S. Miller <davem@davemloft.net>
24475
24476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24477
24478 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24479
24480 [BZ #13629]
24481 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24482 value between 1.0 and 2.0 and smaller part has absolute value less
24483 than 1.0.
24484 * math/s_clog10.c (__clog10): Likewise.
24485 * math/s_clog10f.c (__clog10f): Likewise.
24486 * math/s_clog10l.c (__clog10l): Likewise.
24487 * math/s_clogf.c (__clogf): Likewise.
24488 * math/s_clogl.c (__clogl): Likewise.
24489 * math/libm-test.inc (clog_test): Add more tests.
24490 (clog10_test): Likewise.
24491 * sysdeps/i386/fpu/libm-test-ulps: Update.
24492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24493
24494 2012-07-31 Florian Weimer <fweimer@redhat.com>
24495
24496 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24497 Exit with zero in case no suitable GID is found, and write a
24498 message to standard error.
24499
24500 2012-07-30 Roland McGrath <roland@hack.frob.com>
24501
24502 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24503 rather than to 1.
24504 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24505 (MAXPATHLEN): Removed.
24506 (NOGROUP, NODEV): New macros.
24507 (setbit, clrbit, isset, isclr): New macros.
24508 (howmany, roundup, powerof2): New macros.
24509 (DEV_BSIZE): New macro.
24510
24511 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24512 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24513
24514 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24515 definition on [!__NO_LONG_DOUBLE_MATH].
24516
24517 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24518 PTR_MANGLE and PTR_DEMANGLE.
24519
24520 * socket/accept4.c (accept4): Rename to __libc_accept4.
24521 Define accept4 as a weak alias.
24522
24523 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24524 on [_DIRENT_HAVE_D_TYPE].
24525 * io/ftw.c (ftw_dir): Likewise.
24526
24527 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24528
24529 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24530
24531 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24532 Use the BSD numbers rather than the arbitrary ones we had.
24533 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24534 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24535 (SIGXCPU, SIGXFSZ): New macros.
24536 (_NSIG): Now 32.
24537
24538 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24539 initializer on [_LIBC_REENTRANT].
24540
24541 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24542 definitions inside [_POSIX_MAPPED_FILES].
24543
24544 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24545
24546 * dirent/opendir.c: Include <fcntl.h>.
24547
24548 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24549 (__libc_getspecific): Likewise.
24550 (__libc_key_create): Likewise.
24551
24552 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24553 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24554 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24555 (tmpfile64): Define as alias.
24556 * sysdeps/wordsize-64/tmpfile.c: File removed.
24557 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24560
24561 * stdio-common/vfscanf.c: Include <stdbool.h>.
24562 * nss/makedb.c: Likewise.
24563 * stdio-common/_i18n_number.h: Likewise.
24564 * argp/argp-help.c: Likewise.
24565 * posix/wordexp.c: Likewise.
24566 * sysdeps/posix/spawni.c: Likewise.
24567 * nss/nss_files/files-initgroups.c: Likewise.
24568 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24569 * nss/nss_files/files-initgroups.c: Likewise.
24570 * nss/nss_db/db-netgrp.c: Likewise.
24571 * nss/nss_db/db-initgroups.c: Likewise.
24572 * io/fchmodat.c: Include <sys/stat.h>.
24573
24574 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24575 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24576
24577 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24578 [HAVE_MMAP].
24579
24580 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24581 Add multiple inclusion protection.
24582
24583 2012-07-27 David S. Miller <davem@davemloft.net>
24584
24585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24586
24587 2012-07-27 Gary Benson <gbenson@redhat.com>
24588
24589 [BZ #14298]
24590 * elf/rtld.c: Include <stap-probe.h>.
24591 (dl_main): Added static probes "init_start" and "init_complete".
24592 * elf/dl-load.c: Include <stap-probe.h>.
24593 (lose): Take new parameter "nsid".
24594 Added static probe "map_failed".
24595 (_dl_map_object_from_fd): Pass namespace id to lose.
24596 Added static probe "map_start".
24597 (open_verify): Pass namespace id to lose.
24598 * elf/dl-open.c: Include <stap-probe.h>.
24599 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24600 and "reloc_complete".
24601 * elf/dl-close.c: Include <stap-probe.h>.
24602 (_dl_close_worker): Added static probes "unmap_start" and
24603 "unmap_complete".
24604 * elf/rtld-debugger-interface.txt: New file documenting the above.
24605
24606 2012-07-26 Roland McGrath <roland@hack.frob.com>
24607
24608 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24609 rather than a string variable.
24610 * sunrpc/rpc_main.c (h_output): Likewise.
24611 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24612
24613 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24614
24615 * inet/check_native.c: New file.
24616
24617 2012-07-26 Joseph Myers <joseph@codesourcery.com>
24618
24619 [BZ #13629]
24620 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24621 if larger part has absolute value 1.0.
24622 * math/s_clog10.c (__clog10): Likewise.
24623 * math/s_clog10f.c (__clog10f): Likewise.
24624 * math/s_clog10l.c (__clog10l): Likewise.
24625 * math/s_clogf.c (__clogf): Likewise.
24626 * math/s_clogl.c (__clogl): Likewise.
24627 * math/libm-test.inc (clog_test): Add more tests.
24628 (clog10_test): Likewise.
24629 * sysdeps/i386/fpu/libm-test-ulps: Update.
24630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24631
24632 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24633 (pltexit): Likewise.
24634 (La_regs): Likewise.
24635 (La_retval): Likewise.
24636 (int_retval): Likewise.
24637 Update #error for removed macros to refer only to definitions in
24638 tst-audit.h.
24639 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24640 macro.
24641 (pltexit): Likewise.
24642 (La_regs): Likewise.
24643 (La_retval): Likewise.
24644 (int_retval): Likewise.
24645 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24646 macro.
24647 (pltexit): Likewise.
24648 (La_regs): Likewise.
24649 (La_retval): Likewise.
24650 (int_retval): Likewise.
24651 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24652 macro.
24653 (pltexit): Likewise.
24654 (La_regs): Likewise.
24655 (La_retval): Likewise.
24656 (int_retval): Likewise.
24657 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24658 macro.
24659 (pltexit): Likewise.
24660 (La_regs): Likewise.
24661 (La_retval): Likewise.
24662 (int_retval): Likewise.
24663 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24664 macro.
24665 (pltexit): Likewise.
24666 (La_regs): Likewise.
24667 (La_retval): Likewise.
24668 (int_retval): Likewise.
24669 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24670 macro.
24671 (pltexit): Likewise.
24672 (La_regs): Likewise.
24673 (La_retval): Likewise.
24674 (int_retval): Likewise.
24675 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24676 macro definitions in tst-audit.h.
24677 * sysdeps/i386/tst-audit.h: New file.
24678 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24679 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24680 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24681 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24682 * sysdeps/sh/tst-audit.h: Likewise.
24683 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24684 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24685 * sysdeps/x86_64/tst-audit.h: Likewise.
24686
24687 2012-07-26 Andreas Jaeger <aj@suse.de>
24688
24689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24690 ptrace.
24691
24692 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24693 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24694 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24695 PTRACE_O_MASK.
24696 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24697 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24698 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24699
24700 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24701 value.
24702
24703 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24704 _sigsys.
24705 (si_call_addr, si_syscall, si_arch): Define new macro.
24706 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24707 _sigsys.
24708 (si_call_addr, si_syscall, si_arch): Define new marcro.
24709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24710 _sigsys.
24711 (si_call_addr, si_syscall, si_arch): Define new macro.
24712 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24713 _sigsys.
24714 (si_call_addr, si_syscall, si_arch): Define new macro.
24715
24716 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24717
24718 [BZ #13717]
24719 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24720 Change to 2.4.21 where previously 2.4.1.
24721 * sysdeps/unix/sysv/linux/configure: Regenerated.
24722 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24723 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24724 Linux kernel version.
24725 (__ASSUME_STD_AUXV): Remove.
24726 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24727 kernel version.
24728 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24729 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24730 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24731 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24732 (__ASSUME_NETLINK_SUPPORT): Likewise.
24733 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24734 (__no_netlink_support): Remove conditional definition.
24735 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24736 Remove.
24737 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24738 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24739 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24740 (if_nameindex_ioctl): Remove.
24741 (if_nameindex_netlink): Do not handle __no_netlink_support.
24742 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24743 code.
24744 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24745 Remove conditional code.
24746 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24747 code.
24748 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24749 unconditional.
24750 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24751 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24752 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24753 Remove.
24754 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24755 [!__ASSUME_STD_AUXV]: Remove conditional code.
24756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24757 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24758 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24760 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24761 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24762 code.
24763 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24765 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24766 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24767 conditional code.
24768 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24770 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24771 code.
24772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24773 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24774 conditional code.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24776 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24777 code unconditional.
24778 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24779 conditional code.
24780 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24781 unconditional.
24782 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24783 conditional code.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24785 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24786 unconditional.
24787 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24788 conditional code.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24790 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24791 code unconditional.
24792 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24793 conditional code.
24794 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24795 unconditional.
24796 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24797 conditional code.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24799 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24800 code unconditional.
24801 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24802 conditional code.
24803 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24804 unconditional.
24805 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24806 conditional code.
24807
24808 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24809
24810 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24811 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24812 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24813 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24814 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24815 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24816 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24817 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24818 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24819 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24820 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24821 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24822 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24823 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24824 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24825 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24826 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24827 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24828 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24830 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24831 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24833
24834 2012-07-25 Florian Weimer <fweimer@redhat.com>
24835
24836 * Versions.def: Add GLIBC_2.17.
24837 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24838 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24839 Introduce __libc_secure_getenv.
24840 * stdlib/Versions (2.17): Add secure_getenv
24841 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24842 * stdlib/secure-getenv.c: Rename __secure_getenv to
24843 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24844 symbol __secure_getenv for GLIBC_2.0.
24845 * stdlib/tst-secure-getenv.c: New.
24846 * stdlib/Makefile (tests): Add testcase.
24847 * manual/startup.texi (Environment Access): Document
24848 secure_getenv.
24849 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24850 __libc_secure_getenv.
24851 * inet/ruserpass.c (ruserpass): Likewise.
24852 * malloc/mtrace.c (mtrace): Likewise.
24853 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24854 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24855 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24856 * sysdeps/posix/tempname.c: Likewise. Evaluate
24857 HAVE_SECURE_GETENV.
24858 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24859 __secure_getenv to __libc_secure_getenv.
24860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24862 Likewise.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24864 Likewise.
24865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24872
24873 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24874
24875 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24876 (struct La_i86_retval): Likewise.
24877 (struct La_x86_64_regs): Likewise.
24878 (struct La_x86_64_retval): Likewise.
24879 (struct La_x32_regs): Likewise.
24880 (struct La_x32_retval): Likewise.
24881 (struct La_ppc32_regs): Likewise.
24882 (struct La_ppc32_retval): Likewise.
24883 (struct La_ppc64_regs): Likewise.
24884 (struct La_ppc64_retval): Likewise.
24885 (struct La_sh_regs): Likewise.
24886 (struct La_sh_retval): Likewise.
24887 (struct La_s390_32_regs): Likewise.
24888 (struct La_s390_32_retval): Likewise.
24889 (struct La_s390_64_regs): Likewise.
24890 (struct La_s390_64_retval): Likewise.
24891 (struct La_sparc32_regs): Likewise.
24892 (struct La_sparc32_retval): Likewise.
24893 (struct La_sparc64_regs): Likewise.
24894 (struct La_sparc64_retval): Likewise.
24895 (struct audit_ifaces): Remove architecture-specific pltenter and
24896 pltexit members.
24897 * sysdeps/i386/ldsodefs.h: New file.
24898 * sysdeps/powerpc/ldsodefs.h: Likewise.
24899 * sysdeps/s390/ldsodefs.h: Likewise.
24900 * sysdeps/sh/ldsodefs.h: Likewise.
24901 * sysdeps/sparc/ldsodefs.h: Likewise.
24902 * sysdeps/x86_64/ldsodefs.h: Likewise.
24903
24904 2012-07-25 Marek Polacek <polacek@redhat.com>
24905
24906 [BZ #6808]
24907 * math/libm-test.inc (yn_test): Add another test.
24908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24909 to ERANGE when the result is +-Inf.
24910 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24911 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24912 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24913 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24914
24915 2012-07-24 Joseph Myers <joseph@codesourcery.com>
24916
24917 * conform/data/time.h-data (NULL): Use macro-constant. Require
24918 equal to 0.
24919 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24920 clock_t.
24921 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24922
24923 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24924
24925 * configure.in <sysdeps resolving>: Correct printing
24926 Implies_before.
24927 * configure: Regenerate.
24928
24929 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24930
24931 * math/w_ilogb.c: Include <limits.h>.
24932 * math/w_ilogbl.c: Likewise.
24933
24934 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24935
24936 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24937 va_copy. Document allowing for unavailable va_copy only as
24938 pre-C99 compatibility.
24939 * manual/string.texi (Copying and Concatenation): Use va_copy
24940 instead of __va_copy in concat example.
24941
24942 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24943
24944 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24945 (__sendto): Use create_address_port. Initialize APORT and deallocate
24946 it if not null.
24947
24948 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24949 with O_NOLINK passed to __file_name_lookup.
24950
24951 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24952 with O_NOLINK passed to __file_name_lookup.
24953
24954 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24955 negative N or less than NGIDS.
24956
24957 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24958 type to string_t. Set ERANGE as errno and return it if NAME is not big
24959 enough. Use memcpy instead of strncpy.
24960
24961 2012-07-20 Joseph Myers <joseph@codesourcery.com>
24962
24963 * elf/Makefile (check-data): Remove.
24964 (localplt.data): New vpath directive.
24965 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24966 instead of $(check-data).
24967 * scripts/data/localplt-generic.data: Move to ...
24968 * sysdeps/generic/localplt.data: ... here.
24969 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24970 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24971 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24973 ... here.
24974 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24976 ... here.
24977 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24979 ... here.
24980 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24982 ... here.
24983 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24985 ... here.
24986 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24988 ... here.
24989
24990 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24991
24992 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24993 PPC32 and PPC64 files.
24994 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24995 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24996
24997 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24998
24999 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25000 __makecontext_ret to ...
25001 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25002 ... here and call exit if uc_link is NULL. New file.
25003 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25004 __makecontext_ret.S.
25005 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25006 __makecontext_ret to ...
25007 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25008 ... here and call exit if uc_link is NULL. New file.
25009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25010 __makecontext_ret.S.
25011
25012 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25013
25014 * elf/elf.h (R_390_IRELATIVE): New definition.
25015 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25016 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25017 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25018 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25019 (elf_machine_lazy_rel): Likewise.
25020 * sysdeps/s390/dl-irel.h: New file.
25021 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25022 * sysdeps/s390/s390-64/memset.S: New asm code.
25023 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25024 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25025 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25026 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25027 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25028 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25029 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25030 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25031 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25032 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25033 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25034 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25035 * sysdeps/s390/s390-32/memset.S: New asm code.
25036 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25037
25038 2012-07-17 Marek Polacek <polacek@redhat.com>
25039
25040 [BZ #14349]
25041 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25042 * sysdeps/s390/s390-64/configure.in: Likewise.
25043 * sysdeps/sparc/configure.in: Likewise.
25044 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25045 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25046 * sysdeps/i386/configure.in: Likewise.
25047 * sysdeps/x86_64/configure.in: Likewise.
25048 * sysdeps/sh/configure.in: Likewise.
25049 * sysdeps/s390/s390-32/configure: Regenerated.
25050 * sysdeps/s390/s390-64/configure: Likewise.
25051 * sysdeps/x86_64/configure: Likewise.
25052 * sysdeps/sh/configure: Likewise.
25053 * sysdeps/powerpc/powerpc64/configure: Likewise.
25054 * sysdeps/powerpc/powerpc32/configure: Likewise.
25055 * sysdeps/sparc/configure: Likwise.
25056 * sysdeps/i386/configure: Likewise.
25057
25058 * elf/dl-open.c: Comment fixes.
25059
25060 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25061
25062 * Makefile [CXX] (check-data): Remove.
25063 [CXX] (c++-types.data): New vpath directive.
25064 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25065 vpath. Do not allow for C++ type data being missing.
25066 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25067 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25068 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25069 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25070 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25071 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25072 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25074 ... here.
25075 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25077 ... here.
25078 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25080 ... here.
25081 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25083 ... here.
25084 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25086 ... here.
25087 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25089 ... here.
25090 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25092 ... here.
25093 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25095
25096 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25097 definitions to architecture-specific files.
25098 (TLS_IE): Likewise.
25099 (TLS_LD): Likewise.
25100 (TLS_GD): Likewise.
25101 * sysdeps/i386/tls-macros.h: New file.
25102 * sysdeps/powerpc/tls-macros.h: Likewise.
25103 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25104 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25105 * sysdeps/sh/tls-macros.h: Likewise.
25106 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25107 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25108 * sysdeps/x86_64/tls-macros.h: Likewise.
25109
25110 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25111
25112 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25113 zero value for regular exit case.
25114
25115 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25116 (__start_context): Preserve zero value for regular exit case.
25117
25118 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25119 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25120
25121 * manual/setjmp.texi (setcontext): Clarify normal process
25122 termination when uc_link is the null pointer.
25123 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25124 exit call.
25125
25126 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25127
25128 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25129 preprocessor. Test for each exception mask separately.
25130
25131 2012-07-16 Andreas Jaeger <aj@suse.de>
25132
25133 * po/ru.po: Update from translation team.
25134
25135 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25136
25137 * conform/data/string.h-data (NULL): Use macro-constant. Require
25138 equal to 0.
25139 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25140 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25141 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25142 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25143 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25144
25145 2012-07-13 Andreas Jaeger <aj@suse.de>
25146
25147 * po/fr.po: Update from translation team.
25148
25149 2012-07-12 Marek Polacek <polacek@redhat.com>
25150
25151 [BZ #14173]
25152 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25153 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25154 loop condition.
25155
25156 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25157
25158 [BZ #13717]
25159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25160 Change to 2.4.1 where previously 2.4.0.
25161 * sysdeps/unix/sysv/linux/configure: Regenerated.
25162 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25163 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25164 version.
25165 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25166 (__ASSUME_AT_CLKTCK): Remove.
25167 (__ASSUME_AT_PAGESIZE): Likewise.
25168 (__ASSUME_AT_XID): Likewise.
25169 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25170 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25171 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25172 unconditionally.
25173 (HAVE_AUX_PAGESIZE): Likewise.
25174 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25175 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25176 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25177
25178 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25179
25180 [BZ #14307]
25181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25182 the temporary buffer used to invoke __gethostbyname2_r,
25183 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25184 host_data / struct gaih_addrtuple.
25185 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25186 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25187 header file nss/nsswitch.h.
25188 * nss/nsswitch.h (global scope): Add definition of implementation
25189 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25190 resolv/nss_dns/dns-host.c).
25191
25192 2012-07-11 Andreas Jaeger <aj@suse.de>
25193
25194 * po/fr.po: Update from translation team.
25195
25196 * po/sv.po: Update from translation team
25197 * po/fr.po: Another update from translation team.
25198
25199 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25200
25201 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25202 for subnormals or multiply small sinh result by itself.
25203 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25205
25206 2012-07-11 David S. Miller <davem@davemloft.net>
25207
25208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25209
25210 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25211
25212 [BZ #14347]
25213 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25214 (INTERNAL_MARK): Shift it here.
25215
25216 2012-07-10 Marek Polacek <polacek@redhat.com>
25217
25218 [BZ #14151]
25219 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25220 libc_cv_asm_global_directive with .globl.
25221 * configure: Regenerated.
25222 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25223 with .globl.
25224 * sysdeps/i386/configure: Regenerated.
25225 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25226 with .globl.
25227 * sysdeps/x86_64/configure: Regenerated.
25228 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25229 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25230 * elf/tst-unique2mod2.c: Likewise.
25231 * elf/tst-unique2mod1.c: Likewise.
25232 * elf/tst-unique1mod2.c: Likewise.
25233 * elf/tst-unique1mod1.c: Likewise.
25234 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25235 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25237 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25238 * sysdeps/mach/sysdep.h: Likewise.
25239 * sysdeps/i386/sysdep.h: Likewise.
25240 * sysdeps/i386/i386-mcount.S: Likewise.
25241 * sysdeps/x86_64/_mcount.S: Likewise.
25242 * sysdeps/x86_64/sysdep.h: Likewise.
25243 * sysdeps/sh/_mcount.S: Likewise.
25244 * sysdeps/sh/sysdep.h: Likewise.
25245 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25246 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25247 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25248 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25249 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25250 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25251 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25252 * locale/localeinfo.h: Likewise.
25253 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25254 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25255
25256 2012-07-09 Roland McGrath <roland@hack.frob.com>
25257
25258 [BZ #14336]
25259 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25260 system".
25261 * manual/message.texi (The Uniforum approach): Likewise.
25262 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25263 (glibc iconv Implementation): Likewise.
25264
25265 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25266
25267 [BZ #14337]
25268 * math/s_clog.c (__clog): Avoid scaling a value down where that
25269 could result in underflow.
25270 * math/s_clog10.c (__clog10): Likewise.
25271 * math/s_clog10f.c (__clog10f): Likewise.
25272 * math/s_clog10l.c (__clog10l): Likewise.
25273 * math/s_clogf.c (__clogf): Likewise.
25274 * math/s_clogl.c (__clogl): Likewise.
25275 * math/libm-test.inc (clog_test): Add more tests.
25276 (clog10_test): Likewise.
25277 * sysdeps/i386/fpu/libm-test-ulps: Update.
25278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25279
25280 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25281
25282 [BZ #14283]
25283 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25284 by 7 not 8 to examine high bit of fractional part.
25285
25286 [BZ #14042]
25287 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25288 for call to __mcount_internal.
25289 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25290 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25291 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25292
25293 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25294
25295 [BZ #14154]
25296 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25297 approximation for values within 0x1p-13f of an odd multiple of
25298 pi/4.
25299 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25300 exception. Add more tests.
25301 * sysdeps/i386/fpu/libm-test-ulps: Update.
25302
25303 [BZ #6778]
25304 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25305 inputs and return -1 for them. Do not check for +Inf in case not
25306 reachable for +Inf.
25307 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25308 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25309 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25310 and return -1 for them. Do not check for +Inf in case not
25311 reachable for +Inf.
25312 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25313 define.
25314 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25315 and return -1 for them. Do not check for +Inf in case not
25316 reachable for +Inf.
25317 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25318 spurious underflow.
25319 * sysdeps/i386/fpu/libm-test-ulps: Update.
25320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25321
25322 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25323
25324 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25325
25326 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25327
25328 [BZ #14157]
25329 [BZ #14331]
25330 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25331 could result in spurious underflow. Scale down values above
25332 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25333 * math/s_csqrtf.c (__csqrtf): Likewise.
25334 * math/s_csqrtl.c (__csqrtl): Likewise.
25335 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25336 spurious underflow.
25337 * sysdeps/i386/fpu/libm-test-ulps: Update.
25338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25339
25340 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25341
25342 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25343 xopen-msg.sed.
25344 * catgets/xopen-msg.awk: New file.
25345 * catgets/xopen-msg.sed: Removed.
25346
25347 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25348 po2text.sed.
25349 * intl/po2test.awk: New file.
25350 * intl/po2test.sed: Removed.
25351
25352 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #14328]
25355 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25356 or multiply small sinh result by itself.
25357 * math/s_ctanf.c (__ctanf): Likewise.
25358 * math/s_ctanh.c (__ctanh): Likewise.
25359 * math/s_ctanhf.c (__ctanhf): Likewise.
25360 * math/s_ctanhl.c (__ctanhl): Likewise.
25361 * math/s_ctanl.c (__ctanl): Likewise.
25362 * math/libm-test.inc (ctan_test_tonearest): New function.
25363 (ctan_test_towardzero): Likewise.
25364 (ctan_test_downward): Likewise.
25365 (ctan_test_upward): Likewise.
25366 (ctanh_test_tonearest): Likewise.
25367 (ctanh_test_towardzero): Likewise.
25368 (ctanh_test_downward): Likewise.
25369 (ctanh_test_upward): Likewise.
25370 (main): Call these new functions.
25371 * sysdeps/i386/fpu/libm-test-ulps: Update.
25372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25373
25374 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25375
25376 * .gitignore: Delete /ports entry.
25377
25378 2012-07-03 Andreas Jaeger <aj@suse.de>
25379
25380 * po/bg.po: Update from translation team.
25381 * po/cs.po: Likewise.
25382 * po/de.po: Likewise.
25383 * po/hr.po: Likewise.
25384 * po/nl.pl: Likewise.
25385 * po/pl.po: Likewise.
25386 * po/vi.po: Likewise.
25387
25388 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25389
25390 * Makeconfig [!+link] (+link-before-libc): New variable.
25391 [!+link] (+link-after-libc): Likewise.
25392 [!+link] (+link-tests): Likewise.
25393 [!+link] (+link): Define in terms of $(+link-before-libc) and
25394 $(+link-after-libc).
25395 [!+link-static] (+link-static-before-libc): New variable.
25396 [!+link-static] (+link-static-after-libc): Likewise.
25397 [!+link-static] (+link-static-tests): Likewise.
25398 [!+link-static] (+link-static): Define in terms of
25399 $(+link-static-before-libc) and $(+link-static-after-libc).
25400 [build-shared] (link-libc-before-gnulib): New variable.
25401 [build-shared] (link-libc-tests): Likewise.
25402 [build-shared] (link-libc): Define in terms of
25403 $(link-libc-before-gnulib).
25404 [!build-shared] (link-libc-tests): New variable.
25405 (link-libc-static-tests): New variable.
25406 [!gnulib] (gnulib-arch): New variable.
25407 [!gnulib] (gnulib-tests): Likewise.
25408 [!gnulib] (static-gnulib-arch): Likewise.
25409 [!gnulib] (static-gnulib-tests): Likewise.
25410 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25411 Define with "=" instead of ":=".
25412 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25413 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25414 * Rules (binaries-all-notests): New variable.
25415 (binaries-all-tests): Likewise.
25416 (binaries-static-notests): Likewise.
25417 (binaries-static-tests): Likewise.
25418 (binaries-all): Define using $(binaries-all-notests) and
25419 $(binaries-all-tests).
25420 (binaries-static): Define using $(binaries-static-notests) and
25421 $(binaries-static-tests).
25422 (binaries-shared-tests): New variable.
25423 (binaries-shared-notests): Likewise.
25424 (binaries-shared): Remove variable.
25425 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25426 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25427 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25428 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25429 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25430 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25431 * elf/Makefile (sln-modules): New variable.
25432 (extra-objs): Add $(sln-modules:=.o).
25433 (ldconfig-modules): Add static-stubs.
25434 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25435 * elf/static-stubs.c: New file.
25436
25437 [BZ #14283]
25438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25439 by 7 not 8 to examine high bit of fractional part. Use volatile
25440 variables when splitting into final array of floats if
25441 __FLT_EVAL_METHOD__ != 0.
25442 * math/libm-test.inc (cos_test): Add another test.
25443 (sin_test): Likewise.
25444 * sysdeps/i386/fpu/libm-test-ulps: Update.
25445
25446 [BZ #14273]
25447 * math/libm-test.inc (cosh_test): Add more tests.
25448
25449 * version.h (RELEASE): Set to "development".
25450 (VERSION): Set to "2.16.90".
25451
25452 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25453
25454 * NEWS: Update copyright. Remove last-updated date.
25455 Mention math library bug fixes and timezone data changes.
25456 * README: Mention GNU/Hurd, x32, and HPPA support status.
25457
25458 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25459
25460 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25461
25462 2012-06-27 Andreas Jaeger <aj@suse.de>
25463
25464 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25465
25466 2012-06-25 Andreas Jaeger <aj@suse.de>
25467
25468 * sysdeps/s390/fpu/libm-test-ulps: Update.
25469
25470 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25471 Thomas Schwinge <thomas@codesourcery.com>
25472
25473 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25474 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25476 fanotify_mark.
25477
25478 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25479
25480 * sysdeps/mach/start.c: Remove file.
25481 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25482 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25483 * sysdeps/sh/init-first.c: Likewise.
25484
25485 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25486 registers for frame unwinding purposes, add CFI directives.
25487 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25489 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25490 Likewise.
25491
25492 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25493 __fortify_fail returning.
25494 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25495
25496 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25497 sysdeps/sh/____longjmp_chk.S.
25498 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25499 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25500 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25501 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25502
25503 * sysdeps/sh/abort-instr.h: New file.
25504 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25505 process in case exit returns.
25506
25507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25508 initialize the GOT register before use.
25509
25510 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25511 calculation of ARGC > 4.
25512
25513 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25514 meaningful names to some local labels.
25515
25516 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25517 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25518
25519 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25520 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25521 (__arch_compare_and_exchange_val_16_acq): Likewise.
25522 (__arch_compare_and_exchange_val_32_acq): Likewise.
25523 (atomic_exchange_and_add): Fix gUSA sequence.
25524 (atomic_add): Likewise.
25525 (atomic_add_negative): Likewise.
25526 (atomic_add_zero): Likewise.
25527 (atomic_bit_test_set): Likewise.
25528
25529 2012-06-22 Andreas Schwab <schwab@redhat.com>
25530
25531 [BZ #13579]
25532 * include/link.h (struct link_map): Add l_free_initfini.
25533 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25534 l_initfini.
25535 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25536 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25537 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25538 set.
25539
25540 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25541
25542 * configure.in: Use AC_LANG_SOURCE.
25543 * configure: Regenerate.
25544
25545 2012-06-22 Roland McGrath <roland@hack.frob.com>
25546
25547 * configure.in (libc_cv_localstatedir): New substituted variable.
25548 * configure: Regenerated.
25549 * config.make.in (localstatedir): New variable, substituted from
25550 libc_cv_localstatedir.
25551 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25552 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25553 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25554 * sysdeps/gnu/configure: Regenerated.
25555
25556 2012-06-21 Jeff Law <law@redhat.com>
25557
25558 [BZ #14277]
25559 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25560 free. Simplify list management for _LIBC case.
25561
25562 2012-06-21 Joseph Myers <joseph@codesourcery.com>
25563
25564 [BZ #14273]
25565 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25566 Clear sign bit of 64-bit integer value before comparing against
25567 overflow value.
25568
25569 * sysdeps/mach/configure: Regenerated.
25570
25571 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25572
25573 [BZ #14278]
25574 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25575
25576 2012-06-21 Jeff Law <law@redhat.com>
25577
25578 [BZ #13882]
25579 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25580 uint16_t for elements in the "seen" array to avoid char overflows.
25581 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25582 * elf/dl-open.c (dl_open_worker): Likewise.
25583
25584 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25585
25586 * scripts/list-sources.sh: Scan PORTS for translations.
25587 * po/libc.pot: Regenerated.
25588
25589 2012-06-21 Andreas Jaeger <aj@suse.de>
25590
25591 [BZ #12194]
25592 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25593 warning.
25594 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25595 * bits/byteswap-16.h (__bswap_16): Likewise.
25596 * bits/byteswap.h (__bswap_constant_16): Likewise.
25597
25598 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25599
25600 [BZ #14117]
25601 * sysdeps/i386/fpu_control.h: Removed.
25602 * sysdeps/x86_64/fpu_control.h: Moved to ...
25603 * sysdeps/x86/fpu_control.h: Here.
25604
25605 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25606 (_FPU_SETCW): Likewise.
25607
25608 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 [BZ #14117]
25611 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25612 * sysdeps/x86/fpu/bits/mathinline.h: This.
25613 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25614
25615 [BZ #14050]
25616 [BZ #14117]
25617 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25618 functions if __x86_64__ is defined.
25619
25620 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25621
25622 * string/endian.h: Add !__ASSEMBLER__ condition for including
25623 conversion interfaces.
25624
25625 2012-06-15 Joseph Myers <joseph@codesourcery.com>
25626
25627 [BZ #14241]
25628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25629 of ABS(x) in calculating zero to negative powers other than odd
25630 integers.
25631 * math/libm-test.inc (pow_test): Add more tests.
25632
25633 2012-06-15 Andreas Jaeger <aj@suse.de>
25634
25635 * manual/contrib.texi (Contributors): Update entry of Liubov
25636 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25637 Machado Filho.
25638
25639 2012-06-15 Cyril Hrubis <metan@ucw.cz>
25640
25641 * string/string.h: Add __wur to GNU version of strerror_r.
25642
25643 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25644
25645 [BZ #14229]
25646 * string/Makefile (tests): Add tst-strtok_r.
25647 * string/tst-strtok_r.c: New file.
25648 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25649 RAX_LP/RDX_LP on SAVE_PTR.
25650
25651 2012-06-14 Roland McGrath <roland@hack.frob.com>
25652
25653 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25654
25655 2012-06-14 Joseph Myers <joseph@codesourcery.com>
25656
25657 * libm_test.inc (csqrt_test): Allow more spurious underflow
25658 exceptions.
25659 (j0_test): Likewise.
25660 (j1_test): Likewise.
25661 (y0_test): Likewise.
25662 (y1_test): Likewise.
25663
25664 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25665
25666 * po/Makefile (libc.pot): Use UTF-8 charset.
25667
25668 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25669
25670 [BZ #14210]
25671 Suppress sign-conversion warning from FD_SET.
25672 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25673 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25674 not unsigned long int.
25675 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25676
25677 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25678
25679 [BZ #14050]
25680 [BZ #14117]
25681 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25682 __extern_always_inline instead of __extern_inline.
25683 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25684 (__signbit): Likewise.
25685 (__signbitl): Support C++ namespace.
25686 (lrintf): New inline function.
25687 (lrint): Likewise.
25688 (llrintf): Likewise.
25689 (llrint): Likewise.
25690 (fmaxf): Likewise.
25691 (fmax): Likewise.
25692 (fminf): Likewise.
25693 (fmin): Likewise.
25694 (rint): Likewise.
25695 (rintf): Likewise.
25696 (ceil): Likewise.
25697 (ceilf): Likewise.
25698 (floor): Likewise.
25699 (floorf): Likewise.
25700 (nearbyint): Likewise.
25701 (nearbyintf): Likewise.
25702
25703 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25704
25705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25706 non-default versions.
25707
25708 2012-06-11 Roland McGrath <roland@hack.frob.com>
25709
25710 [BZ #14218]
25711 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25712
25713 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25714
25715 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25716 (FE_UPWARD, FE_DOWNWARD): Don't define.
25717 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25719
25720 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25721 reading it.
25722 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25723 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25724
25725 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25726
25727 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25729 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25730 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25731
25732 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25733
25734 [BZ #14117]
25735 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25736 * sysdeps/i386/fpu/Implies: New file.
25737 * sysdeps/x86_64/fpu/Implies: Likewise.
25738 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25739 * sysdeps/x86/fpu/bits/fenv.h: This.
25740
25741 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25742 __SSE_MATH__.
25743
25744 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25745
25746 [BZ #14134]
25747 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25748 character 0xffff that matches the last element of the
25749 conversion table.
25750
25751 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25752
25753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25754 fmodl commit.
25755
25756 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25757
25758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25759 values higher than 25.6283.
25760
25761 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25762
25763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25764 subnormal exponent extraction and add some __builtin_expect.
25765 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25766 Fix for subnormal mantissa calculation.
25767
25768 2012-06-04 Mike Frysinger <vapier@gentoo.org>
25769
25770 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25771 cpu2 is -1 and errno is not ENOSYS.
25772
25773 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25774
25775 [BZ #14117]
25776 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25777 * sysdeps/x86/bits/string.h: This.
25778 * sysdeps/x86_64/bits/string.h: Removed.
25779
25780 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25781 if not compiling for x86-64, but compiling for >= i486.
25782
25783 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25784 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25785
25786 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25787 New macro from Linux kernel 3.4.0.
25788 (FP_XSTATE_MAGIC2): Likewise.
25789 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25790 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25791 (struct _fpx_sw_bytes): New struct.
25792 (struct _xsave_hdr): Likewise.
25793 (struct _ymmh_state): Likewise.
25794 (struct _xstate): Likewise.
25795
25796 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25797 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25799 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25801 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25802
25803 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25804 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25805 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25806 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25807 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25808 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25809
25810 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25811
25812 [BZ #13743]
25813 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25814 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25815 (sysdep_headers): Include sys/platform/ppc.h.
25816 * sysdeps/powerpc/test-gettimebase.c: Test for
25817 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25818 * manual/Makefile (appendices): Include platform.texi.
25819 * manual/contrib.texi (Contributors): Update @node pointers.
25820 * manual/maint.texi (Maintenance): Likewise.
25821 (Platform): New node.
25822 * manual/platform.texi: New file. Document the new features.
25823
25824 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25825 Jakub Jelinek <jakub@redhat.com>
25826
25827 [BZ #14188]
25828 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25829 where __builtin_expect is unavailable.
25830
25831 2012-06-03 David S. Miller <davem@davemloft.net>
25832
25833 * stdlib/longlong.h: Updated from GCC.
25834
25835 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25836
25837 [BZ #14042]
25838 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25839 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25840 __mcount_internal.
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25842 (GLIBC_2.16): Likewise.
25843
25844 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25845
25846 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25847
25848 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25849
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25851 (default-abi): New variable.
25852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25853 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25854 variable.
25855 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25856 Likewise.
25857 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25858 Likewise.
25859 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25860 Likewise.
25861
25862 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25863 definition. Document in comment.
25864
25865 2012-06-01 David S. Miller <davem@davemloft.net>
25866
25867 * stdlib/longlong.h: Updated from GCC.
25868
25869 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25870
25871 [BZ #14117]
25872 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25873 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25874 sys/debugreg.h sys/io.h here.
25875 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25876 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25877 sys/io.h.
25878 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25879 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25880 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25881 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25882 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25883 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25884
25885 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25886 Define only if __x86_64__ is defined.
25887
25888 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25889
25890 [BZ #14048]
25891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25892 Use int64_t for variable i.
25893 * math/libm-test.inc (fmod_test): Add more tests.
25894
25895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25896 z computation is not scheduled after fetestexcept.
25897 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25898 Use math_force_eval instead of asm to ensure calculation scheduled
25899 before exception test.
25900 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25901 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25902
25903 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25904
25905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25906 computation is not scheduled after fetestexcept.
25907
25908 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25909
25910 [BZ #14117]
25911 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25912 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25913
25914 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25915
25916 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25918
25919 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25920
25921 [BZ #14117]
25922 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25923 <bits/wordsize.h>.
25924 (__WCHAR_MIN): Support __WORDSIZE == 64.
25925 (__WCHAR_MAX): Likewise.
25926
25927 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25928 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25929
25930 [BZ #14183]
25931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25932 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25933
25934 [BZ #14117]
25935 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25936 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25937
25938 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25939 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25940
25941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25942 Defined to 1 if __x86_64__ isn't defined.
25943 (_STAT_VER_LINUX_OLD): New.
25944 (st_atime): Remove duplicate.
25945 (st_mtime): Likewise.
25946 (st_ctime): Likewise.
25947
25948 2012-05-31 David S. Miller <davem@davemloft.net>
25949
25950 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25951 entries.
25952
25953 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25954
25955 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25956 gen-libm-test.pl.
25957
25958 [BZ #14132]
25959 * elf/dl-reloc.c: Include <_itoa.h>.
25960 (_dl_reloc_bad_type): Remove use of INTUSE.
25961 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25962 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25963 * stdio-common/psiginfo.c (psiginfo): Likewise.
25964 * stdio-common/psignal.c (psignal): Likewise.
25965 * string/strsignal.c (strsignal): Likewise.
25966 * include/signal.h (_sys_siglist): Declare hidden proto.
25967 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25968 INTVARDEF with libc_hidden_data_def.
25969 * stdio-common/itoa-udigits.c: Likewise.
25970 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25971 (_itoa_lower_digits_internal): Remove declaration.
25972 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25973 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25974 (_sys_sigabbrev_internal): Remove aliases.
25975 (_sys_siglist): Define hidden alias.
25976
25977 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25978
25979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25980 bits/sysctl.h.
25981
25982 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25983
25984 [BZ #14117]
25985 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25986 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25987
25988 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25989 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25990 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25991 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25992 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25993 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25994
25995 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25996 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25997 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25998
25999 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26000 with __addr.
26001 (insw): Likewise.
26002 (insl): Likewise.
26003 (outsb): Likewise.
26004 (outsw): Likewise.
26005 (outsl): Likewise.
26006
26007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26008 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26009 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26010
26011 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26012 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26013 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26014 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26015 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26016 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26017
26018 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26019 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26020
26021 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26022 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26023
26024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26026 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26027
26028 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26029 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26030 to ...
26031 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26032
26033 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26034 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26035 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26036
26037 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26038 for x86-64.
26039 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26040
26041 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26042
26043 * math/math.h (M_El): Use two more decimal places.
26044 (M_LOG2El): Likewise.
26045 (M_LOG10El): Likewise.
26046 (M_LN2l): Likewise.
26047 (M_LN10l): Likewise.
26048 (M_PIl): Likewise.
26049 (M_PI_2l): Likewise.
26050 (M_PI_4l): Likewise.
26051 (M_1_PIl): Likewise.
26052 (M_2_PIl): Likewise.
26053 (M_2_SQRTPIl): Likewise.
26054 (M_SQRT2l): Likewise.
26055 (M_SQRT1_2l): Likewise.
26056
26057 2012-05-31 David S. Miller <davem@davemloft.net>
26058
26059 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26060 values between float registers.
26061 * sysdeps/sparc/sparc64/memset.S: Likewise.
26062 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26063
26064 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26065
26066 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26067 -D_FORTIFY_SOURCE=1.
26068 (CPPFLAGS-tst-longjmp_chk.c): Define.
26069 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26070 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26071 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26072 CFLAGS-tst-wchar-h.c.
26073
26074 2012-05-31 Marek Polacek <polacek@redhat.com>
26075
26076 [BZ #14132]
26077 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26078 __endmntent_internal): Remove declaration.
26079 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26080 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26081 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26082
26083 2012-05-30 David S. Miller <davem@davemloft.net>
26084
26085 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26086 (___Q_simulate_exceptions): Use real FP ops rather than writing
26087 into the %fsr.
26088 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26089 Likewise.
26090
26091 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 [BZ #14117]
26094 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26095 * sysdeps/x86/bits/xtitypes.h: This.
26096
26097 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26098 * sysdeps/x86/bits/wordsize.h: This.
26099
26100 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26101 * sysdeps/x86/bits/huge_vall.h: This.
26102
26103 * sysdeps/i386/bits/select.h: Removed.
26104 * sysdeps/x86_64/bits/select.h: Renamed to ...
26105 * sysdeps/x86/bits/select.h: This.
26106
26107 * sysdeps/i386/bits/setjmp.h: Removed.
26108 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26109 * sysdeps/x86/bits/setjmp.h: This.
26110
26111 * sysdeps/i386/bits/mathdef.h: Removed.
26112 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26113 * sysdeps/x86/bits/mathdef.h: This.
26114
26115 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26116
26117 [BZ #14132]
26118 * include/sys/socket.h (__connect_internal)
26119 (__libc_sa_len_internal): Remove declaration.
26120 (__connect, __libc_sa_len): Declare hidden_proto.
26121 (SA_LEN): Remove use of INTUSE.
26122 * socket/connect.c: Add libc_hidden_def.
26123 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26124 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26125 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26126 alias.
26127 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26128 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26129 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26130 of adding _internal alias.
26131
26132 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26133
26134 [BZ #14117]
26135 * sysdeps/i386/bits/link.h: Removed.
26136 * sysdeps/i386/bits/linkmap.h: Likewise.
26137 * sysdeps/x86_64/bits/link.h: Renamed to ...
26138 * sysdeps/x86/bits/link.h: This.
26139 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26140 * sysdeps/x86/bits/linkmap.h: This.
26141
26142 * sysdeps/i386/bits/endian.h: Removed.
26143 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26144 * sysdeps/x86/bits/endian.h: This.
26145
26146 * sysdeps/i386/bits/byteswap.h: Removed.
26147 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26148 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26149 * sysdeps/x86/bits/byteswap.h: This.
26150 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26151 * sysdeps/x86/bits/byteswap-16.h: This.
26152 * sysdeps/i386/Implies: Add x86.
26153 * sysdeps/x86_64/Implies: Likewise.
26154
26155 2012-05-30 David S. Miller <davem@davemloft.net>
26156
26157 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26158 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26160 (FP_TRAPPING_EXCEPTIONS): Define.
26161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26162 (FP_TRAPPING_EXCEPTIONS): Define.
26163 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26164 subnormals only when inexact has been signalled or underflow
26165 exceptions are enabled.
26166 (_FP_PACK_CANONICAL): Likewise.
26167
26168 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26169
26170 [BZ #14183]
26171 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26172 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26173
26174 2012-05-30 Richard Henderson <rth@twiddle.net>
26175
26176 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26177 with #ifndef NOT_IN_libc.
26178
26179 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26180 marked to avoid plt entry.
26181
26182 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26183
26184 [BZ #14112]
26185 * Makeconfig (default-abi): New macro.
26186 (abi-includes): Likewise.
26187 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26188 $(abi-$(default-abi)-lib-soname) for soname if defined.
26189 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26190 abi-variants.
26191 * Makefile (installed-stubs): Likewise.
26192 * include/stubs-biarch.h: Removed.
26193 * scripts/lib-names.awk: Only handle one library at a time.
26194 * scripts/soversions.awk: Remove WORDSIZE support.
26195 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26196 entries.
26197 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26198 Removed.
26199 (syscall-list-default-condition): Likewise.
26200 (syscall-list-default-condition): Likewise.
26201 (syscall-list-includes): Likewise.
26202 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26203 syscall-list-* with abi-*. Handle undefined abi-variants.
26204 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26205 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26206 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26207 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26208 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26209 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26210 Removed.
26211 (syscall-list-32-options): Likewise.
26212 (syscall-list-32-condition): Likewise.
26213 (syscall-list-64-options): Likewise.
26214 (syscall-list-64-condition): Likewise.
26215 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26216 macro.
26217 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26218 Renamed to ...
26219 (abi-*): This.
26220 (abi-64-ld-soname): New macro.
26221 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26222 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26223 Renamed to ...
26224 (abi-*): This.
26225 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26226 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26227
26228 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26229
26230 * sysdeps/unix/sysv/linux/kernel-features.h
26231 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26232 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26233 include <kernel-features.h>.
26234 [!__NR_ftruncate64]: Remove conditional code.
26235 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26236 [__NR_ftruncate64]: Make code unconditional.
26237 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26238 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26239 include <kernel-features.h>.
26240 [!__NR_ftruncate64]: Remove conditional code.
26241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26242 [__NR_ftruncate64]: Make code unconditional.
26243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26245 include <kernel-features.h>.
26246 [!__NR_ftruncate64]: Remove conditional code.
26247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26248 [__NR_ftruncate64]: Make code unconditional.
26249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26251 include <kernel-features.h>.
26252 [!__NR_ftruncate64]: Remove conditional code.
26253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26254 [__NR_ftruncate64]: Make code unconditional.
26255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26256
26257 * configure.in (libc_cv_fpie): Weaken to a compile test using
26258 LIBC_TRY_CC_OPTION.
26259 * configure: Regenerated.
26260
26261 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26262
26263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26267 Refreshed.
26268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26274 Refreshed.
26275
26276 2012-05-27 David S. Miller <davem@davemloft.net>
26277
26278 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26279 (___Q_zero): New.
26280 (__Q_simulate_exceptions): Return void. Change to simulate
26281 exceptions by writing into the %fsr.
26282 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26283 (__Qp_handle_exceptions): Likewise.
26284 (numbers): Delete.
26285 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26286 __Qp_handle_exceptions.
26287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26288 __Qp_handle_exceptions.
26289 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26290 as unused and give dummy FP_RND_NEAREST initializer.
26291 (FP_INHIBIT_RESULTS): Define.
26292 (___Q_simulate_exceptions): Update declaration.
26293 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26294 formatting.
26295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26296 as unused and give dummy FP_RND_NEAREST initializer.
26297 (__Qp_handle_exceptions): Update declaration.
26298 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26299 formatting.
26300
26301 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26302
26303 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26304 the temporary FPU control word.
26305 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26306 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26307 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26308 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26309 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26310 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26311 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26312 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26313 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26314 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26315 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26316
26317 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26318
26319 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26320 fields.
26321
26322 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26323
26324 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26325 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26326 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26327 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26328 Likewise.
26329 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26330 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26331 Likewise.
26332
26333 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26334
26335 * po/h.po: Update from translation team.
26336
26337 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26338
26339 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26340
26341 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26342 handling of denormals.
26343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26344 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26350 Likewise.
26351
26352 2012-05-26 Marek Polacek <polacek@redhat.com>
26353
26354 [BZ #14152]
26355 * math/libm-test.inc (fma_test): Don't always expect underflow
26356 exception.
26357
26358 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26359
26360 [BZ #12416]
26361 * elf/tst-execstack.c: Include stackinfo.h.
26362 (do_test): Adjust test case to ensure that pthread_getattr_np
26363 behaviour remains the same after marking stack executable.
26364
26365 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26366
26367 * sysdeps/unix/sysv/linux/kernel-features.h
26368 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26369 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26370 kernel-features.h.
26371 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26372 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26373 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26374 kernel-features.h.
26375 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26376 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26377
26378 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26379
26380 * configure.in: Define the default includes to being none.
26381 * configure: Regenerated.
26382
26383 2012-05-25 Roland McGrath <roland@hack.frob.com>
26384
26385 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26386 * sysdeps/x86_64/setjmp.S: Likewise.
26387 * sysdeps/i386/bsd-setjmp.S: Likewise.
26388 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26389 * sysdeps/i386/setjmp.S: Likewise.
26390 * sysdeps/i386/__longjmp.S: Likewise.
26391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26392 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26393
26394 * include/stap-probe.h: New file.
26395 * configure.in: Handle --enable-systemtap.
26396 * configure: Regenerated.
26397 * config.h.in (USE_STAP_PROBE): New #undef.
26398 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26399 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26400 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26401
26402 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26403
26404 [BZ #13717]
26405 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26406 to 2.4.0 where earlier.
26407 * sysdeps/unix/sysv/linux/configure: Regenerated.
26408 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26409 <kernel-features.h>.
26410 [__ASSUME_32BITUIDS]: Make code unconditional.
26411 [!__ASSUME_32BITUIDS]: Remove conditional code.
26412 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26413 <kernel-features.h>.
26414 [__ASSUME_32BITUIDS]: Make code unconditional.
26415 [!__ASSUME_32BITUIDS]: Remove conditional code.
26416 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26417 [__ASSUME_32BITUIDS]: Make code unconditional.
26418 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26419 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26420 <kernel-features.h>.
26421 [__ASSUME_32BITUIDS]: Make code unconditional.
26422 [!__ASSUME_32BITUIDS]: Remove conditional code.
26423 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26424 <kernel-features.h>.
26425 [__ASSUME_32BITUIDS]: Make code unconditional.
26426 [!__ASSUME_32BITUIDS]: Remove conditional code.
26427 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26428 <kernel-features.h>.
26429 [__ASSUME_32BITUIDS]: Make code unconditional.
26430 [!__ASSUME_32BITUIDS]: Remove conditional code.
26431 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26432 <kernel-features.h>.
26433 [__ASSUME_32BITUIDS]: Make code unconditional.
26434 [!__ASSUME_32BITUIDS]: Remove conditional code.
26435 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26436 <kernel-features.h>.
26437 [__ASSUME_32BITUIDS]: Make code unconditional.
26438 [!__ASSUME_32BITUIDS]: Remove conditional code.
26439 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26440 <kernel-features.h>.
26441 [__ASSUME_32BITUIDS]: Make code unconditional.
26442 [!__ASSUME_32BITUIDS]: Remove conditional code.
26443 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26444 <kernel-features.h>.
26445 [__ASSUME_32BITUIDS]: Make code unconditional.
26446 [!__ASSUME_32BITUIDS]: Remove conditional code.
26447 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26448 <kernel-features.h>.
26449 [__ASSUME_32BITUIDS]: Make code unconditional.
26450 [!__ASSUME_32BITUIDS]: Remove conditional code.
26451 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26452 <kernel-features.h>.
26453 [__ASSUME_32BITUIDS]: Make code unconditional.
26454 [!__ASSUME_32BITUIDS]: Remove conditional code.
26455 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26456 <kernel-features.h>.
26457 [__ASSUME_32BITUIDS]: Make code unconditional.
26458 [!__ASSUME_32BITUIDS]: Remove conditional code.
26459 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26460 <kernel-features.h>.
26461 [__NR_setresgid] (__setresgid): Do not declare.
26462 [__ASSUME_32BITUIDS]: Make code unconditional.
26463 [!__ASSUME_32BITUIDS]: Remove conditional code.
26464 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26465 <kernel-features.h>.
26466 [__NR_setresuid] (__setresuid): Do not declare.
26467 [__ASSUME_32BITUIDS]: Make code unconditional.
26468 [!__ASSUME_32BITUIDS]: Remove conditional code.
26469 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26470 <kernel-features.h>.
26471 [__ASSUME_32BITUIDS]: Make code unconditional.
26472 [!__ASSUME_32BITUIDS]: Remove conditional code.
26473 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26474 <kernel-features.h>.
26475 [__ASSUME_32BITUIDS]: Make code unconditional.
26476 [!__ASSUME_32BITUIDS]: Remove conditional code.
26477 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26478 <kernel-features.h>.
26479 [__ASSUME_32BITUIDS]: Make code unconditional.
26480 [!__ASSUME_32BITUIDS]: Remove conditional code.
26481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26482 <kernel-features.h>.
26483 [__ASSUME_32BITUIDS]: Make code unconditional.
26484 [!__ASSUME_32BITUIDS]: Remove conditional code.
26485 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26486 <kernel-features.h>.
26487 [__ASSUME_32BITUIDS]: Make code unconditional.
26488 [!__ASSUME_32BITUIDS]: Remove conditional code.
26489 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26490 <kernel-features.h>.
26491 [__ASSUME_32BITUIDS]: Make code unconditional.
26492 [!__ASSUME_32BITUIDS]: Remove conditional code.
26493 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26494 <kernel-features.h>.
26495 [__ASSUME_32BITUIDS]: Make code unconditional.
26496 [!__ASSUME_32BITUIDS]: Remove conditional code.
26497 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26498 <kernel-features.h>.
26499 [__ASSUME_32BITUIDS]: Make code unconditional.
26500 [!__ASSUME_32BITUIDS]: Remove conditional code.
26501 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26502 <kernel-features.h>.
26503 [__ASSUME_32BITUIDS]: Make code unconditional.
26504 [!__ASSUME_32BITUIDS]: Remove conditional code.
26505 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26506 <kernel-features.h>.
26507 [__ASSUME_32BITUIDS]: Make code unconditional.
26508 [!__ASSUME_32BITUIDS]: Remove conditional code.
26509 * sysdeps/unix/sysv/linux/kernel-features.h
26510 (__ASSUME_SETRESUID_SYSCALL): Remove.
26511 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26512 (__ASSUME_32BITUIDS): Likewise.
26513 (__ASSUME_LDT_WORKS): Likewise.
26514 (__ASSUME_O_DIRECTORY): Likewise.
26515 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26516 architecture but not kernel version.
26517 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26518 (__ASSUME_MMAP2_SYSCALL): Likewise.
26519 (__ASSUME_STAT64_SYSCALL): Likewise.
26520 (__ASSUME_IPC64): Likewise.
26521 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26522 <kernel-features.h>.
26523 [__ASSUME_32BITUIDS]: Make code unconditional.
26524 [!__ASSUME_32BITUIDS]: Remove conditional code.
26525 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26526 <kernel-features.h>.
26527 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26528 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26529 132096]: Remove conditional code.
26530 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26531 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26532 <kernel-features.h>.
26533 [__ASSUME_32BITUIDS]: Make code unconditional.
26534 [!__ASSUME_32BITUIDS]: Remove conditional code.
26535 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26536 <kernel-features.h>.
26537 [__ASSUME_32BITUIDS]: Make code unconditional.
26538 [!__ASSUME_32BITUIDS]: Remove conditional code.
26539 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26540 <kernel-features.h>.
26541 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26542 unconditional.
26543 (__setresgid): Do not declare.
26544 [__ASSUME_32BITUIDS]: Make code unconditional.
26545 [!__ASSUME_32BITUIDS]: Remove conditional code.
26546 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26547 <kernel-features.h>.
26548 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26549 unconditional.
26550 (__setresuid): Do not declare.
26551 [__ASSUME_32BITUIDS]: Make code unconditional.
26552 [!__ASSUME_32BITUIDS]: Remove conditional code.
26553 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26554 <kernel-features.h>.
26555 [__ASSUME_32BITUIDS]: Make code unconditional.
26556 [!__ASSUME_32BITUIDS]: Remove conditional code.
26557 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26558 <kernel-features.h>.
26559 [__ASSUME_32BITUIDS]: Make code unconditional.
26560 [!__ASSUME_32BITUIDS]: Remove conditional code.
26561
26562 2012-05-25 Richard Henderson <rth@twiddle.net>
26563
26564 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26565 dl_hwcap to ifunc resolver.
26566 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26567 elf_ifunc_invoke.
26568 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26569 dl_hwcap to ifunc resolver.
26570 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26571
26572 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26573
26574 [BZ #14153]
26575 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26576 for |x| <= 2**-26, not 2**-57.
26577 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26578 exception.
26579
26580 2012-05-24 Jeff Law <law@redhat.com>
26581
26582 * stdio-common/Makefile (tests): Add bug25.
26583 * stdio-common/bug25.c: New test.
26584
26585 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26586
26587 [BZ #13576]
26588 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26589 multiple of MALLOC_ALIGNMENT in size.
26590 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26591
26592 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26593
26594 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26595 Require >= 256.
26596 (FILENAME_MAX): Use macro-int-constant.
26597 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26598 (_IOFBF): Use macro-int-constant.
26599 (_IOLBF): Likewise.
26600 (_IONBF): Likewise.
26601 (SEEK_CUR): Likewise.
26602 (SEEK_END): Likewise.
26603 (SEEK_SET): Likewise.
26604 (TMP_MAX): Likewise.
26605 (EOF): Use macro-int-constant. Require < 0.
26606 (NULL): Use macro-constant. Require == 0.
26607 (stdin): Require type to be FILE *.
26608 (stdout): Likewise.
26609 (stderr): Likewise.
26610 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26611 macro-int-constant.
26612 (EXIT_SUCCESS): Likewise.
26613 (NULL): Use macro-constant. Require == 0.
26614 (RAND_MAX): Use macro-int-constant.
26615 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26616 [C99-based standards] (strtof): Require function.
26617 [C99-based standards] (strtold): Likewise.
26618 [C99-based standards] (strtoll): Likewise.
26619 [C99-based standards] (strtoull): Likewise.
26620 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26621 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26622 [ISO || ISO99 || ISO11] (math.h): Likewise.
26623 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26624 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26626
26627 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26628
26629 [BZ #14132]
26630 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26631 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26632 * intl/dgettext.c (DCGETTEXT): Likewise.
26633 * intl/gettext.c (DCGETTEXT): Likewise.
26634 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26635 * posix/regex_internal.h (gettext): Likewise.
26636 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26637 Remove declaration.
26638 * include/argz.h (__argz_count_internal)
26639 (__argz_stringify_internal): Remove declaration.
26640 (__argz_count, __argz_stringify): Declare hidden proto.
26641 * intl/dcgettext.c: Remove use of INTDEF.
26642 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26643 * string/argz-stringify.c: Likewise.
26644 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26645 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26646 Declare hidden proto.
26647 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26648 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26649 Declare hidden proto.
26650 * include/stdio.h (__asprintf_internal): Don't declare.
26651 (__asprintf): Don't define as macro. Declare hidden proto.
26652 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26653 (__fsetlocking): Declare hidden proto.
26654 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26655 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26656 hidden proto.
26657 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26658 (_IO_setlinebuf): Remove use of INTUSE.
26659 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26660 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26661 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26662 Remove declaration.
26663 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26664 (_IO_do_flush): Remove use of INTUSE.
26665 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26666 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26667 (_IO_adjust_column, _IO_least_wmarker)
26668 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26669 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26670 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26671 (_IO_default_doallocate, _IO_wdefault_doallocate)
26672 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26673 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26674 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26675 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26676 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26677 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26678 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26679 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26680 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26681 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26682 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26683 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26684 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26685 proto.
26686 (_IO_flush_all_internal, _IO_adjust_column_internal)
26687 (_IO_default_uflow_internal, _IO_default_finish_internal)
26688 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26689 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26690 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26691 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26692 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26693 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26694 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26695 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26696 (_IO_file_close_internal, _IO_file_close_it_internal)
26697 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26698 (_IO_file_init_internal, _IO_file_attach_internal)
26699 (_IO_file_fopen_internal, _IO_file_read_internal)
26700 (_IO_file_sync_internal, _IO_file_seek_internal)
26701 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26702 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26703 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26704 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26705 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26706 (_IO_list_all_internal, _IO_link_in_internal)
26707 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26708 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26709 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26710 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26711 (_IO_do_write_internal, _IO_padn_internal)
26712 (_IO_getline_info_internal, _IO_getline_internal)
26713 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26714 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26715 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26716 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26717 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26718 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26719 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26720 with libc_hidden_ver, remove use of INTUSE.
26721 * libio/genops.c: Likewise.
26722 * libio/freopen.c: Likewise.
26723 * libio/freopen64.c: Likewise.
26724 * libio/iofclose.c: Likewise.
26725 * libio/iofdopen.c: Likewise.
26726 * libio/iofflush.c: Likewise.
26727 * libio/iofflush_u.c: Likewise.
26728 * libio/iofgets.c: Likewise.
26729 * libio/iofgets_u.c: Likewise.
26730 * libio/iofopen.c: Likewise.
26731 * libio/iofopncook.c: Likewise.
26732 * libio/iofread.c: Likewise.
26733 * libio/iofread_u.c: Likewise.
26734 * libio/ioftell.c: Likewise.
26735 * libio/iofwrite.c: Likewise.
26736 * libio/iogetline.c: Likewise.
26737 * libio/iogets.c: Likewise.
26738 * libio/iogetwline.c: Likewise.
26739 * libio/iopadn.c: Likewise.
26740 * libio/iopopen.c: Likewise.
26741 * libio/ioseekoff.c: Likewise.
26742 * libio/ioseekpos.c: Likewise.
26743 * libio/iosetbuffer.c: Likewise.
26744 * libio/iosetvbuf.c: Likewise.
26745 * libio/ioungetc.c: Likewise.
26746 * libio/ioungetwc.c: Likewise.
26747 * libio/iovdprintf.c: Likewise.
26748 * libio/iovsprintf.c: Likewise.
26749 * libio/iovsscanf.c: Likewise.
26750 * libio/memstream.c: Likewise.
26751 * libio/obprintf.c: Likewise.
26752 * libio/oldfileops.c: Likewise.
26753 * libio/oldiofclose.c: Likewise.
26754 * libio/oldiofdopen.c: Likewise.
26755 * libio/oldiofopen.c: Likewise.
26756 * libio/oldiopopen.c: Likewise.
26757 * libio/oldstdfiles.c: Likewise.
26758 * libio/putc.c: Likewise.
26759 * libio/setbuf.c: Likewise.
26760 * libio/setlinebuf.c: Likewise.
26761 * libio/stdfiles.c: Likewise.
26762 * libio/strops.c: Likewise.
26763 * libio/vasprintf.c: Likewise.
26764 * libio/vscanf.c: Likewise.
26765 * libio/vsnprintf.c: Likewise.
26766 * libio/vswprintf.c: Likewise.
26767 * libio/wfiledoalloc.c: Likewise.
26768 * libio/wfileops.c: Likewise.
26769 * libio/wgenops.c: Likewise.
26770 * libio/wmemstream.c: Likewise.
26771 * libio/wstrops.c: Likewise.
26772 * libio/__fpurge.c: Likewise.
26773 * libio/__fsetlocking.c: Likewise.
26774 * assert/assert.c: Likewise.
26775 * debug/fgets_chk.c: Likewise.
26776 * debug/fgets_u_chk.c: Likewise.
26777 * debug/fread_chk.c: Likewise.
26778 * debug/fread_u_chk.c: Likewise.
26779 * debug/gets_chk.c: Likewise.
26780 * debug/obprintf_chk.c: Likewise.
26781 * debug/vasprintf_chk.c: Likewise.
26782 * debug/vdprintf_chk.c: Likewise.
26783 * debug/vsnprintf_chk.c: Likewise.
26784 * debug/vsprintf_chk.c: Likewise.
26785 * malloc/mtrace.c: Likewise.
26786 * misc/error.c: Likewise.
26787 * misc/syslog.c: Likewise.
26788 * stdio-common/asprintf.c: Likewise.
26789 * stdio-common/fxprintf.c: Likewise.
26790 * stdio-common/getw.c: Likewise.
26791 * stdio-common/isoc99_fscanf.c: Likewise.
26792 * stdio-common/isoc99_scanf.c: Likewise.
26793 * stdio-common/isoc99_vfscanf.c: Likewise.
26794 * stdio-common/isoc99_vscanf.c: Likewise.
26795 * stdio-common/isoc99_vsscanf.c: Likewise.
26796 * stdio-common/printf-prs.c: Likewise.
26797 * stdio-common/printf_fp.c: Likewise.
26798 * stdio-common/printf_fphex.c: Likewise.
26799 * stdio-common/printf_size.c: Likewise.
26800 * stdio-common/putw.c: Likewise.
26801 * stdio-common/scanf.c: Likewise.
26802 * stdio-common/sprintf.c: Likewise.
26803 * stdio-common/tmpfile.c: Likewise.
26804 * stdio-common/vfprintf.c: Likewise.
26805 * stdio-common/vfscanf.c: Likewise.
26806 * stdlib/strfmon_l.c: Likewise.
26807 * sunrpc/openchild.c: Likewise.
26808 * sunrpc/xdr_stdio.c: Likewise.
26809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26810 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26811
26812 2012-05-24 Roland McGrath <roland@hack.frob.com>
26813
26814 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26815
26816 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26817 in the third column, to generate for the shared library an IFUNC
26818 that uses _dl_vdso_vsym.
26819 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26820 * Makeconfig (object-suffixes-noshared): New variable.
26821
26822 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26823 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26824 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26825 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26826
26827 [BZ #14132]
26828 * include/sys/time.h (__gettimeofday): Remove macro.
26829 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26830 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26831 Remove INTDEF.
26832 (__gettimeofday): Add libc_hidden_def.
26833 (gettimeofday): Add libc_hidden_weak.
26834 * sysdeps/mach/gettimeofday.c: Likewise.
26835 * sysdeps/posix/gettimeofday.c: Likewise.
26836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26837 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26839 (__gettimeofday_internal): Remove strong_alias.
26840 (__gettimeofday): Add libc_hidden_def.
26841 (gettimeofday): Add libc_hidden_weak.
26842 * sysdeps/unix/syscalls.list (gettimeofday):
26843 Remove __gettimeofday_internal alias.
26844
26845 2012-05-24 Daniel Jacobowitz <drow@false.org>
26846 H.J. Lu <hongjiu.lu@intel.com>
26847
26848 [BZ #12495]
26849 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26850 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26851 (largebin_index_32_big): New.
26852 (largebin_index): Use it for 16-byte alignment.
26853 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26854 correction with front_misalign.
26855
26856 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26860 Likewise.
26861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26862 Likewise.
26863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26864 Likewise.
26865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26866 Likewise.
26867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26868 Likewise.
26869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26870 Likewise.
26871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26872 Likewise.
26873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26874 Likewise.
26875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26876 Likewise.
26877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26878 Likewise.
26879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26880 Likewise.
26881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26882 Likewise.
26883
26884 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26885 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26886
26887 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26888
26889 [BZ #10846]
26890 [BZ #14036]
26891 * math/libm-test.inc (exp_test): Add test from bug 14036.
26892 (pow_test): Add test from bug 10846.
26893
26894 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26895 and other flags.
26896 (special_function): Do not include flags in test name.
26897 (parse_args): Likewise.
26898 * sysdeps/i386/fpu/libm-test-ulps: Update.
26899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26900 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26901 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26903
26904 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26905 exceptions.
26906 * math/libm-test.inc ("Philosophy"): Update comment about
26907 exception testing.
26908 (UNDERFLOW_EXCEPTION): New macro.
26909 (UNDERFLOW_EXCEPTION_OK): Likewise.
26910 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26911 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26912 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26913 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26914 (INVALID_EXCEPTION_OK): Update value.
26915 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26916 (OVERFLOW_EXCEPTION_OK): Likewise.
26917 (IGNORE_ZERO_INF_SIGN): Likewise.
26918 (test_exceptions): Handle underflow exceptions.
26919 (acos_test): Update for underflow exception expectations.
26920 (cexp_test): Likewise.
26921 (clog_test): Likewise.
26922 (clog10_test): Likewise.
26923 (csqrt_test): Likewise.
26924 (ctan_test): Likewise.
26925 (ctanh_test): Likewise.
26926 (exp_test): Likewise.
26927 (exp10_test): Likewise.
26928 (exp2_test): Likewise.
26929 (expm1_test): Likewise.
26930 (fma_test): Likewise.
26931 (j0_test): Likewise.
26932 (jn_test): Likewise.
26933 (nexttoward_test): Likewise.
26934 (pow_test): Likewise.
26935 (scalbn_test): Likewise.
26936 (scalbln_test): Likewise.
26937 (tan_test): Likewise.
26938 (y1_test): Likewise.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26941
26942 2012-05-23 David S. Miller <davem@davemloft.net>
26943
26944 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26945 (__libc_sigaction): Remove unused local variables.
26946
26947 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26948
26949 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26950
26951 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26952
26953 mktime: avoid signed integer overflow
26954 * time/mktime.c (__mktime_internal): Do not mishandle the case
26955 where diff == INT_MIN.
26956
26957 mktime: simplify computation of average
26958 * time/mktime.c (ranged_convert): Use new time_t_avg function
26959 instead of rolling our own (probably-slower) code.
26960
26961 mktime: do not assume signed right shift propagates sign bit
26962 * time/mktime.c (isdst_differ): New static function.
26963 (__mktime_internal): No need to normalize tm_isdst now.
26964 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26965 tm_isdst values.
26966
26967 mktime: merge another wrapv change from gnulib
26968 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26969 from some compilers.
26970
26971 mktime: remove incorrect attempt at unusual arithmetics
26972 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26973 The code didn't really work on such machines anyway.
26974 (TYPE_MINIMUM): Assume two's complement.
26975 (twos_complement_arithmetic): Verify that long_int and time_t
26976 are two's complement (or unsigned, in the latter case).
26977
26978 mktime: check signed shifts on long_int and time_t, too
26979 * time/mktime.c (SHR): Check that shifts work as desired
26980 on the types long_int and time_t too, as SHR is used on
26981 such types.
26982
26983 mktime: do not assume 'long' is wide enough
26984 * time/mktime.c (verify): Move decl up.
26985 (long_int): New type.
26986 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26987 to remove assumption in the code that 'long' is wide enough to
26988 store year values. This assumption is not true on x32 and on
26989 some non-glibc platforms.
26990
26991 mktime: merge wrapv change from gnulib
26992 * time/mktime.c (WRAPV): New macro.
26993 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26994 (guess_time_tm, __mktime_internal): Do not assume that signed
26995 integer overflow wraps around; modern compilers generate code
26996 where this assumption is no longer valid.
26997
26998 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26999
27000 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27001 Replace "jmp L(pseudo_end)" with "ret".
27002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27003 Likewise.
27004
27005 2012-05-23 Andreas Jaeger <aj@suse.de>
27006
27007 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27008 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27009
27010 2012-05-23 Andreas Jaeger <aj@suse.de>
27011 Maximilian Attems <max@stro.at>
27012
27013 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27014 New macros.
27015
27016 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27017
27018 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27019 code so that pseudo_end is just ret and the stack pointer is
27020 correct also for static library in error case.
27021
27022 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27023
27024 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27025 move to syscalls.list.
27026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27030
27031 * manual/install.texi (Running make install): Do not mention Linux
27032 kernel version for which pt_chown is not needed.
27033 (Linux): Do not mention problems with nscd with 2.0 kernels.
27034 * INSTALL: Regenerated.
27035
27036 2012-05-23 Andreas Jaeger <aj@suse.de>
27037
27038 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27039 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27040 macro.
27041 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27042 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27043 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27044 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27045 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27046 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27049 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27051 * sysdeps/unix/sysv/linux/bits/in.h
27052 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27053
27054 2012-05-22 Roland McGrath <roland@hack.frob.com>
27055
27056 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27057 (PREPARE_VERSION): Just use assert instead, it will be elided
27058 under [NDEBUG] anyway.
27059
27060 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27061
27062 * sysdeps/unix/sysv/linux/Makefile: Include
27063 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27064 (sysdep_routines): Remove sysctl.
27065 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27066 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27068 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27069 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27070
27071 2012-05-22 Andreas Jaeger <aj@suse.de>
27072
27073 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27074 that pseudo_end is just ret and the stack pointer is correct also
27075 for static library in error case.
27076
27077 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27078
27079 [BZ #14122]
27080 * nss/nsswitch.c (defconfig_entries): New variable.
27081 (__nss_database_lookup): Don't leak defconfig entries.
27082 (nss_parse_service_list): Don't leak on error paths.
27083 (free_database_entries): New function.
27084 (free_defconfig): New function.
27085 (free_mem): Move common code to free_database_entries.
27086
27087 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27088
27089 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27090 Add arch_prctl.
27091 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27092
27093 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27094 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27096 New macro.
27097 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27098 (INTERNAL_SYSCALL_TYPES): Likewise.
27099 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27100 (LOAD_REGS_TYPES_[1-6]): Likewise.
27101 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27102 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27103
27104 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27105
27106 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27107 copysignl for GLIBC_2_0.
27108 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27109 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27111 logbl for GLIBC_2_0.
27112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27113 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27114
27115 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27119
27120 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27121 Use "neg %eax".
27122
27123 * time/mktime.c: Update copyright years.
27124
27125 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27126
27127 mktime: merge comment-quoting-style change from gnulib
27128 * time/mktime.c: Quote 'like this' in comments.
27129 The GNU coding standards suggest that we no longer quote `like this',
27130 as "`" and "'" are typically rendered asymmetrically nowadays.
27131 The typical gnulib style is to quote 'like this' when quoting
27132 code, and "like this" when quoting English.
27133
27134 * time/mktime.c (compile-command): Add "-I.".
27135
27136 mktime: merge mktime-internal.h change from gnulib
27137 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27138
27139 mktime: merge time_r change from gnulib
27140 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27141
27142 mktime: merge DEBUG change from gnulib
27143 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27144 case system <time.h> has a #define.
27145
27146 mktime: merge <sys/types.h> change from gnulib
27147 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27148 since <time.t> is now guaranteed to define time_t.
27149
27150 mktime: merge HAVE_CONFIG_H change from gnulib
27151 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27152
27153 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27154
27155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27156 Use "neg %eax".
27157
27158 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27159 __rlim_t cast.
27160 (struct rusage): Use anonymous union to pad each field to
27161 __syscall_slong_t.
27162
27163 2012-05-21 David S. Miller <davem@davemloft.net>
27164
27165 * Makefules (o-iterator): Remove .s cases.
27166 (compile-command.s): Delete.
27167 (COMPILE.s): Delete.
27168 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27169
27170 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27171
27172 * configure.in (libc_cv_predef_stack_protector): Only consider
27173 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27174 * configure: Regenerated.
27175
27176 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27179 New macro. Use R*LP on int and pointer.
27180 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27181 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27182 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27183 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27184
27185 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27186 [__WORDSIZE_TIME64_COMPAT32] instead of
27187 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27188 (struct utmp): Likewise.
27189 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27190 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27191 Renamed to ...
27192 (__WORDSIZE_TIME64_COMPAT32): This.
27193 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27194 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27195 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27196 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27197 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27198 (__WORDSIZE_TIME64_COMPAT32): New macro.
27199
27200 2012-05-21 Andreas Jaeger <aj@suse.de>
27201
27202 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27203 only if [SHARED]. Add prototype for __wcschr_ia32.
27204
27205 2012-05-21 Roland McGrath <roland@hack.frob.com>
27206
27207 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27208 of %rbp unmolested in the jmp_buf while mangling the low bits.
27209 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27210 unmolested high bits of %rbp while demangling the low bits.
27211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27212
27213 2012-05-21 Andreas Jaeger <aj@suse.de>
27214
27215 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27216 * sunrpc/svc_simple.c: Use it for registerrpc.
27217 * sunrpc/xcrypt.c: Use it for passwd2des.
27218
27219 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27220
27221 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27222
27223 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27224 Don't define if [__SYSCALL_WORDSIZE != 32].
27225 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27226 New macro.
27227
27228 2012-05-21 Bruno Haible <bruno@clisp.org>
27229 Andreas Jaeger <aj@suse.de>
27230
27231 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27232 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27233 inptr and inend for must_buffer_ch.
27234 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27235 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27236 * stdio-common/Makefile (tests): Remove bug15.
27237 (bug15-ENV): Remove macro.
27238 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27239 anymore.
27240
27241 2012-05-19 Andreas Jaeger <aj@suse.de>
27242 Roland McGrath <roland@hack.frob.com>
27243
27244 * manual/contrib.texi: Completely rewritten. It contains now an
27245 alphabetical list of contributors and their contributions.
27246
27247 2012-05-21 Richard Henderson <rth@twiddle.net>
27248
27249 * misc/getauxval.c (__getauxval): Use unsigned long int.
27250 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27251 (getauxval): Use unsigned long int.
27252
27253 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27254
27255 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27256
27257 2012-05-21 Roland McGrath <roland@hack.frob.com>
27258
27259 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27260 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27261 __alignof__ (long double).
27262
27263 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27264
27265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27266
27267 2012-05-20 Richard Henderson <rth@twiddle.net>
27268
27269 * misc/getauxval.c: New file.
27270 * misc/sys/auxv.h: New file.
27271 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27272 (routines): Add getauxval.
27273 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27274 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27275 * elf/dl-sysdep.c (_dl_auxv): Remove.
27276 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27277 * elf/dl-support.c (_dl_auxv): New variable.
27278 (_dl_aux_init): Initialize it.
27279 * manual/startup.texi (Auxiliary Vector): New node.
27280 * sysdeps/generic/bits/hwcap.h: New file.
27281 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27282 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27283 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27284 * sysdeps/sparc/sysdep.h: ... here. Include it.
27285 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27288 Update.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27292 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27297
27298 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27299
27300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27301
27302 2012-05-19 David S. Miller <davem@davemloft.net>
27303
27304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27305
27306 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27307
27308 [BZ #14123]
27309 * math/s_ccosh.c: Include <float.h>
27310 (__ccosh): Avoid internal overflow calculating sinh and cosh
27311 values before multiplying by sin and cos values.
27312 * math/s_ccoshf.c: Likewise.
27313 * math/s_ccoshl.c: Likewise.
27314 * math/s_csin.c: Likewise.
27315 * math/s_csinf.c: Likewise.
27316 * math/s_csinl.c: Likewise.
27317 * math/s_csinh.c: Likewise.
27318 * math/s_csinhf.c: Likewise.
27319 * math/s_csinhl.c: Likewise.
27320 * math/libm-test.inc (ccos_test): Add more tests.
27321 (ccosh_test): Likewise.
27322 (csin_test): Likewise.
27323 (csinh_test): Likewise.
27324 * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27326
27327 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27328
27329 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27330 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27331
27332 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27333
27334 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27335
27336 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27337 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27338 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27339 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27340 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27341 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27342 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27343 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27344 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27345 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27346 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27347 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27348 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27349 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27350 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27351 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27352 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27353 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27354 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27355 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27356 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27357 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27358 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27359 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27360 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27361 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27362 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27363 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27364 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27365 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27366 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27367
27368 2012-05-18 Andreas Jaeger <aj@suse.de>
27369
27370 * csu/.gitignore: Delete.
27371
27372 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27375 (timex): Use __syscall_slong_t.
27376
27377 2012-05-18 Andreas Jaeger <aj@suse.de>
27378 Carlos O'Donell <carlos_odonell@mentor.com>
27379
27380 * manual/install.texi (Configuring and compiling): Update
27381 description about files modified in the source directory.
27382 * INSTALL: Regenerated.
27383
27384 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27385
27386 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27387 value. Use "or" to set return value to -1.
27388 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27389 negate return value.
27390
27391 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27392
27393 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27394 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27395 failure if the compiler has Graphite support disabled.
27396 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27397 Likewise.
27398 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27399 CFLAGS-memmove.c): Likewise.
27400 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27401 Likewise.
27402
27403 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27404
27405 * sysdeps/x86_64/x32/_itoa.h: New file.
27406
27407 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27408 getdents system call only if kernel and user dirents have the
27409 same d_ino and d_off.
27410
27411 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27412 LLONG_MAX != LONG_MAX.
27413 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27414 (_fitoa_word): Likewise.
27415
27416 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27417 years.
27418 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27420 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27421
27422 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27423 include <bits/wordsize.h>. Check __x86_64__ instead of
27424 __WORDSIZE.
27425 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27426 if __x86_64__ is defined. Use anonymous union on fpstate.
27427
27428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27429 anonymous union.
27430
27431 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27432
27433 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27434 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27436 Refer to _rtld_local_ro instead of _rtld_global_ro.
27437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27438 Likewise.
27439 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27440 Likewise.
27441 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27442 Likewise.
27443 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27444 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27445 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27446
27447 * sysdeps/powerpc/powerpc32/dl-machine.c
27448 (__elf_machine_runtime_setup) [PROF]: Don't reference
27449 _dl_prof_resolve.
27450
27451 2012-05-18 Andreas Jaeger <aj@suse.de>
27452
27453 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27454 function only available for GCCs before 3.4 since GCC 3.4
27455 introduced a builtin.
27456 (lrint): Likewise.
27457 (llrintf): Likewise.
27458 (llrint): Likewise.
27459 (fmaxf): Likewise.
27460 (fmax): Likewise.
27461 (fminf): Likewise.
27462 (fmin): Likewise.
27463 (rint): Likewise.
27464 (rintf): Likewise.
27465 (nearbyint): Likewise.
27466 (nearbyintf): Likewise.
27467 (ceil): Likewise.
27468 (ceilf): Likewise.
27469 (floor): Likewise.
27470 (floorf): Likewise.
27471
27472 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27473
27474 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27475 on both fields and cast pointer to __syscall_ulong_t.
27476
27477 * bits/types.h (__fsword_t): New type.
27478 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27479 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27481 (__FSWORD_T_TYPE): Likewise.
27482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27483 (__FSWORD_T_TYPE): Likewise.
27484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27485 (__FSWORD_T_TYPE): Likewise.
27486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27487 (__FSWORD_T_TYPE): Likewise.
27488 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27489 __SWORD_TYPE with __fsword_t.
27490 (statfs64): Likewise.
27491
27492 2012-05-17 David S. Miller <davem@davemloft.net>
27493
27494 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27495
27496 2012-05-17 Andreas Jaeger <aj@suse.de>
27497
27498 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27499 warning.
27500
27501 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27502
27503 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27504
27505 2012-05-17 Andreas Jaeger <aj@suse.de>
27506
27507 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27508 when it is used.
27509
27510 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27511
27512 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27513
27514 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27515
27516 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27517 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27518
27519 2012-05-17 Andreas Jaeger <aj@suse.de>
27520 Carlos O'Donell <carlos_odonell@mentor.com>
27521
27522 [BZ #14059]
27523 * sysdeps/x86_64/multiarch/init-arch.h
27524 (bit_YMM_Usable): Rename to...
27525 (bit_AVX_Usable): ... this.
27526 (bit_FMA4_Usable): New macro.
27527 (bit_XMM_state): New macro.
27528 (bit_YMM_state): New macro.
27529 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27530 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27531 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27532 (CPUID_OSXSAVE): New macro.
27533 (CPUID_AVX): New macro.
27534 (CPUID_FMA4): New macro.
27535 (index_YMM_Usable): Rename to...
27536 (index_AVX_Usable): ... this.
27537 (HAS_AVX): Use HAS_ARCH_FEATURE.
27538 (HAS_FMA4): Likewise.
27539 (HAS_YMM_USABLE): Remove.
27540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27541 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27542 are present.
27543 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27544 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27545 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27546 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27547 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27548
27549 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27550
27551 * math/libm-test.c: Support platforms without multiple rounding modes.
27552 * math/bug-nextafter.c: Support platforms without FP exceptions.
27553 * math/bug-nexttoward.c: Likewise.
27554 * math/test-fenv.c: Likewise.
27555 * math/test-misc.c: Likewise.
27556 * stdlib/bug-getcontext.c: Likewise.
27557
27558 2012-05-17 Andreas Jaeger <aj@suse.de>
27559
27560 * manual/examples/search.c (critter_cmp): Change signature to
27561 avoid warnings.
27562 * manual/string.texi (Collation Functions): Likewise.
27563
27564 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27565
27566 * bits/types.h: Fold copyright years.
27567 * bits/typesizes.h: Likewise.
27568 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27572 * time/time.h: Likewise.
27573
27574 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27575
27576 [BZ #208]
27577 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27578 in instead of returning them. Return void.
27579 (__libc_mallinfo): Accumulate over all arenas.
27580 (__malloc_stats): Adjust for change in int_mallinfo interface.
27581
27582 2012-05-16 Roland McGrath <roland@hack.frob.com>
27583
27584 [BZ #10375]
27585 * configure.in (NM): Add AC_CHECK_TOOL for it.
27586 (libc_extra_cflags): New substituted variable.
27587 Check for -fstack-protector being used implicitly.
27588 * configure: Regenerated.
27589 * config.make.in (config-extra-cflags): New variable,
27590 gets @libc_extra_cflags@.
27591 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27592
27593 [BZ #10375]
27594 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27595 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27596 * configure: Regenerated.
27597 * config.make.in (CPPUNDEFS): New substituted variable.
27598 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27599 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27600 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27601
27602 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27603
27604 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27605 (mq_attr): Use __syscall_slong_t.
27606
27607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27608
27609 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27610 Check __x86_64__ instead of __WORDSIZE.
27611 (_STAT_VER_LINUX): Likewise.
27612 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27613 __syscall_ulong_t and __syscall_slong_t.
27614 (stat64): Likewise.
27615
27616 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27617
27618 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27619
27620 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27623
27624 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27625
27626 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27627 __syscall_ulong_t.
27628
27629 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27630 include <bits/wordsize.h>. Check __x86_64__ instead of
27631 __WORDSIZE.
27632 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27633 defined.
27634 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27635
27636 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27637 include <bits/wordsize.h>. Check __x86_64__ instead of
27638 __WORDSIZE.
27639 (user_regs_struct): Use "__extension__ unsigned long long"
27640 instead of "unsigned long" if __x86_64__ is defined.
27641 (user): Likewise. Pad after pointer field if __ILP32__ is
27642 defined.
27643
27644 2012-05-16 Joseph Myers <joseph@codesourcery.com>
27645
27646 * configure.in (makeinfo): Require version 4.5 or later. Allow
27647 versions 5 to 9.
27648 * configure: Regenerated.
27649 * manual/install.texi (texinfo): Increase version requirement to
27650 4.5 or later.
27651 * INSTALL: Regenerated.
27652
27653 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27654
27655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27658
27659 * sysdeps/x86_64/x32/ffs.c: New file.
27660
27661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27662 __syscall_ulong_t.
27663 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27664 defined. Use __syscall_ulong_t.
27665 (shminfo): Use __syscall_ulong_t.
27666 (shm_info): Likewise.
27667
27668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27669 __syscall_ulong_t.
27670
27671 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27672 <bits/wordsize.h>.
27673 (msgqnum_t): Use __syscall_ulong_t.
27674 (msglen_t): Likewise.
27675 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27676 __syscall_ulong_t.
27677
27678 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27679 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27680
27681 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27682
27683 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27684 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27685
27686 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27687 __syscall_slong_t.
27688
27689 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27690 include <bits/wordsize.h>. Check __x86_64__ instead of
27691 __WORDSIZE.
27692
27693 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27694 "unsigned long long int" if __x86_64__ is defined.
27695 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27696
27697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27699 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27700
27701 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27702 <stdint.h>.
27703 (GET_PC): Cast to uintptr_t first.
27704 (GET_FRAME): Likewise.
27705 (GET_STACK): Likewise.
27706
27707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27708 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27710 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27712 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27713 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27714 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27715 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27718 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27723 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27724 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27725 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27727 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27728 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27729 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27730 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27731 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27733 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27736
27737 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27738
27739 * Makerules (+depfiles): Also collect depfiles from .oS in
27740 $(extra-objs).
27741 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27742 .oS, $(libnldbl-routines)).
27743
27744 * Makerules (native-compile-mkdep-flags): Define.
27745 * sunrpc/Makefile (extra-objs): Add $(addprefix
27746 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27747 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27748 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27749 calling $(make-target-directory).
27750
27751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27752
27753 * bits/types.h (__snseconds_t): Removed.
27754 * time/time.h (struct timespec): Replace __snseconds_t with
27755 __syscall_slong_t.
27756 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27757 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27758 Likewise.
27759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27760 (__SNSECONDS_T_TYPE): Likewise.
27761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27762 (__SNSECONDS_T_TYPE): Likewise.
27763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27764 (__SNSECONDS_T_TYPE): Likewise.
27765
27766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27767
27768 * sysdeps/mach/hurd/bits/typesizes.h
27769 (__SYSCALL_SLONG_TYPE): New macro.
27770 (__SYSCALL_ULONG_TYPE): Likewise.
27771
27772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27773
27774 * bits/types.h (__syscall_slong_t): New type.
27775 (__syscall_ulong_t): Likewise.
27776
27777 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27778 (__SYSCALL_ULONG_TYPE): Likewise.
27779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27780 (__SYSCALL_SLONG_TYPE): Likewise.
27781 (__SYSCALL_ULONG_TYPE): Likewise.
27782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27783 (__SYSCALL_SLONG_TYPE): Likewise.
27784 (__SYSCALL_ULONG_TYPE): Likewise.
27785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27786 (__SYSCALL_SLONG_TYPE): Likewise.
27787 (__SYSCALL_ULONG_TYPE): Likewise.
27788
27789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27790
27791 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27792 Add sigaltstack-offsets.sym.
27793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27794 <sigaltstack-offsets.h>.
27795 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27796 longjmp_msg pointer.
27797 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27798 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27799 signal stack.
27800 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27801
27802 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27803
27804 * elf/stackguard-macros.h: Remove file.
27805 * sysdeps/generic/stackguard-macros.h: New file.
27806 * sysdeps/i386/stackguard-macros.h: Likewise.
27807 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27808 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27809 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27810 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27811 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27812 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27813 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27814 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27815 <elf/stackguard-macros.h>.
27816
27817 [BZ #14109]
27818 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27819 __aligned__ in attribute.
27820 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27821 (gregset_t): Likewise.
27822
27823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27824
27825 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27826 * sysdeps/x86_64/64/Implies-after: Here. New file.
27827 * sysdeps/x86_64/x32/Implies-after: New file.
27828
27829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27830
27831 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27832 and access return value for _dl_profile_fixup. Use R10_LP to
27833 load frame size.
27834
27835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27836
27837 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27838
27839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27840
27841 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27842 * sysdeps/x86_64/x32/sysdep.h: New file.
27843
27844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27845
27846 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27847 * sysdeps/x86_64/setjmp.S: Likewise.
27848
27849 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27850
27851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27852 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27853 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27854 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27855 remove unused global constant.
27856
27857 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27858
27859 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27860 include of <not-cancel.h>.
27861
27862 2012-05-15 Roland McGrath <roland@hack.frob.com>
27863
27864 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27865
27866 2012-05-15 Jeff Law <law@redhat.com>
27867 Andreas Jaeger <aj@suse.de>
27868
27869 [BZ #13594]
27870 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27871 out from...
27872 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27873 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27875 code changing __hst_map_handle.map.
27876
27877 2012-05-15 Roland McGrath <roland@hack.frob.com>
27878
27879 * configure.in (sysnames): Look for Implies-before and Implies-after
27880 files.
27881 * configure: Regenerated.
27882
27883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27886 8-byte data alignment with LP_SIZE alignment.
27887
27888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27889
27890 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27891 into R10_LP.
27892
27893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27894
27895 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27896
27897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27898
27899 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27900 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27902 Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27904
27905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27906
27907 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27908 (stackinfo_sub_sp): Likewise.
27909
27910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27911
27912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27913 RAX_LP.
27914
27915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27918 into R*_LP.
27919
27920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27921
27922 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27923 sizes into R*_LP.
27924
27925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27928
27929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27930
27931 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27932 into R11_LP and load __x86_64_shared_cache_size_half into
27933 R8_LP.
27934
27935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27938 R8_LP.
27939
27940 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27941
27942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27943 logb for POWER7.
27944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27945 logbf for POWER7.
27946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27947 logbl for POWER7.
27948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27949 powerpc32/power7/fpu/s_logb.c via #include.
27950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27951 powerpc32/power7/fpu/s_logbf.c via #include.
27952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27953 powerpc32/power7/fpu/s_logbl.c via #include.
27954
27955 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27956
27957 * README.libm: Remove file.
27958
27959 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27960
27961 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27962 count for x32. Use R*_LP and omit operand-size suffix.
27963
27964 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27965
27966 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27967 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27968 * sysdeps/x86_64/x32/shlib-versions: New file.
27969
27970 2012-05-14 Roland McGrath <roland@hack.frob.com>
27971
27972 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27973 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27974 Use _dl_fatal_printf instead.
27975
27976 2012-05-14 Joseph Myers <joseph@codesourcery.com>
27977
27978 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27979 set if not set by the user. Do not allow for being unset.
27980 * sysdeps/unix/sysv/linux/configure: Regenerated.
27981
27982 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27983
27984 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27985 the `q' suffix from lea and replace .quad with ASM_ADDR.
27986
27987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27988
27989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27990 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27991 instead of $17.
27992 (PTR_DEMANGLE): Likewise.
27993
27994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27995
27996 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27997 (LP_OP): Likewise.
27998 (ASM_ADDR): Likewise.
27999 (RAX_LP): Likewise.
28000 (RBP_LP): Likewise.
28001 (RBX_LP): Likewise.
28002 (RCX_LP): Likewise.
28003 (RDI_LP): Likewise.
28004 (RSI_LP): Likewise.
28005 (RSP_LP): Likewise.
28006 (R8_LP): Likewise.
28007 (R9_LP): Likewise.
28008 (R10_LP): Likewise.
28009 (R10_LP): Likewise.
28010 (R11_LP): Likewise.
28011 (R12_LP): Likewise.
28012 (R13_LP): Likewise.
28013 (R14_LP): Likewise.
28014 (R15_LP): Likewise.
28015
28016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28017
28018 * sysdeps/x86_64/x32/dl-machine.h: New file.
28019
28020 2012-05-14 Andreas Jaeger <aj@suse.de>
28021
28022 * manual/Makefile (subdir): Remove export of subdir.
28023 (all): Remove target.
28024 (.PHONY): Remove all from list.
28025 (mkinstalldirs): Remove.
28026 (.PHONY): Remove installdirs from list.
28027 ($(inst_infodir)/libc.info): Use make-target-directory.
28028 (installdirs): Remove.
28029 (subdir_%): Remove.
28030 (glibc-targets): Remove.
28031 (lib): Remove.
28032 (stubs): Remove.
28033 ($(objpfx)stubs ../po/manual.pot): Remove.
28034 ($(objpfx)stamp%): Remove.
28035 (make-target-directory): Remove.
28036 (subdir_install): Remove.
28037 (routines): Remove.
28038 (aux): Remove.
28039 (sources): Remove.
28040 (objects): Remove.
28041 (headers): Remove.
28042
28043 [BZ #13750]
28044 * manual/.gitignore: Remove, it's not needed anymore.
28045 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28046 all files in it.
28047 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28048 directory.
28049 (texis): Renamed to $(objpfx)texis.
28050 (texis-path): New, contains path to generated files.
28051 (chapters.%): Use texis-path for complete path, add extra argument
28052 libc-texinfo.sh.
28053 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28054 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28055 (summary,texi, stamp-summary): Use complete path of
28056 files. Generate files in build dir.
28057 (dir-add.texi): Build in build dir.
28058 (libm-err.texi,stamp-libm-err): Likewise.
28059 (version.texi, stamp-version): Likewise.
28060 (.%c.texi): Likewise.
28061 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28062 (mostlyclean): Remove target.
28063 (realclean): Remove target.
28064 (generated): Add new variable with contents from mostlyclean and
28065 realclean, remove entries duplicated in common-mostlyclean, add
28066 stamp-libm-err and stamp-version.
28067 (generated-dirs): Add libc directory.
28068 ($(inst_infodir)/libc.info): Install files from build dir.
28069
28070 * manual/install.texi (Configuring and compiling): Adjust since
28071 the info files are not part of the tar ball anymore.
28072
28073 2012-05-14 Andreas Jaeger <aj@suse.de>
28074
28075 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28076 variable.
28077
28078 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28079
28080 [BZ #13717]
28081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28082 to 2.2.0 where earlier.
28083 * sysdeps/unix/sysv/linux/configure: Regenerated.
28084 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28085 Remove conditional code.
28086 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28087 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28088 Remove conditional code.
28089 [!__NR_lchown]: Likewise.
28090 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28091 [__NR_lchown]: Likewise.
28092 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28093 comment referencing __ASSUME_LCHOWN_SYSCALL.
28094 * sysdeps/unix/sysv/linux/i386/sigaction.c
28095 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28096 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28097 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28098 Remove conditional code.
28099 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28100 (__protocol_available): Remove #if 0 code.
28101 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28102 conditional code.
28103 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28104 * sysdeps/unix/sysv/linux/kernel-features.h
28105 (__ASSUME_GETCWD_SYSCALL): Don't define.
28106 (__ASSUME_REALTIME_SIGNALS): Likewise.
28107 (__ASSUME_PREAD_SYSCALL): Likewise.
28108 (__ASSUME_PWRITE_SYSCALL): Likewise.
28109 (__ASSUME_POLL_SYSCALL): Likewise.
28110 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28111 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28112 non-SPARC.
28113 (__ASSUME_SIOCGIFNAME): Don't define.
28114 (__ASSUME_MSG_NOSIGNAL): Likewise.
28115 (__ASSUME_SENDFILE): Define unconditionally.
28116 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28117 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28118 conditional code.
28119 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28120 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28121 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28122 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28123 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28124 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28125 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28150 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28151 Remove conditional code.
28152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28153 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28154 Remove conditional code.
28155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28156 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28157 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28158 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28159 Remove conditional code.
28160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28161 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28162 Remove conditional code.
28163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28164 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28165 Remove conditional code.
28166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28167 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28168 Remove conditional code.
28169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28170 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28171 Remove conditional code.
28172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28173 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28176 * sysdeps/unix/sysv/linux/sigaction.c
28177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28179 * sysdeps/unix/sysv/linux/sigpending.c
28180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28182 * sysdeps/unix/sysv/linux/sigprocmask.c
28183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28185 * sysdeps/unix/sysv/linux/sigsuspend.c
28186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28189 (__libc_missing_rt_sigs): Remove.
28190 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28191 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28192 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28193 Remove conditional code.
28194 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28195 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28196 return 1.
28197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28198 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28199 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28200 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28201
28202 2012-05-14 Andreas Jaeger <aj@suse.de>
28203
28204 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28205 it's not used in glibc.
28206 (__coshm1): Likewise.
28207 (__acosh1p): Likewise.
28208 (__sgn): Likewise.
28209
28210 * manual/string.texi (Copying and Concatenation): Add missing
28211 variable in concat example.
28212 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28213
28214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28215
28216 [BZ #14103]
28217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28218 __builtin_clzl with __builtin_clzll.
28219
28220 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28221
28222 [BZ #14104]
28223 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28224 libc_freeres_ptr.
28225
28226 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28227
28228 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28229 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28230 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28231 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28232
28233 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28234
28235 * NEWS: Update ia64 info.
28236
28237 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28238
28239 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28240 used as bcopy.
28241
28242 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28243
28244 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28245 * sysdeps/unix/syscalls.list (dup3): Likewise.
28246 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28247 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28248
28249 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28252 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28253
28254 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28255
28256 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28257 thread pointer.
28258 (TLS_IE): Use mov/add instead of movq/addq to load thread
28259 pointer.
28260 (TLS_GD_PREFIX): New.
28261 (TLS_GD): Use it.
28262
28263 2012-05-11 David S. Miller <davem@davemloft.net>
28264
28265 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28266 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28267 (_FPU_SETCW): Likewise.
28268
28269 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28270
28271 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28272 is 32-byte aligned.
28273
28274 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28275
28276 [BZ #11837]
28277 * iconvdata/gb18030.c: Update tables.
28278 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28279 characters specially.
28280 (BODY for TO_LOOP): Add encoding of missing ranges.
28281
28282 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28283
28284 [BZ #13673]
28285 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28286 * sysdeps/mach/hurd/dup3.c: Likewise.
28287 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28288 * sysdeps/powerpc/memmove.c:: Likewise.
28289
28290 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28291
28292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28293 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28294
28295 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * elf/elf.h (R_X86_64_RELATIVE64): New.
28298 (R_X86_64_NUM): Updated.
28299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28300 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28301 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28302 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28303 tst-quad1pie tst-quad2pie
28304 (modules-names): Add tst-quadmod1 tst-quadmod2.
28305 ($(objpfx)tst-quad1): New dependency.
28306 ($(objpfx)tst-quad2): Likewise.
28307 ($(objpfx)tst-quad1pie): Likewise.
28308 ($(objpfx)tst-quad2pie): Likewise.
28309 * sysdeps/x86_64/tst-quad1.c: New file.
28310 * sysdeps/x86_64/tst-quad1pie.c: New file.
28311 * sysdeps/x86_64/tst-quad2.c: Likewise.
28312 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28313 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28314 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28315 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28316 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28317
28318 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28319
28320 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28321 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28322 * streams/stropts.h (t_scalar_t): Define type.
28323
28324 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28325 (_PATH_PRESERVE): Set to "/var/lib".
28326 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28327
28328 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28329 instead of int.
28330
28331 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28332 if __dir_mkfile succeeded.
28333
28334 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28335 checking for _hurd_dtablesize. Unlock it right after having
28336 finished _hurd_dtable allocation.
28337
28338 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28339
28340 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28341 * sysdeps/mach/hurd/configure: Regenerated.
28342 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28343 special-casing to...
28344 * sysdeps/gnu/configure.in: ... this new file.
28345 * sysdeps/unix/sysv/linux/configure: Regenerated.
28346 * sysdeps/gnu/configure: New generated file.
28347
28348 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28349 for Linux: use nsec instead of usec, as well as:
28350 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28351 members of type struct timespec.
28352 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28353 New macros.
28354 (struct stat64): Likewise.
28355 (_STATBUF_ST_NSEC): New macro.
28356 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28357
28358 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28359 __strtoul_internal rather than strtoul.
28360
28361 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28362
28363 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28364 and reject them.
28365
28366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28367
28368 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28369 which preserves existing values.
28370 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28371
28372 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28373
28374 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28375 TIMEOUT values. Return EINVAL for NFDS values either negative or
28376 greater than FD_SETSIZE.
28377
28378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28379
28380 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28381 allocated, call __vm_protect to finish enabling the existing space, and
28382 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28383 allocate the remainder.
28384
28385 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28386
28387 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28388 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28389
28390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28391
28392 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28393 sysdeps/mach/hurd/readlink.c.
28394
28395 * posix/tst-sysconf.c (posix_options): Only use
28396 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28397 _POSIX_SYNCHRONIZED_IO when they are defined
28398 * sysdeps/mach/hurd/bits/posix_opt.h:
28399 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28400 (_XOPEN_REALTIME): Undefine macro.
28401 (_XOPEN_REALTIME_THREADS): Undefine macro.
28402 (_XOPEN_SHM): Undefine macro.
28403 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28404 macro to -1.
28405 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28406 macro to -1.
28407 (_POSIX_ASYNC_IO): Undefine macro.
28408 (_POSIX_PRIORITIZED_IO): Undefine macro.
28409 (_POSIX_SPIN_LOCKS): Define macro to -1.
28410
28411 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28412 SA_NODEFER, SA_RESETHAND.
28413 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28414 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28415 F_DUPFD_CLOEXEC.
28416
28417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28418
28419 * elf/Makefile (pldd-modules): Define unconditionally.
28420
28421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28422
28423 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28424
28425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28426
28427 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28428 Return ENOENT when name is empty.
28429 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28430
28431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28432
28433 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28434
28435 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28436
28437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28438
28439 Fix mlock in all cases except non-readable pages.
28440 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28441 instead of VM_PROT_ALL as parameter to __vm_wire function.
28442
28443 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28444 (__mkdir): When path is `/', just fail with EEXIST.
28445 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28446
28447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28448
28449 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28450 <sys/uio.h> (for writev).
28451 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28452 and <sys/param.h> (for MIN).
28453
28454 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28455
28456 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28457 REQUESTED_TIME. Properly set the remaining time and return EINTR
28458 if interrupted.
28459
28460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28461
28462 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28463 Depend on against $(link-rpcuserlibs).
28464
28465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28466
28467 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28468 (__libc_stack_end): Do not use attribute_relro.
28469 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28470 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28471 to libthread-provided value.
28472 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28473 attribute_relro.
28474
28475 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28476
28477 [BZ #3748]
28478 * bits/libc-lock.h (__libc_once_get): New macro.
28479 * sysdeps/mach/bits/libc-lock.h: Likewise.
28480 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28482 instead of using implementation details.
28483
28484 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28485 * libio/freopen.c: Likewise.
28486 * libio/freopen64.c: Likewise.
28487 * misc/syslog.c: Likewise.
28488 * nscd/connections.c: Likewise.
28489 * nscd/netgroupcache.c: Likewise.
28490 * sysdeps/posix/getcwd.c: Likewise.
28491
28492 2012-05-10 Roland McGrath <roland@hack.frob.com>
28493
28494 * math/w_ilogbf.c: Add #include <limits.h>.
28495
28496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28497
28498 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28499 path instead of returning without unlocking.
28500
28501 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28502 immediate-write ioctls.
28503 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28504
28505 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28506
28507 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28508 __builtin_frame_address instead of making assumptions about the
28509 location of the return address relative to DATA. Force early load of
28510 the return address.
28511 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28512 __builtin_frame_address.
28513
28514 dup3 for GNU Hurd.
28515 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28516 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28517 implement dup3 and do some further code clean-ups.
28518 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28519 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28520
28521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28522
28523 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28524
28525 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28526 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28527 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28528 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28529 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28530 d->port.lock.
28531
28532 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28533 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28534 when handler == SIG_ERR, not when handler != SIG_ERR.
28535
28536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28537
28538 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28539 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28540 definitions.
28541
28542 accept4 for GNU Hurd.
28543 * include/sys/socket.h (__libc_accept4): New prototype.
28544 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28545 to implement __libc_accept4.
28546 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28547 __libc_accept4.
28548 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28549
28550 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28551 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28552 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28553 signal-defines.sym.
28554
28555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28556
28557 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28558
28559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28560
28561 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28562 assertion on O_CLOEXEC flag.
28563 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28564 * hurd/intern-fd.c: Likewise.
28565 * hurd/port2fd.c: Likewise.
28566
28567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28568
28569 [BZ #3906]
28570 * bits/in.h (IPV6_PKTINFO): Define new macro.
28571 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28572
28573 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28574
28575 [BZ #13954]
28576 [BZ #13955]
28577 [BZ #13956]
28578 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28580 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28581 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28583 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28584 * math/libm-test.inc (logb_test) : Additional logb tests.
28585
28586 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28587 Andreas Jaeger <aj@suse.de>
28588
28589 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28590 * configure: Regenerated.
28591 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28592 * config.make.in (link-obsolete-rpc): New substituted variable.
28593 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28594 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28595 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28596 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28597 so that libc.a contains the symbols.
28598 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28599 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28600 * sunrpc/auth_none.c: Likewise.
28601 * sunrpc/auth_unix.c: Likewise.
28602 * sunrpc/authdes_prot.c: Likewise.
28603 * sunrpc/authuxprot.c: Likewise.
28604 * sunrpc/clnt_gen.c: Likewise.
28605 * sunrpc/clnt_perr.c: Likewise.
28606 * sunrpc/clnt_raw.c: Likewise.
28607 * sunrpc/clnt_simp.c: Likewise.
28608 * sunrpc/clnt_tcp.c: Likewise.
28609 * sunrpc/clnt_udp.c: Likewise.
28610 * sunrpc/clnt_unix.c: Likewise.
28611 * sunrpc/des_crypt.c: Likewise.
28612 * sunrpc/des_soft.c: Likewise.
28613 * sunrpc/get_myaddr.c: Likewise.
28614 * sunrpc/key_call.c: Likewise.
28615 * sunrpc/key_prot.c: Likewise.
28616 * sunrpc/netname.c: Likewise.
28617 * sunrpc/pm_getmaps.c: Likewise.
28618 * sunrpc/pm_getport.c: Likewise.
28619 * sunrpc/pmap_clnt.c: Likewise.
28620 * sunrpc/pmap_prot.c: Likewise.
28621 * sunrpc/pmap_prot2.c: Likewise.
28622 * sunrpc/pmap_rmt.c: Likewise.
28623 * sunrpc/publickey.c: Likewise.
28624 * sunrpc/rpc_cmsg.c: Likewise.
28625 * sunrpc/rpc_common.c: Likewise.
28626 * sunrpc/rpc_dtable.c: Likewise.
28627 * sunrpc/rpc_prot.c: Likewise.
28628 * sunrpc/rpc_thread.c: Likewise.
28629 * sunrpc/rtime.c: Likewise.
28630 * sunrpc/svc.c: Likewise.
28631 * sunrpc/svc_auth.c: Likewise.
28632 * sunrpc/svc_raw.c: Likewise.
28633 * sunrpc/svc_run.c: Likewise.
28634 * sunrpc/svc_tcp.c: Likewise.
28635 * sunrpc/svc_udp.c: Likewise.
28636 * sunrpc/svc_unix.c: Likewise.
28637 * sunrpc/svcauth_des.c: Likewise.
28638 * sunrpc/xcrypt.c: Likewise.
28639 * sunrpc/xdr.c: Likewise.
28640 * sunrpc/xdr_array.c: Likewise.
28641 * sunrpc/xdr_float.c: Likewise.
28642 * sunrpc/xdr_intXX_t.c: Likewise.
28643 * sunrpc/xdr_mem.c: Likewise.
28644 * sunrpc/xdr_rec.c: Likewise.
28645 * sunrpc/xdr_ref.c: Likewise.
28646 * sunrpc/xdr_sizeof.c: Likewise.
28647 * sunrpc/xdr_stdio.c: Likewise.
28648
28649 2012-05-10 Roland McGrath <roland@hack.frob.com>
28650
28651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28652 change. Update copyright years.
28653
28654 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28655
28656 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28657
28658 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28659 Joseph Myers <joseph@codesourcery.com>
28660 Paul Pluzhnikov <ppluzhnikov@google.com>
28661
28662 [BZ #14012]
28663 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28664 requiring rpcgen.
28665 [cross-compiling] (extra-libs): Likewise.
28666 [cross-compiling] (extra-libs-others): Likewise.
28667 [cross-compiling] (librpcsvc-routines): Likewise.
28668 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28669 [cross-compiling] (omit-deps): Likewise.
28670 (sunrpc-CPPFLAGS): New variable.
28671 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28672 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28673 (cross-rpcgen-objs): New variable.
28674 (extra-objs): Append $(cross-rpcgen-objs).
28675 ($(cross-rpcgen-objs)): New rule.
28676 ($(objpfx)cross-rpcgen): Likewise.
28677 (rpcgen-cmd): Define to use $(built-program-file). Expand
28678 comment.
28679 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28680 ($(objpfx)x%.stmp): Likewise.
28681 * sunrpc/proto.h [IS_IN_build] (_): Define.
28682 [IS_IN_build] (_libc_intl_domainname): Likewise.
28683
28684 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28685
28686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28687 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28688 and R_X86_64_TPOFF64.
28689
28690 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28691
28692 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28693 sysdeps/unix/sysv/syscalls.list.
28694 (stime): Likewise.
28695 (utime): Likewise.
28696 * sysdeps/unix/sysv/syscalls.list: Remove file.
28697
28698 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28699
28700 [BZ #3440]
28701 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28702 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28703 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28704 (__LC_IDENTIFICATION): Make these macros useful in #if
28705 expressions, as required by C99.
28706
28707 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28708
28709 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28710 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28711 after this.
28712
28713 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28714
28715 * stdlib/longlong.h: Updated from GCC.
28716
28717 2012-05-09 Andreas Jaeger <aj@suse.de>
28718
28719 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28720 default is first entry.
28721 (run_mode): Set type.
28722 (main): Remove informal message about syslog.
28723 (options): Fix typo.
28724
28725 [BZ #14053]
28726 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28727 to asm.
28728 (lrint): Likewise.
28729 (llrintf): Likewise.
28730 (llrint): Likewise.
28731 (rint): Likewise.
28732 (rintf): Likewise.
28733 (nearbyint): Likewise.
28734 (nearbyintf): Likewise.
28735
28736 2012-05-09 Andreas Jaeger <aj@suse.de>
28737 Pedro Alves <palves@redhat.com>
28738
28739 * nscd/nscd.c (run_mode): Use enum.
28740 (main): Cleanup coding style issue.
28741
28742 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
28743 Andreas Jaeger <aj@suse.de>
28744
28745 * nscd/nscd.c (go_background): Replaced with...
28746 (run_mode): ... this.
28747 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28748 (options): Add -F --foreground.
28749 (main): Implement it.
28750 (parse_opt): Parse it.
28751
28752 2012-05-09 Andreas Jaeger <aj@suse.de>
28753
28754 [BZ #14083]
28755 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28756 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28757 -Wconversion warning.
28758 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28759 Likewise.
28760
28761 2012-05-09 Joseph Myers <joseph@codesourcery.com>
28762
28763 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28764 == 0.
28765 (LC_ALL): Use macro-int-constant.
28766 (LC_COLLATE): Likewise.
28767 (LC_CTYPE): Likewise.
28768 (LC_MESSAGES): Likewise.
28769 (LC_MONETARY): Likewise.
28770 (LC_NUMERIC): Likewise.
28771 (LC_TIME): Likewise.
28772 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28773 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28775 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28776 Specify type.
28777 [C99-based standards] (float_t): Expect type.
28778 [C99-based standards] (double_t): Expect type.
28779 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28780 type.
28781 [C99-based standards] (HUGE_VALL): Likewise.
28782 [C99-based standards] (INFINITY): Likewise.
28783 [C99-based standards] (NAN): Likewise.
28784 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28785 [C99-based standards] (FP_NAN): Likewise.
28786 [C99-based standards] (FP_NORMAL): Likewise.
28787 [C99-based standards] (FP_SUBNORMAL): Likewise.
28788 [C99-based standards] (FP_ZERO): Likewise.
28789 [C99-based standards] (FP_FAST_FMA): Use
28790 optional-macro-int-constant. Specify type. Require == 1.
28791 [C99-based standards] (FP_FAST_FMAF): Likewise.
28792 [C99-based standards] (FP_FAST_FMAL): Likewise.
28793 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28794 [C99-based standards] (FP_ILOGBNAN): Likewise.
28795 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28796 Specify type.
28797 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28798 [C99-based standards] (math_errhandling): Specify type.
28799 [ISO99 || ISO11] (signgam): Do not allow.
28800 [non-C99-based standards] (copysignf): Do not allow.
28801 [non-C99-based standards] (exp2f): Likewise.
28802 [non-C99-based standards] (log2f): Likewise.
28803 [non-C99-based standards] (modff): Allow.
28804 [non-C99-based standards] (erff): Do not allow.
28805 [non-C99-based standards] (erfcf): Likewise.
28806 [non-C99-based standards] (gammaf): Likewise.
28807 [non-C99-based standards] (hypotf): Likewise.
28808 [non-C99-based standards] (j0f): Likewise.
28809 [non-C99-based standards] (j1f): Likewise.
28810 [non-C99-based standards] (jnf): Likewise.
28811 [non-C99-based standards] (lgammaf): Likewise.
28812 [non-C99-based standards] (tgammaf): Likewise.
28813 [non-C99-based standards] (y0f): Likewise.
28814 [non-C99-based standards] (y1f): Likewise.
28815 [non-C99-based standards] (ynf): Likewise.
28816 [non-C99-based standards] (isnanf): Likewise.
28817 [non-C99-based standards] (acoshf): Likewise.
28818 [non-C99-based standards] (asinhf): Likewise.
28819 [non-C99-based standards] (atanhf): Likewise.
28820 [non-C99-based standards] (cbrtf): Likewise.
28821 [non-C99-based standards] (expm1f): Likewise.
28822 [non-C99-based standards] (ilogbf): Likewise.
28823 [non-C99-based standards] (log1pf): Likewise.
28824 [non-C99-based standards] (logbf): Likewise.
28825 [non-C99-based standards] (nextafterf): Likewise.
28826 [non-C99-based standards] (remainderf): Likewise.
28827 [non-C99-based standards] (rintf): Likewise.
28828 [non-C99-based standards] (scalbf): Likewise.
28829 [non-C99-based standards] (copysignl): Likewise.
28830 [non-C99-based standards] (exp2l): Likewise.
28831 [non-C99-based standards] (log2l): Likewise.
28832 [non-C99-based standards] (modfl): Allow.
28833 [non-C99-based standards] (erfl): Do not allow.
28834 [non-C99-based standards] (erfcl): Likewise.
28835 [non-C99-based standards] (gammal): Likewise.
28836 [non-C99-based standards] (hypotl): Likewise.
28837 [non-C99-based standards] (j0l): Likewise.
28838 [non-C99-based standards] (j1l): Likewise.
28839 [non-C99-based standards] (jnl): Likewise.
28840 [non-C99-based standards] (lgammal): Likewise.
28841 [non-C99-based standards] (tgammal): Likewise.
28842 [non-C99-based standards] (y0l): Likewise.
28843 [non-C99-based standards] (y1l): Likewise.
28844 [non-C99-based standards] (ynl): Likewise.
28845 [non-C99-based standards] (isnanl): Likewise.
28846 [non-C99-based standards] (acoshl): Likewise.
28847 [non-C99-based standards] (asinhl): Likewise.
28848 [non-C99-based standards] (atanhl): Likewise.
28849 [non-C99-based standards] (cbrtl): Likewise.
28850 [non-C99-based standards] (expm1l): Likewise.
28851 [non-C99-based standards] (ilogbl): Likewise.
28852 [non-C99-based standards] (log1pl): Likewise.
28853 [non-C99-based standards] (logbl): Likewise.
28854 [non-C99-based standards] (nextafterl): Likewise.
28855 [non-C99-based standards] (remainderl): Likewise.
28856 [non-C99-based standards] (rintl): Likewise.
28857 [non-C99-based standards] (scalbl): Likewise.
28858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28859 [non-C99-based standards] (FP_*): Do not allow.
28860 [C99-based standards] (FP_*): Change to
28861 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28862 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28863 allow.
28864 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28865 (SIG_ERR): Likewise.
28866 [X/Open-based standards] (SIG_HOLD): Likewise.
28867 (SIG_IGN): Likewise.
28868 (SIGABRT): Use macro-int-constant. Specify type. Require
28869 positive value.
28870 (SIGFPE): Likewise.
28871 (SIGILL): Likewise.
28872 (SIGINT): Likewise.
28873 (SIGSEGV): Likewise.
28874 (SIGTER): Likewise.
28875 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28876 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28877 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28878 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28879 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28880 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28881 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28882 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28883 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28884 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28885 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28886 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28887 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28888 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28889 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28890 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28891 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28892 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28893 [X/Open-based standards] (SIGTRAP): Likewise.
28894 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28895 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28896 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28897 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28898 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28899 allow.
28900
28901 2012-05-08 Ian Wienand <ianw@vmware.com>
28902
28903 [BZ #14080]
28904 * time/tzset.c (__tzset_parse_tz): Update default rules for
28905 daylight time changes in the Energy Policy Act of 2005.
28906
28907 2012-05-09 Andreas Jaeger <aj@suse.de>
28908
28909 [BZ #13983]
28910 * elf/ldconfig.c (parse_conf): Change string to make clear that
28911 ldconfig only issued a warning if ld.so.conf does not exist.
28912
28913 2012-05-08 David S. Miller <davem@davemloft.net>
28914
28915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28916 movxtod instead of popping the value on the stack.
28917
28918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28919
28920 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28921
28922 * config.h.in: Add HAVE_ARM_PCS_VFP.
28923
28924 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
28925
28926 [BZ #13979]
28927 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28928 checking but the checks are disabled for any reason.
28929
28930 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28931
28932 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28933 and ELF64_R_TYPE with ELFW(R_TYPE).
28934
28935 2012-05-08 Joseph Myers <joseph@codesourcery.com>
28936
28937 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28938 (ulimit): Likewise.
28939
28940 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28941 (settimeofday): Likewise.
28942
28943 2012-05-08 Mike Frysinger <vapier@gentoo.org>
28944
28945 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28946 a struct th_u2 inside the union, and move tu_block/tu_code into
28947 a new th_u3 union of tu_block/tu_code inside of that. Move
28948 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28949 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28950 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28951 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28952 (th_stuff): Change to th_u1.tu_stuff.
28953 (th_data): Define.
28954 (th_msg): Change to th_u1.th_u2.tu_data.
28955
28956 2012-05-07 David S. Miller <davem@davemloft.net>
28957
28958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28959
28960 [BZ #14074]
28961 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28962 (SETUP_PIC_REG): Use it.
28963 (SETUP_PIC_REG_LEAF): Use it.
28964
28965 2012-05-07 Joseph Myers <joseph@codesourcery.com>
28966
28967 [BZ #13885]
28968 [BZ #13923]
28969 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28970 USE_AS_EXPM1L.
28971 (EXPL_FINITE): Likewise.
28972 (FLDLOG): Likewise.
28973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28974 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28975 e_expl.S.
28976 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28977 USE_AS_EXPM1L.
28978 (EXPL_FINITE): Likewise.
28979 (FLDLOG): Likewise.
28980 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28981 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28982 e_expl.S.
28983 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28984 test of -max_value argument for long double.
28985 * sysdeps/i386/fpu/libm-test-ulps: Update.
28986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28987
28988 2012-05-06 David S. Miller <davem@davemloft.net>
28989
28990 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28991 quad soft-float symbols whose references which are compiler
28992 generated.
28993 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28994
28995 2012-05-06 Joseph Myers <joseph@codesourcery.com>
28996
28997 [BZ #13884]
28998 [BZ #13914]
28999 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29000 USE_AS_EXP10L.
29001 (EXPL_FINITE): Likewise.
29002 (FLDLOG): Likewise.
29003 (c0): Likewise.
29004 (c1): Likewise.
29005 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29006 Adjust comments for base varying.
29007 (__expl_finite): Change alias to EXPL_FINITE.
29008 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29009 e_expl.S.
29010 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29011 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29013 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29015 USE_AS_EXP10L.
29016 (EXPL_FINITE): Likewise.
29017 (FLDLOG): Likewise.
29018 (c0): Likewise.
29019 (c1): Likewise.
29020 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29021 Adjust comments for base varying.
29022 (__expl_finite): Change alias to EXPL_FINITE.
29023 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29024 tests for bugs.
29025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29026
29027 [BZ #14064]
29028 * math/libm-test.inc (check_float_internal): Correct ulp
29029 calculation for subnormal expected results.
29030
29031 2012-05-06 Andreas Jaeger <aj@suse.de>
29032
29033 * Makeconfig (+math-flags): New, set to -frounding-math.
29034 (+cflags): Add +math-flags so that all of glibc gets compiled with
29035 it.
29036
29037 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29038
29039 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29040
29041 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29042 Disable one test.
29043
29044 [BZ #13787]
29045 [BZ #13922]
29046 [BZ #14036]
29047 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29048 (__ieee754_expl): Allow for and saturate large arguments.
29049 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29050 (u_threshold): Likewise.
29051 (__exp): Call __ieee754_exp before checking for overflow and
29052 underflow.
29053 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29054 (u_threshold): Likewise.
29055 (__expf): Call __ieee754_expf before checking for overflow and
29056 underflow.
29057 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29058 (u_threshold): Likewise.
29059 (__expl): Call __ieee754_expl before checking for overflow and
29060 underflow.
29061 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29062 (__ieee754_expl): Allow for and saturate large arguments.
29063 * math/libm-test.inc (exp_test): Add another test. Do not allow
29064 missing overflow exception on overflow.
29065 (expm1_test): Do not allow missing overflow exception on overflow.
29066
29067 * sysdeps/i386/fpu/e_expl.c: Move to ...
29068 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29069 rather than using inline asm.
29070 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29071 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29072 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29073
29074 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29075 (nice): Likewise.
29076 (poll): Likewise.
29077 (signal): Likewise.
29078 (time): Likewise.
29079 (times): Likewise.
29080
29081 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29082
29083 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29084 sysdeps/unix/common/syscalls.list.
29085 (fchmod): Likewise.
29086 (fchown): Likewise.
29087 (ftruncate): Likewise.
29088 (getrusage): Likewise.
29089 (gettimeofday): Likewise.
29090 (setpgid): Likewise.
29091 (setregid): Likewise.
29092 (setreuid): Likewise.
29093 (sigaction): Likewise.
29094 (truncate): Likewise.
29095 (vhangup): Likewise.
29096 * sysdeps/unix/common/syscalls.list: Remove file.
29097 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29098 * sysdeps/unix/sysv/linux/Implies: Likewise.
29099
29100 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29101
29102 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29104 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29105 Moved to ...
29106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29107 Here.
29108 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29109 to ...
29110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29111 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29112 to ...
29113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29114 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29115 to ...
29116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29117 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29118 to ...
29119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29120 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29121 to ...
29122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29123 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29124 to ...
29125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29126 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29127 to ...
29128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29129 Here.
29130 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29131 to ...
29132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29133 Here.
29134 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29135 to ...
29136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29137 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29138 Moved to ...
29139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29140 Here.
29141 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29142 to ...
29143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29144
29145 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29146
29147 * sysdeps/unix/common/bits/dirent.h: Remove file.
29148 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29149
29150 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29151 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29152 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29153 * sysdeps/unix/bsd/isatty.c: Likewise.
29154 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29155 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29156 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29157
29158 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29159
29160 [BZ #13563]
29161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29162 long double comparison inaccuracies.
29163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29165
29166 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29167
29168 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29170
29171 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29172
29173 [BZ #14049]
29174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29175 nonzero digits before rounding a hex value.
29176 * stdlib/tst-strtod.c (tests): Add another test.
29177
29178 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29179
29180 * sysdeps/s390/fpu/libm-test-ulps: Update.
29181
29182 2012-05-03 Andreas Jaeger <aj@suse.de>
29183
29184 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29185 does not get optimized out.
29186 (malloc_opt_barrier): New.
29187
29188 2012-05-03 Andreas Jaeger <aj@suse.de>
29189 Roland McGrath <roland@hack.frob.com>
29190
29191 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29192 intermediate file deletion.
29193 (generated): Add .symlist files.
29194
29195 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29196
29197 [BZ #13775]
29198 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29199 Redirect under this condition.
29200 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29201 [__USE_GNU] (__dprintf_chk): Not under this condition.
29202 [__USE_GNU] (__vdprintf_chk): Likewise.
29203 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29204 under this condition.
29205 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29206 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29207 [__USE_XOPEN2K8] (vdprintf): Likewise.
29208 [__USE_GNU] (__dprintf_chk): Not under this condition.
29209 [__USE_GNU] (__vdprintf_chk): Likewise.
29210 [__USE_GNU] (dprintf): Likewise.
29211 [__USE_GNU] (vdprintf): Likewise.
29212
29213 2012-05-03 Roland McGrath <roland@hack.frob.com>
29214
29215 * elf/Makefile (common-generated): Set this instead of generated for
29216 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29217 $(all-built-dso)-derived lists.
29218
29219 2012-05-03 Andreas Jaeger <aj@suse.de>
29220
29221 * sysdeps/i386/fpu/libm-test-ulps: Update.
29222
29223 * FAQ: Removed.
29224 * FAQ.in: Likewise.
29225 * scripts/gen-FAQ.pl: Likewise.
29226 * manual/install.texi (Installation): Point to online location of
29227 FAQ.
29228 * Makefile (files-for-dist): Remove FAQ.
29229 (FAQ): Remove.
29230
29231 2012-05-02 Allan McRae <allan@archlinux.org>
29232
29233 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29234 (LDFLAGS-reldepmod5.so): Likewise.
29235 (LDFLAGS-reldep6mod1.so): Likewise.
29236 (LDFLAGS-reldep6mod4.so): Likewise.
29237 (LDFLAGS-reldep8mod3.so): Likewise.
29238 (LDFLAGS-unload4mod1.so): Likewise.
29239 (LDFLAGS-unload4mod2.so): Likewise.
29240 (LDFLAGS-tst-initorder): Likewise.
29241 (LDFLAGS-tst-initordera2.so): Likewise.
29242 (LDFLAGS-tst-initordera3.so): Likewise.
29243 (LDFLAGS-tst-initordera4.so): Likewise.
29244 (LDFLAGS-tst-initorderb2.so): Likewise.
29245 (LDFLAGS-noload): Likewise.
29246 (LDFLAGS-next): Likewise.
29247 (LDFLAGS-order2mod1.so): Likewise.
29248 (LDFLAGS-order2mod2.so): Likewise.
29249 (LDFLAGS-tst-initorder2): Likewise.
29250 (LDFLAGS-tst-initorder2a.so): Likewise.
29251 (LDFLAGS-tst-initorder2b.so): Likewise.
29252 (LDFLAGS-tst-initorder2c.so): Likewise.
29253 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29254
29255 2012-05-02 David S. Miller <davem@davemloft.net>
29256
29257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29258
29259 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29260
29261 [BZ #14055]
29262 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29263
29264 2012-05-02 Andreas Jaeger <aj@suse.de>
29265
29266 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29267 since we manipulate rounding mode.
29268 (CPPFLAGS-test-idouble.c): Likewise.
29269 (CPPFLAGS-test-ifloat.c): Likewise.
29270 (CFLAGS-test-ldouble.c): Likewise.
29271 (CFLAGS-test-double.c): Likewise.
29272 (CFLAGS-test-float.c): Likewise.
29273 (CFLAGS-test-misc.c): Likewise.
29274 (CFLAGS-test-test-fenv.c): Likewise.
29275
29276 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29277
29278 [BZ #2550]
29279 [BZ #2570]
29280 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29281 comparisons to determine direction to adjust input.
29282
29283 2012-05-01 Roland McGrath <roland@hack.frob.com>
29284
29285 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29286 output to the target.
29287
29288 * scripts/localplt.awk: New file.
29289 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29290 (check-localplt-CFLAGS): Variable removed.
29291 ($(all-built-dso:=.jmprel)): New static pattern rule.
29292 (generated): Add those targets.
29293 (localplt-built-dso): New variable.
29294 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29295
29296 * elf/check-localplt.c: File removed.
29297
29298 * scripts/check-execstack.awk: New file.
29299 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29300 (check-execstack-CFLAGS): Variable removed.
29301 ($(objpfx)check-execstack.h): Target removed.
29302 ($(objpfx)execstack-default): New target.
29303 (generated): Add that instead of check-execstack.h.
29304 ($(all-built-dso:=.phdr)): New static pattern rule.
29305 (generated): Add those targets.
29306 * elf/check-execstack.c: File removed.
29307
29308 * scripts/check-textrel.awk: New file.
29309 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29310 (check-textrel-CFLAGS): Variable removed.
29311 (all-built-dso): Use := to define.o
29312 ($(all-built-dso:=.dyn)): New static pattern rule.
29313 (generated): Add those targets.
29314 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29315 * config.make.in (READELF): New substituted variable.
29316 * elf/check-textrel.c: File removed.
29317
29318 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29319
29320 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29321 allow.
29322 * conform/data/ctype.h-data [C99-based standards] (isblank):
29323 Expect function.
29324 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29325 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29327 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29328 Specify type. Require positive value.
29329 (EILSEQ): Likewise.
29330 (ERANGE): Likewise.
29331 [ISO || POSIX] (EILSEQ): Do not expect.
29332 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29333 Specify type. Require positive value.
29334 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29335 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29336 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29337 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29338 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29339 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29340 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29341 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29342 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29343 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29344 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29345 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29346 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29347 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29348 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29349 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29350 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29351 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29352 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29353 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29354 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29356 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29357 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29358 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29360 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29361 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29367 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29368 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29369 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29370 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29371 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29373 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29408 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29409 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29410 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29411 Require >= 2.
29412 (FLT_ROUNDS): Expect as macro, not constant.
29413 (FLT_MANT_DIG): Use macro-int-constant.
29414 (DBL_MANT_DIG): Likewise.
29415 (LDBL_MANT_DIG): Likewise.
29416 (FLT_DIG): Likewise.
29417 (DBL_DIG): Likewise.
29418 (LDBL_DIG): Likewise.
29419 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29420 (DBL_MIN_EXP): Likewise.
29421 (LDBL_MIN_EXP): Likewise.
29422 (FLT_MAX_EXP): Use macro-int-constant.
29423 (DBL_MAX_EXP): Likewise.
29424 (LDBL_MAX_EXP): Likewise.
29425 (FLT_MAX_10_EXP): Likewise.
29426 (DBL_MAX_10_EXP): Likewise.
29427 (LDBL_MAX_10_EXP): Likewise.
29428 (FLT_MAX): Use macro-constant.
29429 (DBL_MAX): Likewise.
29430 (LDBL_MAX): Likewise.
29431 (FLT_EPSILON): Use macro-constant. Give upper bound.
29432 (DBL_EPSILON): Likewise.
29433 (LDBL_EPSILON): Likewise.
29434 (FLT_MIN): Likewise.
29435 (DBL_MIN): Likewise.
29436 (LDBL_MIN): Likewise.
29437 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29438 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29439 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29440 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29441 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29442 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29443 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29444 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29445 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29446 [ISO11] (FLT_TRUE_MIN): Likewise.
29447 [ISO11] (LDBL_TRUE_MIN): Likewise.
29448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29449 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29450 (SCHAR_MIN): Use macro-int-constant. Specify type.
29451 (SCHAR_MAX): Likewise.
29452 (UCHAR_MAX): Likewise.
29453 (CHAR_MIN): Likewise.
29454 (CHAR_MAX): Likewise.
29455 (MB_LEN_MAX): Use macro-int-constant.
29456 (SHRT_MIN): Use macro-int-constant. Specify type.
29457 (SHRT_MAX): Likewise.
29458 (USHRT_MAX): Likewise.
29459 (INT_MAX): Likewise.
29460 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29461 bound negative.
29462 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29463 bound with "U".
29464 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29465 bound with "L".
29466 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29467 bound negative. Suffix upper bound with "L".
29468 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29469 bound with "UL".
29470 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29471 Specify type.
29472 [C99-based standards] (LLONG_MAX): Likewise.
29473 [C99-based standards] (ULLONG_MAX): Likewise.
29474 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29475 == 0.
29476 [ISO11] (max_align_t): Require type.
29477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29478
29479 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29480 from $CFLAGS, without defining away __attribute__ calls.
29481 (checknamespace): Use $CFLAGS_namespace.
29482
29483 * conform/conformtest.pl (@keywords): Only include C99 keywords
29484 for standards based on C99 or C11.
29485
29486 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29487 Disable tests.
29488 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29489 UNIX98]: Likewise.
29490
29491 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29492 usability of symbols in #if.
29493
29494 * conform/conformtest.pl: If macro or constant types start
29495 "promoted:", expect the symbol to be of the following type
29496 promoted by the integer promotions.
29497
29498 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29499 in one place. Also handle "macro-constant".
29500
29501 * conform/conformtest.pl: Only accept expected macro values with
29502 "==". Parse all "macro" lines in one place.
29503 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29504
29505 * conform/conformtest.pl: Handle braced types on "constant" lines
29506 instead of handling "typed-constant".
29507 * conform/data/signal.h-data: Use "constant" instead of
29508 "typed-constant".
29509
29510 * conform/conformtest.pl: Handle "optional-" at start of lines in
29511 one place rather than duplicating several cases. Handle each
29512 format of "macro" line with initial "optional-".
29513
29514 * conform/conformtest.pl: Only accept expected constant or
29515 optional-constant values with "==". Parse all "constant" lines in
29516 one place. Parse all "optional-constant" lines in one place.
29517 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29518 * conform/data/fmtmsg.h-data: Likewise.
29519 * conform/data/netinet/in.h-data: Likewise.
29520 * conform/data/tar.h-data: Likewise.
29521 * conform/data/limits.h-data: Use "==" form on "constant" and
29522 "optional-constant" lines.
29523
29524 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29525 Use -std=c99 for XOPEN2K.
29526 (@knownproblems): Remove.
29527 (newtoken): Don't check %isknown.
29528
29529 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29530 Do not expect macro.
29531 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29532 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29533 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29534 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29535 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29536 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29537 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29538 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29539 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29540 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29541 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29542 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29543 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29544 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29545 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29546 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29547 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29548 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29549 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29550 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29551 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29552 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29553 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29554 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29555 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29556 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29557 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29558 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29559 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29560 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29561 [XPG3] (acosh): Likewise.
29562 [XPG3] (asinh): Likewise.
29563 [XPG3] (atanh): Likewise.
29564 [XPG3] (cbrt): Likewise.
29565 [XPG3] (expm1): Likewise.
29566 [XPG3] (ilogb): Likewise.
29567 [XPG3] (log1p): Likewise.
29568 [XPG3] (logb): Likewise.
29569 [XPG3] (nextafter): Likewise.
29570 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29571 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29572 [XPG3] (remainder): Likewise.
29573 [XPG3] (rint): Likewise.
29574 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29575 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29576 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29577 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29578 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29579 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29580 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29581 [UNIX98 || XOPEN2K] (scalb): Expect.
29582 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29583 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29584 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29585 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29586 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29587 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29588 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29589 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29590 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29591 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29592 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29593 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29594 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29595 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29596 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29597 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29598 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29599 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29600 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29601 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29602 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29603 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29604 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29605 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29606 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29607 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29608 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29609 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29610 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29611 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29612 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29613 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29614 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29615 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29616 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29617 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29618 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29619 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29620 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29621 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29622 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29623 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29624 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29625 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29626 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29627 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29628 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29629 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29630 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29631 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29632 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29633 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29634 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29635 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29636 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29637 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29638 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29639 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29640 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29641 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29642 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29643 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29644 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29645 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29646 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29647 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29648 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29649 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29650 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29651 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29652 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29653 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29654 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29655 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29656 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29657 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29658 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29659 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29660 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29661 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29662 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29663 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29664 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29665 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29666 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29667 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29668 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29669 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29670 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29671 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29672 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29673 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29674 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29675 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29676 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29677 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29678 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29679 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29680 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29681 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29682 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29683 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29684 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29685 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29686 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29687 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29688 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29689 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29690 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29691 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29692 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29693 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29694 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29695 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29696 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29697 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29698 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29699 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29700 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29701 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29702 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29703 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29704 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29705 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29706 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29707 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29708 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29709 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29710 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29711 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29712 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29713 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29714 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29715 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29716 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29717 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29718 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29719
29720 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29721 _XOPEN_SOURCE_EXTENDED for XPG4.
29722
29723 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29724
29725 * Makeconfig (localtime): Remove variable.
29726 (inst_localtime-file): Likewise.
29727
29728 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29729
29730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29731 Update.
29732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29733 Update.
29734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29735 Update.
29736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29737 Update.
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29739 Update.
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29741 Update.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29743 Update.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29745 Update.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29747 Update.
29748
29749 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29750
29751 [BZ #2550]
29752 [BZ #2570]
29753 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29754 comparisons to determine direction to adjust input.
29755 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29756 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29758 Likewise.
29759 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29760 Likewise.
29761 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29762 Likewise.
29763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29765 Likewise.
29766 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29767 Likewise.
29768 * math/libm-test.inc (nexttoward_test): Add more tests.
29769
29770 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29771
29772 [BZ #14040]
29773 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29774 in version GLIBC_2.1, not GLIBC_2.0.
29775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29776 Likewise.
29777
29778 2012-04-30 Joseph Myers <joseph@codesourcery.com>
29779
29780 [BZ #13942]
29781 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29782 (1 - x) * (1 + x).
29783 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29784 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29785 * math/libm-test.inc (acos_test): Add more tests.
29786 (asin_test): Likewise.
29787 * sysdeps/i386/fpu/libm-test-ulps: Update.
29788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29789
29790 [BZ #14034]
29791 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29792 of square root.
29793 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29794 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29795 * math/libm-test.inc (acos_test_tonearest): New function.
29796 (acos_test_towardzero): Likewise.
29797 (acos_test_downward): Likewise.
29798 (acos_test_upward): Likewise.
29799 (asin_test_tonearest): Likewise.
29800 (asin_test_towardzero): Likewise.
29801 (asin_test_downward): Likewise.
29802 (asin_test_upward): Likewise.
29803 (main): Call the new functions.
29804 * sysdeps/i386/fpu/libm-test-ulps: Update.
29805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29806
29807 [BZ #13884]
29808 [BZ #13924]
29809 * math/e_exp10.c: Include <float.h>.
29810 (__ieee754_exp10): Handle underflow here rather than multiplying
29811 large negative argument by M_LN10.
29812 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29813 of __ieee754_expf.
29814 * math/e_exp10l.c: Include <float.h>.
29815 (__ieee754_exp10l): Handle underflow here rather than multiplying
29816 large negative argument by M_LN10l.
29817 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29818 spurious overflow exception on underflow.
29819
29820 2012-04-29 Marek Polacek <polacek@redhat.com>
29821
29822 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29823 (__fortify_function): New macro.
29824 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29825 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29826 __extern_always_inline.
29827 * libio/bits/stdio2.h: Likewise.
29828 * libio/bits/stdio.h: Likewise.
29829 * string/string.h: Likewise.
29830 * string/bits/string3.h: Likewise.
29831 * include/stdio.h: Likewise.
29832 * stdlib/bits/stdlib.h: Likewise.
29833 * stdlib/stdlib.h: Likewise.
29834 * rt/bits/mqueue2.h: Likewise.
29835 * rt/mqueue.h: Likewise.
29836 * posix/bits/unistd.h: Likewise.
29837 * posix/unistd.h: Likewise.
29838 * io/bits/poll2.h: Likewise.
29839 * io/bits/fcntl2.h: Likewise.
29840 * io/fcntl.h: Likewise.
29841 * io/sys/poll.h: Likewise.
29842 * misc/bits/syslog.h: Likewise.
29843 * misc/bits/syslog-ldbl.h: Likewise.
29844 * misc/sys/syslog.h: Likewise.
29845 * socket/bits/socket2.h: Likewise.
29846 * socket/sys/socket.h: Likewise.
29847 * debug/tst-chk1.c: Likewise.
29848 * wcsmbs/bits/wchar2.h: Likewise.
29849 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29850 * wcsmbs/wchar.h: Likewise.
29851
29852 2012-04-29 Andreas Jaeger <aj@suse.de>
29853
29854 * Makerules (tests): Remove enable-check-abi protection.
29855 (check-abi-warn): Remove.
29856 (check-abi-%): Remove check-abi-warn usage.
29857
29858 * configure.in: Remove check-abi configure option.
29859 * configure: Regenerated.
29860 * config.make.in (enable-check-abi): Remove.
29861
29862 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29863
29864 [BZ #14033]
29865 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29866 double functions to double *_finite functions.
29867
29868 [BZ #13941]
29869 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29870 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29871 LDBL_MIN_EXP.
29872 * stdio-common/Makefile (tests): Add tst-sprintf3.
29873 * stdio-common/tst-sprintf3.c: New file.
29874
29875 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29876 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29877
29878 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29879
29880 * conform/conformtest.pl: Remove duplicate typed-constant
29881 handling.
29882
29883 2012-04-28 David S. Miller <davem@davemloft.net>
29884
29885 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29886 (check-abi-%): Remove AWK script prerequisite and explicit
29887 abilist directory.
29888 (check-abi): Rewrite to just diff the symlist with the abilist.
29889 (config-tls, config-abi-config): Delete, no longer used.
29890 (update-abi-%): Remove AWK script and explicit abilist directory.
29891 (update-abi): Rewrite to simply compare and conditionally copy the
29892 symlist and the sysdep abilist file. Remove update-abi-config
29893 checks.
29894 * abilist/ld.abilist: Remove.
29895 * abilist/libBrokenLocale.abilist: Remove.
29896 * abilist/libanl.abilist: Remove.
29897 * abilist/libcrypt.abilist: Remove.
29898 * abilist/libdl.abilist: Remove.
29899 * abilist/librt.abilist: Remove.
29900 * abilist/libthread_db.abilist: Remove.
29901 * abilist/libutil.abilist: Remove.
29902 * scripts/extract-abilist.awk: Remove.
29903 * scripts/merge-abilist.awk: Remove.
29904 * sysdeps/generic/libcidn.abilist: New file.
29905 * sysdeps/generic/libnss_compat.abilist: New file.
29906 * sysdeps/generic/libnss_db.abilist: New file.
29907 * sysdeps/generic/libnss_dns.abilist: New file.
29908 * sysdeps/generic/libnss_files.abilist: New file.
29909 * sysdeps/generic/libnss_hesiod.abilist: New file.
29910 * sysdeps/generic/libnss_nis.abilist: New file.
29911 * sysdeps/generic/libnss_nisplus.abilist: New file.
29912 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29913 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29914 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29915 file.
29916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29917 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29918 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29919 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29920 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29921 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29922 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29923 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29924 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29925 file.
29926 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29927 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29928 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29929 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29930 file.
29931 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29932 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29933 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29934 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29935 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29936 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29937 file.
29938 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29939 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29940 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29941 file.
29942 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29944 New file.
29945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29946 New file.
29947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29948 New file.
29949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29950 New file.
29951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29952 New file.
29953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29954 New file.
29955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29956 New file.
29957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29958 New file.
29959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29960 New file.
29961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29962 New file.
29963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29964 New file.
29965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29966 New file.
29967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29968 New file.
29969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29970 file.
29971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29972 New file.
29973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29974 New file.
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29976 file.
29977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29978 New file.
29979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29980 New file.
29981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29982 file.
29983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29984 New file.
29985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29986 New file.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29988 New file.
29989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29990 New file.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29992 New file.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29994 New file.
29995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29997 file.
29998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29999 New file.
30000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30001 file.
30002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30003 file.
30004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30005 file.
30006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30007 file.
30008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30009 file.
30010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30011 New file.
30012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30013 file.
30014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30015 file.
30016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30017 New file.
30018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30019 file.
30020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30022 file.
30023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30024 New file.
30025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30026 file.
30027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30028 file.
30029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30030 file.
30031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30032 file.
30033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30034 file.
30035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30036 New file.
30037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30038 file.
30039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30040 file.
30041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30042 New file.
30043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30044 file.
30045 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30046 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30047 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30048 file.
30049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30050 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30051 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30052 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30053 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30054 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30055 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30056 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30057 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30058 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30061 file.
30062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30063 New file.
30064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30065 file.
30066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30067 file.
30068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30069 file.
30070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30071 file.
30072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30073 file.
30074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30075 New file.
30076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30077 New file.
30078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30079 file.
30080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30081 New file.
30082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30083 file.
30084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30086 file.
30087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30088 New file.
30089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30090 file.
30091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30092 file.
30093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30094 file.
30095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30096 file.
30097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30098 file.
30099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30100 New file.
30101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30102 New file.
30103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30104 file.
30105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30106 New file.
30107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30108 file.
30109
30110 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30111
30112 * conform/conformtest.pl: Fix typo in handling typed-constant from
30113 allow-header.
30114
30115 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30116
30117 * README: Cut down references to pre-2.6 Linux kernels and
30118 Linuxthreads. Update lists of configurations in libc and ports
30119 and sort alphabetically. Say "or newer" with Linux kernel version
30120 requirements.
30121
30122 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30123
30124 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30125
30126 [BZ #887]
30127 * math/libm-test.inc (logb_test_downward): New test to expose
30128 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30129 rounding mode.
30130
30131 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30132
30133 [BZ #14027]
30134 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30135 to be done.
30136 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30137 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30138
30139 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30140
30141 * sysdeps/unix/i386/brk.S: Remove file.
30142 * sysdeps/unix/i386/dl-brk.S: Likewise.
30143 * sysdeps/unix/i386/pipe.S: Likewise.
30144 * sysdeps/unix/i386/sigreturn.S: Likewise.
30145 * sysdeps/unix/i386/syscall.S: Likewise.
30146 * sysdeps/unix/i386/vfork.S: Likewise.
30147 * sysdeps/unix/i386/wait.S: Likewise.
30148
30149 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30150 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30151
30152 * configure.in (arm*-none*): Do not allow without
30153 --enable-hacker-mode.
30154 (netbsd*): Remove case setting base_os.
30155 (386bsd*): Likewise.
30156 (freebsd*): Likewise.
30157 (bsdi*): Likewise.
30158 (osf*): Likewise.
30159 (sunos*): Likewise.
30160 (ultrix*): Likewise.
30161 (newsos*): Likewise.
30162 (dynix*): Likewise.
30163 (*bsd*): Likewise.
30164 (sysv*): Likewise.
30165 (isc*): Likewise.
30166 (esix*): Likewise.
30167 (sco*): Likewise.
30168 (minix*): Likewise.
30169 (irix4*): Likewise.
30170 (irix6*): Likewise.
30171 (solaris[2-9]*): Likewise.
30172 (none): Likewise.
30173 * configure: Regenerated.
30174
30175 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30176
30177 [BZ #11521]
30178 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30179 overflow or cancellation in calculating denominator.
30180 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30182 down expression to avoid unexpected rounding in newer GCCs.
30183 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30184
30185 2012-04-26 David S. Miller <davem@davemloft.net>
30186
30187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30188 long-double compat symbols.
30189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30202
30203 2012-04-25 David S. Miller <davem@davemloft.net>
30204
30205 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30206 HWCAP_* values only after the memory barriers have been defined.
30207 (atomic_full_barrier): Define.
30208 (atomic_read_barrier): Define.
30209 (atomic_write_barrier): Define.
30210
30211 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30212
30213 * shlib-versions: Add libgcc_s version information.
30214 * sysdeps/generic/libgcc_s.h: Remove.
30215 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30216 libgcc_s.h.
30217 * sysdeps/gnu/unwind-resume.c: Likewise.
30218 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30219
30220 2012-04-25 David S. Miller <davem@davemloft.net>
30221
30222 * sysdeps/unix/sparc/brk.S: Delete.
30223 * sysdeps/unix/sparc/dl-brk.S: Delete.
30224 * sysdeps/unix/sparc/pipe.S: Delete.
30225 * sysdeps/unix/sparc/sysdep.S: Delete.
30226 * sysdeps/unix/sparc/sysdep.h: Delete.
30227 * sysdeps/unix/sparc/vfork.S: Delete.
30228 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30229 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30231 ret_ERRVAL, r0, r1, MOVE): Define.
30232 (JUMPTARGET): Remove.
30233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30234 sysdeps/unix/sparc/sysdep.h
30235 (ENTRY, END): Remove.
30236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30237
30238 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30239
30240 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30241 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30242 -DIS_IN_build.
30243
30244 * timezone/README: Update upstream location and email address for
30245 tzcode and tzdata.
30246 * timezone/zdump.c: Update from tzcode 2012b.
30247 * timezone/zic.c: Likewise.
30248
30249 * configure.in (libc_cv_as_needed): Remove test.
30250 * configure: Regenerated.
30251 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30252 conditional definition.
30253 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30254 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30255 * config.make.in (have-as-needed): Remove variable.
30256
30257 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30258 Paul Pluzhnikov <ppluzhnikov@google.com>
30259
30260 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30261 strings correctly.
30262
30263 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30264
30265 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30266 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30267 * sysdeps/sh/strlen.S: Likewise.
30268
30269 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30270
30271 * sysdeps/unix/fork.S: Remove file.
30272 * sysdeps/unix/i386/fork.S: Likewise.
30273 * sysdeps/unix/sparc/fork.S: Likewise.
30274
30275 * sysdeps/unix/system.c: Remove file.
30276 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30277
30278 * sysdeps/unix/getegid.S: Remove file.
30279 * sysdeps/unix/geteuid.S: Likewise.
30280
30281 2012-04-24 Roland McGrath <roland@hack.frob.com>
30282
30283 * scripts/check-localplt.awk: New file.
30284 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30285 of diff.
30286 * scripts/data/localplt-generic.data: Add a comment.
30287
30288 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30289 NODE when __dir_mkfile failed.
30290 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30291 Reported by Ludovic Courtès <ludo@gnu.org>.
30292
30293 2012-04-24 Andreas Jaeger <aj@suse.de>
30294
30295 * Makerules (common-clean): Also remove gen-as-const-headers
30296 files.
30297
30298 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30299
30300 * Makerules (native-compile): Do not change working directory for
30301 build. Use $(OUTPUT_OPTION) in command.
30302 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30303
30304 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30305
30306 [BZ #13886]
30307 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30308 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30309 * math/libm-test.inc (floor_test): Add more tests.
30310 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30311
30312 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30313
30314 * sysdeps/unix/getdents.c: Remove file.
30315 * sysdeps/unix/sysv/getdents.c: Likewise.
30316 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30317
30318 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30319 sysdeps/unix/mman/syscalls.list.
30320 (mmap): Likewise.
30321 (mprotect): Likewise.
30322 (msync): Likewise.
30323 (munmap): Likewise.
30324 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30325 * sysdeps/unix/mman/syscalls.list: Remove.
30326 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30327
30328 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30329 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30330 * configure: Regenerated.
30331 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30332 $(libgcc_s_suffix).
30333 * config.make.in (libgcc_s_suffix): Remove variable.
30334
30335 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30336
30337 * sysdeps/unix/sysv/gethostname.c: Move to ...
30338 * sysdeps/posix/gethostname.c: ... here.
30339
30340 * sysdeps/unix/execve.S: Remove file.
30341
30342 * sysdeps/unix/_exit.S: Remove file.
30343
30344 2012-04-23 Andreas Jaeger <aj@suse.de>
30345
30346 [BZ #13739]
30347 * manual/Makefile: Remove make dist support, there's no
30348 need for a stand-alone documentation tar ball.
30349 (TEXI2DVI): Define always, it's not in Makeconfig.
30350 (dist): Removed.
30351 (tar-it): Removed.
30352 (edition): Removed.
30353 (glibc-doc-$(edition).tar): Removed
30354 (%.Z): Removed.
30355 (%.gz): Removed.
30356 (%.uu): Removed.
30357 (ETAGS): Remove, it's in Makeconfig.
30358 (move-if-change): Remove, it's in Makeconfig.
30359
30360 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30361
30362 [BZ #13970]
30363 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30364 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30365 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30366 (strtod_l, strtof_l, strtold_l): Remove __wur.
30367 It is not necessarily an error to ignore strtol's return value.
30368 One can reliably look at the stored endptr to decide whether
30369 the number had valid syntax.
30370
30371 2012-04-21 Andreas Jaeger <aj@suse.de>
30372
30373 [BZ #13739]
30374 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30375
30376 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30377
30378 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30379 * sysdeps/unix/sysv/Versions: Remove file.
30380
30381 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30382
30383 [BZ #13927]
30384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30385
30386 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30387
30388 [BZ #7064]
30389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30390 version from __vm86.
30391
30392 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30393
30394 * sysdeps/unix/common/lxstat.c: Remove file.
30395 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30396
30397 * sysdeps/unix/sysv/Makefile: Remove file.
30398
30399 * sysdeps/unix/sysv/direct.h: Remove file.
30400
30401 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30402 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30403 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30404 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30405 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30406 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30407 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30408
30409 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30410
30411 * sysdeps/unix/xmknod.c: Remove file.
30412 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30413
30414 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30415
30416 * sysdeps/unix/sysv/i386/time.S: Remove file.
30417
30418 * sysdeps/unix/fxstat.c: Remove file.
30419 * sysdeps/unix/xstat.c: Likewise.
30420 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30421
30422 * sysdeps/unix/sysv/sigaction.c: Remove file.
30423
30424 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30425 (sysdep_headers): Remove variable.
30426 [termio.h not in sysdep_headers] (generated): Likewise.
30427 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30428 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30429 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30430 * sysdeps/unix/sysv/tcflow.c: Likewise.
30431 * sysdeps/unix/sysv/tcflush.c: Likewise.
30432 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30433 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30434 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30435 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30436 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30437
30438 * sysdeps/unix/siglist.c: Remove file.
30439
30440 * sysdeps/unix/getppid.S: Remove file.
30441
30442 * sysdeps/unix/mkdir.c: Remove file.
30443 * sysdeps/unix/rmdir.c: Likewise.
30444
30445 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30446
30447 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30448 ERR_MAX value.
30449 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30450 errlist-compat value.
30451
30452 2012-04-18 David S. Miller <davem@davemloft.net>
30453
30454 * sysdeps/generic/memcopy.h (reg_char): Delete.
30455 * debug/strcat_chk.c: Use char, not reg_char.
30456 * debug/strcpy_chk.c: Likewise.
30457 * debug/strncat_chk.c: Likewise.
30458 * debug/strncpy_chk.c: Likewise.
30459 * string/memchr.c: Likewise.
30460 * string/memrchr.c: Likewise.
30461 * string/rawmemchr.c: Likewise.
30462 * string/strcat.c: Likewise.
30463 * string/strchr.c: Likewise.
30464 * string/strchrnul.c: Likewise.
30465 * string/strcmp.c: Likewise.
30466 * string/strcpy.c: Likewise.
30467 * string/strncat.c: Likewise.
30468 * string/strncmp.c: Likewise.
30469 * string/strncpy.c: Likewise.
30470
30471 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30472
30473 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30474 __builtin_memcopy is called when src and dest ranges are known to not
30475 overlap.
30476
30477 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30478
30479 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30480 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30481 fwd_align_merge macro call.
30482 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30483 bwd_align_merge macro call.
30484 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30485
30486 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30487
30488 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30489 bwd_align_merge macros.
30490 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30491 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30492 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30493
30494 2012-04-18 David S. Miller <davem@davemloft.net>
30495
30496 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30497
30498 2012-04-18 Andreas Jaeger <aj@suse.de>
30499
30500 [BZ# 6794]
30501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30502 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30503 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30504
30505 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30506 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30507 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30508
30509 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30510 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30511 Adjust for changed ldbl-128 files.
30512
30513 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30514 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30515 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30516
30517 2012-04-17 David S. Miller <davem@davemloft.net>
30518
30519 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30520
30521 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30522
30523 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30524 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30525 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30526 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30527 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30528 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30529
30530 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30531
30532 [BZ #6794]
30533 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30534 * math/libm-test.inc: Add ilogb errno and exception tests.
30535 * math/w_ilogb.c: New file: ilogb wrapper.
30536 * math/w_ilogbf.c: New file: ilogbf wrapper.
30537 * math/w_ilogbl.c: New file: ilogbl wrapper.
30538 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30539 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30540 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30541 exception being thrown with 0.0 as argument.
30542 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30543 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30544 exception being thrown with 0.0 as argument.
30545 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30546 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30547 exception being thrown with 0.0 as argument.
30548 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30549 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30550 exception being thrown with 0.0 as argument.
30551 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30552 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30554 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30555 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30556 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30557 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30558 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30559 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30560
30561 2012-04-17 Petr Baudis <pasky@ucw.cz>
30562
30563 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30564 with altivec.
30565
30566 2012-04-16 Marek Polacek <polacek@redhat.com>
30567
30568 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30569
30570 2012-04-16 Marek Polacek <polacek@redhat.com>
30571
30572 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30573 operands of fdivp instruction.
30574
30575 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30576
30577 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30578 * elf/tst-auditmod3b.c: Likewise.
30579 * elf/tst-auditmod4b.c: Likewise.
30580 * elf/tst-auditmod5b.c: Likewise.
30581 * elf/tst-auditmod6b.c: Likewise.
30582 * elf/tst-auditmod6c.c: Likewise.
30583 * elf/tst-auditmod7b.c: Likewise.
30584 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30585 * sysdeps/x86_64/preconfigure.in: Likewise.
30586 * sysdeps/x86_64/preconfigure: Regenerated.
30587
30588 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30589
30590 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30591 __ILP32__.
30592
30593 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
30594
30595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30596 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30597
30598 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30599
30600 [BZ #13973]
30601 * locale/iso-639.def: Fix gl language name. Spotted by
30602 Yaron Shahrabani.
30603
30604 2012-04-12 Roland McGrath <roland@hack.frob.com>
30605
30606 [BZ #2074]
30607 * libio/libio.h (__io_write_fn): Update comment.
30608
30609 2012-04-12 Petr Baudis <pasky@ucw.cz>
30610
30611 [BZ #2074]
30612 * stdio.texi (Hook Functions): The user provided writer function
30613 is not allowed to return -1.
30614
30615 2012-04-11 David S. Miller <davem@davemloft.net>
30616
30617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30618
30619 2012-04-11 Mike Frysinger <vapier@gentoo.org>
30620
30621 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30622 Add a leading slash to rtkaio.
30623
30624 2012-04-11 Jim Meyering <meyering@redhat.com>
30625
30626 [BZ #11959]
30627 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30628 It is not necessarily an error to ignore fwrite's return
30629 value. One can reliably use ferror to test for errors after
30630 the fact.
30631
30632 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30633
30634 * bits/types.h (__snseconds_t): New type.
30635 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30636
30637 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30639 (__SNSECONDS_T_TYPE): Likewise.
30640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30641 (__SNSECONDS_T_TYPE): Likewise.
30642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30643 (__SNSECONDS_T_TYPE): Likewise.
30644
30645 2012-04-10 Andreas Jaeger <aj@suse.de>
30646
30647 [BZ #2636]
30648 * manual/time.texi (Processor Time): Return type of times is
30649 elapsed real time since an arbitrary point in the past.
30650 (CPU Time): Move CLK_TCK from here...
30651 (Processor Time): ...to here. Correct description.
30652 * manual/conf.texi (Constants for Sysconf): Correct description of
30653 _SC_CLK_TCK.
30654
30655 2012-04-10 David S. Miller <davem@davemloft.net>
30656
30657 [BZ #13967]
30658 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30659 where the is a gap between DT_REL(A) and DT_JMPREL.
30660
30661 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30662
30663 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30664 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30665 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30666
30667 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30668
30669 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30670 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30671 (dl_main): Handle --inhibit-cache.
30672 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30673 _dl_inhibit_cache.
30674 * elf/dl-load.c (_dl_map_object): Use it.
30675 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30676
30677 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30678
30679 [BZ #13872]
30680 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30681 (__ieee754_powl): Saturate large exponents rather than testing for
30682 overflow of y*log2(x).
30683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30684 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30685 exceptions.
30686
30687 [BZ #11521]
30688 * math/s_ctan.c: Include <float.h>.
30689 (__ctan): Avoid internal overflow or cancellation in calculating
30690 denominator.
30691 * math/s_ctanf.c: Likewise.
30692 * math/s_ctanl.c: Likewise.
30693 * math/s_ctanh.c: Likewise.
30694 * math/s_ctanhf.c: Likewise.
30695 * math/s_ctanhl.c: Likewise.
30696 * math/libm-test.inc (ctan_test): Add more tests.
30697 (ctanh_test): Likewise.
30698 * sysdeps/i386/fpu/libm-test-ulps: Update.
30699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30700
30701 2012-04-09 Andreas Jaeger <aj@suse.de>
30702
30703 [BZ #6894]
30704 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30705 is an optional BSD extension.
30706
30707 [BZ #10254]
30708 * manual/stdio.texi (Opening Streams): Document additional fopen
30709 parameters.
30710
30711 2012-04-09 Roland McGrath <roland@hack.frob.com>
30712
30713 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30714 %eax without telling the compiler.
30715
30716 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30717
30718 [BZ # 13963]
30719 * manual/install.texi: Use sourceware.org.
30720
30721 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30722
30723 [BZ #13873]
30724 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30725 (__ieee754_pow): Generate overflow and underflow using huge*huge
30726 and tiny*tiny rather than just returning constant infinity or zero
30727 for large exponents.
30728 * math/libm-test.inc (pow_test): Require overflow exceptions for
30729 applicable cases of large exponents.
30730
30731 [BZ #706]
30732 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30733 (__ieee754_pow): Use iterative multiplication algorithm only for
30734 integer exponents with absolute value below 1024. Check for odd
30735 integer exponents when using algorithm for real exponents.
30736 * math/libm-test.inc (pow_test): Add more tests.
30737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30738
30739 2012-04-08 Joseph Myers <joseph@codesourcery.com>
30740
30741 [BZ #13705]
30742 * math/libm-test.inc (exp_test): Do not allow overflow exception
30743 on underflow test.
30744
30745 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30746
30747 [BZ #13705]
30748 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30749 instead of __kernel_standard_f.
30750
30751 2012-04-08 Mike Frysinger <vapier@gentoo.org>
30752
30753 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30754 * sysdeps/x86_64/memset_chk.S: Likewise.
30755
30756 2012-04-08 Andreas Jaeger <aj@suse.de>
30757
30758 [BZ #10153]
30759 * manual/startup.texi (Environment Access): Describe return value
30760 for putenv and setenv.
30761
30762 [BZ #6895]
30763 * manual/filesys.texi (Directory Entries): Add description for
30764 DT_LNK.
30765
30766 [BZ #6890]
30767 * manual/filesys.texi (Directory Entries): Clarify that it's file
30768 system not operating system in the description of DT_UNKNOWN.
30769
30770 [BZ #6578]
30771 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30772
30773 2012-04-08 Stephen Compall <s11@member.fsf.org>
30774
30775 [BZ #6649]
30776 * manual/llio.texi (Opening and Closing Files): Add cross
30777 reference to explain mode argument.
30778
30779 2012-04-07 Mike Frysinger <vapier@gentoo.org>
30780
30781 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30782 * sysdeps/x86_64/memset_chk.S: Likewise.
30783
30784 2012-04-07 David S. Miller <davem@davemloft.net>
30785
30786 * elf/elf.h (R_SPARC_WDISP10): Define.
30787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30788 R_SPARC_SIZE32.
30789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30790 R_SPARC_SIZE64 and R_SPARC_H34.
30791
30792 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30793
30794 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30795 conditions and remove no longer applicable assertion.
30796
30797 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30798
30799 * bits/byteswap.h: Include <features.h>.
30800 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30801 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30802
30803 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30804
30805 * bits/byteswap.h (__bswap_16): Removed.
30806 Include <bits/byteswap-16.h> to get __bswap_16.
30807 * sysdeps/i386/bits/byteswap.h: Likewise.
30808 * sysdeps/s390/bits/byteswap.h: Likewise.
30809 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30810 * bits/byteswap-16.h: New file.
30811 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30812 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30813 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30814 * string/Makefile (headers): Add bits/byteswap-16.h.
30815
30816 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30817
30818 [BZ #13895]
30819 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30820 extra indirection.
30821 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30822 * nss/tst-nss-static.c: New.
30823
30824 2012-04-06 Robert Millan <rmh@gnu.org>
30825
30826 [BZ #6486]
30827 * manual/llio.texi (File Position Primitive): lseek
30828 refers to WHENCE when it really means OFFSET.
30829
30830 2012-04-06 Andreas Jaeger <aj@suse.de>
30831
30832 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30833 strncmp declarations.
30834
30835 * abilist/libc.abilist: Add __poll and __ppoll.
30836
30837 2012-04-05 David S. Miller <davem@davemloft.net>
30838
30839 * scripts/check-local-headers.sh: Accept a host triplet in the
30840 path matched by the exclude regexp.
30841
30842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30843 definition.
30844 * sysdeps/powerpc/powerpc32/dl-machine.h
30845 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30846 * sysdeps/s390/s390-32/dl-machine.h
30847 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30848 * sysdeps/sparc/sparc32/dl-machine.h
30849 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30850 * sysdeps/sparc/sparc64/dl-machine.h
30851 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30852
30853 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30854 lazy binding.
30855 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30856 undefined symbol errors.
30857
30858 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30859 DT_NEEDED entries.
30860
30861 2012-04-05 Michael Matz <matz@suse.de>
30862
30863 [BZ #13592]
30864 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30865
30866 2012-04-05 Andreas Jaeger <aj@suse.de>
30867
30868 [BZ #13908]
30869 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30870 comment.
30871
30872 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30873
30874 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30875 which ROUND is no valid rounding mode.
30876
30877 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30878
30879 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30880 read again.
30881 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30882
30883 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30884
30885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30886 an exception using FPU order intentionally.
30887
30888 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30889
30890 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30891 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30892 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30893 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30894
30895 2012-04-05 Simon Josefsson <simon@josefsson.org>
30896
30897 [BZ #12340]
30898 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30899 EINVAL when BUFLEN is too smal.
30900
30901 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30902
30903 [BZ #13553]
30904 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30905 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30906
30907 2012-04-03 Andreas Jaeger <aj@suse.de>
30908
30909 [BZ #13938]
30910 * manual/setjmp.texi (System V contexts): Fix sentence.
30911
30912 [BZ #13926]
30913 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30914 New macro for this case.
30915 [!__GNUC__] (__bswap_64): New inline function for this case.
30916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30917 * bits/byteswap.h: Likewise.
30918 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30919 ull, guard with __GLIBC_HAVE_LONG_LONG.
30920
30921 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30922 __GLIBC_HAVE_LONG_LONG.
30923
30924 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30925 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30926
30927 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30928
30929 [BZ #13691]
30930 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30931 inptr and inend, rather than using last_ch.
30932
30933 2012-04-02 David S. Miller <davem@davemloft.net>
30934
30935 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30936 * stdio-common/printf-parse.h (read_int): Change return type to
30937 'int', return -1 on INT_MAX overflow.
30938 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30939 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30940 overflows INT_MAX. Check for overflow of in-format-string precision
30941 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30942 SIZE_MAX not INT_MAX for integer overflow test.
30943 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30944 skip the construct in the format string but do not record anything.
30945 * stdio-common/bug22.c: Adjust to test both width/prevision
30946 INT_MAX overflow as well as total length INT_MAX overflow. Check
30947 explicitly for proper errno values.
30948
30949 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30950
30951 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30952 CHAR_MAX.
30953 * string/test-strcmp.c [! WIDE]: Likewise.
30954 * time/tst-mktime2.c: Likewise for INT_MAX.
30955 * string/test-string.h: #include <sys/param.h> for MIN.
30956
30957 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30958 * sysdeps/i386/init-first.c (init): Likewise.
30959 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30960 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30961 * sysdeps/sh/init-first.c (init): Likewise.
30962
30963 2012-04-01 Ulrich Drepper <drepper@gmail.com>
30964
30965 * po/ru.po: Update from translation team.
30966 * po/vi.po: Likewise.
30967
30968 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30969
30970 * resolv/nss_dns/dns-host.c: Merge copyright years.
30971
30972 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30973
30974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30975 Optimize memcpy with prefetch if
30976 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30977 src, dst pointers have unequal 16 byte alignments.
30978
30979 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30980
30981 [BZ #13928]
30982 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30983 from a CNAME entry and return the minimum ttl for the query.
30984 (gaih_getanswer_slice): Likewise.
30985
30986 2012-03-30 Jeff Law <law@redhat.com>
30987
30988 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30989 due to long keys.
30990 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30991 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30992
30993 * resolv/nss_dns/dns-host.c: Update copyright year.
30994
30995 2012-03-30 Ulrich Drepper <drepper@gmail.com>
30996
30997 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30998 requests to save a system call. Fix check that all bytes are sent.
30999
31000 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31001 comments for sendmmsg.
31002
31003 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31004
31005 [BZ #13691]
31006 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31007 with only 1 character between 0x0041 and 0x01b0.
31008 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31009 * wcsmbs/tst-mbsnrtowcs.c: New file.
31010
31011 2012-03-29 David S. Miller <davem@davemloft.net>
31012
31013 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31014 small copies by hand.
31015
31016 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31017
31018 [BZ #13761]
31019 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31020 _nss_compat_initgroups_dyn): Fall back to malloc/free
31021 for large group memberships.
31022
31023 2012-03-28 David S. Miller <davem@davemloft.net>
31024
31025 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31026 that branches into memcpy.
31027 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31030 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31032 bits.
31033 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31034 implementation too.
31035 * sysdeps/sparc/mempcpy.S: New file.
31036
31037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31038 the IFUNC routine in the libc case.
31039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31040
31041 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31042 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31043 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31044 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31045 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31046 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31047 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31048 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31049
31050 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31051 loop to 256 bytes instead of 64 bytes and fix test signedness.
31052
31053 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31054 * sysdeps/sparc/sparc32/Makefile: rather than here...
31055 * sysdeps/sparc/sparc64/Makefile: and here.
31056
31057 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31058
31059 * malloc/mallocbug.c: Avoid warnings about unused variables.
31060
31061 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31062
31063 [BZ #13760]
31064 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31065 in the right place. Discard and retry query if response is
31066 larger than input buffer size.
31067
31068 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31069
31070 [BZ #369]
31071 [BZ #2678]
31072 [BZ #3866]
31073 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31074 x for large integer exponent.
31075 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31076 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31077 sign of result as needed afterwards.
31078 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31079 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31080 result for underflowing pow the same as for overflow.
31081 (__kernel_standard_l): Handle powl overflow and underflow here
31082 rather than calling __kernel_standard.
31083 * math/libm-test.inc (pow_test): Add more tests.
31084
31085 [BZ #3868]
31086 [BZ #13879]
31087 [BZ #13910]
31088 [BZ #13911]
31089 [BZ #13912]
31090 [BZ #13913]
31091 [BZ #13915]
31092 [BZ #13916]
31093 [BZ #13917]
31094 [BZ #13918]
31095 [BZ #13919]
31096 [BZ #13920]
31097 [BZ #13921]
31098 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31099 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31100 (__kernel_standard_l): New function.
31101 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31102 __kernel_standard.
31103 * math/w_acosl.c (__acosl): Likewise.
31104 * math/w_asinl.c (__asinl): Likewise.
31105 * math/w_atan2l.c (__atan2l): Likewise.
31106 * math/w_atanhl.c (__atanhl): Likewise.
31107 * math/w_coshl.c (__coshl): Likewise.
31108 * math/w_exp10l.c (__exp10l): Likewise.
31109 * math/w_exp2l.c (__exp2l): Likewise.
31110 * math/w_fmodl.c (__fmodl): Likewise.
31111 * math/w_hypotl.c (__hypotl): Likewise.
31112 * math/w_j0l.c (__j0l, __y0l): Likewise.
31113 * math/w_j1l.c (__j1l, __y1l): Likewise.
31114 * math/w_jnl.c (__jnl, __ynl): Likewise.
31115 * math/w_lgammal.c (__lgammal): Likewise.
31116 * math/w_log10l.c (__log10l): Likewise.
31117 * math/w_log2l.c (__log2l): Likewise.
31118 * math/w_logl.c (__logl): Likewise.
31119 * math/w_powl.c (__powl): Likewise.
31120 * math/w_remainderl.c (__remainderl): Likewise.
31121 * math/w_scalbl.c (sysv_scalbl): Likewise.
31122 * math/w_sinhl.c (__sinhl): Likewise.
31123 * math/w_sqrtl.c (__sqrtl): Likewise.
31124 * math/w_tgammal.c (__tgammal): Likewise.
31125 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31126 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31127 * math/libm-test.inc (acos_test): Add more tests.
31128 (acosh_test): Likewise.
31129 (asin_test): Likewise.
31130 (atanh_test): Likewise.
31131 (exp_test): Likewise.
31132 (exp10_test): Likewise.
31133 (exp2_test): Likewise.
31134 (expm1_test): Likewise.
31135 (lgamma_test): Likewise.
31136 (log_test): Likewise.
31137 (log10_test): Likewise.
31138 (log1p_test): Likewise.
31139 (log2_test): Likewise.
31140 (pow_test): Do not allow some spurious overflow exceptions.
31141 (sqrt_test): Add more tests.
31142 (tgamma_test): Likewise.
31143 (y0_test): Likewise.
31144 (y1_test): Likewise.
31145 (yn_test): Likewise.
31146
31147 2012-03-27 Anton Blanchard <anton@samba.org>
31148
31149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31150 MAP_HUGETLB.
31151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31152 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31154
31155 2012-03-27 David S. Miller <davem@davemloft.net>
31156
31157 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31158
31159 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31160 have-as-vis3 check.
31161
31162 2012-03-27 Andreas Jaeger <aj@suse.de>
31163
31164 * sysdeps/x86_64/elf/configure.in: Moved to ...
31165 * sysdeps/x86_64/configure.in: ... here.
31166 * sysdeps/x86_64/elf/start.S: Moved to ...
31167 * sysdeps/x86_64/start.S: ... here.
31168 * sysdeps/x86_64/elf/configure: Delete.
31169
31170 * sysdeps/x86_64/configure.in: Merge contents from
31171 sysdeps/i386/configure.in (without i686 check).
31172
31173 * sysdeps/i386/elf/Versions: Merge into ...
31174 * sysdeps/i386/Versions: ... this.
31175 * sysdeps/i386/elf/Versions: Delete file.
31176 * sysdeps/i386/elf/start.S: Moved to ...
31177 * sysdeps/i386/start.S: ...here.
31178 * sysdeps/i386/elf/configure.in: Merge into...
31179 * sysdeps/i386/configure.in: ...here.
31180 * sysdeps/i386/elf/configure.in: Delete file.
31181 * sysdeps/i386/elf/configure: Delete file.
31182
31183 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31184 * debug/backtracesyms.c: ... here.
31185 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31186 * debug/backtracesymsfd.c: ... here.
31187 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31188 * sysdeps/generic/ifunc-sel.h: ... here.
31189
31190 * sysdeps/unix/i386/start.c: Delete file.
31191 * sysdeps/unix/sparc/start.c: Delete file.
31192 * sysdeps/unix/start.c: Delete file.
31193
31194 * sysdeps/sh/elf/configure.in: Moved to ...
31195 * sysdeps/sh/configure.in: ... here.
31196 * sysdeps/sh/elf/start.S: Moved to ...
31197 * sysdeps/sh/start.S: ... here.
31198 * sysdeps/sh/elf/configure: Delete file.
31199
31200 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31201 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31202 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31203 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31204 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31205 * sysdeps/powerpc/powerpc64/start.S: here.
31206 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31207 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31208 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31209 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31210 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31211
31212 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31213 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31214 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31215 * sysdeps/powerpc/powerpc32/start.S: ... here.
31216 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31217 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31218 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31219
31220 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31221 * sysdeps/powerpc/ifunc-sel.h: ... here.
31222 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31223 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31224
31225 * sysdeps/sparc/elf/configure.in: Moved to ...
31226 * sysdeps/sparc/configure.in: ... here.
31227 * sysdeps/sparc/elf/configure: Delete file.
31228 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31229 * sysdeps/sparc/sparc32/start.S: ... here.
31230 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31231 * sysdeps/sparc/sparc64/start.S: ... here.
31232 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31233 * sysdeps/sparc/sparc32/Makefile: ... this.
31234 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31235 * sysdeps/sparc/sparc64/Makefile: ... this.
31236
31237 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31238 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31239 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31240 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31241 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31242 * sysdeps/s390/s390-32/setjmp.S: ... here.
31243 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31244 * sysdeps/s390/s390-32/configure.in: ... here.
31245 * sysdeps/s390/s390-32/elf/configure: Delete file.
31246 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31247 * sysdeps/s390/s390-32/start.S: ... here.
31248
31249 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31250 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31251 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31252 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31253 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31254 * sysdeps/s390/s390-64/setjmp.S: ... here.
31255 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31256 * sysdeps/s390/s390-64/configure.in: ... here
31257 * sysdeps/s390/s390-64/elf/configure: Delete file.
31258 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31259 * sysdeps/s390/s390-64/start.S: ... here.
31260 * sysdeps/s390/s390-64/elf/configure: Delete.
31261
31262 * configure.in: Remove support for elf directories in sysdeps.
31263
31264 * configure: Regenerated.
31265 * sysdeps/i386/configure: Regenerated.
31266 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31267 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31268 * sysdeps/s390/s390-32/configure: Regenerated.
31269 * sysdeps/s390/s390-64/configure: Regenerated.
31270 * sysdeps/sh/configure: Regenerated.
31271 * sysdeps/sparc/configure: Regenerated.
31272 * sysdeps/x86_64/configure: Regenerated.
31273
31274 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31275
31276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31277
31278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31279 denormal result into account.
31280
31281 2012-03-25 Roland McGrath <roland@hack.frob.com>
31282
31283 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31284 Reported by Allan McRae <allan@archlinux.org>.
31285
31286 2012-03-23 Jeff Law <law@redhat.com>
31287
31288 * nss/getnssent.c (__nss_getent): Fix typo.
31289
31290 2012-03-23 David S. Miller <davem@davemloft.net>
31291
31292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31293
31294 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31295
31296 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31297 to pad to uint64_t for each field.
31298 (dl_tls_index): Replace unsigned long with uint64_t.
31299
31300 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31301 Paul Pluzhnikov <ppluzhnikov@google.com>
31302
31303 [BZ #6528]
31304 * grp/Makefile (otherlibs): Don't set it.
31305 * inet/Makefile (otherlibs): Likewise.
31306 * login/Makefile (otherlibs): Likewise.
31307 * nscd/Makefile (otherlibs): Likewise.
31308 * posix/Makefile (otherlibs): Likewise.
31309 * pwd/Makefile (otherlibs): Likewise.
31310 * rt/Makefile (otherlibs): Likewise.
31311 * sunrpc/Makefile (otherlibs): Likewise.
31312 * nss/Makefile (otherlibs): Likewise.
31313 Add libnss_files to routines and static-only-routines.
31314 ($(objpfx)getent): Remove rule.
31315 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31316 static-only-routines.
31317
31318 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31319
31320 [BZ #13892]
31321 * math/s_cexp.c: Include <float.h>.
31322 (__cexp): Handle exp result overflowing not necessarily
31323 overflowing both real and imaginary parts of result.
31324 * math/s_cexpf.c: Likewise.
31325 * math/s_cexpl.c: Likewise.
31326 * math/libm-test.inc (cexp_test): Add more tests.
31327 * sysdeps/i386/fpu/libm-test-ulps: Update.
31328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31329
31330 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31331
31332 * include/link.h (ELFW): New macro.
31333 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31334 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31335
31336 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31339 with uint64_t.
31340
31341 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31342
31343 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31344 declaration.
31345 (struct La_x32_retval): Likewise.
31346
31347 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31348
31349 * sysdeps/x86_64/preconfigure.in: New file.
31350 * sysdeps/x86_64/preconfigure: New generated file.
31351
31352 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31353
31354 [BZ #13824]
31355 * math/e_exp2l.c: Include <float.h>.
31356 (__ieee754_exp2l): Handle overflow and underflow cases
31357 separately. Only pass fractional part of argument to
31358 __ieee754_expl.
31359 * math/libm-test.inc (exp2_test): Add more tests.
31360
31361 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31362 negating x to take absolute value.
31363 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31364 Likewise.
31365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31367 Likewise.
31368 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31369 computing low part if x was negated.
31370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31371
31372 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31373
31374 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31375 la_x32_gnu_pltexit.
31376 (pltexit): Cast int_retval to ptrdiff_t.
31377 * elf/tst-auditmod3b.c: Likewise.
31378 * elf/tst-auditmod4b.c: Likewise.
31379 * elf/tst-auditmod5b.c: Likewise.
31380 * elf/tst-auditmod6b.c: Likewise.
31381 * elf/tst-auditmod6c.c: Likewise.
31382 * elf/tst-auditmod7b.c: Likewise.
31383
31384 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31385 and x32_gnu_pltexit.
31386
31387 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31388 __ELF_NATIVE_CLASS.
31389 (La_x32_regs): New macro.
31390 (La_x32_retval): Likewise.
31391 (la_x32_gnu_pltenter): New function prototype.
31392 (la_x32_gnu_pltexit): Likewise.
31393
31394 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31395
31396 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31397 exponent.
31398
31399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31400
31401 * configure.in (libc_cv_cc_nofma): Check for option to disable
31402 generation of FMA instructions.
31403 * configure: Regenerate.
31404 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31405 * sysdeps/ieee754/dbl-64/Makefile: New file.
31406 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31407 Remove brandred-fma4.
31408 (CFLAGS-brandred-fma4.c): Remove.
31409 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31410 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31411 define.
31412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31413 define.
31414
31415 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31416
31417 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31418 LLONG_MAX != LONG_MAX.
31419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31420 (_fitoa_word): Likewise.
31421 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31422 LLONG_MAX != LONG_MAX.
31423 * stdio-common/_itowa.h: Include <_itoa.h>.
31424 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31425 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31426 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31427 only if not defined.
31428 (_ITOA_WORD_TYPE): Likewise.
31429 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31430 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31431
31432 2012-03-21 David S. Miller <davem@davemloft.net>
31433
31434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31435
31436 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31437
31438 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31439 of x86_64 when setting libc_cv_slibdir, libdir and
31440 libc_cv_localedir.
31441 * sysdeps/unix/sysv/linux/configure: Regenerated.
31442
31443 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31444
31445 * manual/lang.texi (Old Varargs): Remove section.
31446 (How Variadic): Update menu.
31447 (va_start): Do not mention varargs.h.
31448
31449 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31450 Joseph Myers <joseph@codesourcery.com>
31451
31452 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31453 link test.
31454 * configure: Regenerated.
31455
31456 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31457
31458 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31459 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31460 conformtest.pl
31461
31462 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31463
31464 * NOTES: Remove.
31465 * Makefile (files-for-dist): Remove NOTES.
31466 (NOTES): Remove rule.
31467 * README: Don't refer to NOTES.
31468 * manual/creature.texi: Don't include macros.texi.
31469 * manual/intro.texi (creature.texi): Remove comment referring to
31470 NOTES.
31471
31472 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31473 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31474 * configure: Regenerated.
31475 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31476 LIBC_TRY_CC_OPTION.
31477 (libc_cv_as_i686): Likewise.
31478 (libc_cv_cc_avx): Likewise.
31479 (libc_cv_cc_sse2avx): Likewise.
31480 (libc_cv_cc_fma4): Likewise.
31481 (libc_cv_cc_novzeroupper): Likewise.
31482 * sysdeps/i386/configure: Regenerated.
31483
31484 [BZ #13883]
31485 * sysdeps/i386/fpu/s_cexp.S: Remove.
31486 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31487 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31488 * math/libm-test.inc (cexp_test): Add more tests.
31489 * sysdeps/i386/fpu/libm-test-ulps: Update.
31490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31491
31492 2012-03-21 Allan McRae <allan@archlinux.org>
31493
31494 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31495
31496 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31497
31498 [BZ #13871]
31499 * math/w_exp2.c: Do not include <float.h>.
31500 (o_threshold, u_threshold): Remove.
31501 (__exp2): Calculate result before checking finiteness and calling
31502 __kernel_standard.
31503 * math/w_exp2f.c: Likewise.
31504 * math/w_exp2l.c: Likewise.
31505 * math/libm-test.inc (exp2_test): Require overflow exception for
31506 1e6 input.
31507
31508 [BZ #3866]
31509 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31510 range of signed 64-bit integers before using fistpll. Remove
31511 checks for whether integers fit in mantissa bits.
31512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31513 the range of signed 32-bit integers before using fistpl. Remove
31514 checks for whether integers fit in mantissa bits.
31515 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31516 (__ieee754_powl): Test for y outside the range of signed 64-bit
31517 integers before using fistpll. Reduce 64-bit values to 63-bit
31518 ones as needed.
31519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31520 divide-by-zero is raised for zero to large negative powers.
31521 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31522 (__ieee754_powl): Test for y outside the range of signed 64-bit
31523 integers before using fistpll. Reduce 64-bit values to 63-bit
31524 ones as needed.
31525 * math/libm-test.inc (pow_test): Add more tests.
31526
31527 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31528
31529 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31530 <stdio-common/_itoa.h>.
31531 * debug/segfault.c: Likewise.
31532 * elf/dl-cache.c: Likewise.
31533 * elf/dl-minimal.c: Likewise.
31534 * elf/dl-misc.c: Likewise.
31535 * elf/dl-sysdep.c: Likewise.
31536 * elf/dl-version.c: Likewise.
31537 * elf/rtld.c: Likewise.
31538 * hurd/hurdsock.c: Likewise.
31539 * hurd/lookup-retry.c: Likewise.
31540 * malloc/malloc.c: Likewise.
31541 * malloc/mtrace.c: Likewise.
31542 * nscd/nscd_getgr_r.c: Likewise.
31543 * nscd/nscd_getpw_r.c: Likewise.
31544 * nscd/nscd_getserv_r.c: Likewise.
31545 * posix/getopt_init.c: Likewise.
31546 * posix/wordexp.c: Likewise.
31547 * stdio-common/_itoa.c: Likewise.
31548 * stdio-common/printf_fphex.c: Likewise.
31549 * stdio-common/vfprintf.c: Likewise.
31550 * string/_strerror.c: Likewise.
31551 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31552 * sysdeps/i386/i686/hp-timing.h: Likewise.
31553 * sysdeps/mach/_strerror.c: Likewise.
31554 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31555 * sysdeps/mach/hurd/sethostid.c: Likewise.
31556 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31557 * sysdeps/mach/xpg-strerror.c: Likewise.
31558 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31559 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31560 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31561 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31562 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31563 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31564 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31565 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31566 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31567 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31568 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31569 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31570 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31571 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31572 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31573 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31574 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31575 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31576 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31577 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31578 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31579
31580 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31581
31582 * stdio-common/_itoa.h: Moved to ...
31583 * sysdeps/generic/_itoa.h: Here.
31584
31585 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31586
31587 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31588 instead of "_itoa.h" and "_itowa.h".
31589 * stdio-common/vfprintf.: Likewise.
31590
31591 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31592
31593 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31594 <bits/wordsize.h>.
31595 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31596 (__signbit): Likwise.
31597 (llrintf): Likwise.
31598 (llrint): Likwise.
31599
31600 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31601
31602 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31603 __WORDSIZE != 64.
31604
31605 2012-03-20 Joseph Myers <joseph@codesourcery.com>
31606
31607 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31608 OVERFLOW_EXCEPTION_OK.
31609 * math/libm-test.inc ("Philosophy"): Update comment about
31610 exception testing.
31611 (OVERFLOW_EXCEPTION): Define.
31612 (OVERFLOW_EXCEPTION_OK): Likewise.
31613 (INVALID_EXCEPTION_OK): Renumber.
31614 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31615 (IGNORE_ZERO_INF_SIGN): Likewise.
31616 (test_exceptions): Handle FE_OVERFLOW.
31617 (exp10_test): Expect overflow exceptions.
31618 (exp2_test): Likewise.
31619 (expm1_test): Likewise.
31620 (nextafter_test): Likewise.
31621 (pow_test): Likewise.
31622 (scalbn_test): Likewise.
31623 (scalbln_test): Likewise.
31624
31625 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31626
31627 * sysdeps/x86_64/bits/atomic.h
31628 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31629 64bit integer.
31630 (atomic_exchange_acq): Likewise.
31631 (__arch_exchange_and_add_body): Likewise.
31632 (__arch_add_body): Likewise.
31633 (atomic_add_negative): Likewise.
31634 (atomic_add_zero): Likewise.
31635
31636 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31637
31638 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31639 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31640
31641 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31642
31643 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31644 Check __x86_64__ instead of __WORDSIZE.
31645
31646 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31647
31648 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31649
31650 2012-03-19 David S. Miller <davem@davemloft.net>
31651
31652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31653
31654 * sysdeps/sparc/fpu/fenv_private.h: New file.
31655 * sysdeps/sparc/fpu/math_private.h: Use it.
31656 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31657 Remove.
31658 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31659 (libc_feholdexcept_setroundl): Remove.
31660 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31661 Remove.
31662 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31663 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31664
31665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31666
31667 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31668 int64_t instead of long int.
31669 (INSERT_WORDS64): Likwise.
31670
31671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31672
31673 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31674 _Unwind_GetCFA return to _Unwind_Ptr first.
31675
31676 2012-03-19 Joseph Myers <joseph@codesourcery.com>
31677
31678 [BZ #13629]
31679 * math/s_clog.c: Include <float.h>.
31680 (__clog): Scale large or subnormal inputs.
31681 * math/s_clogf.c: Likewise.
31682 * math/s_clogl.c: Likewise.
31683 * math/s_clog10.c: Include <float.h>.
31684 (M_LOG10_2): Define.
31685 (__clog10): Scale large or subnormal inputs.
31686 * math/s_clog10f.c: Likewise.
31687 * math/s_clog10l.c: Likewise.
31688 * math/libm-test.inc (clog_test): Add more tests.
31689 (clog10_test): Likewise.
31690 * sysdeps/i386/fpu/libm-test-ulps: Update.
31691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31692
31693 [BZ #11451]
31694 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31695 x and y.
31696 * math/libm-test.inc (atan2_test): Add another test.
31697
31698 * Makerules (common-objdir-compile): Remove.
31699 * sysdeps/unix/Makefile (config-generated): Do not add
31700 $(unix-generated) to variable.
31701 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31702 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31703 Remove rule.
31704 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31705 Likewise.
31706 [generic bits/local_lim.h] (before-compile): Do not append to
31707 variable.
31708 [generic bits/local_lim.h] (common-generated): Likewise.
31709 [generic sys/param.h] (before-compile): Do not append to variable.
31710 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31711 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31712 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31713 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31714 include.
31715 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31716 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31717 [generic sys/param.h] ($(addprefix
31718 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31719 [generic sys/param.h] (common-generated): Do not append to
31720 variable.
31721 [generic sys/param.h] (sysdep_headers): Likewise.
31722 [generic bits/errno.h] (before-compile): Do not append to
31723 variable.
31724 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31725 rule.
31726 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31727 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31728 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31729 [generic bits/errno.h] (common-generated): Do not append to
31730 variable.
31731 [generic bits/ioctls.h] (before-compile): Do not append to
31732 variable.
31733 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31734 rule.
31735 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31736 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31737 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31738 rule.
31739 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31740 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31741 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31742 [generic bits/ioctls.h] (common-generated): Do not append to
31743 variable.
31744 [generic sys/syscall.h] (syscall.h): Remove variable.
31745 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31746 rule.
31747 [generic sys/syscall.h] (before-compile): Do not append to
31748 variable.
31749 [generic sys/syscall.h] (common-generated): Likewise.
31750 * sysdeps/unix/errnos-tmpl.c: Remove file.
31751 * sysdeps/unix/errnos.awk: Likewise.
31752 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31753 * sysdeps/unix/ioctls.awk: Likewise.
31754 * sysdeps/unix/mk-local_lim.c: Likewise.
31755 * sysdeps/unix/snarf-ioctls: Likewise.
31756
31757 2012-03-19 Richard Henderson <rth@twiddle.net>
31758
31759 * sysdeps/i386/fpu/fenv_private.h: New file.
31760 * sysdeps/i386/fpu/math_private.h: Use it.
31761 (math_opt_barrier, math_force_eval): Remove.
31762 (libc_feholdexcept_setround_53bit): Remove.
31763 (libc_feupdateenv_53bit): Remove.
31764 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31765 (math_opt_barrier, math_force_eval): Remove.
31766 (libc_feholdexcept): Remove.
31767 (libc_feholdexcept_setround): Remove.
31768 (libc_fetestexcept, libc_fesetenv): Remove.
31769 (libc_feupdateenv_test): Remove.
31770 (libc_feupdateenv, libc_feholdsetround): Remove.
31771 (libc_feresetround): Remove.
31772
31773 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31774 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31775
31776 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31777 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31778 (libc_feupdateenv_testl): New.
31779 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31780 (libc_feupdateenv_testf): New.
31781 (libc_feupdateenv): Use libc_feupdateenv_test.
31782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31783 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31784
31785 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31786 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31787 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31788 (libc_feresetround_noex): New.
31789 (libc_feresetround_noexf): New.
31790 (libc_feresetround_noexl): New.
31791 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31792 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31793 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31794 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31795 SET_RESTORE_ROUND.
31796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31798 (__cos): Likewise.
31799 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31800 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31801 SET_RESTORE_ROUND_NOEX.
31802 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31803 SET_RESTORE_ROUND_NOEXF.
31804 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31805 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31806 (libc_feholdsetroundf): New.
31807 (libc_feresetround, libc_feresetroundf): New.
31808
31809 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31810 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31811 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31812
31813 * sysdeps/generic/math_private.h: Include <fenv.h>.
31814 (default_libc_feholdexcept): New.
31815 (default_libc_feholdexcept_setround): New.
31816 (default_libc_fesetenv, default_libc_feupdateenv): New.
31817 (libc_feholdexcept): Only define if undefined.
31818 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31819 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31820 (libc_feholdexcept_setroundl): Likewise.
31821 (libc_feholdexcept_setround_53bit): Likewise.
31822 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31823 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31824 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31825 (libc_feupdateenv_53bit): Likewise.
31826 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31827 (libc_feholdexcept): Convert from macro to inline function.
31828 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31829 (libc_fesetenv, libc_feupdateenv): Likewise.
31830
31831 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31832 not previously defined.
31833 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31834 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31835 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31836 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31837 * sysdeps/ieee754/flt-32/math_private.h: New file.
31838 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31839 math_private.h below SET_FLOAT_WORD.
31840 (__isnan, __isinf_ns, __finite): Remove.
31841 (__isnanf, __isinf_nsf, __finitef): Remove.
31842
31843 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31844
31845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31846
31847 2012-03-17 David S. Miller <davem@davemloft.net>
31848
31849 [BZ #6471]
31850 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31851 for 2.16.
31852
31853 2012-03-16 David S. Miller <davem@davemloft.net>
31854
31855 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31856 warnings.
31857
31858 [BZ #6471]
31859 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31860 properly.
31861 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31862 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31863 sysdep_routines when subdir is sysvipc.
31864 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31865 __getshmlba helper.
31866
31867 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31868
31869 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31870
31871 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31872 [__LP64__].
31873
31874 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31875
31876 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31877 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31878 (__lround): Renamed to ...
31879 (__llround): This. Replace long int with long long int.
31880 Define lround functions as aliases of llround functions.
31881 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31882
31883 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31884
31885 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31886 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31887 adresses to uintptr_t. Replace "long int" and "unsigned long
31888 int" with "greg_t" on va_arg.
31889
31890 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31891
31892 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31893 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31894
31895 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31896 Move e_machine check before EI_CLASS check. Handle x32
31897 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31898 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31899 SKIP_EM_IA_64 and include
31900 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31901
31902 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31903 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31904 (add_system_dir): New macro.
31905
31906 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31907 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31908
31909 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31910
31911 [BZ #2551]
31912 [BZ #2552]
31913 [BZ #2553]
31914 [BZ #2554]
31915 [BZ #2562]
31916 [BZ #2563]
31917 [BZ #2565]
31918 [BZ #2566]
31919 [BZ #2576]
31920 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31921 (y0): Likewise.
31922 * math/w_j0f.c (j0f): Likewise.
31923 (y0f): Likewise.
31924 * math/w_j0l.c (__j0l): Likewise.
31925 (__y0l): Likewise.
31926 * math/w_j1.c (j1): Likewise.
31927 (y1): Likewise.
31928 * math/w_j1f.c (j1f): Likewise.
31929 (y1f): Likewise.
31930 * math/w_j1l.c (__j1l): Likewise.
31931 (__y1l): Likewise.
31932 * math/w_jn.c (jn): Likewise.
31933 (yn): Likewise.
31934 * math/w_jnf.c (jnf): Likewise.
31935 (ynf): Likewise.
31936 * math/w_jnl.c (__jnl): Likewise.
31937 (__ynl): Likewise.
31938 * math/libm-test.inc (j0_test): Add more tests.
31939 (j1_test): Likewise.
31940 (jn_test): Likewise. Add trailing semicolon to existing test.
31941 (y0_test): Likewise.
31942 (y1_test): Likewise.
31943 * sysdeps/i386/fpu/libm-test-ulps: Update.
31944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31945
31946 [BZ #13851]
31947 [BZ #13854]
31948 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31949 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31950 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31951 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31952 (__tanl): Set errno for infinite argument.
31953 * sysdeps/i386/fpu/mptan.c: Remove.
31954 * sysdeps/i386/fpu/s_tan.S: Likewise.
31955 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31956 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31957 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31958 * math/libm-test.inc (tan_test): Add more tests and enable more
31959 tests for double and long double.
31960 * sysdeps/i386/fpu/libm-test-ulps: Update.
31961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31962
31963 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31964
31965 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31966 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31967
31968 2012-03-16 Roland McGrath <roland@hack.frob.com>
31969
31970 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31971 * configure.in: Use it for both main tree and add-ons.
31972 * configure: Regenerated.
31973
31974 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31975
31976 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31977
31978 2012-03-16 Joseph Myers <joseph@codesourcery.com>
31979
31980 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31981 in comment.
31982
31983 [BZ #13851]
31984 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31985 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31986 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31988 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31989 infinite argument.
31990 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31992 != 0 for prec == 2.
31993 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31994 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31995 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31996 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31997 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31998 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31999 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32000 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32001 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32002 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32003 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32004 * math/libm-test.inc (cos_test): Add more tests and enable more
32005 tests for long double.
32006 (sin_test): Likewise.
32007 (sincos_test): Likewise.
32008 * sysdeps/i386/fpu/libm-test-ulps: Update.
32009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32010
32011 2012-03-16 David S. Miller <davem@davemloft.net>
32012
32013 * sysdeps/sparc/fpu/math_private.h: New file.
32014
32015 2012-03-15 David S. Miller <davem@davemloft.net>
32016
32017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32018 file.
32019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32021 file.
32022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32028 sysdep routines.
32029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32030
32031 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32032 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32033
32034 * sysdeps/sparc/sparc-ifunc.h: New file.
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32036 sparc-ifunc.h
32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32039 Likewise.
32040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32041 Likewise.
32042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32046 Likewise.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32052 Likewise.
32053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32054 Likewise.
32055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32079
32080 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32081
32082 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32083 scaling.
32084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32085
32086 2012-03-15 Andreas Jaeger <aj@suse.de>
32087
32088 [BZ #13852]
32089 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32090 ieee754/flt-32 implementation for sin, cos and sincos.
32091 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32092 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32093 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32094 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32095 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32096 ieee754/flt-32 implementation for tan.
32097
32098 * math/libm-test.inc (cos_test): Enable some large input tests for
32099 float as well
32100 (sin_test): Likewise.
32101 (sincos_test): Likewise.
32102 (tan_test): Add tests for large input.
32103
32104 * sysdeps/i386/fpu/libm-test-ulps: Update.
32105
32106 2012-03-15 Andreas Jaeger <aj@suse.de>
32107
32108 [BZ #13658]
32109 * math/libm-test.inc (cos_test): Add more test cases.
32110 (sin_test): Likewise.
32111 (sincos_test): Likewise.
32112
32113 2012-03-15 Andreas Jaeger <aj@suse.de>
32114
32115 [BZ #13837]
32116 * math/libm-test.inc (cos_test): Add a test case for large input
32117 value.
32118 (sin_test): Likewise.
32119 (sincos_test): Likewise.
32120
32121 2012-03-15 Andreas Jaeger <aj@suse.de>,
32122 Joseph Myers <joseph@codesourcery.com>
32123
32124 [BZ #13658]
32125 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32126 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32127 * sysdeps/i386/fpu/branred.c: Likewise.
32128 * sysdeps/i386/fpu/dosincos.c: Likewise.
32129 * sysdeps/i386/fpu/mpa.c: Likewise.
32130 * sysdeps/i386/fpu/s_cos.S: Likewise.
32131 * sysdeps/i386/fpu/s_sin.S: Likewise.
32132 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32133 * sysdeps/i386/fpu/sincos32.c: Likewise.
32134
32135 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32136 Define.
32137 (libc_feupdateenv_53bit): Define.
32138 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32139 Define.
32140 (libc_feupdateenv_53bit): Define.
32141
32142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32143 53 bit (without extend i386 double precision).
32144
32145 * math/libm-test.inc (sincos_test): Add tests for large input.
32146 (sin): Likewise.
32147 (cos): Likewise.
32148
32149 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32150
32151 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32152
32153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32154
32155 2012-03-15 David S. Miller <davem@davemloft.net>
32156
32157 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32158 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32159 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32160 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32173 file.
32174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32176 file.
32177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32179 file.
32180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32182 file.
32183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32185 fmin/fmax sysdep routines.
32186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32187
32188 2012-03-14 David S. Miller <davem@davemloft.net>
32189
32190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32219 routines.
32220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32221 file.
32222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32224 file.
32225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32227 file.
32228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32230 file.
32231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32233 file.
32234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32236 file.
32237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32238 file.
32239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32240 file.
32241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32242 file.
32243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32244 New file.
32245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32246 file.
32247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32248 file.
32249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32251 file.
32252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32254 file.
32255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32257 file.
32258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32260 VIS3 routines.
32261
32262 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32263 New file.
32264
32265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32266
32267 * sysdeps/sparc/configure.in: New file.
32268 * sysdeps/sparc/configure: Generate.
32269 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32270 * configure: Regenerate.
32271 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32272 * config.make.in (have-as-vis3): New.
32273 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32274 available use -Av9d instead of -Av9a.
32275 * sysdeps/sparc/sparc64/Makefile: Likewise.
32276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32278 New file.
32279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32280 file.
32281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32282 New file.
32283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32284 file.
32285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32290
32291 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32292 fzeros/fnegs to load 0x80000000 into a float register instead of
32293 using the stack.
32294 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32295
32296 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32297
32298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32299 bits/syscall.h.
32300 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32301 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32302 ($(inst_includedir)/bits/syscall.h): Remove rule.
32303 ($(objpfx)bits/syscall.d): Include instead of
32304 $(objpfx)syscall-list.d.
32305 (generated): Change syscall-list.h and syscall-list.d to
32306 bits/syscall.h and bits/syscall.d.
32307
32308 2012-03-14 Roland McGrath <roland@hack.frob.com>
32309
32310 [BZ #13846]
32311 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32312
32313 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32314
32315 [BZ #13841]
32316 * math/s_csqrt.c: Include <float.h>.
32317 (__csqrt): Scale large or subnormal inputs.
32318 * math/s_csqrtf.c: Likewise.
32319 * math/s_csqrtl.c: Likewise.
32320 * math/libm-test.inc (csqrt_test): Add more tests.
32321 * sysdeps/i386/fpu/libm-test-ulps: Update.
32322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32323
32324 [BZ #13840]
32325 * math/libm-test.inc (hypot_test): Add more tests.
32326
32327 2012-03-13 David S. Miller <davem@davemloft.net>
32328
32329 [BZ #13840]
32330 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32331 double-precision for the calculation instead of scaling.
32332
32333 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32334
32335 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32336 manipulate bits before adding and subtracting TWO52[sx].
32337 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32338 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32339 Likewise.
32340 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32341
32342 2012-03-13 David S. Miller <davem@davemloft.net>
32343
32344 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32345 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32347 rtld-global-offsets.h
32348 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32349
32350 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32351 large parameters.
32352
32353 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32354
32355 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32356 'err' in the ifdef scope in which it is actually used.
32357
32358 * nss/nss_db/db-init.c: Include string.h
32359
32360 2012-03-12 David S. Miller <davem@davemloft.net>
32361
32362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32363 masking out of the most significant byte of random value used.
32364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32365 Fix coding style in previous change.
32366
32367 * sysdeps/unix/sysv/linux/kernel-features.h
32368 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32369 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32370 expression.
32371 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32372 later.
32373
32374 2012-03-11 David S. Miller <davem@davemloft.net>
32375
32376 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32377 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32379 for 'resultvar' otherwise things get truncated on 64-bit.
32380
32381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32382 Fix masking out of the most significant byte of random value used.
32383
32384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32385
32386 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32387
32388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32389
32390 2012-03-09 David S. Miller <davem@davemloft.net>
32391
32392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32393 variables with appropriate CPP guards.
32394 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32395 frame pointer, not the stack pointer. Correct layout comments. Fix test
32396 on resulting framesize and the management of the outregs buffer for pltexit.
32397 Preserve floating point return values across _dl_call_pltexit call.
32398 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32399 framesize and the management of the outregs buffer for pltexit.
32400 Preserve floating point return values across _dl_call_pltexit
32401 call.
32402 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32403 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32404 (print_exit): Fix format string for return register value.
32405
32406 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32407
32408 * sunrpc/Makefile (others): Add rpcgen.
32409 ($(objpfx)rpcgen): Remove special build rule and dependency on
32410 libc.
32411 * sunrpc/rpcgen.c: New file.
32412
32413 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32414
32415 [BZ #13673]
32416 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32417 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32418 * sysdeps/i386/crti.S: Likewise.
32419 * sysdeps/i386/crtn.S: Likewise.
32420 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32421 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32422 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32423 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32424 * sysdeps/sh/crti.S: Likewise.
32425 * sysdeps/sh/crtn.S: Likewise.
32426 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32427
32428 [BZ #13673]
32429 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32430 with URL.
32431 * locale/programs/locfile-kw.gperf: Likewise.
32432 * locale/programs/charmap-kw.h: Regenerated.
32433 * locale/programs/locfile-kw.h: Likewise.
32434
32435 [BZ #13673]
32436 * intl/plural.y: Replace FSF snail mail address with URL.
32437 * intl/plural.c: Regenerated.
32438
32439 2012-03-09 Richard Henderson <rth@twiddle.net>
32440
32441 * include/math_private.h: Remove file.
32442 * math/math_private.h: Move file ...
32443 * sysdeps/generic/math_private.h: ... here.
32444
32445 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32446 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32447 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32448
32449 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32450 and <math_private.h>.
32451 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32452 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32453 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32454 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32455 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32456 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32459 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32462 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32463 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32464 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32465 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32466 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32469 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32470 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32487 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32522 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32539 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32542 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32544 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32545 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32546 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32548 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32550 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32551 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32552 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32553 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32554 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32556 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32558 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32559 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32561 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32562 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32563 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32564 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32565 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32566 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32567 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32568 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32569 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32570 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32571 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32572 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32574 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32575 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32576 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32577 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32578 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32579 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32580 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32581 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32583 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32584 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32585 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32586 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32587 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32588 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32589 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32590 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32591 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32592 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32593 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32594 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32595 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32596 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32597 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32598 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32599 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32600 * sysdeps/ieee754/k_standard.c: Likewise.
32601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32617 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32623 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32624 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32625 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32628 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32629 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32632 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32633 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32634 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32636 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32638 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32640 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32644 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32647 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32649 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32652 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32653 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32654 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32659 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32660 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32677 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32680 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32681 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32682 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32683 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32684 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32685 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32686 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32687 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32688 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32691 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32692 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32693 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32694 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32698 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32699 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32700 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32716 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32720 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32723 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32728 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32733 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32743 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32750 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32751 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32761 * sysdeps/ieee754/s_lib_version.c: Likewise.
32762 * sysdeps/ieee754/s_matherr.c: Likewise.
32763 * sysdeps/ieee754/s_signgam.c: Likewise.
32764 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32765 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32766 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32767 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32768 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32769 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32770 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32771 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32772 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32773 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32774 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32775 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32776 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32777 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32778 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32781 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32782 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32785
32786 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32787
32788 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32789 * sunrpc/rpc_main.c: Likewise.
32790 * sunrpc/rpc_svcout.c: Likewise.
32791
32792 2012-03-09 David S. Miller <davem@davemloft.net>
32793
32794 * include/math_private.h: New file.
32795
32796 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32797
32798 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32799 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32800 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32801 from <bits/socket_type.h>.
32802 (enum __socket_type): Don't define here.
32803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32805 bits/socket_type.h.
32806
32807 [BZ #13566]
32808 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32809 checking __USE_GNU.
32810
32811 * Makerules ($(inst_includedir)/%.h): New rule.
32812 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32813 (install-others): Remove variable setting.
32814 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32815
32816 2012-03-08 Richard Henderson <rth@twiddle.net>
32817
32818 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32819 from macro to inline function; merge with the
32820 !__LIBC_INTERNAL_MATH_INLINES version.
32821 (__ieee754_sqrtf): Likewise.
32822
32823 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32824 to inline function.
32825 (__rintf, __floor, __floorf): Likewise.
32826
32827 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32828 macro to inline function.
32829 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32830
32831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32832 not <math/math_private.h>.
32833
32834 2012-03-08 David S. Miller <davem@davemloft.net>
32835
32836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32837 copyright year.
32838 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32839
32840 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32841
32842 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32843 normalization.
32844 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32845 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32846
32847 2012-03-08 Ulrich Drepper <drepper@gmail.com>
32848
32849 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32850 be defined individually, they must be defined as a block. Define
32851 S for printing a string instead of hidint the different by using a
32852 macro for adding the 'l'.
32853 * stdio-common/tst-fphex-wide.c: Adjust.
32854
32855 2012-03-07 Marek Polacek <polacek@redhat.com>
32856
32857 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32858
32859 2012-03-08 Marek Polacek <polacek@redhat.com>
32860
32861 [BZ #13806]
32862 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32863 * stdio-common/tst-fphex.c: Define a few macros to make the
32864 test reusable. Use them.
32865 * stdio-common/tst-fphex-wide.c: New file.
32866
32867 2012-03-08 Joseph Myers <joseph@codesourcery.com>
32868
32869 [BZ #6911]
32870 * manual/macros.texi (gnusystems): New macro.
32871 (nongnusystems): Likewise.
32872 (gnulinuxhurdsystems): Likewise.
32873 (gnuhurdsystems): Likewise..
32874 (gnulinuxsystems): Likewise.
32875 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32876 variants of the GNU system, not "GNU system".
32877 * manual/conf.texi: Likewise.
32878 * manual/errno.texi: Likewise. Update example of errno macro
32879 expansion.
32880 * manual/filesys.texi: Likewise.
32881 (getumask): Document as specific to GNU/Hurd.
32882 * manual/install.texi: Likewise. Reword some references to
32883 GNU/Linux.
32884 * manual/intro.texi: Likewise.
32885 * manual/io.texi: Likewise.
32886 (File Name Portability): Detail which constraints are inapplicable
32887 to all GNU systems and which are only inapplicable to GNU/Hurd.
32888 * manual/job.texi: Likewise.
32889 * manual/llio.texi: Likewise.
32890 (O_NOCTTY): Document as present on GNU/Linux.
32891 * manual/maint.texi: Likewise.
32892 * manual/memory.texi: Likewise.
32893 * manual/pattern.texi: Likewise.
32894 * manual/pipe.texi: Likewise.
32895 * manual/process.texi: Likewise.
32896 * manual/resource.texi: Likewise.
32897 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32898 child on GNU/Hurd.
32899 * manual/setjmp.texi: Likewise.
32900 * manual/signal.texi: Likewise.
32901 * manual/startup.texi: Likewise.
32902 * manual/stdio.texi: Likewise.
32903 * manual/terminal.texi: Likewise.
32904 (ONLCR): Document as POSIX.
32905 (OXTABS): Document availability on GNU/Linux as XTABS.
32906 (ONOEOT): Document availability separately from other bits.
32907 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32908 * manual/time.texi: Likewise.
32909 * manual/users.texi: Likewise.
32910 * INSTALL: Regenerated.
32911 * sysdeps/gnu/errlist.c: Regenerated.
32912
32913 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32914 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32915 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32916 puts.
32917 * configure: Regenerated.
32918
32919 2012-03-07 Joseph Myers <joseph@codesourcery.com>
32920
32921 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32922 default includes instead of AC_HEADER_CHECK.
32923 * sysdeps/i386/configure: Regenerated.
32924
32925 [BZ #10716]
32926 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32927 * math/s_cacoshf.c (__cacoshf): Likewise.
32928 * math/s_cacoshl.c (__cacoshl): Likewise.
32929 * math/s_casinh.c (__casinh): Set signs of result from argument.
32930 * math/s_casinhf.c (__casinhf): Likewise.
32931 * math/s_casinhl.c (__casinhl): Likewise.
32932 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32933 (casinh_test): Add more tests.
32934 * sysdeps/i386/fpu/libm-test-ulps: Update.
32935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32936
32937 2012-03-07 Ulrich Drepper <drepper@gmail.com>
32938
32939 * po/zh_TW.po: Update from translation team.
32940
32941 * login/Makefile (distribute): Remove variable.
32942 * catgets/Makefile: Likewise.
32943 * mach/Makefile: Likewise.
32944 * malloc/Makefile: Likewise.
32945 * misc/Makefile: Likewise.
32946 * iconv/Makefile: Likewise.
32947 * nscd/Makefile: Likewise.
32948 * hurd/Makefile: Likewise.
32949 * manual/Makefile: Likewise.
32950 * locale/Makefile: Likewise.
32951 * intl/Makefile: Likewise.
32952 * conform/Makefile: Likewise.
32953 * nss/Makefile: Likewise.
32954 * time/Makefile: Likewise.
32955 * soft-fp/Makefile: Likewise.
32956 * dirent/Makefile: Likewise.
32957 * gmon/Makefile: Likewise.
32958 * po/Makefile: Likewise.
32959 * rt/Makefile: Likewise.
32960 * socket/Makefile: Likewise.
32961 * math/Makefile: Likewise.
32962 * signal/Makefile: Likewise.
32963 * debug/Makefile: Likewise.
32964 * elf/Makefile: Likewise.
32965 * timezone/Makefile: Likewise.
32966 * stdlib/Makefile: Likewise.
32967 * iconvdata/Makefile: Likewise.
32968 * sunrpc/Makefile: Likewise.
32969 * io/Makefile: Likewise.
32970 * argp/Makefile: Likewise.
32971 * inet/Makefile: Likewise.
32972 * hesiod/Makefile: Likewise.
32973 * grp/Makefile: Likewise.
32974 * csu/Makefile: Likewise.
32975 * wctype/Makefile: Likewise.
32976 * crypt/Makefile: Likewise.
32977 * libio/Makefile: Likewise.
32978 * string/Makefile: Likewise.
32979 * nis/Makefile: Likewise.
32980 * resolv/Makefile: Likewise.
32981 * stdio-common/Makefile: Likewise.
32982 * wcsmbs/Makefile: Likewise.
32983 * dlfcn/Makefile: Likewise.
32984 * posix/Makefile: Likewise.
32985
32986 [BZ #6959]
32987 * timezone/Makefile: Don't install timezone files, just the programs
32988 and scripts.
32989
32990 2012-03-06 Ulrich Drepper <drepper@gmail.com>
32991
32992 * nss/databases.def: Add missing gshadow entry.
32993
32994 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32995
32996 2012-03-06 Marek Polacek <polacek@redhat.com>
32997
32998 [BZ #13726]
32999 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33000 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33001 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33002 * stdio-common/tst-long-dbl-fphex.c: New file.
33003
33004 2012-03-06 David S. Miller <davem@davemloft.net>
33005
33006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33007 (set_obp_int): New function.
33008 (get_obp_int): New function.
33009 (__get_clockfreq_via_dev_openprom): Likewise.
33010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33011 Avoid unused variable warnings on 'val' and use builtin_expect.
33012 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33013 __builtin_expect.
33014 (INLINE_CLONE_SYSCALL): Likewise.
33015
33016 2012-03-05 David S. Miller <davem@davemloft.net>
33017
33018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33019
33020 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33021
33022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33023
33024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33025 only for |x| >= 40.
33026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33027
33028 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33029
33030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33031 Replace gettimeofday with __vdso_gettimeofday.
33032
33033 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33034 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33035 __vdso_clock_gettime and __vdso_getcpu.
33036
33037 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33038 time with __vdso_time.
33039
33040 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33041
33042 * manual/lang.texi (size_t): Note types to which size_t may be
33043 equivalent with the GNU C Library, but do not describe when
33044 differences between them are significant.
33045
33046 2012-03-05 Andreas Jaeger <aj@suse.de>
33047
33048 * sysdeps/i386/fpu/libm-test-ulps: Update.
33049
33050 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33051
33052 [BZ #3976]
33053 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33054 (__ieee754_pow): Save and restore rounding mode and use
33055 round-to-nearest for main computations.
33056 * math/libm-test.inc (pow_test_tonearest): New function.
33057 (pow_test_towardzero): Likewise.
33058 (pow_test_downward): Likewise.
33059 (pow_test_upward): Likewise.
33060 (main): Call the new functions.
33061 * sysdeps/i386/fpu/libm-test-ulps: Update.
33062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33063
33064 [BZ #3976]
33065 * math/libm-test.inc (cosh_test_tonearest): New function.
33066 (cosh_test_towardzero): Likewise.
33067 (cosh_test_downward): Likewise.
33068 (cosh_test_upward): Likewise.
33069 (sinh_test_tonearest): Likewise.
33070 (sinh_test_towardzero): Likewise.
33071 (sinh_test_downward): Likewise.
33072 (sinh_test_upward): Likewise.
33073 (main): Call the new functions.
33074 * sysdeps/i386/fpu/libm-test-ulps: Update.
33075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33076
33077 2012-03-05 Tom de Vries <tom@codesourcery.com>
33078
33079 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33080 default stack guard is set in last bytes.
33081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33082
33083 2012-03-05 Kees Cook <keescook@chromium.org>
33084
33085 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33086
33087 [BZ #13656]
33088 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33089 possibly allocate from heap instead of stack.
33090 * stdio-common/bug-vfprintf-nargs.c: New file.
33091 * stdio-common/Makefile (tests): Add nargs overflow test.
33092
33093 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33094
33095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33096
33097 2012-03-03 Marek Polacek <polacek@redhat.com>
33098
33099 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33100 * math/math_private.h: Likewise.
33101 * stdlib/tst-strtod.c: Likewise.
33102 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33103 * sysdeps/x86_64/bits/atomic.h: Likewise.
33104
33105 2012-03-02 David S. Miller <davem@davemloft.net>
33106
33107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33111 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33112 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33113 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33114 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33115
33116 2012-03-02 Roland McGrath <roland@hack.frob.com>
33117
33118 [BZ #13792]
33119 * manual/examples/README: New file, says the example source files
33120 can be used under GPL>=2.
33121 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33122 line containing just "*/".
33123 * manual/examples/add.c: Add copyright header (GPL>=2).
33124 * manual/examples/argp-ex1.c: Likewise.
33125 * manual/examples/argp-ex2.c: Likewise.
33126 * manual/examples/argp-ex3.c: Likewise.
33127 * manual/examples/argp-ex4.c: Likewise.
33128 * manual/examples/atexit.c: Likewise.
33129 * manual/examples/db.c: Likewise.
33130 * manual/examples/dir.c: Likewise.
33131 * manual/examples/dir2.c: Likewise.
33132 * manual/examples/execinfo.c: Likewise.
33133 * manual/examples/filecli.c: Likewise.
33134 * manual/examples/filesrv.c: Likewise.
33135 * manual/examples/fmtmsgexpl.c: Likewise.
33136 * manual/examples/genpass.c: Likewise.
33137 * manual/examples/inetcli.c: Likewise.
33138 * manual/examples/inetsrv.c: Likewise.
33139 * manual/examples/isockad.c: Likewise.
33140 * manual/examples/longopt.c: Likewise.
33141 * manual/examples/memopen.c: Likewise.
33142 * manual/examples/memstrm.c: Likewise.
33143 * manual/examples/mkfsock.c: Likewise.
33144 * manual/examples/mkisock.c: Likewise.
33145 * manual/examples/mygetpass.c: Likewise.
33146 * manual/examples/pipe.c: Likewise.
33147 * manual/examples/popen.c: Likewise.
33148 * manual/examples/rprintf.c: Likewise.
33149 * manual/examples/search.c: Likewise.
33150 * manual/examples/select.c: Likewise.
33151 * manual/examples/setjmp.c: Likewise.
33152 * manual/examples/sigh1.c: Likewise.
33153 * manual/examples/sigusr.c: Likewise.
33154 * manual/examples/stpcpy.c: Likewise.
33155 * manual/examples/strdupa.c: Likewise.
33156 * manual/examples/strftim.c: Likewise.
33157 * manual/examples/strncat.c: Likewise.
33158 * manual/examples/subopt.c: Likewise.
33159 * manual/examples/swapcontext.c: Likewise.
33160 * manual/examples/termios.c: Likewise.
33161 * manual/examples/testopt.c: Likewise.
33162 * manual/examples/testpass.c: Likewise.
33163 * manual/examples/timeval_subtract.c: Likewise.
33164
33165 [BZ #13792]
33166 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33167 function to ...
33168 * manual/timeval_subtract.c.texi: ... here, new file.
33169
33170 2012-03-02 David S. Miller <davem@davemloft.net>
33171
33172 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33173
33174 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33175
33176 [BZ #3976]
33177 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33178 (__sin): Save and restore rounding mode and use round-to-nearest
33179 for all computations.
33180 (__cos): Save and restore rounding mode and use round-to-nearest
33181 for all computations.
33182 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33183 <fenv.h>.
33184 (tan): Save and restore rounding mode and use round-to-nearest for
33185 all computations.
33186 * math/libm-test.inc (cos_test_tonearest): New function.
33187 (cos_test_towardzero): Likewise.
33188 (cos_test_downward): Likewise.
33189 (cos_test_upward): Likewise.
33190 (sin_test_tonearest): Likewise.
33191 (sin_test_towardzero): Likewise.
33192 (sin_test_downward): Likewise.
33193 (sin_test_upward): Likewise.
33194 (tan_test_tonearest): Likewise.
33195 (tan_test_towardzero): Likewise.
33196 (tan_test_downward): Likewise.
33197 (tan_test_upward): Likewise.
33198 (main): Call the new functions.
33199 * sysdeps/i386/fpu/libm-test-ulps: Update.
33200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33201
33202 [BZ #10135]
33203 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33204 small n, then large n, before computing and testing k+n.
33205 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33207 Likewise.
33208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33209 Likewise.
33210 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33211 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33217 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33218 * math/libm-test.inc (scalbn_test): Add more tests.
33219 (scalbln_test): Likewise.
33220
33221 * manual/filesys.texi (mode_t): Describe constraints on size and
33222 signedness, not exact equivalence to a particular type.
33223 (ino_t): Likewise.
33224 (ino64_t): Likewise.
33225 (dev_t): Likewise.
33226 (nlink_t): Likewise.
33227 (blkcnt_t): Likewise.
33228 (blkcnt64_t): Likewise.
33229 * manual/llio.texi (off_t): Likewise.
33230
33231 [BZ #3976]
33232 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33233 (__ieee754_exp): Save and restore rounding mode and use
33234 round-to-nearest for all computations.
33235 * math/libm-test.inc (exp_test_tonearest): New function.
33236 (exp_test_towardzero): Likewise.
33237 (exp_test_downward): Likewise.
33238 (exp_test_upward): Likewise.
33239 (main): Call the new functions.
33240 * sysdeps/i386/fpu/libm-test-ulps: Update.
33241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33242
33243 2012-03-01 Chris Demetriou <cgd@google.com>
33244
33245 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33246 have predictable order.
33247
33248 2012-03-01 David S. Miller <davem@davemloft.net>
33249
33250 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33251
33252 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33256
33257 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33258 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33259 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33261 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33262 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33266
33267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33268
33269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33270 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33271 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33272
33273 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33275 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33276 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33277 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33281 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33282 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33283 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33289 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33290 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33291 * sysdeps/sparc/elf/configure: Regenerated.
33292
33293 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33294
33295 * configure.in (AS, LD): Require binutils 2.20 or later.
33296 * configure: Regenerated.
33297 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33298 as required minimum version.
33299 * INSTALL: Regenerated.
33300
33301 [BZ #2541]
33302 [BZ #4108]
33303 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33304 before squaring exponent.
33305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33306 bottom long double and 27 bits of top long double before squaring
33307 exponent.
33308 * math/libm-test.inc (erfc_test): Add more tests.
33309 * sysdeps/i386/fpu/libm-test-ulps: Update.
33310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33312
33313 2012-03-01 Kai Tietz <ktietz@redhat.com>
33314
33315 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33316 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33317 containing bit-fields.
33318 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33319 * soft-fp/single.h (_FP_UNION_S): Likewise.
33320 * soft-fp/double.h (_FP_UNION_D): Likewise.
33321
33322 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33323
33324 [BZ #13786]
33325 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33326 not include ../strcmp.S.
33327 [USE_AS_STRNCASECMP_L]: Likewise.
33328 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33329 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33330 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33331 (__strncasecmp_l_ia32): Define as alias to
33332 __strncasecmp_l_nonascii.
33333
33334 [BZ #5794]
33335 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33336 * sysdeps/i386/fpu/libm-test-ulps: Update.
33337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33338
33339 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33341
33342 2012-02-29 Jeff Law <law@redhat.com>
33343
33344 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33345 out of bounds read.
33346
33347 2012-02-29 Marek Polacek <polacek@redhat.com>
33348
33349 [BZ #13706]
33350 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33351 * elf/Makefile: Add rules to run tst-unused-dep.out.
33352
33353 2012-02-28 David S. Miller <davem@davemloft.net>
33354
33355 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33356 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33358 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33361
33362 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33363
33364 * math/libm-test.inc (llround_test): Move one test from
33365 lround_test. Use TEST_f_L in moved test.
33366 (lround_test): Move misplaced test to llround_test. Add testcase
33367 from bug 2561.
33368
33369 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33370
33371 * sysdeps/x86_64/fpu/e_expf.S: New file.
33372 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33373
33374 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33375
33376 [BZ #13637]
33377 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33378 of remain_len that may cause incomplete multi-byte character and
33379 false match.
33380 * posix/bug-regex33.c: New file.
33381 * posix/Makefile (tests): Add bug-regex33.
33382
33383 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33384
33385 * manual/macros.texi: New file.
33386 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33387 * manual/libc.texinfo: Include macros.texi.
33388 * manual/creatute.texi: Likewise.
33389 * manual/install.texi: Likewise.
33390 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33391 @glibcadj{} in references to the GNU C Library.
33392 * manual/charset.texi: Likewise.
33393 * manual/conf.texi: Likewise.
33394 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33395 when not using those macros.
33396 * manual/creature.texi: Likewise.
33397 * manual/crypt.texi: Likewise.
33398 * manual/errno.texi: Likewise.
33399 * manual/filesys.texi: Likewise.
33400 * manual/header.texi: Likewise.
33401 * manual/install.texi: Likewise.
33402 * manual/intro.texi: Likewise.
33403 * manual/io.texi: Likewise.
33404 * manual/job.texi: Likewise.
33405 * manual/lang.texi: Likewise.
33406 * manual/libc.texiinfo: Likewise.
33407 * manual/llio.texi: Likewise.
33408 * manual/locale.texi: Likewise.
33409 * manual/maint.texi: Likewise.
33410 * manual/math.texi: Likewise.
33411 * manual/memory.texi: Likewise.
33412 * manual/message.texi: Likewise.
33413 * manual/nss.texi: Likewise.
33414 * manual/pattern.texi: Likewise.
33415 * manual/process.texi: Likewise.
33416 * manual/resource.texi: Likewise.
33417 * manual/search.texi: Likewise.
33418 * manual/setjmp.texi: Likewise.
33419 * manual/signal.texi: Likewise.
33420 * manual/socket.texi: Likewise.
33421 * manual/startup.texi: Likewise.
33422 * manual/stdio.texi: Likewise.
33423 * manual/string.texi: Likewise.
33424 * manual/sysinfo.texi: Likewise.
33425 * manual/syslog.texi: Likewise.
33426 * manual/terminal.texi: Likewise.
33427 * manual/time.texi: Likewise.
33428 * manual/users.texi: Likewise.
33429 * INSTALL: Regenerated.
33430 * NOTES: Regenerated.
33431 * sysdeps/gnu/errlist.c: Regenerated.
33432
33433 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33434
33435 * include/dirent.h: Include <dirstream.h> before
33436 <dirent/dirent.h>.
33437
33438 2012-02-28 David S. Miller <davem@davemloft.net>
33439
33440 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33441 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33442 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33443 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33444
33445 2012-02-27 David S. Miller <davem@davemloft.net>
33446
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33450 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33451
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33453 frame pointer instead of stack pointer relative arg slot.
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33457
33458 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33459
33460 [BZ #3992]
33461 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33462
33463 2012-02-27 David S. Miller <davem@davemloft.net>
33464
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33471 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33472 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33473
33474 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33475
33476 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33477 later. Allow versions 5-9.
33478 * configure: Regenerated.
33479 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33480 required minimum version and 4.6 as recommended version. Do not
33481 mention bugs in GCC 2.7 and 2.8.
33482 * INSTALL: Regenerated.
33483
33484 2012-02-27 David S. Miller <davem@davemloft.net>
33485
33486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33492 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33493 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33494
33495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33496 manipulate bits before adding and subtracting TWO112[sx].
33497 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33498
33499 2012-02-27 Roland McGrath <roland@hack.frob.com>
33500
33501 [BZ #13775]
33502 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33503 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33504 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33505 being in POSIX, because they are in 1003.1-2008.
33506
33507 * rt/tst-aio.c: Include <fcntl.h>.
33508 * rt/tst-aio7.c: Likewise.
33509 * rt/tst-aio64.c: Likewise.
33510
33511 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33512
33513 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33514
33515 * manual/install.texi (--with-headers): Describe headers as
33516 interface headers, not private headers.
33517 (Specific advice for GNU/Linux systems): Describe use of headers
33518 from "make headers_install", not private headers from older
33519 kernels.
33520 * INSTALL: Regenerated.
33521 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33522 Change to 2.6.19.
33523 * sysdeps/unix/sysv/linux/configure: Regenerated.
33524
33525 * manual/llio.texi (fclean): Remove documentation.
33526
33527 * manual/Makefile (libc-texi-generated): New variable. Include
33528 version.texi.
33529 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33530 $(libc-texi-generated), not duplicated list of files.
33531 (version.texi, stamp-version): New rules.
33532 (realclean): Remove $(libc-texi-generated), not individual files
33533 from that list. Do not remove dir-add.texinfo.
33534 * manual/libc.texinfo: Comment out uses of edition numbers and
33535 references to printed manual. Remove last-updated dates.
33536 (EDITION): Comment out.
33537 (ISBN): Likewise.
33538 (VERSION, UPDATED): Remove.
33539 (version.texi): Include.
33540
33541 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33542
33543 * sysdeps/posix/spawni.c: Include <signal.h>.
33544 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33545 * sysdeps/pthread/aio_fsync.c: Likewise.
33546
33547 2012-02-26 Ulrich Drepper <drepper@gmail.com>
33548
33549 * conform/Makefile (tests): Run only when not cross-compiling and
33550 when fast-check is not defined.
33551
33552 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33553 * conform/data/limits.h-data: Fixes for POSIX2008.
33554 * conform/run-conformtest.sh: Run all tests.
33555 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33556 headers.
33557 * include/bits/dlfcn.h: Likewise.
33558 * include/langinfo.h: Likewise.
33559 * include/monetary.h: Likewise.
33560 * include/sys/poll.h: Likewise.
33561
33562 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33563 for __USE_GNU.
33564 * posix/spawn.h: Define __need_sigset_t.
33565 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33566 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33567 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33568 to get sigevent_t only.
33569 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33570 only for __USE_GNU.
33571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33572 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33573 process_vm_writev only for __USE_GNU.
33574 * termios/termios.h: Declare tcgetsid also for POSIX2008.
33575
33576 * conform/Makefile: For now ignore errors from run-conformtest.
33577 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33578 POSIX to avoid namespace pollution. Don't prepend headers.
33579 * conform/data/aio.h-data: Fixes for POSIX testing.
33580 * conform/data/fcntl.h-data: Likewise.
33581 * conform/data/glob.h-data: Likewise.
33582 * conform/data/grp.h-data: Likewise.
33583 * conform/data/pthread.h-data: Likewise.
33584 * conform/data/pwd.h-data: Likewise.
33585 * conform/data/signal.h-data: Likewise.
33586 * conform/data/spawn.h-data: Likewise.
33587 * conform/data/stdio.h-data: Likewise.
33588 * conform/data/stdlib.h-data: Likewise.
33589 * conform/data/stropts.h-data: Likewise.
33590 * conform/data/sys/mman.h-data: Likewise.
33591 * conform/data/sys/stat.h-data: Likewise.
33592 * conform/data/sys/types.h-data: Likewise.
33593 * conform/data/sys/wait.h-data: Likewise.
33594 * conform/data/time.h-data: Likewise.
33595 * conform/data/unistd.h-data: Likewise.
33596 * conform/data/utime.h-data: Likewise.
33597
33598 * io/sys/stat.h: fchmod was always in POSIX.
33599 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33600 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33601 * rt/aio.h: Define __need_timespec before including <time.h>.
33602 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33603 struct. Add forward declaration of pthread_attr_t and use it in
33604 sigevent.
33605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33606 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33607 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33608 always remove CLK_TCK definition.
33609
33610 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33611
33612 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33613
33614 2012-02-25 Ulrich Drepper <drepper@gmail.com>
33615
33616 * conform/run-conformtest.sh: New file.
33617 * conform/Makefile: Run run-conformtest for tests.
33618 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33619 support.
33620
33621 * conform/data/uchar.h-data: New file.
33622 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33623 * conform/data/arpa/inet.h-data: Likewise.
33624 * conform/data/assert.h-data: Likewise.
33625 * conform/data/complex.h-data: Likewise.
33626 * conform/data/cpio.h-data: Likewise.
33627 * conform/data/ctype.h-data: Likewise.
33628 * conform/data/dirent.h-data: Likewise.
33629 * conform/data/dlfcn.h-data: Likewise.
33630 * conform/data/errno.h-data: Likewise.
33631 * conform/data/fcntl.h-data: Likewise.
33632 * conform/data/float.h-data: Likewise.
33633 * conform/data/fmtmsg.h-data: Likewise.
33634 * conform/data/fnmatch.h-data: Likewise.
33635 * conform/data/ftw.h-data: Likewise.
33636 * conform/data/glob.h-data: Likewise.
33637 * conform/data/grp.h-data: Likewise.
33638 * conform/data/iconv.h-data: Likewise.
33639 * conform/data/inttypes.h-data: Likewise.
33640 * conform/data/langinfo.h-data: Likewise.
33641 * conform/data/libgen.h-data: Likewise.
33642 * conform/data/limits.h-data: Likewise.
33643 * conform/data/locale.h-data: Likewise.
33644 * conform/data/math.h-data: Likewise.
33645 * conform/data/monetary.h-data: Likewise.
33646 * conform/data/mqueue.h-data: Likewise.
33647 * conform/data/ndbm.h-data: Likewise.
33648 * conform/data/net/if.h-data: Likewise.
33649 * conform/data/netdb.h-data: Likewise.
33650 * conform/data/netinet/in.h-data: Likewise.
33651 * conform/data/nl_types.h-data: Likewise.
33652 * conform/data/poll.h-data: Likewise.
33653 * conform/data/pthread.h-data: Likewise.
33654 * conform/data/pwd.h-data: Likewise.
33655 * conform/data/regex.h-data: Likewise.
33656 * conform/data/sched.h-data: Likewise.
33657 * conform/data/search.h-data: Likewise.
33658 * conform/data/semaphore.h-data: Likewise.
33659 * conform/data/setjmp.h-data: Likewise.
33660 * conform/data/signal.h-data: Likewise.
33661 * conform/data/spawn.h-data: Likewise.
33662 * conform/data/stdarg.h-data: Likewise.
33663 * conform/data/stdio.h-data: Likewise.
33664 * conform/data/stdlib.h-data: Likewise.
33665 * conform/data/string.h-data: Likewise.
33666 * conform/data/strings.h-data: Likewise.
33667 * conform/data/stropts.h-data: Likewise.
33668 * conform/data/sys/ipc.h-data: Likewise.
33669 * conform/data/sys/mman.h-data: Likewise.
33670 * conform/data/sys/msg.h-data: Likewise.
33671 * conform/data/sys/resource.h-data: Likewise.
33672 * conform/data/sys/select.h-data: Likewise.
33673 * conform/data/sys/sem.h-data: Likewise.
33674 * conform/data/sys/shm.h-data: Likewise.
33675 * conform/data/sys/socket.h-data: Likewise.
33676 * conform/data/sys/stat.h-data: Likewise.
33677 * conform/data/sys/statvfs.h-data: Likewise.
33678 * conform/data/sys/time.h-data: Likewise.
33679 * conform/data/sys/timeb.h-data: Likewise.
33680 * conform/data/sys/times.h-data: Likewise.
33681 * conform/data/sys/types.h-data: Likewise.
33682 * conform/data/sys/uio.h-data: Likewise.
33683 * conform/data/sys/un.h-data: Likewise.
33684 * conform/data/sys/utsname.h-data: Likewise.
33685 * conform/data/sys/wait.h-data: Likewise.
33686 * conform/data/syslog.h-data: Likewise.
33687 * conform/data/tar.h-data: Likewise.
33688 * conform/data/termios.h-data: Likewise.
33689 * conform/data/utime.h-data: Likewise.
33690 * conform/data/utmpx.h-data: Likewise.
33691 * conform/data/varargs.h-data: Likewise.
33692 * conform/data/wchar.h-data: Likewise.
33693 * conform/data/wctype.h-data: Likewise.
33694 * conform/data/wordexp.h-data: Likewise.
33695
33696 * include/stropts.h: New file.
33697 * include/uchar.h: New file.
33698 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33699 * include/assert.h: Likewise.
33700 * include/ctype.h: Likewise.
33701 * include/dirent.h: Likewise.
33702 * include/dlfcn.h: Likewise.
33703 * include/fcntl.h: Likewise.
33704 * include/fnmatch.h: Likewise.
33705 * include/glob.h: Likewise.
33706 * include/grp.h: Likewise.
33707 * include/libio.h: Likewise.
33708 * include/locale.h: Likewise.
33709 * include/math.h: Likewise.
33710 * include/net/if.h: Likewise.
33711 * include/netdb.h: Likewise.
33712 * include/netinet/in.h: Likewise.
33713 * include/pthread.h: Likewise.
33714 * include/pwd.h: Likewise.
33715 * include/regex.h: Likewise.
33716 * include/sched.h: Likewise.
33717 * include/search.h: Likewise.
33718 * include/setjmp.h: Likewise.
33719 * include/signal.h: Likewise.
33720 * include/stdio.h: Likewise.
33721 * include/stdlib.h: Likewise.
33722 * include/string.h: Likewise.
33723 * include/sys/cdefs.h: Likewise.
33724 * include/sys/mman.h: Likewise.
33725 * include/sys/msg.h: Likewise.
33726 * include/sys/resource.h: Likewise.
33727 * include/sys/select.h: Likewise.
33728 * include/sys/socket.h: Likewise.
33729 * include/sys/stat.h: Likewise.
33730 * include/sys/statvfs.h: Likewise.
33731 * include/sys/time.h: Likewise.
33732 * include/sys/times.h: Likewise.
33733 * include/sys/uio.h: Likewise.
33734 * include/sys/utsname.h: Likewise.
33735 * include/sys/wait.h: Likewise.
33736 * include/termios.h: Likewise.
33737 * include/time.h: Likewise.
33738 * include/ulimit.h: Likewise.
33739 * include/unistd.h: Likewise.
33740 * include/utime.h: Likewise.
33741 * include/wchar.h: Likewise.
33742 * include/wctype.h: Likewise.
33743 * include/wordexp.h: Likewise.
33744
33745 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33746
33747 * time/time.h: TIME_UTC must be a macro.
33748 Make timespec_get available for ISO C11 only as well.
33749
33750 2012-02-24 Ulrich Drepper <drepper@gmail.com>
33751
33752 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33753 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33754
33755 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33756
33757 * configure.in: Use -o not -a in test for unsupported multi-arch.
33758
33759 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33760
33761 * manual/texinfo.tex: Update to version 2012-01-19.16.
33762
33763 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33764
33765 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33766
33767 2012-02-24 Roland McGrath <roland@hack.frob.com>
33768
33769 [BZ #13738]
33770 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33771 * manual/fdl-1.3.texi: New file.
33772 * manual/fdl-1.1.texi: File removed.
33773
33774 [BZ #13738]
33775 * manual/libc.texinfo (FDL_VERSION): New @set.
33776 Use it for mention of FDL in cover text.
33777 (Documentation License): Use it in @include file name.
33778
33779 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33780 Roland McGrath <roland@hack.frob.com>
33781
33782 [BZ #5461]
33783 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33784 not LONG_LONG_MAX and LONG_LONG_MIN.
33785 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33786 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33787 name.
33788 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33789
33790 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33791
33792 [BZ #2547]
33793 [BZ #11365]
33794 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33795 manipulate bits before adding and subtracting TWO23[sx].
33796 * math/libm-test.inc (nearbyint_test): Add more tests.
33797
33798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33799
33800 [BZ #2548]
33801 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33802 bits before adding and subtracting TWO23[sx].
33803 * math/libm-test.inc (rint_test): Add more tests.
33804 (rint_test_tonearest): Likewise.
33805 (rint_test_towardzero): Likewise.
33806 (rint_test_downward): Likewise.
33807 (rint_test_upward: Likewise.
33808
33809 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33810
33811 [BZ #10110]
33812 * include/stdc-predef.h: New file. Extracted from features.h.
33813 * include/features.h: Include stdc-predef.h.
33814 * Makefile (headers): Add stdc-predef.h.
33815 * CONFORMANCE (Compiler limitations): Update.
33816
33817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33818
33819 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33820
33821 2012-02-21 David S. Miller <davem@davemloft.net>
33822
33823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33824 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33825
33826 2012-02-20 David S. Miller <davem@davemloft.net>
33827
33828 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33829 using a normal save/restore sequence, rather than allocating a
33830 dummy stack frame just to store a frame pointer and restore.
33831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33832
33833 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33834
33835 * manual/install.texi: Fix stray word in line-wrapped comment.
33836
33837 2012-02-20 David S. Miller <davem@davemloft.net>
33838
33839 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33840 both binutils and gcc support GOTDATA.
33841
33842 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33843 "rd %pc" in the PIC register setup sequences.
33844
33845 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33846 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33847 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33848 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33849 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33854 (SYSCALL_ERROR_HANDLER): Likewise.
33855 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33856 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33858 (SYSCALL_ERROR_HANDLER): Likewise.
33859
33860 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33861 (HAVE_GCC_GOTDATA): New.
33862 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33863 relocation support in both binutils and gcc.
33864 * sysdeps/sparc/elf/configure: Regenerate.
33865
33866 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33867 * sysdeps/sparc/sparc32/elf/configure: Delete.
33868 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33869 * sysdeps/sparc/sparc64/elf/configure: Delete.
33870 * sysdeps/sparc/elf/configure.in: New file.
33871 * sysdeps/sparc/elf/configure: Generate.
33872
33873 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33874 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33875 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33876 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33877 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33878
33879 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33880
33881 * manual/install.texi: Do not mention specific glibc version
33882 numbers.
33883 * manual/libc.texinfo (VERSION, UPDATED): Update.
33884 (@copying): Use @copyright{} and range of years.
33885
33886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33887
33888 [BZ #13695]
33889 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33890 [crti.S not in sysdirs] (generated): Do not append.
33891 [crti.S not in sysdirs] (omit-deps): Likewise.
33892 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33893 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33894 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33895 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33896 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33897 Likewise.
33898 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33899 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33900 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33901 * csu/defs.awk: Remove file.
33902 * sysdeps/generic/initfini.c: Likewise.
33903 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33904 variable.
33905 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33906 Likewise.
33907
33908 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33909
33910 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33911 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33912 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33914 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33915 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33916 <bits/epoll.h>.
33917 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33918 (__EPOLL_PACKED): Define to empty if not defined by
33919 <bits/epoll.h>.
33920 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33922 bits/epoll.h.
33923
33924 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33925
33926 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33927 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33928 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33929 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33930 <bits/timerfd.h>.
33931 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33933 bits/timerfd.h.
33934
33935 2012-02-20 Joseph Myers <joseph@codesourcery.com>
33936
33937 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33938 in C locale.
33939 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33940 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33941 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33943
33944 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33945
33946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33947 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33948
33949 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33950
33951 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33952 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33953 defined.
33954 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33955 Likewise.
33956 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33957 entry for 2.16.
33958
33959 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33960
33961 * math/w_acos.c: Use non-signaling floating-point comparisons.
33962 * math/w_acosf.c: Likewise.
33963 * math/w_acosh.c: Likewise.
33964 * math/w_acoshf.c: Likewise.
33965 * math/w_acoshl.c: Likewise.
33966 * math/w_acosl.c: Likewise.
33967 * math/w_asin.c: Likewise.
33968 * math/w_asinf.c: Likewise.
33969 * math/w_asinl.c: Likewise.
33970 * math/w_atanh.c: Likewise.
33971 * math/w_atanhf.c: Likewise.
33972 * math/w_atanhl.c: Likewise.
33973 * math/w_exp2.c: Likewise.
33974 * math/w_exp2f.c: Likewise.
33975 * math/w_exp2l.c: Likewise.
33976 * math/w_j0.c: Likewise.
33977 * math/w_j0f.c: Likewise.
33978 * math/w_j0l.c: Likewise.
33979 * math/w_j1.c: Likewise.
33980 * math/w_j1f.c: Likewise.
33981 * math/w_j1l.c: Likewise.
33982 * math/w_jn.c: Likewise.
33983 * math/w_jnf.c: Likewise.
33984 * math/w_log.c: Likewise.
33985 * math/w_log10.c: Likewise.
33986 * math/w_log10f.c: Likewise.
33987 * math/w_log10l.c: Likewise.
33988 * math/w_log2.c: Likewise.
33989 * math/w_log2f.c: Likewise.
33990 * math/w_log2l.c: Likewise.
33991 * math/w_logf.c: Likewise.
33992 * math/w_logl.c: Likewise.
33993 * math/w_sqrt.c: Likewise.
33994 * math/w_sqrtf.c: Likewise.
33995 * math/w_sqrtl.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33999 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34000 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34001
34002 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34003
34004 [BZ #9739]
34005 * manual/string.texi (strnlen): Use correct parameter name in
34006 equivalent expression.
34007
34008 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34009
34010 [BZ #11174]
34011 * manual/users.texi (seteuid): Consistently use neweuid for
34012 argument name.
34013
34014 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34015
34016 [BZ #13704]
34017 * manual/nss.texi (Services in the NSS configuration): Correct
34018 list of services in example configuration file.
34019
34020 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34021
34022 [BZ #11322]
34023 * manual/arith.texi: Remove statements about negative zero
34024 behaving identically to zero.
34025
34026 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34027
34028 [BZ #5993]
34029 * manual/install.texi: Do not document upgrading from libc5.
34030
34031 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34032
34033 [BZ #4596]
34034 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34035
34036 2012-02-18 David S. Miller <davem@davemloft.net>
34037
34038 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34039 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34040 %o7 across the call.
34041 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34042 instead.
34043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34044 SETUP_PIC_REG_LEAF.
34045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34046 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34047 * sysdeps/sparc/crtn.S: Likewise.
34048
34049 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34050
34051 * aout/Makefile: Remove.
34052
34053 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34054
34055 [BZ #13058]
34056 * manual/examples/argp-ex1.c (main): Format definition in GNU
34057 style.
34058 * manual/examples/argp-ex2.c (main): Likewise.
34059 * manual/examples/argp-ex3.c (main): Likewise.
34060 * manual/examples/argp-ex4.c (main): Likewise.
34061 * manual/examples/longopt.c (main): Use new-style prototype
34062 definition.
34063 * manual/examples/strncat.c (main): Specify return type and use
34064 (void) for arguments.
34065 * manual/examples/subopt.c (main): Use char **argv argument.
34066
34067 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34068
34069 [BZ #5077]
34070 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34071 rounding modes.
34072
34073 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34074
34075 [BZ #6907]
34076 * manual/string.texi (strchr): Change when strchrnul is
34077 recommended.
34078
34079 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34080
34081 [BZ #174]
34082 * manual/locale.texi (setlocale): Document LOCPATH.
34083
34084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34085
34086 [BZ #10210]
34087 * manual/process.texi (execle): Move @dots{} before last argument.
34088
34089 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34090
34091 [BZ #12047]
34092 * manual/charset.texi (Generic Charset Conversion): Fix typo
34093 (LC_TYPE -> LC_CTYPE).
34094
34095 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34096
34097 [BZ #5805]
34098 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34099 (scalbnf): Likewise.
34100 (scalbnl): Likewise.
34101 (scalbln): Likewise.
34102 (scalblnf): Likewise.
34103 (scalblnl): Likewise.
34104 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34105 (vwarnx): Likewise.
34106 (verr): Likewise.
34107 (verrx): Likewise.
34108 * manual/filesys.texi (telldir): Use braces around return type.
34109 * manual/llio.texi (mmap): Add space after comma.
34110 (mmap64): Likewise.
34111 * manual/math.texi (jn): Use @var{} on parameter names.
34112 (jnf): Likewise.
34113 (jnl): Likewise.
34114 (yn): Likewise.
34115 (ynf): Likewise.
34116 (ynl): Likewise.
34117 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34118 line.
34119 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34120 "...".
34121 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34122 (sched_get_priority_max): Likewise.
34123 * manual/signal.texi (sigvec): Add space after comma.
34124 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34125 names.
34126 (if_indextoname): Likewise.
34127 (if_freenameindex): Likewise.
34128 (sendto): Use ',' instead of '.' in prototype.
34129 * manual/startup.texi (syscall): Use @dots{} instead of literal
34130 "...".
34131 * manual/stdio.texi (__fpending): Separate initial words of
34132 paragraph from @deftypefun line.
34133 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34134 "...".
34135 (vsyslog): Use @var{} on parameter names.
34136 * manual/terminal.texi (stty): Use @var{} on parameter names.
34137 * manual/users.texi (getutmp): Use @var{} on parameter names.
34138 (getutmpx): Likewise.
34139
34140 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34141
34142 [BZ #6884]
34143 * manual/stdio.texi (fopen): Fix typos in description of
34144 ",ccs=STRING".
34145
34146 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34147
34148 [BZ #4026]
34149 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34150 get clock_id definition.
34151
34152 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34153
34154 [BZ #4822]
34155 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34156 (madvise): Cast every argument to void on its own.
34157
34158 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34159
34160 [BZ #9902]
34161 * manual/startup.texi (Exit Status): Fix typo.
34162
34163 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34164
34165 [BZ #10140]
34166 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34167 * manual/examples/argp-ex2.c: Likewise.
34168 * manual/examples/argp-ex3.c: Likewise.
34169
34170 2012-02-16 Richard Henderson <rth@redhat.com>
34171
34172 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34173 * sysdeps/s390/s390-32/initfini.c: Remove.
34174 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34175 * sysdeps/s390/s390-64/initfini.c: Remove.
34176
34177 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34178
34179 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34180 compiler output for sysdeps/generic/initfini.c.
34181 * sysdeps/sh/elf/initfini.c: Remove file.
34182
34183 2012-02-16 David S. Miller <davem@davemloft.net>
34184
34185 [BZ #11494]
34186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34187
34188 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34189 * sysdeps/sparc/crti.S: New file.
34190 * sysdeps/sparc/crtn.S: New file.
34191 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34192 * sysdeps/sparc/sparc64/Makefile: Likewise.
34193
34194 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34195
34196 [BZ #3335]
34197 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34198
34199 2012-02-15 Roland McGrath <roland@hack.frob.com>
34200
34201 [BZ #4822]
34202 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34203
34204 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34205 (write, read, close): Likewise.
34206 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34207
34208 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34209
34210 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34211 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34212 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34213 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34214 <bits/signalfd.h>.
34215 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34217 bits/signalfd.h.
34218
34219 2012-02-14 Marek Polacek <polacek@redhat.com>
34220
34221 * sysdeps/x86_64/crti.S: New file.
34222 * sysdeps/x86_64/crtn.S: New file.
34223 * sysdeps/x86_64/elf/initfini.c: Remove file.
34224
34225 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34226
34227 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34228 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34229 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34230 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34231 <bits/inotify.h>.
34232 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34234 bits/inotify.h.
34235
34236 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34237
34238 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34239 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34240 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34241 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34242 <bits/eventfd.h>.
34243 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34245 bits/eventfd.h.
34246
34247 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34248
34249 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34250 __feraiseexcept instead of feraiseexcept.
34251
34252 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34253 nanosleep invocations.
34254 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34255 strings, and add error checking for a nanosleep invocations.
34256
34257 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34258
34259 Replace FSF snail mail address with URLs, as per GNU coding standards.
34260 Most of the snail mail addresses were wrong anyway, and omitting
34261 them makes the source code easier to maintain. Almost all of the
34262 changes are to license notices and to locale LC_IDENTIFICATION
34263 addresses, except for this one:
34264 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34265 not its snail mail address.
34266
34267 2012-02-09 Richard Henderson <rth@twiddle.net>
34268
34269 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34270 of kernel-features.h.
34271
34272 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34273
34274 2012-02-08 Marek Polacek <polacek@redhat.com>
34275
34276 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34277 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34278 * sysdeps/gnu/_G_config.h: Likewise.
34279 * sysdeps/generic/_G_config.h: Likewise.
34280
34281 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34282
34283 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34284 tests.
34285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34286
34287 * sysdeps/powerpc/powerpc32/crti.S: New file.
34288 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34289 * sysdeps/powerpc/powerpc64/crti.S: New file.
34290 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34291
34292 * Makeconfig (have-initfini): Don't set.
34293 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34294 * configure.in (nopic_initfini): Don't substitute.
34295 * config.h.in (HAVE_INITFINI): Don't #undef.
34296 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34297 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34298
34299 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34300
34301 Support crti.S and crtn.S provided directly by architectures.
34302 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34303 [crti.S in sysdirs] (omit-deps): Likewise.
34304 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34305 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34306 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34307 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34308 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34309 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34310 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34311 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34312 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34313 compiler output for sysdeps/generic/initfini.c.
34314 * sysdeps/i386/elf/Makefile: Remove file.
34315 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34316
34317 2012-02-07 Marek Polacek <polacek@redhat.com>
34318
34319 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34320 * sysdeps/gnu/_G_config.h: Likewise.
34321 * sysdeps/mach/hurd/_G_config.h: Likewise.
34322
34323 2012-02-07 Marek Polacek <polacek@redhat.com>
34324
34325 * math/Makefile (tests): Add tst-CMPLX2.
34326 * math/tst-CMPLX2.c: New file.
34327
34328 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34329
34330 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34331
34332 * math/libm-test.inc (jn_test): Add missing L suffix.
34333
34334 2012-02-06 Marek Polacek <polacek@redhat.com>
34335
34336 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34337 * sysdeps/i386/fpu/e_powf.S: Likewise.
34338 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34339 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34340 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34341 * sysdeps/i386/fpu/e_pow.S: Likewise.
34342 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34344 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34345 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34346 * sysdeps/i386/fpu/e_log2.S: Likewise.
34347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34348 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34349 * sysdeps/i386/fpu/e_powl.S: Likewise.
34350 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34351 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34352 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34353 * sysdeps/i386/fpu/e_logl.S: Likewise.
34354 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34355 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34356 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34357 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34358 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34359 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34360 * sysdeps/i386/fpu/e_log.S: Likewise.
34361 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34362 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34363 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34364 * sysdeps/i386/fpu/e_logf.S: Likewise.
34365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34367 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34368 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34369 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34370 * sysdeps/i386/fpu/e_log10.S: Likewise.
34371 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34372 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34373 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34374 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34375 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34376 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34377 * sysdeps/i386/asm-syntax.h: Likewise.
34378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34380 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34381 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34382 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34383 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34384 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34385 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34387 * sysdeps/powerpc/sysdep.h: Likewise.
34388 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34389 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34390
34391 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34392
34393 [BZ #411]
34394 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34395
34396 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34397
34398 * sysdeps/i386/sysdep.h: Include <features.h>.
34399 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34400 version.
34401
34402 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34403
34404 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34405 Define.
34406 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34407 LOAD_PIC_REG_STR.
34408
34409 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34410
34411 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34412 (SETUP_PIC_REG): Use GET_PC_THUNK.
34413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34414 macro.
34415
34416 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34417
34418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34419 for non-PIC compilation.
34420 (SETUP_PIC_REG): Add .p2align directive.
34421 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34422 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34423 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34424 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34425 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34426 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34429 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34430 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34431 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34432 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34433 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34434 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34435 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34436 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34437 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34438 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34439 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34440 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34441 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34442 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34443 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34444 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34445 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34449 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34450 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34451 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34452 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34453 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34454 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34455 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34456 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34457 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34458 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34459 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34460 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34461 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34462
34463 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34464
34465 * math/tst-CMPLX.c: Include <stdio.h>.
34466
34467 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34468
34469 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34470 float.
34471 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34472 * sysdeps/sparc/bits/mathdef.h: Likewise.
34473
34474 2012-01-31 Marek Polacek <polacek@redhat.com>
34475
34476 * libio/libio.h: Don't define _PARAMS.
34477 * locale/programs/config.h: Don't define PARAMS.
34478 * stdlib/strtol_l.c: Likewise.
34479 (__strtol_l): Remove PARAMS from the prototype.
34480
34481 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34482
34483 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34484 names. Just use the correct names. Remove unnecessary wrapper
34485 functions.
34486 * malloc/arena.c: Likewise.
34487 * malloc/hooks.c: Likewise.
34488
34489 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34490 ARENA_TEST says not to. Simplify test for creation of a new arena.
34491 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34492
34493 2012-01-30 Ulrich Drepper <drepper@gmail.com>
34494
34495 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34496 into tail calls.
34497 (update_get_addr): New function.
34498 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34499 GET_ADDR_MODULE parameter.
34500
34501 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34502
34503 * crypt/cert.c: Remove __STDC__ conditionals.
34504 * crypt/crypt-entry.c: Likewise.
34505 * crypt/crypt_util.c: Likewise.
34506 * libio/filedoalloc.c: Likewise.
34507 * libio/fileops.c: Likewise.
34508 * libio/genops.c: Likewise.
34509 * libio/iofclose.c: Likewise.
34510 * libio/iofdopen.c: Likewise.
34511 * libio/iofopen.c: Likewise.
34512 * libio/iofopen64.c: Likewise.
34513 * libio/iogetdelim.c: Likewise.
34514 * libio/iopopen.c: Likewise.
34515 * libio/obprintf.c: Likewise.
34516 * libio/oldfileops.c: Likewise.
34517 * libio/oldiofclose.c: Likewise.
34518 * libio/oldiofdopen.c: Likewise.
34519 * libio/oldiofopen.c: Likewise.
34520 * libio/oldiopopen.c: Likewise.
34521 * libio/wfiledoalloc.c: Likewise.
34522 * libio/wgenops.c: Likewise.
34523 * locale/programs/xmalloc.c: Likewise.
34524 * misc/syslog.c: Likewise.
34525 * stdio-common/xbug.c: Likewise.
34526 * string/memchr.c: Likewise.
34527 * string/memcmp.c: Likewise.
34528 * string/memrchr.c: Likewise.
34529 * string/rawmemchr.c: Likewise.
34530 * sysdeps/posix/getcwd.c: Likewise.
34531 * time/strftime_l.c: Likewise.
34532
34533 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34534
34535 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34536 * config.make.in (config-cflags-sse2avx): Define.
34537 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34538 Fix typo.
34539
34540 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34541
34542 * scripts/config.guess: Update from upstream config git repository.
34543 * scripts/config.sub: Likewise.
34544
34545 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34546
34547 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34548 (EM_NUM): Update.
34549 (R_TILEPRO_*, R_TILEGX_*): New macros.
34550
34551 * scripts/firstversions.awk: Fix bug in version range handling.
34552
34553 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34554
34555 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34556
34557 * include/sys/epoll.h: New file.
34558 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34559 libc_hidden_def.
34560
34561 2012-01-28 Ulrich Drepper <drepper@gmail.com>
34562
34563 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34564 Avoid unnecessary __WORDSIZE == 64 test.
34565 (fmaxf): Use VEX format if possible.
34566 (fmax): Likewise.
34567 (fminf): Likewise.
34568 (fmin): Likewise.
34569
34570 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34571 * math/math_private.h: Remove libc_fegetround* and
34572 libc_fesetround*.
34573 * sysdeps/i386/configure.in: Check for -msse2avx.
34574 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34575 also if SSE2AVX is defined.
34576 Remove libc_fegetround* and libc_fesetround*.
34577 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34578 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34580 of HAS_YMM_USABLE.
34581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34586
34587 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34588
34589 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34590
34591 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34592 size is not set.
34593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34594
34595 2012-01-27 Ulrich Drepper <drepper@gmail.com>
34596
34597 [BZ #13618]
34598 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34599 relocation.
34600 * Makeconfig (libm): Define.
34601 * elf/Makefile: Add rules to build and run tst-relsort1.
34602 * elf/tst-relsort1.c: New file.
34603 * elf/tst-relsort1mod1.c: New file.
34604 * elf/tst-relsort1mod2.c: New file.
34605
34606 2012-01-27 Joseph Myers <joseph@codesourcery.com>
34607
34608 * math/s_ldexp.c: Remove __STDC__ conditionals.
34609 * math/s_ldexpf.c: Likewise.
34610 * math/s_ldexpl.c: Likewise.
34611 * math/s_nextafter.c: Likewise.
34612 * math/s_nexttowardf.c: Likewise.
34613 * math/s_significand.c: Likewise.
34614 * math/s_significandf.c: Likewise.
34615 * math/s_significandl.c: Likewise.
34616 * math/w_jnl.c: Likewise.
34617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34623 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34624 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34626 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34627 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34629 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34630 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34632 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34634 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34636 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34637 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34638 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34639 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34640 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34641 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34642 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34643 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34644 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34645 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34646 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34647 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34648 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34649 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34650 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34651 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34652 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34653 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34654 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34655 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34656 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34657 * sysdeps/ieee754/k_standard.c: Likewise.
34658 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34659 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34660 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34663 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34665 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34666 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34667 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34668 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34670 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34671 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34672 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34690 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34716 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34718 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34719 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34720 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34722 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34724 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34726 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34733 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34737 * sysdeps/ieee754/s_matherr.c: Likewise.
34738 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34739 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34742
34743 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34744
34745 * crypt/md5.h: Remove __STDC__ conditionals.
34746 * libio/libioP.h: Likewise.
34747 * locale/programs/config.h: Likewise.
34748 * sysdeps/generic/sysdep.h: Likewise.
34749 * sysdeps/i386/asm-syntax.h: Likewise.
34750 * sysdeps/s390/asm-syntax.h: Likewise.
34751 * sysdeps/unix/sysdep.h: Likewise.
34752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34754
34755 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34756
34757 * libio/libio.h: Remove __STDC__ conditionals.
34758 * malloc/obstack.h: Likewise.
34759 * math/complex.h: Likewise.
34760 * math/math.h: Likewise.
34761 * sysdeps/generic/_G_config.h: Likewise.
34762 * sysdeps/gnu/_G_config.h: Likewise.
34763 * sysdeps/mach/hurd/_G_config.h: Likewise.
34764 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34765 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34766 * sysdeps/sparc/bits/mathdef.h: Likewise.
34767
34768 2012-01-26 Ulrich Drepper <drepper@gmail.com>
34769
34770 [BZ #13583]
34771 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34772 Clean up HAS_* macros.
34773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34774 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34775 possible.
34776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34777 HAS_AVX.
34778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34783
34784 2012-01-25 Joseph Myers <joseph@codesourcery.com>
34785
34786 * elf/tst-unique3.cc (gets): Remove declaration.
34787 * elf/tst-unique3lib.cc (gets): Likewise.
34788 * elf/tst-unique3lib2.cc (gets): Likewise.
34789 * elf/tst-unique4.cc (gets): Likewise.
34790
34791 2012-01-24 Ulrich Drepper <drepper@gmail.com>
34792
34793 * include/stdio.h: Add C++ protection. Add gets declarations and
34794 definitions.
34795 * debug/tst-chk1.c: Don't declare gets here.
34796 * stdio-common/tst-gets.c: Likewise.
34797
34798 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34799
34800 * posix/glob: Remove directory.
34801
34802 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34803
34804 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34805
34806 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34807
34808 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34809 of the non-standard EPFNOSUPPORT.
34810
34811 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34812
34813 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34814 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34815 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34816
34817 2012-01-21 Ulrich Drepper <drepper@gmail.com>
34818
34819 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34820
34821 2012-01-20 Ulrich Drepper <drepper@gmail.com>
34822
34823 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34824 transient errors.
34825 * nscd/grpcache.c (cache_addgr): Likewise.
34826 * nscd/hstcache.c (cache_addhst): Likewise.
34827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34828 * nscd/pwdcache.c (cache_addpw): Likewise.
34829 * nscd/servicescache.c (cache_addserv): Likewise.
34830
34831 2012-01-16 Ulrich Drepper <drepper@gmail.com>
34832
34833 * malloc/malloc.c: Various cleanups.
34834 * malloc/hooks.c: Likewise.
34835
34836 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34837 * stdlib/bug-fmtmsg1.c: New file.
34838
34839 * stdlib/fmtmsg.c (init): Add missing unlock.
34840 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34841
34842 2012-01-12 Marek Polacek <polacek@redhat.com>
34843
34844 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34845 and _GNU_SOURCE.
34846
34847 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34848
34849 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34850 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34851 macro to ensure uniqueness of label name.
34852 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34853 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34854
34855 2012-01-11 Ulrich Drepper <drepper@gmail.com>
34856
34857 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34858
34859 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34860 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34863
34864 2012-01-10 Ulrich Drepper <drepper@gmail.com>
34865
34866 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34867
34868 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34870 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34871
34872 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34873
34874 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34875 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34878
34879 * math/bits/math-finite.h: Add ldexp support.
34880
34881 2012-01-10 Marek Polacek <polacek@redhat.com>
34882
34883 * locale/programs/localedef.h (show_archive_content): Add noreturn
34884 attribute.
34885
34886 2012-01-09 Ulrich Drepper <drepper@gmail.com>
34887
34888 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34889
34890 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34891
34892 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34893
34894 * io/Makefile (headers): Add bits/poll2.h.
34895
34896 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34897
34898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34899 typo #include statement.
34900
34901 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34902
34903 * include/sys/cdefs.h: Define __attribute_alloc_size.
34904 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34905 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34906 * elf/pldd.c: Likewise.
34907 * iconv/iconv_charmap.c: Likewise.
34908 * iconv/iconvconfig.c: Likewise.
34909 * iconv/strtab.c: Likewise.
34910 * locale/programs/locale.c: Likewise.
34911 * locale/programs/localedef.h: Likewise.
34912 * locale/programs/simple-hash.c: Likewise.
34913 * nscd/nscd.h: Likewise.
34914 * nss/makedb.c: Likewise.
34915 * sysdeps/generic/ldconfig.h: Likewise.
34916 * locale/programs/localedef.c: Remove xmalloc prototype.
34917 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34918
34919 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34920
34921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34922 appropriate.
34923
34924 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34925
34926 * math/Makefile (tests): Add tst-CMPLX.
34927 * math/tst-CMPLX.c: New file.
34928
34929 * math/complex.h (CMPLXL): Fix typo.
34930
34931 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34932 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34933 GLIBC_2.16.
34934 * debug/tst-chk1.c: Add poll and ppoll tests.
34935 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34936 * include/sys/poll.h: Add hidden proto for ppoll.
34937 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34938 * sysdeps/mach/hurd/ppoll.c: Likewise.
34939 * io/ppoll.c: Likewise.
34940 * debug/poll_chk.c: New file.
34941 * debug/ppoll_chk.c: New file.
34942 * include/bits/poll2.h: New file.
34943 * io/bits/poll2.h: New file.
34944
34945 [BZ #1350]
34946 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34947
34948 * configure.in: static is always set to yes. Remove.
34949 * config.make.in: Don't set build-static.
34950 * Makeconfig: Remove use of build-static.
34951 * dlfcn/Makefile: Likewise.
34952 * elf/Makefile: Likewise.
34953 * math/Makefile: Likewise.
34954 * misc/Makefile: Likewise.
34955 * nptl/Makefile: Likewise.
34956 * sysdeps/mach/hurd/Makefile: Likewise.
34957
34958 * configure.in: PWD_P is not used anymore.
34959 * config.make.in: Remove PWD_P entry.
34960
34961 * configure.in: Remove last remnants of RANLIB.
34962 No need to check for signed size_t anymore.
34963 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34964 and IA-64.
34965 Remove __builtin_expect test because we require at least gcc 3.4.
34966 * aclocal.m4: Likewise.
34967
34968 * wcsmbs/mbrtoc16.c: Implement using towc function.
34969 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34970 * wcsmbs/wcsmbsload.c: Likewise.
34971 * iconv/gconv_simple.c: Likewise.
34972 * iconv/gconv_int.h: Likewise.
34973 * iconv/gconv_builtin.h: Likewise.
34974 * iconv/iconv_prog.c: Remove CHAR16 handling.
34975
34976 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34977
34978 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34979
34980 * configure.in: Remove --with-elf and --enable-bounded options.
34981 Dont set base_machine for ia64. More non-ELF conditions removed.
34982 Remove testing and setting of leading underscore information.
34983 * config.make.in (build-bounded): Set to no.
34984 * config.h.in: Remove NO_UNDERSCORES entry.
34985 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34986 them.
34987 * csu/start.c: Remove !NO_UNDERSCORE code.
34988 * locale/localeinfo.h: Likewise.
34989 * sysdeps/generic/machine-gmon.h: Likewise.
34990 * sysdeps/generic/sysdep.h: Likewise.
34991 * sysdeps/i386/sysdep.h: Likewise.
34992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34993 * sysdeps/mach/sysdep.h: Likewise.
34994 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34996 * sysdeps/sh/sysdep.h: Likewise.
34997 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34998 * sysdeps/unix/i386/sysdep.S: Likewise.
34999 * sysdeps/unix/sparc/start.c: Likewise.
35000 * sysdeps/unix/sparc/sysdep.S: Likewise.
35001 * sysdeps/unix/sparc/sysdep.h: Likewise.
35002 * sysdeps/unix/start.c: Likewise.
35003 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35004 * sysdeps/x86_64/sysdep.h: Likewise.
35005
35006 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35007
35008 [BZ #13553]
35009 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35010 for non-gcc.
35011 * argp/argp-fmtstream.h: Use const instead __const.
35012 * argp/argp.h: Likewise.
35013 * assert/assert.h: Likewise.
35014 * bits/fenv.h: Likewise.
35015 * bits/sched.h: Likewise.
35016 * bits/sigset.h: Likewise.
35017 * bits/sigthread.h: Likewise.
35018 * catgets/nl_types.h: Likewise.
35019 * conform/data/pthread.h-data: Likewise.
35020 * crypt/crypt-private.h: Likewise.
35021 * crypt/crypt.h: Likewise.
35022 * crypt/crypt_util.c: Likewise.
35023 * ctype/ctype.h: Likewise.
35024 * debug/execinfo.h: Likewise.
35025 * debug/mbsnrtowcs_chk.c: Likewise.
35026 * debug/mbsrtowcs_chk.c: Likewise.
35027 * debug/wcsnrtombs_chk.c: Likewise.
35028 * debug/wcsrtombs_chk.c: Likewise.
35029 * debug/wcstombs_chk.c: Likewise.
35030 * dirent/dirent.h: Likewise.
35031 * dlfcn/dlfcn.h: Likewise.
35032 * elf/neededtest4.c: Likewise.
35033 * grp/grp.h: Likewise.
35034 * gshadow/gshadow.h: Likewise.
35035 * iconv/gconv.h: Likewise.
35036 * iconv/gconv_int.h: Likewise.
35037 * iconv/gconv_simple.c: Likewise.
35038 * iconv/iconv.h: Likewise.
35039 * iconv/loop.c: Likewise.
35040 * iconv/skeleton.c: Likewise.
35041 * include/aio.h: Likewise.
35042 * include/aliases.h: Likewise.
35043 * include/argz.h: Likewise.
35044 * include/arpa/inet.h: Likewise.
35045 * include/assert.h: Likewise.
35046 * include/dirent.h: Likewise.
35047 * include/dlfcn.h: Likewise.
35048 * include/execinfo.h: Likewise.
35049 * include/fcntl.h: Likewise.
35050 * include/fenv.h: Likewise.
35051 * include/glob.h: Likewise.
35052 * include/grp.h: Likewise.
35053 * include/libintl.h: Likewise.
35054 * include/mntent.h: Likewise.
35055 * include/netdb.h: Likewise.
35056 * include/pwd.h: Likewise.
35057 * include/rpc/netdb.h: Likewise.
35058 * include/sched.h: Likewise.
35059 * include/search.h: Likewise.
35060 * include/shadow.h: Likewise.
35061 * include/signal.h: Likewise.
35062 * include/stdio.h: Likewise.
35063 * include/stdlib.h: Likewise.
35064 * include/string.h: Likewise.
35065 * include/sys/socket.h: Likewise.
35066 * include/sys/stat.h: Likewise.
35067 * include/sys/statfs.h: Likewise.
35068 * include/sys/statvfs.h: Likewise.
35069 * include/sys/syslog.h: Likewise.
35070 * include/sys/time.h: Likewise.
35071 * include/sys/uio.h: Likewise.
35072 * include/time.h: Likewise.
35073 * include/unistd.h: Likewise.
35074 * include/utmp.h: Likewise.
35075 * include/wchar.h: Likewise.
35076 * include/wctype.h: Likewise.
35077 * inet/aliases.h: Likewise.
35078 * inet/arpa/inet.h: Likewise.
35079 * inet/netinet/ether.h: Likewise.
35080 * inet/netinet/in.h: Likewise.
35081 * intl/libintl.h: Likewise.
35082 * io/bits/fcntl2.h: Likewise.
35083 * io/fcntl.h: Likewise.
35084 * io/ftw.h: Likewise.
35085 * io/sys/poll.h: Likewise.
35086 * io/sys/stat.h: Likewise.
35087 * io/sys/statfs.h: Likewise.
35088 * io/sys/statvfs.h: Likewise.
35089 * io/utime.h: Likewise.
35090 * libio/bits/stdio.h: Likewise.
35091 * libio/bits/stdio2.h: Likewise.
35092 * libio/libio.h: Likewise.
35093 * libio/libioP.h: Likewise.
35094 * libio/stdio.h: Likewise.
35095 * locale/lc-ctype.c: Likewise.
35096 * locale/locale.h: Likewise.
35097 * login/utmp.h: Likewise.
35098 * malloc/arena.c: Likewise.
35099 * malloc/malloc.c: Likewise.
35100 * malloc/malloc.h: Likewise.
35101 * malloc/mcheck.c: Likewise.
35102 * malloc/mtrace.c: Likewise.
35103 * math/bits/mathcalls.h: Likewise.
35104 * math/fenv.h: Likewise.
35105 * math/math_private.h: Likewise.
35106 * misc/bits/error.h: Likewise.
35107 * misc/bits/syslog.h: Likewise.
35108 * misc/err.h: Likewise.
35109 * misc/error.h: Likewise.
35110 * misc/fstab.h: Likewise.
35111 * misc/mntent.h: Likewise.
35112 * misc/regexp.h: Likewise.
35113 * misc/search.h: Likewise.
35114 * misc/sgtty.h: Likewise.
35115 * misc/sys/mman.h: Likewise.
35116 * misc/sys/syslog.h: Likewise.
35117 * misc/sys/uio.h: Likewise.
35118 * misc/sys/xattr.h: Likewise.
35119 * misc/ttyent.h: Likewise.
35120 * nis/rpcsvc/ypclnt.h: Likewise.
35121 * nss/nss.h: Likewise.
35122 * posix/bits/unistd.h: Likewise.
35123 * posix/fnmatch.h: Likewise.
35124 * posix/glob.h: Likewise.
35125 * posix/sched.h: Likewise.
35126 * posix/spawn.h: Likewise.
35127 * posix/sys/wait.h: Likewise.
35128 * posix/unistd.h: Likewise.
35129 * posix/wordexp.h: Likewise.
35130 * pwd/pwd.h: Likewise.
35131 * resolv/netdb.h: Likewise.
35132 * resource/sys/resource.h: Likewise.
35133 * rt/aio.h: Likewise.
35134 * rt/bits/mqueue2.h: Likewise.
35135 * rt/mqueue.h: Likewise.
35136 * shadow/shadow.h: Likewise.
35137 * signal/signal.h: Likewise.
35138 * socket/send.c: Likewise.
35139 * socket/sendto.c: Likewise.
35140 * socket/sys/socket.h: Likewise.
35141 * stdio-common/printf.h: Likewise.
35142 * stdlib/bits/stdlib.h: Likewise.
35143 * stdlib/fmtmsg.h: Likewise.
35144 * stdlib/monetary.h: Likewise.
35145 * stdlib/stdlib.h: Likewise.
35146 * stdlib/ucontext.h: Likewise.
35147 * streams/stropts.h: Likewise.
35148 * string/argz.h: Likewise.
35149 * string/bits/string2.h: Likewise.
35150 * string/string.h: Likewise.
35151 * string/strings.h: Likewise.
35152 * sunrpc/rpc/auth.h: Likewise.
35153 * sunrpc/rpc/auth_des.h: Likewise.
35154 * sunrpc/rpc/clnt.h: Likewise.
35155 * sunrpc/rpc/netdb.h: Likewise.
35156 * sunrpc/rpc/pmap_clnt.h: Likewise.
35157 * sunrpc/rpc/xdr.h: Likewise.
35158 * sysdeps/generic/inttypes.h: Likewise.
35159 * sysdeps/generic/net/if.h: Likewise.
35160 * sysdeps/generic/sys/swap.h: Likewise.
35161 * sysdeps/gnu/net/if.h: Likewise.
35162 * sysdeps/gnu/utmpx.h: Likewise.
35163 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35164 * sysdeps/i386/i486/bits/string.h: Likewise.
35165 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35166 * sysdeps/s390/bits/string.h: Likewise.
35167 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35168 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35169 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35170 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35171 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35172 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35173 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35174 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35175 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35176 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35177 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35178 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35179 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35180 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35181 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35182 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35183 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35185 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35189 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35190 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35191 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35192 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35193 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35195 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35197 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35198 * sysvipc/sys/ipc.h: Likewise.
35199 * sysvipc/sys/msg.h: Likewise.
35200 * sysvipc/sys/sem.h: Likewise.
35201 * sysvipc/sys/shm.h: Likewise.
35202 * termios/termios.h: Likewise.
35203 * time/sys/time.h: Likewise.
35204 * time/time.h: Likewise.
35205 * wcsmbs/bits/wchar2.h: Likewise.
35206 * wcsmbs/uchar.h: Likewise.
35207 * wcsmbs/wchar.h: Likewise.
35208 * wctype/wctype.h: Likewise.
35209
35210 [BZ #13551]
35211 * Makeconfig: Remove all but ELF support including AIX support.
35212 * Makerules: Likewise.
35213 * config.h.in: Likewise.
35214 * config.make.in: Likewise.
35215 * configure: Likewise.
35216 * configure.in: Likewise.
35217 * csu/Makefile: Likewise.
35218 * csu/version.c: Likewise.
35219 * debug/Makefile: Likewise.
35220 * dlfcn/Makefile: Likewise.
35221 * elf/Makefile: Likewise.
35222 * extra-lib.mk: Likewise.
35223 * iconv/Makefile: Likewise.
35224 * include/libc-symbols.h: Likewise.
35225 * include/shlib-compat.h: Likewise.
35226 * resolv/Makefile: Likewise.
35227 * resolv/res_libc.c: Likewise.
35228 * rt/Makefile: Likewise.
35229 * sysdeps/i386/asm-syntax.h: Likewise.
35230 * sysdeps/i386/sysdep.h: Likewise.
35231 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35232 * sysdeps/mach/sysdep.h: Likewise.
35233 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35234 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35235 * sysdeps/s390/asm-syntax.h: Likewise.
35236 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35238 * sysdeps/sh/sysdep.h: Likewise.
35239 * sysdeps/unix/sparc/sysdep.h: Likewise.
35240 * sysdeps/wordsize-32/divdi3.c: Likewise.
35241 * sysdeps/x86_64/sysdep.h: Likewise.
35242
35243 * argp/Versions: Remove _argp_unlock_xxx.
35244
35245 [BZ #13559]
35246 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35247 * abilist/libBrokenLocale.abilist: Likewise.
35248 * abilist/libanl.abilist: Likewise.
35249 * abilist/libc.abilist: Likewise.
35250 * abilist/libcrypt.abilist: Likewise.
35251 * abilist/libdl.abilist: Likewise.
35252 * abilist/libm.abilist: Likewise.
35253 * abilist/libnsl.abilist: Likewise.
35254 * abilist/libpthread.abilist: Likewise.
35255 * abilist/libresolv.abilist: Likewise.
35256 * abilist/librt.abilist: Likewise.
35257 * abilist/libthread_db.abilist: Likewise.
35258 * abilist/libutil.abilist: Likewise.
35259 * abilist/libnss_db.abilist: New file.
35260
35261 * scripts/abilist.awk: Add support for indirect functions.
35262
35263 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35264
35265 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35266
35267 * shlib-versions: Remove entries for ports architectures.
35268
35269 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35270 files in ports.
35271 * elf/stackguard-macros.h: Remove support for IA-64.
35272 * elf/tst-auditmod1.c: Likewise.
35273 * sysdeps/generic/ldsodefs.h: Likewise.
35274
35275 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35276 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35277 configure files.
35278
35279 [BZ #13552]
35280 * configure.in: Remove --enable-omitfp support.
35281 * FAQ.in: Adjust.
35282 * config.make.in: Likewise.
35283 * Makeconfig: Likewise.
35284 * manual/install.texi: Likewise.
35285
35286 In case anyone cares, the IA-64 architecture could move to ports.
35287 * sysdeps/ia64/*: Removed.
35288 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35289 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35290
35291 [BZ #13555]
35292 * configure.in: Remove entries for unsupported architectures.
35293
35294 [BZ #13533]
35295 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35296 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35297 routines.
35298 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35299 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35300 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35301 fall back to using wcrtomb.
35302 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35303 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35304 renaming.
35305 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35306 * wcsmbs/tst-c16c32-1.c: New file.
35307
35308 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35309 local variable.
35310
35311 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35312
35313 * elf/tst-unique3.cc: Add explicit declaration of gets.
35314 * elf/tst-unique3lib.cc: Likewise.
35315 * elf/tst-unique3lib2.cc: Likewise.
35316 * elf/tst-unique4.cc: Likewise.
35317
35318 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35319
35320 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35321
35322 [BZ #13566]
35323 * assert/assert.h (static_assert): Don't define for C++.
35324 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35325 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35326
35327 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35328
35329 * iconv/loop.c (single loop): Fix assertion in storing of
35330 remaining bytes.
35331
35332 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35333
35334 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35335
35336 * posix/getconf.c: Update copyright year.
35337 * nss/getent.c: Likewise.
35338 * nss/makedb.c: Likewise.
35339 * iconv/iconvconfig.c: Likewise.
35340 * iconv/iconv_prog.c: Likewise.
35341 * elf/ldconfig.c: Likewise.
35342 * elf/pldd.c: Likewise.
35343 * elf/sotruss.ksh: Likewise.
35344 * catgets/gencat.c: Likewise.
35345 * csu/version.c: Likewise.
35346 * elf/ldd.bash.in: Likewise.
35347 * elf/sprof.c (print_version): Likewise.
35348 * locale/programs/locale.c: Likewise.
35349 * locale/programs/localedef.c: Likewise.
35350 * login/programs/pt_chown.c: Likewise.
35351 * nscd/nscd.c (print_version): Likewise.
35352 * debug/xtrace.sh: Likewise.
35353 * malloc/memusage.sh: Likewise.
35354 * malloc/mtrace.pl: Likewise.
35355 * debug/catchsegv.sh: Likewise.
35356
35357 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35358
35359 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35360 pure attribute.
35361
35362 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35363
35364 [BZ #13533]
35365 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35366 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35367 transformations.
35368 * iconv/gconv_int.h: Likewise.
35369 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35370 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35371 from libc for GLIBC_2.16.
35372 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35373 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35374 * wcsmbs/uchar.h: Really define mbstate_t.
35375 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35376 * wcsmbs/c16rtomb.c: New file.
35377 * wcsmbs/mbrtoc16.c: New file.
35378 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35379 for C/POSIX locale.
35380 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35381 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35382
35383 * wcsmbs/wchar.h: Add missing __restrict.
35384
35385 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35386
35387 [BZ #13532]
35388 * time/Makefile (routines): Add timespec_get.
35389 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35390 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35391 timespec for ISO C11.
35392 * time/timespec_get.c: New file.
35393 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35394 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35395
35396 [BZ #13531]
35397 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35398 * stdlib/stdlib.h: Declare aligned_alloc.
35399 * Versions.def: Add GLIBC_2.16 for libc.
35400 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35401
35402 [BZ 13527]
35403 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35404 ISO C11.
35405
35406 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35407 code.
35408
35409 [BZ #13528]
35410 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35411
35412 [BZ #13529]
35413 * assert/assert.h (static_assert): Define.
35414
35415 * version.h: Update for 2.16 development version.
35416
35417 [BZ #13526]
35418 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35419 _ISOC11_SOURCE.
35420
35421 * version.h (RELEASE): Bump for 2.15 release.
35422 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35423
35424 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35425 Patch by Marek Polacek <mpolacek@redhat.com>.
35426
35427 * bits/byteswap.h: Protect long long constants with __extension__.
35428 * sysdeps/i386/bits/byteswap.h: Likewise.
35429 * sysdeps/ia64/bits/byteswap.h: Likewise.
35430 * sysdeps/s390/bits/byteswap.h: Likewise.
35431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35432
35433 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35434
35435 [BZ #13540]
35436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35437 destination buffer.
35438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35439
35440 2011-12-23 Marek Polacek <polacek@redhat.com>
35441
35442 * elf/dl-addr.c (determine_info): Add inline keyword.
35443 * elf/tst-auditmod4b.c (check_avx): Likewise.
35444 * elf/tst-auditmod6b.c (check_avx): Likewise.
35445 * elf/tst-auditmod6c.c (check_avx): Likewise.
35446 * elf/tst-auditmod7b.c (check_avx): Likewise.
35447
35448 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35449
35450 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35451 !__SSE_MATH__.
35452
35453 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35454
35455 [BZ #13540]
35456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35457 processing for last bytes.
35458
35459 2011-08-06 Bruno Haible <bruno@clisp.org>
35460
35461 [BZ #13061]
35462 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35463 U+0385, not to U+1FEE.
35464
35465 [BZ #13062]
35466 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35467 entry for U+00A5 U+0301.
35468
35469 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35470
35471 [BZ #13166]
35472 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35473 buffer for the output is too small.
35474
35475 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35476 optimization.
35477
35478 [BZ #13185]
35479 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35480 SSE flags if possible.
35481
35482 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35483
35484 [BZ #13540]
35485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35486 processing for last bytes.
35487
35488 2011-12-22 Joseph Myers <joseph@codesourcery.com>
35489
35490 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35491 (syscall-list-default-options, syscall-list-default-condition)
35492 (syscall-list-includes): Define.
35493 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35494 list of ABIs and options and #if conditions for each ABI. Do not
35495 handle common syscalls between ABIs specially.
35496 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35497 Remove.
35498 (syscall-list-variants, syscall-list-32bit-options)
35499 (syscall-list-32bit-condition, syscall-list-64bit-options)
35500 (syscall-list-64bit-condition): Define.
35501 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35502 (syscall-list-variants, syscall-list-32bit-options)
35503 (syscall-list-32bit-condition, syscall-list-64bit-options)
35504 (syscall-list-64bit-condition): Define.
35505 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35506 Remove.
35507 (syscall-list-variants, syscall-list-32bit-options)
35508 (syscall-list-32bit-condition, syscall-list-64bit-options)
35509 (syscall-list-64bit-condition): Define.
35510 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35511 Remove.
35512 (syscall-list-variants, syscall-list-32bit-options)
35513 (syscall-list-32bit-condition, syscall-list-64bit-options)
35514 (syscall-list-64bit-condition): Define.
35515
35516 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35517
35518 * locale/iso-639.def: Add brx entry.
35519
35520 [BZ #13328]
35521 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35522 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35523
35524 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35525 __feraiseexcept_renamed.
35526
35527 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35528
35529 [BZ #13538]
35530 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35531 EPOLLET with unsigned values.
35532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35533 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35534
35535 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35536 to large cancellation.
35537 * math/s_cacoshf.c: Likewise.
35538 * math/s_cacoshl.c: Likewise.
35539
35540 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35541
35542 [BZ #13305]
35543 [BZ #12786]
35544 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35545 * math/s_cacoshf.c: Likewise.
35546 * math/s_cacoshl.c: Likewise.
35547
35548 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35549
35550 [BZ #13439]
35551 * iconv/gconv.h: Define __GCONV_SWAP.
35552 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35553 * iconvdata/utf-16.c: Likewise.
35554 * iconvdata/utf-32.c: Likewise.
35555
35556 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35557
35558 [BZ #13524]
35559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35560 numerator after shifting it by one limb.
35561
35562 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35563
35564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35565 under [__USE_EXTERN_INLINES].
35566
35567 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35568
35569 [BZ #13446]
35570 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35571
35572 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35573
35574 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35575 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35576 optimized code.
35577 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35578 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35579 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35580 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35581 for strncasecmp/strncasecmp_l compilation.
35582 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35583 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35584
35585 2011-12-08 Marek Polacek <mpolacek@redhat.com>
35586
35587 [BZ #13484]
35588 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35589 of __asm__.
35590
35591 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35592
35593 [BZ #13506]
35594 * time/tzfile.c (__tzfile_read): Check values from file header.
35595
35596 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35597
35598 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35599 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35600 * powerpc/powerpc32/dl-start.S: Likewise.
35601 * powerpc/powerpc32/elf/start.S: Likewise.
35602 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35603 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35604 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35605 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35606 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35607 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35608 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35609 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35610 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35611 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35612 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35613 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35614 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35615 * powerpc/powerpc32/memset.S: Likewise.
35616 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35617 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35618 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35619 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35620 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35621 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35622 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35623 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35624 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35625 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35626 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35627 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35628 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35629
35630 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35631
35632 * math/libm-test.inc: Added more nearbyint tests.
35633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35637
35638 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35639
35640 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35641 FD_CLOEXEC.
35642
35643 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35644
35645 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35646 Add wcscpy-ssse3 wcscpy-c.
35647 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35648 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35649 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35650 * sysdeps/x86_64/wcschr.S: New file.
35651 * sysdeps/x86_64/wcsrchr.S: New file.
35652 * string/test-strcmp.c: Remove checking of wcscmp function for
35653 wrong alignments.
35654 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35655 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35656 wcsrchr-sse2 wcsrchr-c.
35657 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35658 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35659 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35660 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35661 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35662 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35663 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35664 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35665 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35666 * wcsmbc/wcschr.c (WCSCHR): New macro.
35667
35668 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35669
35670 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35671 * wcsmbs/test-wcsrchr.c: New file.
35672 * string/test-strrchr.c: Add wcsrchr support.
35673 (WIDE): New macro.
35674 * wcsmbs/test-wcscpy.c: New file.
35675 * string/test-strcpy.c: Add wcscpy support.
35676 (WIDE): New macro.
35677
35678 2011-12-10 Ulrich Drepper <drepper@gmail.com>
35679
35680 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35681 the inner loop.
35682
35683 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35684
35685 [BZ #13472]
35686 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35687
35688 2011-12-04 Ulrich Drepper <drepper@gmail.com>
35689
35690 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35691 Minor optimizations.
35692
35693 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35694 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35695 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35696
35697 2011-12-03 Ulrich Drepper <drepper@gmail.com>
35698
35699 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35700 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35701 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35702 for gcc to avoid warnings.
35703 * inet/Makefile (tests): Add tst-checks.
35704 * inet/tst-checks.c: New file.
35705
35706 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35707 warning.
35708
35709 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35710 __wmemcmp_sse2.
35711
35712 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35713 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35714
35715 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35716
35717 2011-12-02 Ulrich Drepper <drepper@gmail.com>
35718
35719 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35720 problem.
35721
35722 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35723
35724 2011-11-29 Joseph Myers <joseph@codesourcery.com>
35725
35726 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35727 conditional on GCC version.
35728 (__arch_compare_and_exchange_val_8_acq)
35729 (__arch_compare_and_exchange_val_16_acq)
35730 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35731 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35732 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35733
35734 2011-12-02 Joseph Myers <joseph@codesourcery.com>
35735
35736 * sysdeps/sh/backtrace.c: New file.
35737
35738 2011-12-02 Andreas Schwab <schwab@redhat.com>
35739
35740 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35741 parenthesis.
35742
35743 2011-12-01 Andreas Schwab <schwab@redhat.com>
35744
35745 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35746 falling back to utime.
35747
35748 2011-11-30 Andreas Schwab <schwab@redhat.com>
35749
35750 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35751 expectations for float.
35752
35753 2011-11-29 Andreas Schwab <schwab@redhat.com>
35754
35755 * locale/weight.h (findidx): Add parameter len.
35756 * locale/weightwc.h (findidx): Likewise.
35757 * posix/fnmatch_loop.c (FCT): Adjust caller.
35758 * posix/regcomp.c (build_equiv_class): Likewise.
35759 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35760 * posix/regexec.c (check_node_accept_bytes): Likewise.
35761 * string/strcoll_l.c (STRCOLL): Likewise.
35762 * string/strxfrm_l.c (STRXFRM): Likewise.
35763
35764 2011-11-17 Ulrich Drepper <drepper@gmail.com>
35765
35766 * Makefile.in: Remove CVSOPT handling.
35767 * configure.in: Remove use of AC_REVISION.
35768 * iconvdata/Makefile (distribute): No need to filter out CVS.
35769 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35770 handling.
35771
35772 2011-11-16 Andreas Schwab <schwab@redhat.com>
35773
35774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35775 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35776 [USE_AS_STRNCASECMP_L]: Likewise.
35777 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35778 NO_TLS_DIRECT_SEG_REFS.
35779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35780 Fix argument offsets for non-PIC.
35781 [USE_AS_STRNCASECMP_L]: Likewise.
35782 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35783 NO_TLS_DIRECT_SEG_REFS.
35784
35785 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35786
35787 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35788 O_CLOEXEC.
35789 * locale/loadlocale.c (_nl_load_locale): Likewise.
35790
35791 2011-11-15 Andreas Schwab <schwab@redhat.com>
35792
35793 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35794 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35795 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35796 (SYSCALL_GETTIME): Set errno on error.
35797
35798 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35799 count references to noai6ai_cached.
35800
35801 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35802
35803 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35804
35805 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35806 FD_CLOEXEC for /proc/self/maps.
35807
35808 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35809 FD_CLOEXEC for /proc/meminfo.
35810
35811 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35812 gai.conf.
35813
35814 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35815 FD_CLOEXEC for given file.
35816
35817 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35818
35819 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35820 FD_CLOEXEC for /etc/hosts.
35821 (_gethtent): Likewise.
35822
35823 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35824
35825 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35826 cancellation and set FD_CLOEXEC for /etc/netgroup.
35827
35828 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35829 reading /etc/publickey.
35830
35831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35832 allow cancellation when reading /etc/group.
35833
35834 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35835 cancellation.
35836 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35837
35838 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35839 when using data file.
35840
35841 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35842
35843 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35844 (write_nis_obj): Use "c" and "e" in fopen.
35845
35846 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35847
35848 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35849
35850 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35851
35852 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35853
35854 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35855 locale.alias.
35856
35857 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35858
35859 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35860
35861 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35862
35863 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35864 file parsing and set FD_CLOEXEC.
35865
35866 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35867
35868 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35869
35870 2011-11-14 Andreas Schwab <schwab@redhat.com>
35871
35872 * malloc/arena.c (arena_get2): Don't call reused_arena when
35873 _int_new_arena failed.
35874
35875 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35876
35877 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35878 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35880 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35881 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35883 to compile strcasecmp and strncasecmp.
35884 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35885 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35886
35887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35888
35889 2011-11-13 Ulrich Drepper <drepper@gmail.com>
35890
35891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35892 locale-defines.sym to gen-as-const-headers.
35893 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35894 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35896 to compile strcasecmp and strncasecmp.
35897 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35898 strcasecmp_l and strncasecmp_l.
35899 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35900 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35901 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35902 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35903 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35904 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35905 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35906 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35907 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35908 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35909 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35910
35911 2011-11-12 Ulrich Drepper <drepper@gmail.com>
35912
35913 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35914 result of SYSDEP_GETTIME_CPU to retval.
35915 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35916 parameter list to macro. Remove trailing semicolon. Adjust users.
35917
35918 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35919 variable.
35920
35921 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35922 mantissa words.
35923 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35924
35925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35926 from unused variable.
35927
35928 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35929 DWARF definitions.
35930 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35931 for assembling.
35932
35933 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35934 over namespaces.
35935
35936 * sunrpc/rpc_prot.c (rejected): Fix case value.
35937
35938 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35939 unsigned long long int to avoid warnings in shift.
35940
35941 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35942 of use of trans.
35943 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35944 variable tmp.
35945
35946 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35947 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35948 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35949
35950 * nis/nis_table.c (nis_list): Use variable of correct type for
35951 result of __follow_path call.
35952
35953 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35954
35955 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35956 of math functions ceil, trunc, floor, round, and sqrt, when
35957 avaliable on the platform.
35958 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35959 name clash.
35960 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35961 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35962 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35963
35964 2011-10-30 Marek Polacek <mpolacek@redhat.com>
35965
35966 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35967 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35968
35969 2011-11-11 Roland McGrath <roland@hack.frob.com>
35970
35971 * include/unistd.h: Fix __readlink return type.
35972 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35973
35974 2011-11-11 Ulrich Drepper <drepper@gmail.com>
35975
35976 * stdlib/ucontext.h: Undo last change for makecontext.
35977
35978 2011-11-11 Andreas Schwab <schwab@redhat.com>
35979
35980 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35981
35982 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35983 * setjmp/setjmp.h: Mark functions as non-leaf.
35984 * setjmp/bits/setjmp2.h: Likewise.
35985 * stdlib/ucontext.h: Likewise.
35986
35987 2011-11-10 Andreas Schwab <schwab@redhat.com>
35988
35989 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35990 (reused_arena): Don't check arena limit.
35991 (arena_get2): Atomically check arena limit.
35992
35993 2011-11-08 Ulrich Drepper <drepper@gmail.com>
35994
35995 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35996 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35997
35998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35999 instructions.
36000
36001 2011-11-07 Andreas Schwab <schwab@redhat.com>
36002
36003 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36004 handler when locking.
36005
36006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36007 Fix size of allocated buffer.
36008
36009 2011-11-04 Andreas Schwab <schwab@redhat.com>
36010
36011 [BZ #10103]
36012 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36013 declarations for long double functions.
36014 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36015
36016 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36017
36018 2011-11-03 Andreas Schwab <schwab@redhat.com>
36019
36020 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36021 installed.
36022
36023 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36024 is disabled.
36025
36026 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36027
36028 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36029
36030 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36031
36032 * include/alloca.h (stackinfo_alloca_round): Define.
36033 (extend_alloca): Use it.
36034 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36035 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36036 here.
36037
36038 * scripts/check-local-headers.sh: Ignore libaudit.h.
36039
36040 * nscd/Makefile (extra-objs): Make recursively expanded.
36041
36042 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36043
36044 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36046
36047 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36048 * posix/tst-rfc3484-2.c: Likewise.
36049 * posix/tst-rfc3484-3.c: Likewise.
36050
36051 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36052 process_vm_writev.
36053 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36054 process_vm_writev.
36055 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36056 process_vm_writev from libc using GLIBC_2.15 version.
36057
36058 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36059
36060 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36061
36062 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36063 stack usage.
36064
36065 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36066
36067 [BZ #13367]
36068 * nss/getent.c (initgroups_keys): Show error message in case no group
36069 names are given.
36070
36071 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36072 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36073 __bump_nl_timestamp.
36074 * nscd/connections (nscd_init): When host database is served open
36075 netlink socket and request notification about configuration changes.
36076 (main_loop_poll): Track netlink file descriptor and bump timestamp
36077 in case data becomes available.
36078 (main_loop_epoll): Likewise.
36079 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36080 (database_pers_head): Add extra_data fileds.
36081 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36082 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36083 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36084 Adjust caller.
36085 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36086 in6ai data, call __free_in6ai.
36087 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36088 Add -DHAVE_NETLINK.
36089 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36090 interface information. Reuse previous data if netlink timestamp
36091 is not changed.
36092 (__bump_nl_timestamp): New function.
36093 (__free_in6ai): New function.
36094
36095 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36096
36097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36098 close_not_cancel_no_status here.
36099 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36100
36101 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36102
36103 [BZ #13276]
36104 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36105 return value.
36106
36107 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36108 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36109 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36110
36111 2011-07-03 Andreas Jaeger <aj@suse.de>
36112
36113 [BZ #10709]
36114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36115 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36116 * math/libm-test.inc (sin_test): Add test case.
36117
36118 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36119
36120 [BZ #13337]
36121 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36122 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36123
36124 * elf/chroot_canon.c (chroot_canon): Cleanups.
36125
36126 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36127
36128 [BZ #13335]
36129 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36130 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36131
36132 * string/test-strchr.c: Make usable for strchrnul testing.
36133 * string/test-strchrnul.c: New file.
36134 * string/Makefile (strop-tests): Add strchrnul.
36135
36136 * po/it.po: Update from translation team.
36137 * po/es.po: Likewise.
36138
36139 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36140
36141 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36142 the three constants needed as parameters. Drop the others.
36143 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36144 __m128i_strloadu_tolower.
36145 Create and initialize variable zero and use it in all the places
36146 where _mm_setzero_si128 was used.
36147
36148 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36149 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36150 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36152 anymore.
36153 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36154 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36155 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36156 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36157 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36158 __mpranred, __mptan.
36159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36163 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36164 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36165 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36166 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36168
36169 2011-10-28 Andreas Schwab <schwab@redhat.com>
36170
36171 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36172 redefine if SHARED.
36173 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36174
36175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36176 wide char related routines to wcsmbs subdir.
36177
36178 2011-10-27 Andreas Schwab <schwab@redhat.com>
36179
36180 [BZ #13344]
36181 * misc/sys/cdefs.h (__THROWNL): Define.
36182 * posix/unistd.h: Use __THREADNL instead of __THREAD
36183 for memory synchronization functions.
36184
36185 2011-10-26 Roland McGrath <roland@hack.frob.com>
36186
36187 [BZ #13349]
36188 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36189 doesn't exist.
36190 * manual/stdio.texi (Obstack Streams): Node removed.
36191
36192 2011-10-26 Andreas Schwab <schwab@redhat.com>
36193
36194 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36195 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36196 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36197
36198 * math/math_private.h (math_force_eval): Allow non-addressable
36199 arguments.
36200 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36201
36202 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36203
36204 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36205 file is not needed.
36206
36207 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36209 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36210 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36214 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36215 Add AVX variants.
36216 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36217 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36218 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36219 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36220 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36221 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36222 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36223 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36226 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36227 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36229 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36230 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36231 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36232 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36233 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36234 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36235
36236 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36237 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36238
36239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36240 place. Use VEX encoding when compiling for AVX.
36241
36242 2011-10-25 Andreas Schwab <schwab@redhat.com>
36243
36244 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36245 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36246
36247 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36248
36249 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36250
36251 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36252 useless if() expression.
36253 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36254 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36256 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36257 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36258 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36263 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36264 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36265 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36266 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36267 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36269 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36272
36273 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36274
36275 2011-10-25 Andreas Schwab <schwab@redhat.com>
36276
36277 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36278 condition.
36279 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36280
36281 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36282
36283 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36284 .text section. Avoid duplicate constants.
36285 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36293 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36294 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36295 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36297 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36298 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36299 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36300 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36301 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36302 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36305 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36306 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36307 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36309 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36310 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36311 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36313 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36314 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36315 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36316 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36318 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36319 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36320 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36321 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36323 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36324 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36325 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36327 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36328 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36329 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36330
36331 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36332
36333 * sysdeps/x86_64/dla.h: Move to ...
36334 * sysdeps/x86_64/fpu/dla.h: ...here.
36335 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36336 situations. Use __builtin_fma only for gcc 4.6 and up.
36337
36338 * config.make.in: Add have-mfma4 entry.
36339 * configure.in: Substitute libc_cv_cc_fma4.
36340 * math/Makefile (dbl-only-routines): Add sincostab.
36341 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36342 Use __sincostab not sincos.
36343 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36344 name is a macro.
36345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36349 using __copysign.
36350 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36351 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36352 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36353 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36354 and __inv.
36355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36356 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36357 __copysign.
36358 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36359 define aliases when function name is a macro.
36360 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36361 sysdeps/ieee754/dbl-64/sincos.tbl.
36362 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36363 fma4-enabled routines.
36364 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36365 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36366 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36367 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36368 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36369 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36371 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36373 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36374 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36375 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36376 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36391 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36392 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36393 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36394
36395 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36396 rename.
36397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36405
36406 2011-10-24 Andreas Schwab <schwab@redhat.com>
36407
36408 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36409
36410 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36411
36412 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36413
36414 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36415 prediction.
36416 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36417
36418 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36419 Remove unused variable magic_bits.
36420 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36421
36422 * string/strnlen.c: Define and use STRNLEN macro.
36423 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36424 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36426 * wcsmbs/wcslen.c: Define and use WCSLEN.
36427 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36428 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36429 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36430 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36431 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36432 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36433 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36434
36435 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36436
36437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36438 strnlen-sse2-no-bsf.
36439 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36441 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36442 Add strnlen support.
36443 (USE_AS_STRNLEN): New macro.
36444 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36445 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36446 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36447 * sysdeps/x86_64/wcslen.S: New file.
36448
36449 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36450
36451 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36452 XMM-moves are used for copying on small sizes.
36453
36454 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36455
36456 * wcsmbs/Makefile (strop-tests): Add wcschr.
36457 * wcsmbs/test-wcschr.c: New file.
36458 * string/test-strchr.c: Update.
36459 Add wcschr support.
36460 (WIDE): New macro.
36461
36462 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36463
36464 * wcsmbs/Makefile (strop-tests): Add wcslen.
36465 * wcsmbs/test-wcslen.c: New file.
36466 * string/test-strlen.c: Update.
36467 Add wcslen support.
36468 (WIDE): New macro.
36469
36470 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36471
36472 * po/it.po: Update from translation team.
36473
36474 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36475
36476 * sysdeps/x86_64/wcscmp.S: Update.
36477 Fix wrong comparison semantics.
36478 wcscmp shall use signed comparison not unsigned.
36479 Don't use substraction to avoid overflow bug.
36480 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36481 * wcsmbc/wcscmp.c: Likewise.
36482 * string/test-strcmp.c: Likewise.
36483 Add new tests to check cases with negative values.
36484
36485 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36486
36487 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36488 * sysdeps/x86_64/dla.h: ...here. New file.
36489 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36498
36499 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36500
36501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36502 __ynl_finite aliases.
36503
36504 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36505
36506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36507
36508 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36509 define DLA_FMA.
36510 [DLA_FMA] (EMULV): Use DLA_FMA.
36511 [DLA_FMA] (MUL12): Use EMULV.
36512 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36513 that are not needed.
36514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36521
36522 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36523
36524 * math/s_nan.c: Undef __nan.
36525 * math/s_nanf.c: Undef __nanf.
36526 * math/s_nanl.c: Undef __nanl.
36527 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36528 "math_private.h".
36529
36530 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36531
36532 * math/s_catan.c: Add branch predictions.
36533 * math/s_catanf.c: Likewise.
36534 * math/s_catanh.c: Likewise.
36535 * math/s_catanhf.c: Likewise.
36536 * math/s_catanhl.c: Likewise.
36537 * math/s_catanl.c: Likewise.
36538 * math/s_cexp.c: Likewise.
36539 * math/s_cexpf.c: Likewise.
36540 * math/s_cexpl.c: Likewise.
36541 * math/s_clog.c: Likewise.
36542 * math/s_clog10.c: Likewise.
36543 * math/s_clog10f.c: Likewise.
36544 * math/s_clog10l.c: Likewise.
36545 * math/s_clogf.c: Likewise.
36546 * math/s_clogl.c: Likewise.
36547 * math/s_csqrt.c: Likewise.
36548 * math/s_csqrtf.c: Likewise.
36549 * math/s_csqrtl.c: Likewise.
36550 * math/s_ctanf.c: Likewise.
36551 * math/s_ctanh.c: Likewise.
36552 * math/s_ctanhf.c: Likewise.
36553 * math/s_ctanhl.c: Likewise.
36554 * math/s_ctanl.c: Likewise.
36555
36556 * math/math_private.h: Define __nan, __nanf, __nanl.
36557 * math/s_cacosh.c: Include <math_private.h>.
36558 * math/s_cacoshl.c: Likewise.
36559 * math/s_casinh.c: Likewise.
36560 * math/s_casinhf.c: Likewise.
36561 * math/s_casinhl.c: Likewise.
36562 * math/s_ccos.c: Rely entire on ccosh.
36563 * math/s_ccosf.c: Rely entire on ccoshf.
36564 * math/s_ccosl.c: Rely entirely on ccoshl.
36565 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36566 Remove tests for FE_INVALID.
36567 * math/s_ccoshf.c: Likewise.
36568 * math/s_ccoshl.c: Likewise.
36569 * math/s_csin.c: Likewise.
36570 * math/s_csinf.c: Likewise.
36571 * math/s_csinh.c Likewise.
36572 * math/s_csinhf.c: Likewise.
36573 * math/s_csinhl.c: Likewise.
36574 * math/s_csinl.c: Likewise.
36575 * math/s_ctan.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36577 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36578 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36579
36580 2011-10-21 Ulrich Drepper <drepper@gmail.com>
36581
36582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36583 compilation problems.
36584
36585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36586 __builtin_expect.
36587
36588 2011-10-20 Ulrich Drepper <drepper@gmail.com>
36589
36590 * sysdeps/i386/configure.in: Test for -mfma4 option.
36591 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36592 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36593 COMMON_CPUID_INDEX_80000001.
36594 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36595 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36596 use it if FMA3 is not supported.
36597 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36598
36599 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36600 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36601
36602 2011-10-20 Andreas Schwab <schwab@redhat.com>
36603
36604 [BZ #12892]
36605 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36606 it would create a cycle with a link time dependency.
36607
36608 2011-10-19 Ulrich Drepper <drepper@gmail.com>
36609
36610 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36611 instruction.
36612 * string/Makefile (strop-tests): Add rawmemchr.
36613 * string/test-rawmemchr.c: New file.
36614
36615 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36616 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36617 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36618 when compiling str{,n}casecmp and when AVX is available. Hook up
36619 new optimized code in initializers.
36620
36621 2011-10-19 Andreas Schwab <schwab@redhat.com>
36622
36623 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36624 __feraiseexcept instead of feraiseexcept.
36625
36626 2011-10-18 Ulrich Drepper <drepper@gmail.com>
36627
36628 * math/math_private.h: Define defaults for libc_fetestexcept and
36629 libc_feupdateenv.
36630 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36631 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36632 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36634 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36635 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36636 libc_fetestexcept and libc_feupdateenv.
36637
36638 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36639 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36640 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36641 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36642 libc_feholdexcept_setround.
36643
36644 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36645 Add s_nearbyint-c and s_nearbyintf-c.
36646 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36647 nearbyintf inlines.
36648 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36649 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36650 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36652
36653 * math/math_private.h: Define defaults for libc_fegetround,
36654 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36655 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36656 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36658 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36659 standard functions.
36660 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36661 Remove comments and hacks for old compiler versions.
36662 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36663 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36664 libc_feholdexceptl.
36665
36666 2011-10-18 Andreas Schwab <schwab@redhat.com>
36667
36668 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36669 (__feraiseexcept_renamed): Add __NTH.
36670 (feraiseexcept): Add __NTH. Rename local variables to fix
36671 namespace violations.
36672
36673 2011-10-17 Ulrich Drepper <drepper@gmail.com>
36674
36675 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36676
36677 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36678
36679 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36680 recently added interfaces.
36681 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36682
36683 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36684 about macro parameter expansion.
36685
36686 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36687 __NO_MATH_INLINES is defined. Cleanups.
36688
36689 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36690 and __floorf is target has SSE4.1.
36691 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36692 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36693 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36694 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36695
36696 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36697 name.
36698 (floorf): Likewise.
36699
36700 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36701
36702 2011-10-17 Andreas Schwab <schwab@redhat.com>
36703
36704 * misc/sys/cdefs.h: Fix last change.
36705
36706 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36707 database lookup.
36708
36709 2011-10-16 Ulrich Drepper <drepper@gmail.com>
36710
36711 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36712
36713 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36715 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36716 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36718 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36719 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36721 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36722 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36723 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36724 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36725 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36726 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36727 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36728 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36729 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36730 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36732 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36733 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36734 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36735
36736 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36737 ceil, ceilf, floor, floorf.
36738
36739 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36740 Perform IRELATIVE relocations last.
36741
36742 * elf/do-rel.h: Add another parameter nrelative, replacing the
36743 local variable with the same name. Change name of the function
36744 to end in Rel or Rela (uppercase).
36745 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36746 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36747 elf_dynamic_do_##reloc function.
36748
36749 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36750
36751 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36752 is sufficient, at least on modern CPUs.
36753
36754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36755
36756 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36758
36759 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36760 __expl_finite.
36761 * math/bits/math-finite.h: Add entries for exp.
36762 * math/e_expl.c: Add __*_finite alias.
36763 * sysdeps/i386/fpu/e_exp.S: Likewise.
36764 * sysdeps/i386/fpu/e_expf.S: Likewise.
36765 * sysdeps/i386/fpu/e_expl.c: Likewise.
36766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36770 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36771 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36772 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36773
36774 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36775 is sufficient, at least on modern CPUs.
36776
36777 * ctype/ctype-info.c (__ctype_init): Define.
36778 * include/ctype.h (__ctype_init): Declare.
36779 (__ctype_b_loc): The variable is always initialized.
36780 (__ctype_toupper_loc): Likewise.
36781 (__ctype_tolower_loc): Likewise.
36782 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36783 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36784
36785 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36786
36787 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36788
36789 * configure.in: Also look in $cxxmachine/include for C++ system
36790 headers.
36791
36792 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36793
36794 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36795 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36796 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36797 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36798 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36799 (USE_AS_WMEMCMP): New macro.
36800 Fixing indents.
36801 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36802 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36803 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36804 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36806 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36807 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36808 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36809 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36810 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36811 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36812 (USE_AS_WMEMCMP): New macro.
36813 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36814 * sysdeps/string/test-memcmp.c: Update.
36815 Fix simple_wmemcmp.
36816 Add new tests.
36817 * wcsmbs/wmemcmp.c: Update.
36818 (WMEMCMP): New macro.
36819 Fix overflow bug.
36820
36821 2011-10-12 Andreas Jaeger <aj@suse.de>
36822
36823 [BZ #13268]
36824 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36825
36826 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36827
36828 * libio/iofwide.c (do_length): Avoid warning.
36829
36830 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36831
36832 2011-10-14 Ulrich Drepper <drepper@gmail.com>
36833
36834 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36835
36836 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36837 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36838 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36839 * sysdeps/i386/i686/fpu/e_log.S: New file.
36840 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36841 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36842
36843 * ctype/ctype.h: Add support for inlined isXXX functions when
36844 compiling C++ code.
36845
36846 2011-10-14 Andreas Schwab <schwab@redhat.com>
36847
36848 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36849
36850 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36851
36852 2011-10-13 Roland McGrath <roland@hack.frob.com>
36853
36854 [BZ #13291]
36855 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36856
36857 2011-10-13 Andreas Schwab <schwab@redhat.com>
36858
36859 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36860 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36861 feraiseexcept.
36862
36863 * sysdeps/x86_64/memrchr.S: Check for zero size.
36864
36865 * string/stratcliff.c: Add memrchr tests.
36866
36867 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36868
36869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36870 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36871 rawmemchr-sse2 rawmemchr-sse2-bsf.
36872 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36873 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36874 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36875 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36876 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36877 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36878 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36879 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36880 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36881 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36882 * string/memrchr.c (MEMRCHR): New macro.
36883
36884 2011-10-12 Ulrich Drepper <drepper@gmail.com>
36885
36886 Add integration with gcc's -ffinite-math-only and optimize wrapper
36887 functions in libm.
36888 * Versions.def: Define GLIBC_2.15 version for libm.
36889 * math/Makefile (headers): Add bits/math-finite.h.
36890 * math/bits/math-finite.h: New file.
36891 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36892 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36893 * math/e_acoshl.c: Add __*_finite alias.
36894 * math/e_acosl.c: Likewise.
36895 * math/e_asinl.c: Likewise.
36896 * math/e_atan2l.c: Likewise.
36897 * math/e_atanhl.c: Likewise.
36898 * math/e_coshl.c: Likewise.
36899 * math/e_exp10.c: Likewise.
36900 * math/e_exp10f.c: Likewise.
36901 * math/e_exp10l.c: Likewise.
36902 * math/e_exp2l.c: Likewise.
36903 * math/e_fmodl.c: Likewise.
36904 * math/e_gammal_r.c: Likewise.
36905 * math/e_hypotl.c: Likewise.
36906 * math/e_j0l.c: Likewise.
36907 * math/e_j1l.c: Likewise.
36908 * math/e_jnl.c: Likewise.
36909 * math/e_lgammal_r.c: Likewise.
36910 * math/e_log10l.c: Likewise.
36911 * math/e_log2l.c: Likewise.
36912 * math/e_logl.c: Likewise.
36913 * math/e_powl.c: Likewise.
36914 * math/e_sinhl.c: Likewise.
36915 * math/e_sqrtl.c: Likewise.
36916 * math/e_scalb.c: Completely rewritten and optimized.
36917 * math/e_scalbf.c: Likewise.
36918 * math/e_scalbl.c: Likewise.
36919 * math/w_acos.c: Likewise.
36920 * math/w_acosf.c: Likewise.
36921 * math/w_acosl.c: Likewise.
36922 * math/w_acosh.c: Likewise.
36923 * math/w_acoshf.c: Likewise.
36924 * math/w_acoshl.c: Likewise.
36925 * math/w_asin.c: Likewise.
36926 * math/w_asinf.c: Likewise.
36927 * math/w_asinl.c: Likewise.
36928 * math/w_atan2.c: Likewise.
36929 * math/w_atan2f.c: Likewise.
36930 * math/w_atan2l.c: Likewise.
36931 * math/w_atanh.c: Likewise.
36932 * math/w_atanhf.c: Likewise.
36933 * math/w_atanhl.c: Likewise.
36934 * math/w_exp10.c: Likewise.
36935 * math/w_exp10f.c: Likewise.
36936 * math/w_exp10l.c: Likewise.
36937 * math/w_fmod.c: Likewise.
36938 * math/w_fmodf.c: Likewise.
36939 * math/w_fmodl.c: Likewise.
36940 * math/w_j0.c: Likewise.
36941 * math/w_j0f.c: Likewise.
36942 * math/w_j0l.c: Likewise.
36943 * math/w_j1.c: Likewise.
36944 * math/w_j1f.c: Likewise.
36945 * math/w_j1l.c: Likewise.
36946 * math/w_jn.c: Likewise.
36947 * math/w_jnf.c: Likewise.
36948 * math/w_log.c: Likewise.
36949 * math/w_logf.c: Likewise.
36950 * math/w_logl.c: Likewise.
36951 * math/w_log10.c: Likewise.
36952 * math/w_log10f.c: Likewise.
36953 * math/w_log10l.c: Likewise.
36954 * math/w_log2.c: Likewise.
36955 * math/w_log2f.c: Likewise.
36956 * math/w_log2l.c: Likewise.
36957 * math/w_pow.c: Likewise.
36958 * math/w_powf.c: Likewise.
36959 * math/w_powl.c: Likewise.
36960 * math/w_remainder.c: Likewise.
36961 * math/w_remainderf.c: Likewise.
36962 * math/w_remainderl.c: Likewise.
36963 * math/w_scalb.c: Likewise.
36964 * math/w_scalbf.c: Likewise.
36965 * math/w_scalbl.c: Likewise.
36966 * math/w_sqrt.c: Likewise.
36967 * math/w_sqrtf.c: Likewise.
36968 * math/w_sqrtl.c: Likewise.
36969 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36970 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36971 used.
36972 * math/math_private.h: Declare __kernel_standard_f.
36973 * math/w_cosh.c: Remove cruft and optimize a bit.
36974 * math/w_coshf.c: Likewise.
36975 * math/w_coshl.c: Likewise.
36976 * math/w_exp2.c: Likewise.
36977 * math/w_exp2f.c: Likewise.
36978 * math/w_exp2l.c: Likewise.
36979 * math/w_hypot.c: Likewise.
36980 * math/w_hypotf.c: Likewise.
36981 * math/w_hypotl.c: Likewise.
36982 * math/w_lgamma.c: Likewise.
36983 * math/w_lgamma_r.c: Likewise.
36984 * math/w_lgammaf.c: Likewise.
36985 * math/w_lgammaf_r.c: Likewise.
36986 * math/w_lgammal.c: Likewise.
36987 * math/w_lgammal_r.c: Likewise.
36988 * math/w_sinh.c: Likewise.
36989 * math/w_sinhf.c: Likewise.
36990 * math/w_sinhl.c: Likewise.
36991 * math/w_tgamma.c: Likewise.
36992 * math/w_tgammaf.c: Likewise.
36993 * math/w_tgammal.c: Likewise.
36994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36996 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36997 Minor optimizations. Pretty printing. Remove cruft.
36998 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37000 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37001 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37002 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37003 * sysdeps/i386/fpu/e_asin.S: Likewise.
37004 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37005 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37006 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37007 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37008 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37009 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37011 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37012 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37013 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37014 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37015 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37016 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37017 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37018 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37019 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37020 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37021 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37022 * sysdeps/i386/fpu/e_log.S: Likewise.
37023 * sysdeps/i386/fpu/e_log10.S: Likewise.
37024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37026 * sysdeps/i386/fpu/e_log2.S: Likewise.
37027 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37029 * sysdeps/i386/fpu/e_logf.S: Likewise.
37030 * sysdeps/i386/fpu/e_logl.S: Likewise.
37031 * sysdeps/i386/fpu/e_pow.S: Likewise.
37032 * sysdeps/i386/fpu/e_powf.S: Likewise.
37033 * sysdeps/i386/fpu/e_powl.S: Likewise.
37034 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37035 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37036 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37037 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37038 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37040 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37041 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37042 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37069 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37071 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37072 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37073 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37074 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37075 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37076 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37077 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37078 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37079 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37080 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37084 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37089 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37093 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37128 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37134 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37135 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37136 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37137 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37138 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37139 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37140 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37141 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37142 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37143 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37144 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37145 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37146 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37148 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37149 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37151 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37152 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37153 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37154 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37155 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37156 (__isnanf): Likewise.
37157 (__isinf_ns): Likewise.
37158 (__isinf_nsf): Likewise.
37159 (__finite): Likewise.
37160 (__finitef): Likewise.
37161 (__ieee754_sqrt): Define as macro.
37162 (__ieee754_sqrtf): Define as macro.
37163 (__ieee754_sqrtl): Define as macro.
37164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37165 inlined copy.
37166 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37167 __FINITE_MATH_ONLY__ consistent.
37168 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37169
37170 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37171
37172 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37173 of rawmemchr.
37174
37175 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37176
37177 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37178
37179 * po/ja.po: Update from translation team.
37180
37181 2011-10-08 Roland McGrath <roland@hack.frob.com>
37182
37183 * locale/programs/locarchive.c (prepare_address_space): New function.
37184 (create_archive, enlarge_archive, open_archive): Use it.
37185
37186 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37187 inside [SHARED], where it is used.
37188
37189 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37190
37191 * nss/getent.c (netgroup_keys): Remove unused variable.
37192 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37193
37194 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37195
37196 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37197 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37200 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37201 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37202 * math/Makefile (libm-calls): Add s_isinf_ns.
37203 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37204 * math/multc3.c: Likewise.
37205 * math/s_casin.c: Likewise.
37206 * math/s_casinf.c: Likewise.
37207 * math/s_casinl.c: Likewise.
37208 * math/s_ccos.c: Likewise.
37209 * math/s_ccosf.c: Likewise.
37210 * math/s_ccosl.c: Likewise.
37211 * math/s_ctan.c: Likewise.
37212 * math/s_ctanf.c: Likewise.
37213 * math/s_ctanh.c: Likewise.
37214 * math/s_ctanhf.c: Likewise.
37215 * math/s_ctanhl.c: Likewise.
37216 * math/s_ctanl.c: Likewise.
37217 * math/w_fmod.c: Likewise.
37218 * math/w_fmodf.c: Likewise.
37219 * math/w_fmodl.c: Likewise.
37220 * math/w_remainder.c: Likewise.
37221 * math/w_remainderf.c: Likewise.
37222 * math/w_remainderl.c: Likewise.
37223 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37224 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37227 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37228 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37229 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37230 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37231
37232 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37233 of the number.
37234 * stdio-common/printf_fphex.c: Likewise.
37235 * stdio-common/printf_size.c: Likewise.
37236
37237 * math/e_exp10.c: Include math_private.h using <...> not "...".
37238 * math/e_exp10f.c: Likewise.
37239 * math/e_exp10l.c: Likewise.
37240 * math/e_exp2l.c: Likewise.
37241 * math/e_j0l.c: Likewise.
37242 * math/e_j1l.c: Likewise.
37243 * math/e_jnl.c: Likewise.
37244 * math/e_lgammal_r.c: Likewise.
37245 * math/e_rem_pio2l.c: Likewise.
37246 * math/e_scalb.c: Likewise.
37247 * math/e_scalbf.c: Likewise.
37248 * math/e_scalbl.c: Likewise.
37249 * math/k_cosl.c: Likewise.
37250 * math/k_sinl.c: Likewise.
37251 * math/k_tanl.c: Likewise.
37252 * math/s_cacoshf.c: Likewise.
37253 * math/s_catan.c: Likewise.
37254 * math/s_catanf.c: Likewise.
37255 * math/s_catanh.c: Likewise.
37256 * math/s_catanhf.c: Likewise.
37257 * math/s_catanhl.c: Likewise.
37258 * math/s_catanl.c: Likewise.
37259 * math/s_ccosh.c: Likewise.
37260 * math/s_ccoshf.c: Likewise.
37261 * math/s_ccoshl.c: Likewise.
37262 * math/s_cexp.c: Likewise.
37263 * math/s_cexpf.c: Likewise.
37264 * math/s_cexpl.c: Likewise.
37265 * math/s_clog.c: Likewise.
37266 * math/s_clog10.c: Likewise.
37267 * math/s_clog10f.c: Likewise.
37268 * math/s_clog10l.c: Likewise.
37269 * math/s_clogf.c: Likewise.
37270 * math/s_clogl.c: Likewise.
37271 * math/s_csin.c: Likewise.
37272 * math/s_csinf.c: Likewise.
37273 * math/s_csinh.c: Likewise.
37274 * math/s_csinhf.c: Likewise.
37275 * math/s_csinhl.c: Likewise.
37276 * math/s_csinl.c: Likewise.
37277 * math/s_csqrt.c: Likewise.
37278 * math/s_csqrtf.c: Likewise.
37279 * math/s_csqrtl.c: Likewise.
37280 * math/s_ctan.c: Likewise.
37281 * math/s_ctanf.c: Likewise.
37282 * math/s_ctanh.c: Likewise.
37283 * math/s_ctanhf.c: Likewise.
37284 * math/s_ctanhl.c: Likewise.
37285 * math/s_ctanl.c: Likewise.
37286 * math/s_ldexp.c: Likewise.
37287 * math/s_ldexpf.c: Likewise.
37288 * math/s_ldexpl.c: Likewise.
37289 * math/s_significand.c: Likewise.
37290 * math/s_significandf.c: Likewise.
37291 * math/s_significandl.c: Likewise.
37292 * math/w_acos.c: Likewise.
37293 * math/w_acosf.c: Likewise.
37294 * math/w_acosh.c: Likewise.
37295 * math/w_acoshf.c: Likewise.
37296 * math/w_acoshl.c: Likewise.
37297 * math/w_acosl.c: Likewise.
37298 * math/w_asin.c: Likewise.
37299 * math/w_asinf.c: Likewise.
37300 * math/w_asinl.c: Likewise.
37301 * math/w_atan2.c: Likewise.
37302 * math/w_atan2f.c: Likewise.
37303 * math/w_atan2l.c: Likewise.
37304 * math/w_atanh.c: Likewise.
37305 * math/w_atanhf.c: Likewise.
37306 * math/w_atanhl.c: Likewise.
37307 * math/w_cosh.c: Likewise.
37308 * math/w_coshf.c: Likewise.
37309 * math/w_coshl.c: Likewise.
37310 * math/w_dremf.c: Likewise.
37311 * math/w_exp10.c: Likewise.
37312 * math/w_exp10f.c: Likewise.
37313 * math/w_exp10l.c: Likewise.
37314 * math/w_exp2.c: Likewise.
37315 * math/w_exp2f.c: Likewise.
37316 * math/w_fmod.c: Likewise.
37317 * math/w_fmodf.c: Likewise.
37318 * math/w_fmodl.c: Likewise.
37319 * math/w_hypot.c: Likewise.
37320 * math/w_hypotf.c: Likewise.
37321 * math/w_hypotl.c: Likewise.
37322 * math/w_j0.c: Likewise.
37323 * math/w_j0f.c: Likewise.
37324 * math/w_j0l.c: Likewise.
37325 * math/w_j1.c: Likewise.
37326 * math/w_j1f.c: Likewise.
37327 * math/w_j1l.c: Likewise.
37328 * math/w_jn.c: Likewise.
37329 * math/w_jnf.c: Likewise.
37330 * math/w_jnl.c: Likewise.
37331 * math/w_lgamma.c: Likewise.
37332 * math/w_lgamma_r.c: Likewise.
37333 * math/w_lgammaf.c: Likewise.
37334 * math/w_lgammaf_r.c: Likewise.
37335 * math/w_lgammal.c: Likewise.
37336 * math/w_lgammal_r.c: Likewise.
37337 * math/w_log.c: Likewise.
37338 * math/w_log10.c: Likewise.
37339 * math/w_log10f.c: Likewise.
37340 * math/w_log10l.c: Likewise.
37341 * math/w_log2.c: Likewise.
37342 * math/w_log2f.c: Likewise.
37343 * math/w_log2l.c: Likewise.
37344 * math/w_logf.c: Likewise.
37345 * math/w_logl.c: Likewise.
37346 * math/w_pow.c: Likewise.
37347 * math/w_powf.c: Likewise.
37348 * math/w_powl.c: Likewise.
37349 * math/w_remainder.c: Likewise.
37350 * math/w_remainderf.c: Likewise.
37351 * math/w_remainderl.c: Likewise.
37352 * math/w_scalb.c: Likewise.
37353 * math/w_scalbf.c: Likewise.
37354 * math/w_scalbl.c: Likewise.
37355 * math/w_sinh.c: Likewise.
37356 * math/w_sinhf.c: Likewise.
37357 * math/w_sinhl.c: Likewise.
37358 * math/w_sqrt.c: Likewise.
37359 * math/w_sqrtf.c: Likewise.
37360 * math/w_sqrtl.c: Likewise.
37361 * math/w_tgamma.c: Likewise.
37362 * math/w_tgammaf.c: Likewise.
37363 * math/w_tgammal.c: Likewise.
37364
37365 * po/ja.po: Update from translation team.
37366
37367 2011-09-29 Andreas Jaeger <aj@suse.de>
37368
37369 [BZ #13179]
37370 * sunrpc/netname.c (netname2host): Fix logic.
37371
37372 [BZ #6779]
37373 [BZ #6783]
37374 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37375 correctly.
37376 * math/w_remainder.c (__remainder): Likewise.
37377 * math/w_remainderf.c (__remainderf): Likewise.
37378 * math/libm-test.inc (remainder_test): Add test cases.
37379
37380 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37381
37382 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37383 sdiv_qrnnd.
37384
37385 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37386
37387 * string/test-memcmp.c: Avoid unncessary #defines.
37388 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37389
37390 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37391
37392 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37393 Use new sse2 version for core i3 - i7 as it's faster
37394 than sse42 version.
37395 (bit_Prefer_PMINUB_for_stringop): New.
37396 * sysdeps/x86_64/rawmemchr.S: Update.
37397 Replace with faster SSE2 version.
37398 * sysdeps/x86_64/memrchr.S: New file.
37399 * sysdeps/x86_64/memchr.S: Update.
37400 Replace with faster SSE2 version.
37401
37402 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37403
37404 * elf/dl-load.c (lose): Add cast to avoid warning.
37405
37406 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37407
37408 * po/ca.po: Update from translation team.
37409
37410 * inet/getnetgrent_r.c: Hook up nscd.
37411 * nscd/Makefile (routines): Add nscd_netgroup.
37412 (nscd-modules): Add netgroupcache.
37413 (CFLAGS-netgroupcache.c): Define.
37414 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37415 (cache_search): Add const to second parameter.
37416 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37417 INNETGR.
37418 (dbs): Add netgrdb entry.
37419 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37420 (verify_persistent_db): Handle netgrdb.
37421 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37422 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37423 GETFDNETGR.
37424 (netgroup_response_header): Define.
37425 (innetgroup_response_header): Define.
37426 (datahead): Add netgroup_response_header and innetgroup_response_header
37427 elements.
37428 * nscd/nscd.conf: Add entries for netgroup cache.
37429 * nscd/nscd.h (dbtype): Add netgrdb.
37430 (_PATH_NSCD_NETGROUP_DB): Define.
37431 (netgroup_iov_disabled): Declare.
37432 (xmalloc, xcalloc, xrealloc): Move declarations here.
37433 (cache_search): Adjust prototype.
37434 Add netgroup-related prototypes.
37435 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37436 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37437 (__nscd_innetgr): Declare.
37438 * nscd/selinux.c (perms): Use access_vector_t as element type and
37439 add netgroup-related initializers.
37440 * nscd/netgroupcache.c: New file.
37441 * nscd/nscd_netgroup.c: New file.
37442 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37443 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37444 For four parameters use innetgr.
37445 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37446 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37447 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37448 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37449
37450 * nscd/connections.c (register_traced_file): Don't register file
37451 for disabled databases.
37452
37453 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37454
37455 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37456
37457 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37458 from tree and freeing node.
37459
37460 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37461
37462 * nss/nsswitch.c (__nss_database_lookup): Handle
37463 nss_parse_service_list out of memory case.
37464
37465 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37466
37467 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37468 out of memory case.
37469
37470 2011-10-04 Andreas Schwab <schwab@redhat.com>
37471
37472 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37473 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37474 pass it down.
37475 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37476 elf_machine_rela, elf_machine_lazy_rel.
37477 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37478 (ELF_DYNAMIC_DO_REL): Likewise.
37479 (ELF_DYNAMIC_DO_RELA): Likewise.
37480 (ELF_DYNAMIC_RELOCATE): Likewise.
37481 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37482 to ELF_DYNAMIC_DO_REL.
37483 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37484 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37485 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37486 elf_machine_rela.
37487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37488 skip_ifunc, don't call ifunc function if non-zero.
37489 (elf_machine_rela): Likewise.
37490 (elf_machine_lazy_rel): Likewise.
37491 (elf_machine_lazy_rela): Likewise.
37492 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37493 (elf_machine_lazy_rel): Likewise.
37494 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37495 Likewise.
37496 (elf_machine_lazy_rel): Likewise.
37497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37498 Likewise.
37499 (elf_machine_lazy_rel): Likewise.
37500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37501 (elf_machine_lazy_rel): Likewise.
37502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37503 (elf_machine_lazy_rel): Likewise.
37504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37505 (elf_machine_lazy_rel): Likewise.
37506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37507 (elf_machine_lazy_rel): Likewise.
37508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37509 (elf_machine_lazy_rel): Likewise.
37510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37511 (elf_machine_lazy_rel): Likewise.
37512
37513 2011-09-28 Ulrich Drepper <drepper@gmail.com>
37514
37515 * nss/nss_files/files-init.c (_nss_files_init): Use static
37516 initialization for all the *_traced_file variables.
37517
37518 2011-09-28 Andreas Schwab <schwab@redhat.com>
37519
37520 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37521
37522 2011-09-27 Roland McGrath <roland@hack.frob.com>
37523
37524 [BZ #13226]
37525 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37526
37527 2011-09-27 Andreas Schwab <schwab@redhat.com>
37528
37529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37530 Reread the line before reparsing it.
37531
37532 2011-09-26 Andreas Schwab <schwab@redhat.com>
37533
37534 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37535
37536 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37537 Maxim Kuvyrkov <maxim@codesourcery.com>
37538 Joseph Myers <joseph@codesourcery.com>
37539
37540 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37541 if needed for __stack_chk_guard.
37542
37543 2011-09-19 Roland McGrath <roland@hack.frob.com>
37544
37545 * sysdeps/posix/spawni.c (script_execute): Always define it.
37546 It will be optimized away if unused.
37547 (maybe_script_execute): New function.
37548 (__spawni): Call it.
37549
37550 * Makerules: Don't include tls.make.
37551 (config-tls): Always set to thread.
37552 * tls.make.c: File removed.
37553
37554 2011-09-19 Mike Frysinger <vapier@gentoo.org>
37555
37556 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37557 * config.make.in (CPPFLAGS-config): New substituted variable.
37558
37559 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37560
37561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37562
37563 [BZ #13192]
37564 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37565 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37566
37567 2011-09-15 Roland McGrath <roland@hack.frob.com>
37568
37569 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37570 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37572 (CALL_FAIL): Likewise.
37573 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37574 (CALL_FAIL): Macro removed.
37575 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37576
37577 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37578
37579 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37580 for __FINITE_MATH_ONLY__ == 1.
37581
37582 2011-09-15 Andreas Schwab <schwab@redhat.com>
37583
37584 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37585 __ieee754_sqrt instead of sqrt.
37586 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37587 __ieee754_sqrtf instead of sqrtf.
37588 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37589 __floorf instead of floorf.
37590 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37591 __floorf, __truncf instead of floorf, truncf.
37592
37593 2011-09-14 Ulrich Drepper <drepper@gmail.com>
37594
37595 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37596
37597 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37598 __extern_always_inline.
37599 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37600 32-bit.
37601
37602 2011-09-14 Andreas Schwab <schwab@redhat.com>
37603
37604 * elf/rtld.c (dl_main): Also relocate in dependency order when
37605 doing symbol dependency testing.
37606
37607 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37608
37609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37610 Always define `refsym'.
37611
37612 2011-09-13 Andreas Schwab <schwab@redhat.com>
37613
37614 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37615 (__FD_ELT): Renamed from __FDELT.
37616 * misc/bits/select2.h (__FD_ELT): Likewise.
37617 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37618 __FD_MASK instead of __FDELT, __FDMASK.
37619 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37620 Likewise.
37621 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37622 Likewise.
37623
37624 * elf/Makefile (gen-ldd): Fix pattern.
37625
37626 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37627 (init_tls): Likewise.
37628
37629 2011-09-12 Ulrich Drepper <drepper@gmail.com>
37630
37631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37632
37633 2011-09-12 Andreas Schwab <schwab@redhat.com>
37634
37635 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37636 `struct cmsghdr *' instead of `void *'.
37637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37638 Likewise.
37639
37640 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37641
37642 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37643 if non-absolute.
37644 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37645 ldd_rewrite_script.
37646
37647 2011-09-11 Ulrich Drepper <drepper@gmail.com>
37648
37649 * configure.in: Remove --with-tls option.
37650 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37651 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37652 out in case it is missing.
37653 * sysdeps/ia64/elf/configure.in: Likewise.
37654 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37655 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37656 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37657 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37658 * sysdeps/sh/elf/configure.in: Likewise.
37659 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37660 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37661 * sysdeps/x86_64/elf/configure.in: Likewise.
37662 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37663 * sysdeps/mach/hurd/tls.h: Likewise.
37664
37665 [BZ #13067]
37666 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37667
37668 [BZ #13090]
37669 * configure.in: Fix use of AC_INIT.
37670
37671 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37672
37673 2011-09-10 Ulrich Drepper <drepper@gmail.com>
37674
37675 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37676 __set_errno.
37677 * malloc/hooks.c: Likewise.
37678
37679 [BZ #11929]
37680 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37681 variables statically.
37682 (narenas): Initialize.
37683 (list_lock): Initialize.
37684 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37685 initializtion of main_arena and list_lock. Small cleanups.
37686 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37687 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37688 Add initializers to main_arena and mp_.
37689 (malloc_state): Remove pagesize member. Change all users to use
37690 GLRO(dl_pagesize).
37691
37692 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37693 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37694 is always initialized.
37695
37696 * malloc/malloc.c: Removed unused configurations and dead code.
37697 * malloc/arena.c: Likewise.
37698 * malloc/hooks.c: Likewise.
37699 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37700
37701 * include/tls.h: Removed. USE___THREAD must always be defined.
37702 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37703 * elf/dl-libc.c: Likewise.
37704 * elf/dl-tsd.c: Likewise.
37705 * include/errno.h: Likewise.
37706 * include/netdb.h: Likewise.
37707 * include/resolv.h: Likewise.
37708 * inet/herrno-loc.c: Likewise.
37709 * inet/herrno.c: Likewise.
37710 * malloc/arena.c: Likewise.
37711 * malloc/hooks.c: Likewise.
37712 * malloc/malloc.c: Likewise.
37713 * resolv/res-state.c: Likewise.
37714 * resolv/res_libc.c: Likewise.
37715 * sysdeps/i386/dl-machine.h: Likewise.
37716 * sysdeps/ia64/dl-machine.h: Likewise.
37717 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37718 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37719 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37720 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37721 * sysdeps/sh/dl-machine.h: Likewise.
37722 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37723 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37724 * sysdeps/unix/i386/sysdep.S: Likewise.
37725 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37726 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37735 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37736 * sysdeps/x86_64/dl-machine.h: Likewise.
37737 * tls.make.c: Likewise.
37738
37739 * configure.in: Remove --with-__thread option. Make tests for
37740 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37741 tls_model attribute fail if no support is available. Remove
37742 USE_IN_LIBIO.
37743 * Makeconfig: Adjust for dropped configure option. All features are
37744 now mandatory.
37745 * Makerules: Likewise.
37746 * Versions.def: Likewise.
37747 * argp/argp-fmtstream.c: Likewise.
37748 * argp/argp-fmtstream.h: Likewise.
37749 * argp/argp-help.c: Likewise.
37750 * assert/assert.c: Likewise.
37751 * config.h.in: Likewise.
37752 * config.make.in: Likewise.
37753 * configure: Likewise.
37754 * configure.in: Likewise.
37755 * csu/Versions: Likewise.
37756 * csu/init.c: Likewise.
37757 * elf/tst-audit2.c: Likewise.
37758 * elf/tst-tls10.c: Likewise.
37759 * elf/tst-tls10.h: Likewise.
37760 * elf/tst-tls11.c: Likewise.
37761 * elf/tst-tls12.c: Likewise.
37762 * elf/tst-tls14.c: Likewise.
37763 * elf/tst-tlsmod11.c: Likewise.
37764 * elf/tst-tlsmod12.c: Likewise.
37765 * elf/tst-tlsmod13.c: Likewise.
37766 * elf/tst-tlsmod13a.c: Likewise.
37767 * elf/tst-tlsmod14a.c: Likewise.
37768 * elf/tst-tlsmod15b.c: Likewise.
37769 * elf/tst-tlsmod16a.c: Likewise.
37770 * elf/tst-tlsmod16b.c: Likewise.
37771 * elf/tst-tlsmod7.c: Likewise.
37772 * elf/tst-tlsmod8.c: Likewise.
37773 * elf/tst-tlsmod9.c: Likewise.
37774 * gmon/gmon.c: Likewise.
37775 * grp/fgetgrent_r.c: Likewise.
37776 * grp/putgrent.c: Likewise.
37777 * hurd/fopenport.c: Likewise.
37778 * include/libc-symbols.h: Likewise.
37779 * include/tls.h: Likewise.
37780 * intl/gettextP.h: Likewise.
37781 * intl/loadinfo.h: Likewise.
37782 * locale/global-locale.c: Likewise.
37783 * locale/localeinfo.h: Likewise.
37784 * mach/devstream.c: Likewise.
37785 * malloc/arena.c: Likewise.
37786 * malloc/set-freeres.c: Likewise.
37787 * misc/err.c: Likewise.
37788 * misc/getttyent.c: Likewise.
37789 * misc/mntent_r.c: Likewise.
37790 * posix/getopt.c: Likewise.
37791 * posix/wordexp.c: Likewise.
37792 * pwd/fgetpwent_r.c: Likewise.
37793 * resolv/Versions: Likewise.
37794 * resolv/res_hconf.c: Likewise.
37795 * shadow/fgetspent_r.c: Likewise.
37796 * shadow/putspent.c: Likewise.
37797 * stdio-common/printf_fphex.c: Likewise.
37798 * stdio-common/tmpfile.c: Likewise.
37799 * stdlib/abort.c: Likewise.
37800 * stdlib/fmtmsg.c: Likewise.
37801 * sunrpc/auth_unix.c: Likewise.
37802 * sunrpc/clnt_perr.c: Likewise.
37803 * sunrpc/clnt_tcp.c: Likewise.
37804 * sunrpc/clnt_udp.c: Likewise.
37805 * sunrpc/clnt_unix.c: Likewise.
37806 * sunrpc/openchild.c: Likewise.
37807 * sunrpc/svc_simple.c: Likewise.
37808 * sunrpc/svc_tcp.c: Likewise.
37809 * sunrpc/svc_udp.c: Likewise.
37810 * sunrpc/svc_unix.c: Likewise.
37811 * sunrpc/xdr.c: Likewise.
37812 * sunrpc/xdr_array.c: Likewise.
37813 * sunrpc/xdr_rec.c: Likewise.
37814 * sunrpc/xdr_ref.c: Likewise.
37815 * sunrpc/xdr_stdio.c: Likewise.
37816
37817 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37818
37819 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37820
37821 2011-07-03 Andreas Jaeger <aj@suse.de>
37822
37823 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37824 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37825 regenerate with gen-libm-tests.pl.
37826
37827 2010-05-12 Petr Baudis <pasky@suse.cz>
37828
37829 [BZ #11589]
37830 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37831 around j0() zero points by switching to j1().
37832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37836
37837 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37838
37839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37840 instead of 0.
37841 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37842 instead of 0.
37843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37844 Patch in part by Pavel Roskin <proski@gnu.org>.
37845
37846 [BZ #13138]
37847 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37848 realloc.
37849 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37850 Free memory block if necessary.
37851
37852 [BZ #12847]
37853 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37854 be NULL. Don't lock in this case.
37855
37856 2011-09-09 Roland McGrath <roland@hack.frob.com>
37857
37858 * elf/elf.h (ELFOSABI_GNU): New macro.
37859 (ELFOSABI_LINUX): Define to that.
37860
37861 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37862
37863 * string/strncat.c (strncat): Undef the symbol in case it has been
37864 defined in bits/string.h.
37865
37866 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37867
37868 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37869
37870 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37871 link map.
37872
37873 2011-08-17 Andreas Jaeger <aj@suse.de>
37874
37875 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37876
37877 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37878 Ian Lance Taylor <iant@google.com>
37879
37880 * math/libm-test.inc (lround_test): New testcase.
37881 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37882
37883 2011-09-08 Ulrich Drepper <drepper@gmail.com>
37884
37885 * Makefile: Remove support for automatic cvs check-ins.
37886 * Makerules: Likewise.
37887 * config.make.in: Likewise.
37888 * configure.in: Likewise.
37889 * intl/Makefile: Likewise.
37890 * locale/Makefile: Likewise.
37891 * po/Makefile: Likewise.
37892 * posix/Makefile: Likewise.
37893 * sysdeps/gnu/Makefile: Likewise.
37894 * sysdeps/mach/hurd/Makefile: Likewise.
37895 * sysdeps/sparc/sparc32/Makefile: Likewise.
37896
37897 [BZ #13118]
37898 * posix/Makefile (bug-regex32-ENV): Define.
37899 Patch by John Stanley <jpsinthemix@verizon.net>.
37900
37901 * misc/Makefile (headers): Add bits/select2.h.
37902 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37903 * misc/bits/select2.h: New file.
37904 * include/bits/select2.h: New file.
37905 * debug/Makefile (routines): Add fdelt_chk.
37906 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37907 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37908 FD_ISSET.
37909 * debug/fdelt_chk.c: New file.
37910
37911 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37912 * wcsmbs/test-wmemcmp.c: Likewise.
37913 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37914 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37915
37916 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37917
37918 * string/Makefile (strop-tests): Add memcmp.
37919 * string/test-wmemcmp.c: New file.
37920 * string/test-memcmp.c: Add wmemcmp support.
37921
37922 2011-09-08 Roland McGrath <roland@hack.frob.com>
37923
37924 [BZ #13153]
37925 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37926 2011-07-19 change.
37927
37928 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37929 garbage value in a __mach_port_mod_refs call in the cases of the
37930 task-self and thread-self ports.
37931
37932 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37933
37934 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37935
37936 2011-09-08 Andreas Schwab <schwab@redhat.com>
37937
37938 * elf/dl-load.c (lose): Check for non-null L.
37939
37940 2011-09-07 Ulrich Drepper <drepper@gmail.com>
37941
37942 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37943
37944 * elf/dl-libc.c (dlerror_run): Pass back error code from
37945 dl_catch_error.
37946
37947 [BZ #13123]
37948 * elf/dl-load.c (lose): Free l_origin if it is valid.
37949
37950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37951 names.
37952 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37953 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37955 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37956 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37957 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37958
37959 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37960
37961 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37962 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37963 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37964 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37965 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37966 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37967 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37968 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37969 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37970 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37971
37972 2011-08-15 Alan Modra <amodra@gmail.com>
37973
37974 [BZ #13092]
37975 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37976 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37977 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37978 ppc_mcount to static-only-routines.
37979 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37980 __mcount_internal.
37981 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37982 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37983
37984 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37985
37986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37987 for finite and infinity parameters.
37988
37989 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37990
37991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37992 and add nop instructions for throughput optimization.
37993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37994
37995 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37996
37997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37998 aligned copy for power7 with vector-scalar instructions.
37999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38000
38001 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38002
38003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38004 AVX check.
38005
38006 2011-09-07 Andreas Schwab <schwab@redhat.com>
38007
38008 [BZ #13144]
38009 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38010 last change.
38011
38012 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38013
38014 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38015 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38016 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38017 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38018 clock_gettime.
38019
38020 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38021
38022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38023 Forgot to demangle the pointer.
38024
38025 * sysdeps/i386/sysdep.h: Define atom_text_section.
38026 * sysdeps/x86_64/sysdep.h: Likewise.
38027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38028 section with atom_text_section.
38029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38031 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38032 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38033 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38034
38035 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38037 already be defined. Change to take two parameters and don't assign
38038 result to variable. Adjust all users.
38039 Define INTERNAL_GETTIME if not already defined.
38040 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38041 call.
38042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38043 HAVE_CLOCK_GETTIME_VSYSCALL.
38044 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38045
38046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38047 gettimeofday vsyscall, just use time.
38048
38049 2011-09-06 Andreas Schwab <schwab@redhat.com>
38050
38051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38052 <errno.h>.
38053
38054 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38055
38056 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38057 syscall on x86-64.
38058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38059 syscall.
38060 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38062 syscall if possible.
38063
38064 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38065
38066 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38067 e_ident. Don't pass to find_mapsXX.
38068 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38069
38070 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38071
38072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38073 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38074 * sysdeps/x86_64/multiarch/strchr.S: Update.
38075 Check bit_slow_BSF bit.
38076 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38078 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38079
38080 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38081
38082 [BZ #13134]
38083 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38084 before glibc 2.15.
38085 (tryshell): Define.
38086 (__spawni): Change last parameter to be flag. Test
38087 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38088 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38089 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38090 * posix/spawni.c: Likewise.
38091 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38092 * posix/spawnp.c: Likewise. Change normal version to use
38093 SPAWN_XFLAGS_USE_PATH.
38094 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38095 SPAWN_XFLAGS_TRY_SHELL.
38096
38097 [BZ #13150]
38098 * posix/glob.h: Remove gcc 1.x support.
38099
38100 [BZ #13068]
38101 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38102
38103 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38104
38105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38106 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38107 strrchr-sse2-bsf
38108 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38109 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38110 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38111 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38112 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38113 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38114
38115 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38116
38117 * sysdeps/x86_64/wcscmp.S: New file.
38118
38119 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38120 wcscmp-c wcscmp-sse2
38121 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38122 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38124 * wcsmbs/wcscmp.c: Allow renaming.
38125
38126 2011-09-05 David S. Miller <davem@davemloft.net>
38127
38128 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38129 stack slot, rather than the struct return pointer slot.
38130 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38131 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38133 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38134
38135 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38136
38137 * po/ja.po: Update from translation team.
38138
38139 [BZ #13144]
38140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38141 kernel in 64-bit binaries.
38142
38143 2011-09-01 David S. Miller <davem@davemloft.net>
38144
38145 * elf/elf.h (HWCAP_SPARC_*): Move to..
38146 * sysdeps/sparc/sysdep.h: this new file and add new values.
38147 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38148 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38149 _DL_HWCAP_COUNT to 24.
38150 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38151 entries.
38152 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38153 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38154 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38156 instead of magic constants.
38157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38158
38159 2011-08-31 David S. Miller <davem@davemloft.net>
38160
38161 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38163 Reimplement to do errno handling inline.
38164 (SYSCALL_ERROR_HANDLER): New macro.
38165 (__SYSCALL_STRING): Do not do errno handling in asm.
38166 (__CLONE_SYSCALL_STRING): Delete.
38167 (__INTERNAL_SYSCALL_STRING): Delete.
38168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38169 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38170 (PSEUDO): Reimplement to do errno handling inline.
38171 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38172 (SYSCALL_ERROR_HANDLER): New macro.
38173 (__SYSCALL_STRING): Do not do errno handling in asm.
38174 (__CLONE_SYSCALL_STRING): Delete.
38175 (__INTERNAL_SYSCALL_STRING): Delete.
38176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38177 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38178 i386.
38179 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38180 (inline_syscall*): Add 'err' argument.
38181 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38182 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38183 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38184 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38185
38186 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38187 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38188
38189 2011-08-30 Andreas Schwab <schwab@redhat.com>
38190
38191 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38192
38193 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38194
38195 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38196 directive.
38197
38198 2011-08-24 David S. Miller <davem@davemloft.net>
38199
38200 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38201
38202 2011-08-24 Andreas Schwab <schwab@redhat.com>
38203
38204 * elf/Makefile: Add rules to build and run unload8 test.
38205 * elf/unload8.c: New file.
38206 * elf/unload8mod1.c: New file.
38207 * elf/unload8mod1x.c: New file.
38208 * elf/unload8mod2.c: New file.
38209 * elf/unload8mod3.c: New file.
38210
38211 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38212 it wasn't used.
38213
38214 2011-08-23 David S. Miller <davem@davemloft.net>
38215
38216 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38217 subtract stack bias.
38218 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38219 %sp not %fp in calculations.
38220 (_JMPBUF_UNWINDS_ADJ): Likewise.
38221
38222 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38223 (aio_suspend): Call it to force an exception region around the
38224 AIO_MISC_WAIT() invocation.
38225
38226 2011-08-23 Andreas Schwab <schwab@redhat.com>
38227
38228 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38229 backslash.
38230
38231 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38232
38233 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38234 protection macro.
38235 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38236 and <dl-machine.h>.
38237 (Elf64_FuncDesc): Remove.
38238
38239 2011-08-22 David S. Miller <davem@davemloft.net>
38240
38241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38242 sigaltstack check, add missing cfi directives.
38243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38244 missing cfi directives, and sigaltstack handling.
38245
38246 2011-08-16 Andreas Schwab <schwab@redhat.com>
38247
38248 [BZ #11724]
38249 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38250 object is seen twice.
38251 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38252
38253 * elf/Makefile (distribute): Add tst-initorder2.c.
38254 (tests): Add tst-initorder2.
38255 (modules-names): Add tst-initorder2a tst-initorder2b
38256 tst-initorder2c tst-initorder2d. Add rules to build them.
38257 ($(objpfx)tst-initorder2.out): New rule.
38258 * elf/tst-initorder2.c: New file.
38259 * elf/tst-initorder2.exp: New file.
38260
38261 2011-08-22 Andreas Schwab <schwab@redhat.com>
38262
38263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38264
38265 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38266 dependencies back to end of function.
38267
38268 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38269 $(elfobjdir)/ld.so.
38270
38271 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38272
38273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38274 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38276 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38277 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38278 of __vdso_gettimeofday.
38279 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38280 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38281 attribute_hidden.
38282 (_libc_vdso_platform_setup): Remove initialization of
38283 __vdso_gettimeofday and __vdso_time.
38284
38285 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38286
38287 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38288 and fgetc_unlocked.
38289 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38290 getc_unlocked.
38291
38292 * elf/dl-open.c (add_to_global): Report additions to the global scope
38293 for LD_DEBUG=scopes.
38294 (dl_open_worker): Also print scope of newly loaded dependencies.
38295 (_dl_show_scope): Indicate if there is no scope.
38296
38297 [BZ #13114]
38298 * stdio-common/Makefile (tests): Add bug24.
38299 * stdio-common/bug24.c: New file.
38300
38301 2011-08-19 Andreas Jaeger <aj@suse.de>
38302
38303 [BZ #13114]
38304 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38305 non-existant file when using close-on-exec mode.
38306
38307 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38308
38309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38310 the very first instruction.
38311
38312 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38313 the CFI state in the end.
38314 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38315 inclusion of dl-trampoline.h.
38316 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38317
38318 2011-08-19 Andreas Schwab <schwab@redhat.com>
38319
38320 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38321 expectations for long double.
38322
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38324 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38325
38326 2011-08-14 David S. Miller <davem@davemloft.net>
38327
38328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38329 artificual limit depends upon the system page size.
38330
38331 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38332
38333 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38334 * resolv/Makefile: Define CFLAGS-libresolv.
38335
38336 2011-08-17 Andreas Schwab <schwab@redhat.com>
38337
38338 * nss/makedb.c (compute_tables): Make variables used in nested
38339 function static.
38340
38341 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38342
38343 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38344 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38345 if buffer was too small.
38346
38347 * elf/pldd.c (main): Attach to all threads in the process.
38348 Rewrite /proc handling to use *at functions.
38349
38350 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38351
38352 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38353 specifies first scope to show.
38354 (dl_open_worker): Update callers. Move printing scope of new
38355 object to before the relocation.
38356 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38357 * sysdeps/generic/ldsodefs.h: Update declaration.
38358
38359 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38360 string for the scope number.
38361
38362 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38363
38364 * nscd/servicescache.c (cache_addserv): Make sure written is always
38365 initialized.
38366
38367 2011-08-14 Roland McGrath <roland@hack.frob.com>
38368
38369 * sysdeps/i386/i486/bits/atomic.h
38370 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38371 statement expression, so as to suppress "set but not used" warning.
38372 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38373
38374 * string/strncat.c (STRNCAT): Use prototype definition.
38375
38376 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38377 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38378 -Iprograms here.
38379 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38380 (localedef-modules): Add localedef.
38381 (locale-modules): Add locale.
38382
38383 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38384 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38385 to avoid a warning.
38386
38387 2011-08-14 David S. Miller <davem@davemloft.net>
38388
38389 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38390 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38391
38392 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38393
38394 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38395 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38396 * elf/rtld.c (dl_main): Set l_name of vDSO.
38397 Call _dl_show_scope when DL_DEBUG_SCOPES.
38398 (process_dl_debug): Recognize scopes flag and also set it for all.
38399 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38400 Declare _dl_show_scope.
38401
38402 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38403 (do_dlopen): Pass caller_dlopen to dl_open.
38404 (__libc_dlopen_mode): Initialize caller_dlopen.
38405
38406 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38407 of libc. Make tolower call locale-independent. Optimize a bit by
38408 using isdigit instead of isalnum.
38409 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38410
38411 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38412
38413 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38414 was a dependency or dynamically loaded.
38415
38416 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38417
38418 * intl/l10nflist.c: Allow architecture-specific pop function.
38419 * sysdeps/x86_64/l10nflist.c: New file.
38420
38421 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38422 classification.
38423
38424 2011-08-10 Andreas Schwab <schwab@redhat.com>
38425
38426 * include/dirent.h: Add libc_hidden_proto for scandirat and
38427 scandirat64. Don't declare __scandirat64.
38428 * dirent/scandirat.c: Add libc_hidden_def.
38429 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38430 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38431
38432 2011-08-10 David S. Miller <davem@davemloft.net>
38433
38434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38435 enum.
38436 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38439
38440 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38441
38442 * Versions.def [libc]: Add GLIBC_2.15.
38443 * dirent/Makefile (routines): Add scandirat and scandirat64.
38444 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38445 GLIBC_2.15.
38446 * dirent/dirent.h: Declare scandirat and scandirat64.
38447 * dirent/scandirat.c: New file.
38448 * dirent/scandirat64.c: New file.
38449 * sysdeps/wordsize-64/scandirat.c: New file.
38450 * sysdeps/wordsize-64/scandirat64.c: New file.
38451 * dirent/opendir.c: Define opendirat.
38452 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38453 using scandirat.
38454 * dirent/scandir64.c: Adjust for scandir.c change.
38455 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38456 __scandirat64, and __scandir_cancel_handler.
38457 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38458 additional parameter and use openat instead of open (outside of ld.so).
38459 Add new __opendir as wrapper around __opendirat.
38460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38461 here without requiring old scandirat implementation.
38462
38463 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38464
38465 * dirent/scandir.c (cancel_handler): Renamed to
38466 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38467 defined. Adjust users.
38468 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38469 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38470
38471 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38472
38473 * string/test-string.h (IMPL): Use __STRING to expand name and then
38474 stringify it.
38475
38476 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38477 of cleanups.
38478
38479 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38480
38481 * string/Makefile: Update.
38482 (strop-tests): Append strncat.
38483 * string/test-wcscmp.c: New file.
38484 New comprehensive test for wcscmp.
38485 * string/test-strcmp.c: Update.
38486 (WIDE): New define.
38487
38488 2011-07-22 Andreas Schwab <schwab@redhat.com>
38489
38490 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38491 line.
38492
38493 2011-07-26 Andreas Schwab <schwab@redhat.com>
38494
38495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38496 encoding to ACE if AI_IDN.
38497
38498 2011-08-01 Jakub Jelinek <jakub@redhat.com>
38499
38500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38501 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38502
38503 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38504
38505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38506 Fix overflow bug in strncat.
38507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38508
38509 * string/test-strncat.c: Update.
38510 Add new tests for checking overflow bugs.
38511
38512 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38513
38514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38515 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38516 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38517 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38518 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38519 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38520 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38521 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38522 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38523
38524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38525 (USE_AS_STRCAT): Define.
38526 Add strcat and strncat support.
38527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38528
38529 2011-07-25 Andreas Schwab <schwab@redhat.com>
38530
38531 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38532 __n bigger than INT_MAX+1.
38533 (__strncmp_g): Likewise.
38534
38535 2011-07-23 Ulrich Drepper <drepper@gmail.com>
38536
38537 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38538 * libio/stido.h: Likewise.
38539
38540 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38541 (AF_NFC): Define.
38542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38543 (AF_NFC): Define.
38544
38545 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38550
38551 [BZ #13021]
38552 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38553 installed.
38554
38555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38556 typo.
38557 (_dl_x86_64_save_sse): Likewise.
38558
38559 2011-07-22 Ulrich Drepper <drepper@gmail.com>
38560
38561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38562 OSXSAVE.
38563 (_dl_x86_64_save_sse): Likewise.
38564
38565 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38566
38567 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38568
38569 2011-07-21 Andreas Schwab <schwab@redhat.com>
38570
38571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38572 change.
38573 (_dl_x86_64_save_sse): Use correct AVX check.
38574
38575 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38576
38577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38578 bug in strncpy/strncat.
38579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38580
38581 2011-07-21 Ulrich Drepper <drepper@gmail.com>
38582
38583 * string/tester.c (test_strcat): Add tests for different alignments
38584 of source and destination.
38585 (test_strncat): Likewise.
38586
38587 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38588
38589 [BZ #12852]
38590 * posix/glob.c (glob): Check passed in values before using them in
38591 expressions to avoid some overflows.
38592 (glob_in_dir): Likewise.
38593
38594 [BZ #13007]
38595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38596 check for AVX enablement so that we don't crash with old kernels and
38597 new hardware.
38598 * elf/tst-audit4.c: Add same checks here.
38599 * elf/tst-audit6.c: Likewise.
38600
38601 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38602
38603 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38604
38605 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38606
38607 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38608
38609 * po/cs.po: Update from translation team.
38610 * po/bg.po: Likewise.
38611
38612 2011-07-12 Marek Polacek <mpolacek@redhat.com>
38613
38614 * misc/sys/cdefs.h: Add support for const attribute.
38615 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38616 to gnu_dev_{major,minor,makedev} functions.
38617
38618 2011-07-20 Marek Polacek <mpolacek@redhat.com>
38619
38620 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38621
38622 2011-07-20 Andreas Schwab <schwab@redhat.com>
38623
38624 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38625 strlen results.
38626
38627 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38628
38629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38630 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38631 register in order to avoid conflicts with the soft frame pointer
38632 being held in r11 when necessary.
38633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38634 (INTERNAL_VSYSCALL_NCS): Likewise.
38635
38636 2011-07-14 Marek Polacek <mpolacek@redhat.com>
38637
38638 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38639 * elf/dl-fini.c (_dl_fini): Adjust caller.
38640 * elf/dl-close.c (_dl_close_worker): Likewise.
38641 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38642
38643 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38644
38645 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38646 "aux_cache->nlibs < 0".
38647
38648 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38649 in the reload-count case.
38650
38651 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38652
38653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38654 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38655 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38656 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38657 * sysdeps/x86_64/multiarch/strcat.S: New file.
38658 * sysdeps/x86_64/multiarch/strncat.S: New file.
38659 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38660 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38661 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38662 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38664 (USE_AS_STRCAT): Define.
38665 Add strcat and strncat support.
38666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38668 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38669 * string/strncat.c: Update.
38670 (USE_AS_STRNCAT): Define.
38671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38672 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38673 and i7.
38674 * sysdeps/x86_64/multiarch/init-arch.h
38675 (bit_Prefer_PMINUB_for_stringop): New.
38676 (index_Prefer_PMINUB_for_stringop): Likewise.
38677 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38678 bit_Prefer_PMINUB_for_stringop.
38679
38680 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38681
38682 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38683 buffer64.
38684 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38685 of casting of buffer.
38686 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38687 buffer32 and buffer64.
38688 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38689 writes instead of casting of buffer.
38690 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38691 buffer32.
38692 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38693 casting of buffer.
38694
38695 2011-07-19 Andreas Schwab <schwab@redhat.com>
38696
38697 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38698
38699 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38700
38701 * nscd/nscd.c (termination_handler): Don't do anything for a database
38702 if it has not yet been initialized.
38703
38704 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38705
38706 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38707
38708 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38709
38710 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38711
38712 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38713
38714 * po/nl.po: Update from translation team.
38715 * po/sv.po: Likewise.
38716
38717 2011-07-16 Roland McGrath <roland@hack.frob.com>
38718
38719 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38720 now disallowed by GCC.
38721
38722 * configure.in (use-default-link): Default to yes if a test -shared
38723 link meets our qualifications.
38724 * configure: Regenerated.
38725
38726 * config.make.in (output-format): New variable.
38727 * configure.in: Check for ld --print-output-format support.
38728 * configure: Regenerated.
38729 * Makerules ($(common-objpfx)format.lds)
38730 [$(output-format) != unknown]: Just use $(output-format),
38731 instead of the linker-script munging.
38732
38733 2011-07-14 Roland McGrath <roland@hack.frob.com>
38734
38735 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38736 of $(common-objpfx)shlib.lds.
38737 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38738
38739 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38740 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38741
38742 * configure.in (-z relro check): Adjust test code to add a large
38743 writable data section after it.
38744 * configure: Regenerated.
38745
38746 2011-07-11 Roland McGrath <roland@hack.frob.com>
38747
38748 * configure.in (-z relro check): Fix test code to make the variable
38749 truly const.
38750 * configure: Regenerated.
38751
38752 2011-07-11 Ulrich Drepper <drepper@gmail.com>
38753
38754 * nscd/nscd.h (struct traced_file): Define.
38755 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38756 elements. Add traced_files.
38757 (inotify_fd): Declare.
38758 (register_traced_file): Declare.
38759 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38760 (inotify_fd): Export.
38761 (resolv_conf_descr): Remove.
38762 (nscd_init): Move inotify descriptor creation to main.
38763 Don't register files for notification here.
38764 (register_traced_file): New function.
38765 (invalidate_cache): Don't use reset_res to determine whether to call
38766 res_init, go through the list of registered files.
38767 (main_loop_poll): The inotify descriptors are now stored in the
38768 structures for the traced files.
38769 (main_loop_epoll): Likewise
38770 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38771 to __nss_disable_nscd.
38772 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38773 for a database anymore. Check the records for all the registered
38774 files instead.
38775 * nss/Makefile (libnss_files-routines): Add files-init.
38776 (libnss_db-routines): Add db-init.
38777 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38778 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38779 * nss/nss_db/db-init.c: New file.
38780 * nss/nss_files/files-init.c: New file.
38781 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38782 __nss_lookup_function.
38783 (__nss_lookup_function): Call nss_load_library.
38784 (nss_load_all_libraries): New function.
38785 (__nss_disable_nscd): Take parameter with callback function for files
38786 to register. Set is_nscd. Load all the DSOs for the NSS modules
38787 used for the cached services.
38788 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38789 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38790 options for features to all the files in nscd.
38791
38792 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38793
38794 2011-07-10 Roland McGrath <roland@hack.frob.com>
38795
38796 * csu/elf-init.c (__libc_csu_init): Comment typo.
38797
38798 2011-07-09 Ulrich Drepper <drepper@gmail.com>
38799
38800 * po/pl.po: Update from translation team.
38801 * po/ja.po: Likewise.
38802 * po/ru.po: Likewise.
38803 * po/ko.po: Likewise.
38804 * po/fr.po: Likewise.
38805
38806 2011-07-09 Roland McGrath <roland@hack.frob.com>
38807
38808 * configure.in (.ctors/.dtors header and trailer check):
38809 Use an empirical test on a built program.
38810 * configure: Regenerated.
38811
38812 * configure.in (-z relro check): Use an empirical test on a built DSO.
38813 Detect, but do not require, on ia64.
38814 * configure: Regenerated.
38815
38816 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38817 Update tests that use readelf to use $READELF instead.
38818 * configure: Regenerated.
38819
38820 2011-07-08 Ulrich Drepper <drepper@gmail.com>
38821
38822 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38823 if the result is not used.
38824
38825 2011-07-05 Andreas Jaeger <aj@suse.de>
38826
38827 [BZ#9696]
38828 * stdlib/tst-strtod.c: Add testcase.
38829
38830 2011-07-07 Ulrich Drepper <drepper@gmail.com>
38831
38832 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38833 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38834 The latter has a higher limit. Take additional parameter to pass to
38835 the new function.
38836 (__pathconf): Pass file to __statfs_link_max.
38837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38838 __statfs_link_max.
38839 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38840 __statfs_link_max.
38841
38842 [BZ #12868]
38843 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38845 Handle Lustre.
38846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38847 (__statfs_filesize_max): Likewise.
38848 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38849
38850 2011-07-05 Andreas Jaeger <aj@suse.de>
38851
38852 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38853
38854 2011-07-06 Marek Polacek <mpolacek@redhat.com>
38855
38856 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38857 `status' variable.
38858 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38859 Likewise.
38860
38861 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38862
38863 * Makefile (strop-tests): Add strncat.
38864 * string/test-strncat.c: New file.
38865
38866 2011-06-30 Marek Polacek <mpolacek@redhat.com>
38867
38868 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38869
38870 2011-06-21 Andreas Jaeger <aj@suse.de>
38871
38872 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38873 Copy rule from iconvdata/Makefile.
38874
38875 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38876
38877 [BZ #12922]
38878 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38879 but no long options are defined, just return 'W'.
38880
38881 2011-06-22 Marek Polacek <mpolacek@redhat.com>
38882
38883 [BZ #9696]
38884 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38885
38886 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38887
38888 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38889 netgroups to read.
38890 (innetgr): Likewise.
38891
38892 2011-07-05 Roland McGrath <roland@hack.frob.com>
38893
38894 * config.make.in (install_root): Default to $(DESTDIR).
38895
38896 2011-07-05 Ulrich Drepper <drepper@gmail.com>
38897
38898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38899
38900 2011-07-02 Roland McGrath <roland@hack.frob.com>
38901
38902 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38903
38904 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38905 containing directory rather than embedding absolute directory names.
38906
38907 * scripts/check-local-headers.sh: Rewritten using awk.
38908 Match by word, not by line. Print error messages for matches.
38909 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38910
38911 * Makerules [shlib-lds-flags empty]:
38912 ($(common-objpfx)libc_pic.opts): New target.
38913 ($(common-objpfx)libc_pic.os.clean): New target.
38914 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38915
38916 * config.make.in (OBJCOPY): New variable.
38917 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38918 * configure: Regenerated.
38919
38920 * config.make.in (use-default-link): New variable.
38921 * configure.in (use_default_link): Grok --with-default-link to set it.
38922 * configure: Regenerated.
38923 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38924 (shlib-lds, shlib-lds-flags): Define to empty.
38925
38926 * Makerules (shlib-lds): New variable.
38927 (shlib-lds-flags): New variable.
38928 (build-shlib, build-moduile, build-module-asneeded): Use it.
38929 ($(common-objpfx)libc.so): Use $(shlib-lds).
38930 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38931 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38932
38933 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38934 DT_FLAGS/DT_FLAGS_1 with zero flags.
38935
38936 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38937 linker script munging.
38938
38939 2011-07-02 Ulrich Drepper <drepper@gmail.com>
38940
38941 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38942 as 128-bit value.
38943 * crypt/sha512.c (sha512_process_block): Perform total addition using
38944 128-bit if possible.
38945 (__sha512_finish_ctx): Likewise.
38946 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38947 as 64-bit value.
38948 * crypt/sha256.c (SWAP64): Define.
38949 (sha256_process_block): Perform total addition using 64-bit if
38950 possible.
38951 (__sha256_finish_ctx): Likewise.
38952
38953 2011-07-01 Ulrich Drepper <drepper@gmail.com>
38954
38955 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38957 * nscd/hstcache.c (cache_addhst): Likewise.
38958 * nscd/grpcache.c (cache_addgr): Likewise.
38959 * nscd/aicache.c (addhstaiX): Likewise
38960 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38961
38962 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
38963
38964 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38966 * nscd/hstcache.c (cache_addhst): Likewise.
38967 * nscd/grpcache.c (cache_addgr): Likewise.
38968 * nscd/aicache.c (addhstaiX): Likewise
38969
38970 2011-07-01 Andreas Schwab <schwab@redhat.com>
38971
38972 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38973 domain only when needed.
38974
38975 2011-06-30 Andreas Schwab <schwab@redhat.com>
38976
38977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38978 is always restored.
38979
38980 2011-06-29 Ulrich Drepper <drepper@gmail.com>
38981
38982 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38983 are re-adding the entry.
38984 * nscd/servicescache.c (cache_addserv): Likewise.
38985
38986 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38987
38988 * sysdeps/generic/dl-irel.h: fix protection against multiple
38989 inclusions.
38990 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38991
38992 2011-06-28 Ulrich Drepper <drepper@gmail.com>
38993
38994 [BZ #12935]
38995 * malloc/memusage.sh: Fix quoting in message.
38996 * debug/xtrace.sh: Likewise.
38997
38998 * configure.in: Remove support for --experimental-malloc option, make
38999 it the default.
39000 * config.make.in: Likewise.
39001 * malloc/Makefile: Likewise.
39002
39003 2011-06-27 Andreas Schwab <schwab@redhat.com>
39004
39005 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39006 two-byte characters.
39007
39008 2011-06-27 Roland McGrath <roland@hack.frob.com>
39009
39010 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39011 AC_CACHE_CHECK invocation.
39012 * configure: Regenerated.
39013
39014 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39015
39016 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39017
39018 [BZ #12350]
39019 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39020 bit from old_res_options.
39021
39022 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39023
39024 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39025 value type for setfct.
39026
39027 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39028
39029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39030 __gettimeofday instead of gettimeofday.
39031
39032 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39033
39034 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39035
39036 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39037
39038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39039
39040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39041 info.
39042
39043 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39044
39045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39046 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39047 strcpy-sse2-unaligned strncpy-sse2-unaligned
39048 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39049 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39050 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39051 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39052 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39055 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39056 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39057 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39058 (STRCPY): Support SSE2 and SSSE3 versions.
39059
39060 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39061
39062 [BZ #12874]
39063 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39064 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39065 kernels which artificially limit size of requests.
39066
39067 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39068
39069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39070 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39071 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39072 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39073 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39074 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39075 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39076 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39079 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39080 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39081 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39082 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39083 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39085 Enable unaligned load optimization for Intel Core i3, i5 and i7
39086 processors.
39087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39088 Define.
39089 (index_Fast_Unaligned_Load): Define.
39090 (HAS_FAST_UNALIGNED_LOAD): Define.
39091
39092 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39093
39094 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39095
39096 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39097
39098 [BZ #12907]
39099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39100 until it is clear that the information is realy needed.
39101 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39102
39103 2011-06-22 Andreas Schwab <schwab@redhat.com>
39104
39105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39106
39107 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39108
39109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39110 /sys/devices/system/cpu/online if it is usable.
39111
39112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39113 reading the information from the /proc filesystem to once a second.
39114
39115 2011-06-21 Andreas Jaeger <aj@suse.de>
39116
39117 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39118 NULL after inclusion of kernel headers.
39119
39120 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39121
39122 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39123 calls to internal_setent.
39124
39125 [BZ #12885]
39126 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39127 addresses using gethostbyname4_r ignore IPv4 addresses.
39128
39129 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39130 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39131
39132 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39133
39134 2011-06-20 David S. Miller <davem@davemloft.net>
39135
39136 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39137 inclusions.
39138 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39139
39140 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39141 (elf_irel): Use it.
39142 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39143 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39144 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39145 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39146 * sysdeps/x86_64/dl-irel.h: Likewise.
39147
39148 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39149 * elf/dl-sym.c: Likewise.
39150
39151 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39152
39153 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39154 need to dereference resplen2.
39155
39156 2011-06-14 Andreas Schwab <schwab@redhat.com>
39157
39158 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39159
39160 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39161
39162 * Makeconfig: Define vardbdir and inst_vardbdir.
39163 * nss/Makefile: Add rules to install db-Makefile.
39164
39165 * nss/nss_db/db-XXX.c: Cleanup.
39166
39167 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39168 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39169 GLIBC_PRIVATE.
39170 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39171 * nss/makedb.c: Implement -g option to specify that value strings
39172 are generated and should not be added to table iterated over for
39173 get*ent calls.
39174 * nss/nss_db/db-initgroups.c: New file.
39175
39176 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39177 interface.
39178
39179 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39180 (internal_getgrouplist): Adjust to name change.
39181 Update use_initgroups_entry if this is not the first call.
39182 * nss/databases.def: Add initgroups entry.
39183
39184 * nss/makedb.c (compute_tables): Check result of multiple hash table
39185 sizes to minimize maximum chain length.
39186
39187 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39188
39189 * Versions.def: Add entry for libnss_db.
39190 * shlib-versions: Likewise.
39191 * nss/Makefile: Add rules to build libnss_db.
39192 * nss/Versions: Add libnss_db information. Organize libnss_files
39193 entries better.
39194 * nss/db-Makefile: Add gshadow support. Change rules for the new
39195 makedb progra. Some minor improvements to generate smaller files.
39196 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39197 here from...
39198 * nss/makedb.c: ...here.
39199 Improve database format to be smaller and require less memory at
39200 runtime.
39201 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39202 db anymore.
39203 * nss/nss_db/db-netgrp.c: Likewise.
39204 * nss/nss_db/db-open.c: Likewise.
39205 * nss/nss_files/flies-XXX.x: Adjust comments.
39206 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39207 * nss/nss_files/files-grp.c: Likewise.
39208 * nss/nss_files/files-hosts.c: Likewise.
39209 * nss/nss_files/files-network.c: Likewise.
39210 * nss/nss_files/files-proto.c: Likewise.
39211 * nss/nss_files/files-pwd.c: Likewise.
39212 * nss/nss_files/files-rpc.c: Likewise.
39213 * nss/nss_files/files-service.c: Likewise.
39214 * nss/nss_files/files-sgrp.c: Likewise.
39215 * nss/nss_files/files-spwd.c: Likewise.
39216 * nss/nss_db/db-alias.c: Removed.
39217 * nss/nss_db/dummy-db.h: Removed.
39218
39219 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39220
39221 * nss/makedb.c: Rewritten to not use database library.
39222 * nss/Makefile: Update to build new makedb program.
39223
39224 2011-06-14 Andreas Jaeger <aj@suse.de>
39225
39226 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39227 memset declaration.
39228
39229 2011-06-10 Andreas Schwab <schwab@redhat.com>
39230
39231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39232 tmpbuf.
39233
39234 2011-06-10 Roland McGrath <roland@hack.frob.com>
39235
39236 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39237 * elf/Makefile ($(objpfx)ld.so): Likewise.
39238
39239 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39240 Don't list ld.so twice in dependencies.
39241
39242 * posix/bug-regex31.c: Include <stdlib.h>.
39243
39244 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39245
39246 * nis/nss_compat/compat-spwd.c
39247 (getspent_next_nss_netgr): Remove unused variable.
39248 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39249
39250 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39251 nonmembers" output to use the right array.
39252
39253 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39254
39255 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39256
39257 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39258 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39259 * catgets/gencat.c (read_input_file): Likewise.
39260 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39261
39262 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39263 variable definition inside #if's controlling its use.
39264
39265 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39266
39267 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39268
39269 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39270
39271 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39272 unreachable code.
39273
39274 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39275
39276 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39277 * configure: Regenerated.
39278
39279 * Makerules: Revert last change.
39280 * elf/Makefile: Likewise.
39281
39282 2011-06-09 Roland McGrath <roland@hack.frob.com>
39283
39284 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39285 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39286 (reloc-link): Likewise.
39287
39288 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39289
39290 * elf/Makefile: Add rules to build pldd.
39291 * elf/pldd.c: New file.
39292 * elf/pldd-xx.c: New file.
39293
39294 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39295
39296 * version.h: Update for 2.15 development version.
39297
39298 2011-06-07 David S. Miller <davem@davemloft.net>
39299
39300 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39301 ifuncs.
39302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39303 elf_machine_lazy_rel): Likewise.
39304 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39306 elf_machine_lazy_rel): Likewise.
39307 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39308 dl_hwcap via passed in argument.
39309 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39310 Likewise.
39311
39312 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39313
39314 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39315
39316 2011-06-06 Roland McGrath <roland@hack.frob.com>
39317
39318 [BZ #12849]
39319 * manual/fdl-1.1.texi: New file, verbatim from:
39320 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39321 * manual/lgpl-2.1.texi: New file, verbatim from:
39322 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39323 * manual/Makefile (licenses): New variable, list those new file names.
39324 (texis): Use it.
39325 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39326
39327 * manual/fdl.texi: File removed.
39328 * manual/lesser.texi: File removed.
39329 * manual/libc.texinfo (Copying, Documentation License):
39330 Use new @include file names, put @appendix directive before @include.
39331
39332 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39333
39334 [BZ #12841]
39335 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39336 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39337 (mq_open): Add __NTH.
39338
39339 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39340
39341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39342 Assume Intel Core i3/i5/i7 processor if AVX is available.
39343
39344 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39345
39346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39347 typo.
39348
39349 2011-05-31 Andreas Schwab <schwab@redhat.com>
39350
39351 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39352 memory. Use alloca_account. Fix memory leak when retrying.
39353
39354 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39355
39356 * version.h (RELEASE): Bump for 2.14 release.
39357 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39358
39359 * config.make.in (RANLIB): Remove entry.
39360
39361 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39362
39363 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39364 (libc.pot): Work around missing support for .ksh extension in xgettext.
39365
39366 [BZ #12684]
39367 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39368 if both request failed.
39369 (send_dg): In case of server errors clear resplen or *resplen2.
39370
39371 [BZ #12454]
39372 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39373 when there are multiple maps.
39374 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39375 (_dl_fini): Remove test here.
39376
39377 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39378
39379 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39380
39381 [BZ #12350]
39382 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39383 bit from old_res_options.
39384 (gaih_inet): Likewise.
39385
39386 [BZ #11099]
39387 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39388 as signed.
39389
39390 * resolv/res_init.c (res_setoptions): Make the code more compact.
39391
39392 [BZ #11558]
39393 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39394 set RES_USEVC.
39395
39396 [BZ #11634]
39397 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39398
39399 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39400
39401 [BZ #11781]
39402 * malloc/malloc.h: Declare malloc hook variables as volatile.
39403
39404 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39405 in last patch.
39406
39407 [BZ #11799]
39408 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39409 raise in the comment.
39410 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39412 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39413
39414 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39415
39416 [BZ #12811]
39417 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39418 grow the buffers more if it already has to be sufficient.
39419 (build_wcs_upper_buffer): Likewise.
39420 * posix/regexec.c (check_matching): Likewise.
39421 (clean_state_log_if_needed): Likewise.
39422 (extend_buffers): Don't enlarge buffers beyond size of the input
39423 buffer.
39424 Patches mostly by Emil Wojak <emil@wojak.eu>.
39425 * posix/bug-regex32.c: New file.
39426 * posix/Makefile (tests): Add bug-regex32.
39427
39428 * locale/findlocale.c (_nl_find_locale): Return right away if
39429 _nl_explode_name failed.
39430 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39431
39432 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39433
39434 * debug/xtrace.sh: Unify messages.
39435 * malloc/memusage.sh: Likewise.
39436
39437 [BZ #12813]
39438 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39439 time symbol from vDSO. Substitute with vsyscall if not available.
39440 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39441 __vdso_time.
39442
39443 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39444 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39445 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39446 Add sendmmsg and internal_sendmmsg.
39447 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39448 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39449 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39450
39451 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39452 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39454
39455 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39456
39457 [BZ #12813]
39458 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39459 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39460 available.
39461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39462 __vdso_getcpu.
39463
39464 [BZ #12814]
39465 * iconvdata/Makefile (tests): Add bug-iconv9.
39466 * iconvdata/bug-iconv9.c: New file.
39467
39468 2011-05-27 Andreas Schwab <schwab@redhat.com>
39469
39470 [BZ #12814]
39471 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39472
39473 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39474
39475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39476 (struct user_regs_struct): Change intcs field back to cs.
39477
39478 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39479
39480 * po/ja.po: Update from translation team.
39481
39482 2011-05-23 Ulrich Drepper <drepper@gmail.com>
39483
39484 [BZ #12795]
39485 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39486 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39487
39488 2011-05-20 Andreas Schwab <schwab@redhat.com>
39489
39490 * stdlib/longlong.h: Update from GCC.
39491
39492 2011-05-23 Andreas Schwab <schwab@redhat.com>
39493
39494 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39495 parameter name.
39496 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39497 Add parameter name.
39498 (__sysconf): Pass it down.
39499
39500 2011-05-22 Ulrich Drepper <drepper@gmail.com>
39501
39502 [BZ #12671]
39503 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39504 some situations.
39505 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39506 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39507 add in in __libc_use_alloca calls. Adjust callers.
39508 (glob): Use malloc in some situations.
39509
39510 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39511 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39512 pltexit.
39513
39514 2011-05-21 Ulrich Drepper <drepper@gmail.com>
39515
39516 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39517 and CLOCK_BOOTTIME_ALARM.
39518
39519 [BZ #12782]
39520 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39521 is returned.
39522
39523 * string/_strerror.c (__strerror_r): Print negative errors as signed
39524 numbers.
39525
39526 [BZ #12777]
39527 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39528 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39529 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39530
39531 * configure.in: Fix typo in redirection and correct removal of test
39532 files in two cases.
39533
39534 [BZ #12788]
39535 * locale/setlocale.c (new_composite_name): Fix test to check for
39536 identical name of all categories.
39537
39538 [BZ #12792]
39539 * libio/filedoalloc.c (local_isatty): New function.
39540 (_IO_file_doallocate): Use local_isatty.
39541 * stdio-common/perror.c (perror): In case a new stream is used
39542 forward the stream error.
39543 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39544 error flag.
39545
39546 2011-05-20 Ulrich Drepper <drepper@gmail.com>
39547
39548 [BZ #11869]
39549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39550 alloca.
39551 * include/alloca.h (extend_alloca_account): Define.
39552
39553 [BZ #11857]
39554 * posix/regex.h: Fix comments with documentation of user-accessible
39555 fields after compilation and describe correct free'ing of pattern
39556 after re_compile_pattern.
39557 Patch by Reuben Thomas <rrt@sc3d.org>.
39558
39559 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39560
39561 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39562 and -mno-altivec to prevent the compiler from using Altivec and/or
39563 VSX instructions when the corresponding registers are not available.
39564
39565 2011-05-19 Andreas Schwab <schwab@redhat.com>
39566
39567 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39568
39569 2011-05-19 Ulrich Drepper <drepper@gmail.com>
39570
39571 * libio/freopen.c (freopen): Use __dup2, not dup2.
39572 * libio/freopen64.c (freopen64): Likewise.
39573
39574 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39575
39576 [BZ #12775]
39577 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39578 * math/Makefile (tests): Add test-powl.
39579 (CFLAGS-test-powl.c): Define.
39580 * math/test-powl.c: New file.
39581
39582 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39583
39584 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39585
39586 2011-05-17 Ulrich Drepper <drepper@gmail.com>
39587
39588 [BZ #11837]
39589 * iconvdata/gb18030.c: Update to GB18020-2005.
39590
39591 2011-05-16 Ulrich Drepper <drepper@gmail.com>
39592
39593 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39594 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39595 Patch by Aharon Robbins <arnold@skeeve.com>.
39596
39597 [BZ #11892]
39598 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39599 on the stack.
39600
39601 [BZ #11895]
39602 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39603 through underflows.
39604
39605 [BZ #12766]
39606 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39607 point to strings before performing equality test for error_one_per_line
39608 mode.
39609
39610 [BZ #11697]
39611 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39612
39613 [BZ #11820]
39614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39615 (struct user_fpregs_struct): Avoid __uint*_t types.
39616
39617 [BZ #6420]
39618 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39619 symbol info. Use it instead of calling _dl_addr locally.
39620 (lock_and_info): New function.
39621 (tr_freehook): Call lock_and_info and pass symbol info as additional
39622 parameter to tr_where.
39623 (tr_mallochook): Likewise.
39624 (tr_reallochook): Likewise.
39625 (tr_memalignhook): Likewise.
39626
39627 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39628 used and couldn't be at all thread-safe.
39629
39630 2011-05-15 Ulrich Drepper <drepper@gmail.com>
39631
39632 * libio/freopen.c (freopen): Don't close old file descriptor
39633 before the new one is opened. Instead dup the new file descriptor
39634 to the old one after the new stream is created.
39635 * libio/freopen64.c (freopen64): Likewise.
39636 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39637 * libio/fileops.c (_IO_new_file_close_it): Handle new
39638 _IO_FLAGS2_NOCLOSE flag.
39639 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39640 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39641 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39642 _IO_FLAGS2_NOCLOSE flag.
39643 * include/unistd.h: Add hidden_proto for dup3.
39644 Define __have_dup3.
39645 * io/dup3.c: Define hidden symbol.
39646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39647
39648 [BZ #7101]
39649 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39650 when an incomplete long option is used.
39651 * posix/tst-getopt_long1.c: New file.
39652 * posix/Makefile (tests): Add tst-getopt_long1.
39653
39654 [BZ #10138]
39655 * scripts/config.guess: Update from autoconf-2.68.
39656 * scripts/config.sub: Likewise.
39657
39658 [BZ #10157]
39659 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39660 tests into ...
39661 (has_cpuclock): ...this. New function.
39662 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39663 macro here based on has_cpuclock code.
39664
39665 [BZ #10149]
39666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39667 First byte (not low byte) is now always NUL.
39668 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39669
39670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39671 Use non-cancelable interfaces.
39672
39673 [BZ #9809]
39674 * locale/iso-639.def: Add entry for Sorani.
39675
39676 [BZ #11901]
39677 * include/stdlib.h: Move include protection to the right place.
39678 Define abort_msg_s. Declare __abort_msg with it.
39679 * stdlib/abort.c (__abort_msg): Adjust type.
39680 * assert/assert.c (__assert_fail_base): New function. Majority
39681 of code from __assert_fail. Allocate memory for __abort_msg with
39682 mmap.
39683 (__assert_fail): Now call __assert_fail_base.
39684 * assert/assert-perr.c: Remove bulk of implementation. Use
39685 __assert_fail_base.
39686 * include/assert.hL Declare __assert_fail_base.
39687 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39688 mmap.
39689 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39690
39691 2011-05-14 Ulrich Drepper <drepper@gmail.com>
39692
39693 [BZ #11952]
39694 [BZ #12453]
39695 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39696 until all modules are registered in the DTV.
39697 * elf/Makefile: Add rules to build and run tst-tls19.
39698 * elf/tst-tls19.c: New file.
39699 * elf/tst-tls19mod1.c: New file.
39700 * elf/tst-tls19mod2.c: New file.
39701 * elf/tst-tls19mod3.c: New file.
39702 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39703
39704 [BZ #12083]
39705 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39706 correctly.
39707
39708 [BZ #12601]
39709 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39710 two-byte sequence errors.
39711 * iconvdata/Makefile (tests): Add bug-iconv8.
39712 * iconvdata/bug-iconv8.c: New file.
39713
39714 [BZ #12626]
39715 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39716 buf2 definition.
39717
39718 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39719
39720 [BZ #12432]
39721 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39722 (dummy_getcfa): New function.
39723 (init): Get _Unwind_GetCFA address, use dummy if not found.
39724 (backtrace_helper): In recursion check, also check whether CFA changes.
39725 (__backtrace): Completely initialize arg.
39726
39727 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39728 storing incomplete byte sequence in state object. Avoid testing for
39729 guaranteed too small input if we know there is enough data available.
39730
39731 2011-05-11 Andreas Schwab <schwab@redhat.com>
39732
39733 * Makeconfig (+link-pie): Indent.
39734 * Rules (binaries-pie): Define if $(have-fpie) and
39735 $(build-shared).
39736 (binaries-shared): Also filter out $(binaries-pie).
39737 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39738 * nscd/Makefile (others-pie): Add nscd.
39739 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39740 ($(objpfx)nscd): Remove command override.
39741 * login/Makefile (others-pie): Add pt_chown.
39742 ($(objpfx)pt_chown): Remove command override.
39743 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39744 remove command overrides.
39745
39746 2011-05-13 Ulrich Drepper <drepper@gmail.com>
39747
39748 * libio/tst_putwc.c: Fix error messages.
39749
39750 [BZ #12724]
39751 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39752 currently writing and seek to current position when not.
39753 * libio/Makefile (tests): Add bug-fclose1.
39754 * libio/bug-fclose1.c: New file.
39755
39756 2011-05-12 Ulrich Drepper <drepper@gmail.com>
39757
39758 [BZ #12511]
39759 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39760 don't set DF_1_NODELETE here.
39761 (do_lookup_x): When entering new entry test for copy relocation
39762 and if necessary set DF_1_NODELETE flag.
39763 * elf/tst-unique4.cc: New file.
39764 * elf/tst-unique4.h: New file.
39765 * elf/tst-unique4lib.cc: New file.
39766 * elf/Makefile: Add rules to build and run tst-unique4.
39767 Patch by Piotr Bury <pbury@goahead.com>.
39768
39769 2011-05-11 Ulrich Drepper <drepper@gmail.com>
39770
39771 [BZ #12052]
39772 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39773
39774 [BZ #12625]
39775 * misc/mntent_r.c (addmntent): Flush the stream after the output
39776
39777 [BZ #12393]
39778 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39779 (is_trusted_path_normalize): Skip initial colon. Append slash
39780 to empty buffer. Duplicate is_trusted_path code but allow
39781 constructed patch to be prefix.
39782 (is_dst): Allow $ORIGIN followed by /.
39783 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39784 Correct testing of result of is_trusted_path_normalize
39785 (decompose_rpath): Fix warning.
39786
39787 2011-05-10 Ulrich Drepper <drepper@gmail.com>
39788
39789 [BZ #11257]
39790 * grp/initgroups.c (internal_getgrouplist): When we found the service
39791 list through the initgroups entry in nsswitch.conf do not always
39792 continue on a successful lookup. Don't always use the
39793 __nss_group_database value if it is set.
39794 * nss/nsswitch.conf (initgroups): Change action for successful db
39795 lookup to continue for compatibility.
39796
39797 2011-05-09 Ulrich Drepper <drepper@gmail.com>
39798
39799 [BZ #11532]
39800 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39801 and CP774 modules.
39802 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39803 and CP774 modules.
39804 * iconvdata/tst-tables.sh: Likewise.
39805 * iconvdata/cp770.c: New file.
39806 * iconvdata/cp771.c: New file.
39807 * iconvdata/cp772.c: New file.
39808 * iconvdata/cp773.c: New file.
39809 * iconvdata/cp774.c: New file.
39810 * iconvdata/testdata/CP770: New file.
39811 * iconvdata/testdata/CP770..UTF8: New file.
39812 * iconvdata/testdata/CP771: New file.
39813 * iconvdata/testdata/CP771..UTF8: New file.
39814 * iconvdata/testdata/CP772: New file.
39815 * iconvdata/testdata/CP772..UTF8: New file.
39816 * iconvdata/testdata/CP773: New file.
39817 * iconvdata/testdata/CP773..UTF8: New file.
39818 * iconvdata/testdata/CP774: New file.
39819 * iconvdata/testdata/CP774..UTF8: New file.
39820
39821 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39822 END CHARMAP line.
39823 * iconvdata/gen-8bit-gap.sh: Likewise.
39824 * iconvdata/gen-8bit.sh: Likewise.
39825
39826 * locale/iso-639.def: Add ary entry.
39827
39828 [BZ #11258]
39829 * locale/C-translit.h.in: Add U20A1 transliteration.
39830
39831 [BZ #12178]
39832 * locale/iso-639.def: Add wae entry.
39833 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39834
39835 [BZ #12545]
39836 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39837 for n.
39838
39839 [BZ #12711]
39840 * locale/C-translit.h.in: Add entry for U20B9.
39841 Patch by pravin.d.s@gmail.com.
39842
39843 2011-05-08 Ulrich Drepper <drepper@gmail.com>
39844
39845 [BZ #12713]
39846 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39847 ENAMETOOLONG use generic getcwd.
39848 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39849 in rtld. Use *stat64.
39850 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39851 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39852 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39853 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39854 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39855 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39856 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39857 __fstatat64 macros.
39858 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39859 * dirent/rewinddir.c: Add libc_hidden_def.
39860 * sysdeps/mach/hurd/rewinddir.c: Likewise.
39861 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
39862
39863 * include/dirent.h (__alloc_dir): Add flags parameter.
39864 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39865 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39866 __alloc_dir.
39867 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39868 from fdopendir if O_CLOEXEC is already set.
39869
39870 2011-03-15 Alan Modra <amodra@gmail.com>
39871
39872 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39873 l_tls_firstbyte_offset non-zero. Save padding offset in
39874 l_tls_firstbyte_offset for later use.
39875 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39876 freeing static tls block.
39877
39878 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39879
39880 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39881 where #ifdef was intended. The intent is to prevent ARG_MAX from
39882 being defined by the kernel headers.
39883
39884 2011-05-07 Ulrich Drepper <drepper@gmail.com>
39885
39886 [BZ #12734]
39887 * resolv/resolv.h: Define RES_NOTLDQUERY.
39888 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39889 no-tld-query and set RES_NOTLDQUERY.
39890 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39891 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39892 modern BIND to search name as TLD unless forbidden.
39893
39894 2011-05-07 Petr Baudis <pasky@suse.cz>
39895 Ulrich Drepper <drepper@gmail.com>
39896
39897 [BZ #12393]
39898 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39899 (is_trusted_path): ...to here.
39900 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39901 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39902 using is_trusted_path_normalize() in setuid scripts.
39903
39904 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39905
39906 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39907 __BEGIN/__END_DECLS.
39908
39909 2011-05-06 Ulrich Drepper <drepper@gmail.com>
39910
39911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39912 NSS_STATUS_NOTFOUND if no record was found.
39913
39914 2011-05-05 Andreas Schwab <schwab@redhat.com>
39915
39916 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39917 (headers-not-in-tirpc): Remove rpc/netdb.h
39918 * resolv/netdb.h: Revert last change.
39919
39920 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39921
39922 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39923 circular dependency between libgcc.a and libc.a.
39924
39925 2011-05-05 Andreas Schwab <schwab@redhat.com>
39926
39927 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39928 * nis/Makefile: Don't install rpcsvc/*.
39929 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39930 instead of <rpc/types.h>.
39931 (MAXHOSTNAMELEN): Define.
39932
39933 2011-05-03 Andreas Schwab <schwab@redhat.com>
39934
39935 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39936
39937 2011-04-28 Maciej Babinski <mbabinski@google.com>
39938
39939 [BZ #12714]
39940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39941 gethostbyname4_r when IPv6 results are possible.
39942
39943 2011-05-02 Ulrich Drepper <drepper@gmail.com>
39944
39945 [BZ #12723]
39946 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39947 _PC_PIPE_BUF handling.
39948
39949 2011-04-30 Bruno Haible <bruno@clisp.org>
39950
39951 [BZ #12717]
39952 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39953 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39954 to 'int'.
39955 * inet/getnameinfo.c (getnameinfo): Likewise.
39956
39957 2011-04-29 Ulrich Drepper <drepper@gmail.com>
39958
39959 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39960 to groups setting in database lookup.
39961 * nss/nsswitch.conf: Add initgroups entry.
39962
39963 2011-04-22 Ulrich Drepper <drepper@gmail.com>
39964
39965 [BZ #12685]
39966 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39967 mode string.
39968 Patch by Eric Blake <eblake@redhat.com>.
39969
39970 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39971
39972 * sunrpc/Makefile (need-export-routines): Add svc_run.
39973 (routines): Remove svc_run.
39974 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39975 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39976 * sunrpc/svc_run.c (svc_run): Likewise.
39977 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39978
39979 2011-04-21 Ulrich Drepper <drepper@gmail.com>
39980
39981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39982 problem in reallocation in last patch.
39983
39984 2011-04-20 Ulrich Drepper <drepper@gmail.com>
39985
39986 * sunrpc/Makefile: Move inclusion of Rules.
39987
39988 2011-04-19 Ulrich Drepper <drepper@gmail.com>
39989
39990 * nss/nss_files/files-initgroups.c: New file.
39991 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39992 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39993 _nss_files_initgroups_dyn.
39994
39995 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39996
39997 * elf/elf.h (R_ARM_IRELATIVE): Define.
39998
39999 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40000
40001 * po/ru.po: Update from translation team.
40002
40003 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40004
40005 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40006 dependencies.
40007
40008 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40009
40010 [BZ #12653]
40011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40012 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40016
40017 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40018
40019 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40020 differing bytes.
40021 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40024
40025 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40026
40027 [BZ #12420]
40028 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40029 storing it.
40030 * stdlib/bug-getcontext.c: New file.
40031 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40032
40033 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40034
40035 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40036 instructions into .machine "z9-109".
40037 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40038 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40039
40040 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40041
40042 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40043 between environment variables and auxiliary vector.
40044
40045 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40046
40047 * Makefile: Add rules to build linkobj/libc.so.
40048 * include/libc-symbols.h: Define libc_hidden_nolink.
40049 * include/rpc/auth.h: Mark functions which are to be hidden.
40050 * include/rpc/auth_des.h: Likewise.
40051 * include/rpc/auth_unix.h: Likewise.
40052 * include/rpc/clnt.h: Likewise.
40053 * include/rpc/des_crypt.h: Likewise.
40054 * include/rpc/key_prot.h: Likewise.
40055 * include/rpc/pmap_clnt.h: Likewise.
40056 * include/rpc/pmap_prot.h: Likewise.
40057 * include/rpc/pmap_rmt.h: Likewise.
40058 * include/rpc/rpc_msg.h: Likewise.
40059 * include/rpc/svc.h: Likewise.
40060 * include/rpc/svc_auth.h: Likewise.
40061 * include/rpc/xdr.h: Likewise.
40062 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40063 * nss/Makefile: Likewise.
40064 * sunrpc/Makefile: Don't install headers. Build library with normal
40065 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40066 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40067 for the compat linking library. Remove use of INTDEF/INTUSE.
40068 * sunrpc/auth_none.c: Likewise.
40069 * sunrpc/auth_unix.c: Likewise.
40070 * sunrpc/authdes_prot.c: Likewise.
40071 * sunrpc/authuxprot.c: Likewise.
40072 * sunrpc/clnt_gen.c: Likewise.
40073 * sunrpc/clnt_perr.c: Likewise.
40074 * sunrpc/clnt_raw.c: Likewise.
40075 * sunrpc/clnt_simp.c: Likewise.
40076 * sunrpc/clnt_tcp.c: Likewise.
40077 * sunrpc/clnt_udp.c: Likewise.
40078 * sunrpc/clnt_unix.c: Likewise.
40079 * sunrpc/des_crypt.c: Likewise.
40080 * sunrpc/des_soft.c: Likewise.
40081 * sunrpc/get_myaddr.c: Likewise.
40082 * sunrpc/key_call.c: Likewise.
40083 * sunrpc/key_prot.c: Likewise.
40084 * sunrpc/netname.c: Likewise.
40085 * sunrpc/pm_getmaps.c: Likewise.
40086 * sunrpc/pm_getport.c: Likewise.
40087 * sunrpc/pmap_clnt.c: Likewise.
40088 * sunrpc/pmap_prot.c: Likewise.
40089 * sunrpc/pmap_prot2.c: Likewise.
40090 * sunrpc/pmap_rmt.c: Likewise.
40091 * sunrpc/publickey.c: Likewise.
40092 * sunrpc/rpc_cmsg.c: Likewise.
40093 * sunrpc/rpc_common.c: Likewise.
40094 * sunrpc/rpc_dtable.c: Likewise.
40095 * sunrpc/rpc_prot.c: Likewise.
40096 * sunrpc/rpc_thread.c: Likewise.
40097 * sunrpc/rtime.c: Likewise.
40098 * sunrpc/svc.c: Likewise.
40099 * sunrpc/svc_auth.c: Likewise.
40100 * sunrpc/svc_authux.c: Likewise.
40101 * sunrpc/svc_raw.c: Likewise.
40102 * sunrpc/svc_run.c: Likewise.
40103 * sunrpc/svc_simple.c: Likewise.
40104 * sunrpc/svc_tcp.c: Likewise.
40105 * sunrpc/svc_udp.c: Likewise.
40106 * sunrpc/svc_unix.c: Likewise.
40107 * sunrpc/svcauth_des.c: Likewise.
40108 * sunrpc/xcrypt.c: Likewise.
40109 * sunrpc/xdr.c: Likewise.
40110 * sunrpc/xdr_array.c: Likewise.
40111 * sunrpc/xdr_float.c: Likewise.
40112 * sunrpc/xdr_intXX_t.c: Likewise.
40113 * sunrpc/xdr_mem.c: Likewise.
40114 * sunrpc/xdr_rec.c: Likewise.
40115 * sunrpc/xdr_ref.c: Likewise.
40116 * sunrpc/xdr_sizeof.c: Likewise.
40117 * sunrpc/xdr_stdio.c: Likewise.
40118
40119 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40120
40121 [BZ #12650]
40122 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40123 * sysdeps/ia64/dl-tls.h: Likewise.
40124 * sysdeps/powerpc/dl-tls.h: Likewise.
40125 * sysdeps/s390/dl-tls.h: Likewise.
40126 * sysdeps/sh/dl-tls.h: Likewise.
40127 * sysdeps/sparc/dl-tls.h: Likewise.
40128 * sysdeps/x86_64/dl-tls.h: Likewise.
40129 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40130
40131 2011-03-14 Andreas Schwab <schwab@redhat.com>
40132
40133 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40134 rpath element also skip the following colon.
40135 (expand_dynamic_string_token): Add is_path parameter and pass
40136 down to DL_DST_REQUIRED and _dl_dst_substitute.
40137 (decompose_rpath): Call expand_dynamic_string_token with
40138 non-zero is_path. Ignore empty rpaths.
40139 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40140 with zero is_path.
40141
40142 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40143
40144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40145 Make cancelable.
40146
40147 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40148
40149 [BZ #12655]
40150 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40151 Patch by Filipe David Manana <fdmanana@apache.org>.
40152
40153 2011-04-07 Andreas Schwab <schwab@redhat.com>
40154
40155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40156 Maintain aligned stack.
40157 (CHECK_RSP): Remove unused macro.
40158
40159 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40160
40161 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40163
40164 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40165
40166 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40167
40168 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40169
40170 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40171
40172 [BZ #12518]
40173 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40174 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40175 * sysdeps/x86_64/memmove.c: New file.
40176 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40177 (memcpy): Renamed to ...
40178 (__new_memcpy): This.
40179 (memcpy): Provide GLIBC_2_14 memcpy.
40180 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40181 (memcpy): Provide GLIBC_2_2_5 memcpy.
40182
40183 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40184
40185 [BZ #12631]
40186 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40187
40188 2011-03-30 Andreas Schwab <schwab@redhat.com>
40189
40190 * misc/syncfs.c: New file.
40191 * misc/Makefile (routines): Add syncfs.
40192 * posix/unistd.h: Declare syncfs.
40193 * sysdeps/unix/syscalls.list: Add syncfs.
40194
40195 2011-04-01 Andreas Schwab <schwab@redhat.com>
40196
40197 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40198 open_by_handle_at.
40199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40204 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40206
40207 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40208
40209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40211 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40216
40217 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40218 sync_file_range.c with -fexceptions.
40219 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40220 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40221 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40222 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40223 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40224 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40226 sync_file_range as cancellation point
40227 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40228 now a wrapper around __call_sync_file_range with cancellation handling.
40229 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40231 function name to __call_sync_file_range.
40232 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40233 Add call_sync_file_range.
40234
40235 2011-04-01 Andreas Schwab <schwab@redhat.com>
40236
40237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40238 bits/timex.h.
40239
40240 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40241
40242 * iconv/iconv.h: Fix typo in comment.
40243 * io/fcntl.h: Likewise.
40244 * libio/stdio.h: Likewise.
40245 * posix/spawn.h: Likewise.
40246 * posix/unistd.h: Likewise.
40247 * stdlib/stdlib.h: Likewise.
40248 * time/time.h: Likewise.
40249 * wcsmbs/wchar.h: Likewise.
40250
40251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40252 open_by_handle): Add.
40253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40254 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40255 Augment a few comments.
40256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40261 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40262 open_by_handle.
40263
40264 * io/fcntl.h (AT_EMPTY_PATH): Define.
40265
40266 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40267
40268 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40269 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40270 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40271 to...
40272 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40273 * Versions.def: Add GLIBC_2.14.
40274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40275 Export.
40276
40277 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40278
40279 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40280 round counter.
40281 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40282
40283 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40284
40285 [BZ #12597]
40286 * string/test-strncmp.c (do_page_test): New function.
40287 (check2): Likewise.
40288 (test_main): Call check2.
40289 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40290
40291 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40292
40293 [BZ #12587]
40294 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40295 Handle cache information in CPU leaf 4.
40296 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40297
40298 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40299
40300 [BZ #12583]
40301 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40302 character representation.
40303 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40304
40305 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40306
40307 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40308 END(__isnan) to END(__isnanf) to match function entry point/label
40309 EALIGN(__isnanf,...).
40310
40311 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40312
40313 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40314
40315 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40316
40317 [BZ #12510]
40318 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40319 copy from the symbol referenced in the relocation to initialize the
40320 used variable.
40321 Patch by Piotr Bury <pbury@goahead.com>.
40322 * elf/Makefile: Add rules to build and tst-unique3.
40323 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40324 * elf/tst-unique3.cc: New file.
40325 * elf/tst-unique3.h: New file.
40326 * elf/tst-unique3lib.cc: New file.
40327 * elf/tst-unique3lib2.cc: New file.
40328
40329 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40330
40331 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40332
40333 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40334 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40335 to _start.
40336
40337 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40338
40339 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40340 to-be-loaded object along a path to loader is ld.so.
40341
40342 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40343 Ulrich Drepper <drepper@gmail.com>
40344
40345 * sysdeps/x86_64/memset.S: After aligning destination, code
40346 branches to different locations depending on the value of
40347 misalignment, when multiarch is enabled. Fix this.
40348
40349 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40350
40351 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40352 Set _x86_64_preferred_memory_instruction for AMD processsors.
40353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40354 Set bit_Prefer_SSE_for_memop for AMD processors.
40355
40356 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40357
40358 * libio/fmemopen.c (fmemopen): Optimize a bit.
40359
40360 2011-03-03 Andreas Schwab <schwab@redhat.com>
40361
40362 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40363
40364 2011-03-03 Roland McGrath <roland@redhat.com>
40365
40366 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40367
40368 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40369
40370 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40371 __bzero_ultra1 instead of __memset_ultra1.
40372
40373 2011-02-23 Andreas Schwab <schwab@redhat.com>
40374 Ulrich Drepper <drepper@gmail.com>
40375
40376 [BZ #12509]
40377 * include/link.h (struct link_map): Add l_orig_initfini.
40378 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40379 returning unsuccessfully.
40380 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40381 close of a file loaded at startup, restore the original l_initfini
40382 list.
40383 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40384 list, store the pointer.
40385 * elf/Makefile ($(objpfx)noload-mem): New rule.
40386 (noload-ENV): Define.
40387 (tests): Add $(objpfx)noload-mem.
40388 * elf/noload.c: Include <memcheck.h>.
40389 (main): Call mtrace. Close all opened handles.
40390
40391 2011-02-17 Andreas Schwab <schwab@redhat.com>
40392
40393 [BZ #12454]
40394 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40395 dependencies are missing.
40396
40397 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40398
40399 Fix __if_freereq crash: Unlike the generic version which uses free,
40400 Hurd needs munmap.
40401 * sysdeps/mach/hurd/ifreq.h: New file.
40402
40403 2011-01-27 Petr Baudis <pasky@suse.cz>
40404 Ulrich Drepper <drepper@gmail.com>
40405
40406 [BZ 12445]#
40407 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40408 to extend_alloca().
40409 * stdio-common/bug23.c: New file.
40410 * stdio-common/Makefile (tests): Add bug23.
40411
40412 2010-09-28 Andreas Schwab <schwab@redhat.com>
40413 Ulrich Drepper <drepper@gmail.com>
40414
40415 [BZ #12489]
40416 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40417 before performing relro protection. At old place add assertion
40418 to make sure nothing changed.
40419
40420 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40421 Glauber de Oliveira Costa <glommer@gmail.com>
40422
40423 * elf/elf.h: Add new ARM TLS relocs.
40424
40425 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40426
40427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40428 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40429 cast from r3.
40430 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40431 'tests' variable.
40432 * sysdeps/wordsize-64/tst-writev.c: New file.
40433
40434 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40435
40436 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40437 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40438 insns in _dl_start to prevent a TOC reference before relocs are
40439 resolved.
40440
40441 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40442
40443 [BZ #12469]
40444 * Makeconfig: Remove RANLIB definition.
40445 * Makerules: Don't use RANLIB.
40446 * aclocal.m4: Remove ranlib test.
40447 * configure.in: No need to check for ranlib.
40448 * elf/rtld-Rules: Don't use RANLIB.
40449
40450 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40451
40452 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40453 protection macro.
40454 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40455 inclusion protection macro.
40456
40457 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40458 SIGRTMIN and SIGRTMAX and print information in that case only when
40459 SIGRTMIN is defined.
40460
40461 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40462
40463 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40464 arginfo fn returning -1.
40465
40466 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40467 and thousands string is zero terminated.
40468
40469 2011-02-03 Andreas Schwab <schwab@redhat.com>
40470
40471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40472 sysdeps/unix/sysv/linux/bits/socket.h.
40473
40474 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40475
40476 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40477 (__CPU_COUNT): Remove old macros.
40478 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40479 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40480 (__CPU_ALLOC, __CPU_FREE): Add macros.
40481 (__sched_cpualloc, __sched_cpufree): Add declarations.
40482
40483 2011-02-05 Ulrich Drepper <drepper@gmail.com>
40484
40485 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40486 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40487 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40488 (readdhstai): Return value of addhstaiX call.
40489 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40490 (addgrbyX): Return value returned by cache_addgr.
40491 (readdgrbyname): Return value returned by addgrbyX.
40492 (readdgrbygid): Likewise.
40493 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40494 (addpwbyX): Return value returned by cache_addpw.
40495 (readdpwbyname): Return value returned by addhstbyX.
40496 (readdpwbyuid): Likewise.
40497 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40498 (addservbyX): Return value returned by cache_addserv.
40499 (readdservbyname): Return value returned by addservbyX:
40500 (readdservbyport): Likewise.
40501 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40502 (addhstbyX): Return value returned by cache_addhst.
40503 (readdhstbyname): Return value returned by addhstbyX.
40504 (readdhstbyaddr): Likewise.
40505 (readdhstbynamev6): Likewise.
40506 (readdhstbyaddrv6): Likewise.
40507 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40508 (readdinitgroups): Return value returned by addinitgroupsX.
40509 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40510 (prune_cache): Keep track of timeout value of re-added entries.
40511 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40512 * nscd/nscd.h: Adjust prototypes of readd* functions.
40513
40514 2011-02-04 Roland McGrath <roland@redhat.com>
40515
40516 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40517 (nis_stats): Likewise.
40518 * nis/nis_modify.c (nis_modify): Likewise.
40519 * nis/nis_remove.c (nis_remove): Likewise.
40520 * nis/nis_add.c (nis_add): Likewise.
40521
40522 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40523
40524 * posix/fnmatch_loop.c: Add some consts.
40525
40526 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40527
40528 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40529
40530 [BZ #12460]
40531 * config.make.in (config-cflags-novzeroupper): Define.
40532 * configure.in: Substitute libc_cv_cc_novzeroupper.
40533 * elf/Makefile (AVX-CFLAGS): Define.
40534 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40535 (CFLAGS-tst-auditmod4a.c): Likewise.
40536 (CFLAGS-tst-auditmod4b.c): Likewise.
40537 (CFLAGS-tst-auditmod6b.c): Likewise.
40538 (CFLAGS-tst-auditmod6c.c): Likewise.
40539 (CFLAGS-tst-auditmod7b.c): Likewise.
40540 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40541
40542 2011-02-02 Ulrich Drepper <drepper@gmail.com>
40543
40544 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40545 function to the callback.
40546 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40547
40548 2011-02-02 Andreas Schwab <schwab@redhat.com>
40549
40550 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40551 of errno.
40552
40553 2011-01-19 Ulrich Drepper <drepper@gmail.com>
40554
40555 [BZ #11724]
40556 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40557 of constructors.
40558 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40559 of destructors.
40560 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40561
40562 [BZ #11724]
40563 * elf/Makefile: Add rules to build and run new test.
40564 * elf/tst-initorder.c: New file.
40565 * elf/tst-initorder.exp: New file.
40566 * elf/tst-initordera1.c: New file.
40567 * elf/tst-initordera2.c: New file.
40568 * elf/tst-initordera3.c: New file.
40569 * elf/tst-initordera4.c: New file.
40570 * elf/tst-initorderb1.c: New file.
40571 * elf/tst-initorderb2.c: New file.
40572 * elf/tst-order-a1.c: New file.
40573 * elf/tst-order-a2.c: New file.
40574 * elf/tst-order-a3.c: New file.
40575 * elf/tst-order-a4.c: New file.
40576 * elf/tst-order-b1.c: New file.
40577 * elf/tst-order-b2.c: New file.
40578 * elf/tst-order-main.c: New file.
40579 New test case by George Gensure <werkt0@gmail.com>.
40580
40581 2010-10-01 Andreas Schwab <schwab@redhat.com>
40582
40583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40584 decoding ACE if AI_CANONIDN.
40585
40586 2011-01-18 Ulrich Drepper <drepper@gmail.com>
40587
40588 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40589
40590 2011-01-17 Ulrich Drepper <drepper@gmail.com>
40591
40592 * version.h (RELEASE): Bump for 2.13 release.
40593 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40594
40595 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40596
40597 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40598 MADV_NOHUGEPAGE.
40599 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40601 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40602 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40604 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40605
40606 * posix/getconf.c: Update copyright year.
40607 * catgets/gencat.c: Likewise.
40608 * csu/version.c: Likewise.
40609 * debug/catchsegv.sh: Likewise.
40610 * debug/xtrace.sh: Likewise.
40611 * elf/ldconfig.c: Likewise.
40612 * elf/ldd.bash.in: Likewise.
40613 * elf/sprof.c (print_version): Likewise.
40614 * iconv/iconv_prog.c: Likewise.
40615 * iconv/iconvconfig.c: Likewise.
40616 * locale/programs/locale.c: Likewise.
40617 * locale/programs/localedef.c: Likewise.
40618 * malloc/memusage.sh: Likewise.
40619 * malloc/mtrace.pl: Likewise.
40620 * nscd/nscd.c (print_version): Likewise.
40621 * nss/getent.c: Likewise.
40622
40623 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40624 PF_CAIF, and PF_ALG.
40625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40626
40627 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40628
40629 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40630 (modules-names): Use them.
40631 (ifunc-test-modules, ifunc-pie-tests): Define.
40632 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40633 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40634 (test-extras): Likewise.
40635 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40636 $(compile-command.c).
40637 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40638 (all-built-dso): Define.
40639 (check-textrel.out, check-execstack.out): Depend on it.
40640
40641 * configure.in: Don't override --enable-multi-arch.
40642
40643 2011-01-15 Ulrich Drepper <drepper@gmail.com>
40644
40645 [BZ #6812]
40646 * nscd/hstcache.c (tryagain): Define.
40647 (cache_addhst): Return tryagain not notfound for temporary errors.
40648 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40649 failed.
40650
40651 2011-01-14 Ulrich Drepper <drepper@gmail.com>
40652
40653 [BZ #10563]
40654 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40655 to make the syscall.
40656 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40657
40658 [BZ #12378]
40659 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40660 and fall back to matching as normal character if the string ends before
40661 the matching ']' is found. This is what POSIX requires.
40662 * posix/testfnm.c: Adjust test result.
40663 * posix/globtest.sh: Adjust test result. Add new test.
40664 * posix/tst-fnmatch.input: Likewise.
40665 * posix/tst-fnmatch2.c: Add new test.
40666
40667 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40668
40669 * elf/Makefile (check-execstack): Revert last change. Depend on
40670 check-execstack.h.
40671 (check-execstack.h): New target.
40672 (generated): Add check-execstack.h.
40673 * elf/check-execstack.c: Include "check-execstack.h".
40674 (main): Revert last change.
40675 (handle_file): Return zero if GNU_STACK is absent and
40676 DEFAULT_STACK_PERMS doesn't include PF_X.
40677
40678 2011-01-13 Ulrich Drepper <drepper@gmail.com>
40679
40680 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40681 in child fails because the descriptor is already closed.
40682 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40683 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40684 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40685
40686 [BZ #12397]
40687 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40688 syscall.
40689
40690 [BZ #10484]
40691 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40692 temporary buffer used to handle multi lookups locally.
40693 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40694
40695 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40696
40697 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40698 loader is ld.so.
40699
40700 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40701
40702 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40703 alignment for SSE2.
40704
40705 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40706
40707 [BZ #12394]
40708 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40709 characters. When rounding increased number of integer digits recompute
40710 number of groups.
40711 * stdio-common/tst-grouping.c: New file.
40712 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40713
40714 2011-01-09 Ulrich Drepper <drepper@gmail.com>
40715
40716 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40717 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40718
40719 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40720 void.
40721 * bits/select.h: Likewise.
40722
40723 2011-01-08 Ulrich Drepper <drepper@gmail.com>
40724
40725 * po/ja.po: Update from translation team.
40726
40727 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
40728
40729 [BZ #11155]
40730 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40731 implementation just like for lxstat, fxstatat, et al.
40732
40733 2010-12-27 Jim Meyering <meyering@redhat.com>
40734
40735 [BZ #12348]
40736 * posix/regexec.c (build_trtable): Return failure indication upon
40737 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40738
40739 2010-12-25 Ulrich Drepper <drepper@gmail.com>
40740
40741 [BZ #12201]
40742 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40743 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40744 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40745 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40746
40747 [BZ #12207]
40748 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40749
40750 [BZ #12204]
40751 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40752 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40753
40754 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40755
40756 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40757 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40758 script has SORT_BY_INIT_PRIORITY.
40759 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40760 NO_CTORS_DTORS_SECTIONS is defined.
40761 * elf/soinit.c: Likewise.
40762 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40763 NO_CTORS_DTORS_SECTIONS is defined.
40764 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40765 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40766 * sysdeps/sh/init-first.c: Likewise.
40767 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40768
40769 2010-12-24 Ulrich Drepper <drepper@gmail.com>
40770
40771 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40772 always use the slow path.
40773
40774 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40775
40776 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40777 similar rule which adds the sysdep directories to the header search in
40778 order to pick up the correct platform stackinfo.h.
40779 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40780 perform test if it is, otherwise return successfully without testing.
40781 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40782 DEFAULT_STACK_PERMS define in stackinfo.h.
40783 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40784 defined in stackinfo.h.
40785 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40786 DEFAULT_STACK_PERMS defined in stackinfo.h.
40787 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40788 * sysdeps/ia64/stackinfo.h: Likewise.
40789 * sysdeps/s390/stackinfo.h: Likewise.
40790 * sysdeps/sh/stackinfo.h: Likewise.
40791 * sysdeps/sparc/stackinfo.h: Likewise.
40792 * sysdeps/x86_64/stackinfo.h: Likewise.
40793 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40794 PF_X for powerpc64. Retain PF_X for powerpc32.
40795
40796 2010-12-19 Ulrich Drepper <drepper@gmail.com>
40797
40798 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40799 accurately.
40800 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40801 GETDENTS_64BIT_ALIGNED.
40802
40803 2010-12-14 Ulrich Drepper <dreper@gmail.com>
40804
40805 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40806
40807 2010-12-10 Andreas Schwab <schwab@redhat.com>
40808
40809 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40810 _GNU_SOURCE.
40811
40812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40813 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40814 Remove __restrict.
40815 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40816 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40817
40818 2010-12-09 Ulrich Drepper <drepper@gmail.com>
40819
40820 [BZ #11655]
40821 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40822 are initialized.
40823
40824 2010-12-09 Jakub Jelinek <jakub@redhat.com>
40825
40826 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40827
40828 2010-12-03 Ulrich Drepper <drepper@gmail.com>
40829
40830 * po/it.po: Update from translation team.
40831
40832 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40833
40834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40835 unused codes.
40836
40837 2010-11-30 Ulrich Drepper <drepper@gmail.com>
40838
40839 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40840
40841 2010-11-24 Andreas Schwab <schwab@redhat.com>
40842
40843 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40844 specially.
40845 (gaih_getanswer_slice): Likewise.
40846
40847 2010-10-20 Jakub Jelinek <jakub@redhat.com>
40848
40849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40850
40851 2010-05-31 Petr Baudis <pasky@suse.cz>
40852
40853 [BZ #11149]
40854 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40855 silently even in the chroot mode.
40856
40857 2010-11-22 Ulrich Drepper <drepper@gmail.com>
40858
40859 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40860 last patch a bit. Pretty printing
40861
40862 2010-05-31 Petr Baudis <pasky@suse.cz>
40863
40864 [BZ #10085]
40865 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40866 initialization of skip_initgroups_dyn.
40867
40868 2010-11-19 Ulrich Drepper <drepper@gmail.com>
40869
40870 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40871 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40872
40873 2010-11-16 Ulrich Drepper <drepper@gmail.com>
40874
40875 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40876
40877 2010-11-11 Andreas Schwab <schwab@redhat.com>
40878
40879 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40880 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40881 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40882 ($(objpfx)tst-fnmatch-mem): New rule.
40883 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40884 * posix/tst-fnmatch.c (main): Call mtrace.
40885
40886 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40887
40888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40889 Support Intel processor model 6 and model 0x2c.
40890
40891 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
40892
40893 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40894 signed comparison.
40895
40896 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40897
40898 [BZ #12205]
40899 * string/test-strncasecmp.c (check_result): New function.
40900 (do_one_test): Use it.
40901 (check1): New function.
40902 (test_main): Use it.
40903 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40904 Support strcasecmp and strncasecmp.
40905
40906 2010-11-08 Ulrich Drepper <drepper@gmail.com>
40907
40908 [BZ #12194]
40909 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40911
40912 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40913
40914 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40915 IFUNC support.
40916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40917 memset-x86-64.
40918 * sysdeps/x86_64/multiarch/bzero.S: New file.
40919 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40920 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40921 * sysdeps/x86_64/multiarch/memset.S: New file.
40922 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40924 Set bit_Prefer_SSE_for_memop for Intel processors.
40925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40926 Define.
40927 (index_Prefer_SSE_for_memop): Define.
40928 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40929
40930 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
40931
40932 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40933 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40934
40935 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40936
40937 [BZ #12191]
40938 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40939 (__x86_64_raw_data_cache_size_half): Likewise.
40940 (__x86_64_raw_shared_cache_size): Likewise.
40941 (__x86_64_raw_shared_cache_size_half): Likewise.
40942
40943 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40944 (__x86_64_raw_data_cache_size_half): Likewise.
40945 (__x86_64_raw_shared_cache_size): Likewise.
40946 (__x86_64_raw_shared_cache_size_half): Likewise.
40947 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40948 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40949 and __x86_64_raw_shared_cache_size_half. Round
40950 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40951 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40952 to multiple of 256 bytes.
40953
40954 2010-11-03 Ulrich Drepper <drepper@gmail.com>
40955
40956 [BZ #12167]
40957 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40958 of inacessible symlinks. Verify result of symlink before returning it.
40959 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40960 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40961
40962 2010-10-28 Erich Ritz <erichritz@gmail.com>
40963
40964 * math/math.h (isinf): Fix typo in comment.
40965
40966 2010-11-01 Ulrich Drepper <drepper@gmail.com>
40967
40968 * po/da.po: Update from translation team.
40969
40970 2010-10-26 Ulrich Drepper <drepper@gmail.com>
40971
40972 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40973 is added to the list.
40974
40975 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40976 Ulrich Drepper <drepper@gmail.com>
40977
40978 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40979 the global list here. Move code to...
40980 (_dl_add_to_namespace_list): ...here. New function.
40981 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40982 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40983 * elf/dl-load.c (lose): Don't remove the element from the list.
40984 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40985 (_dl_map_object): Likewise.
40986
40987 2010-10-25 Ulrich Drepper <drepper@gmail.com>
40988
40989 [BZ #12159]
40990 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40991 into all bytes of SSE register.
40992 Patch by Richard Li <richardpku@gmail.com>.
40993
40994 2010-10-24 Ulrich Drepper <drepper@gmail.com>
40995
40996 [BZ #12140]
40997 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40998 perturbing.
40999
41000 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41001
41002 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41003 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41004 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41005 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41007 submachine.
41008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41009
41010 2010-10-22 Andreas Schwab <schwab@redhat.com>
41011
41012 * include/dlfcn.h (__RTLD_SECURE): Define.
41013 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41014 mode & __RTLD_SECURE instead.
41015 (open_path): Rename preloaded parameter to secure.
41016 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41017 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41018 * elf/dl-deps.c (openaux): Likewise.
41019 * elf/rtld.c (struct map_args): Remove is_preloaded.
41020 (map_doit): Don't use it.
41021 (dl_main): Likewise.
41022 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41023 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41024
41025 2010-09-09 Andreas Schwab <schwab@redhat.com>
41026
41027 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41028 (sysd-rules-targets): Remove duplicates.
41029 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41030 rtld-%.$o dependency.
41031
41032 2010-10-18 Andreas Schwab <schwab@redhat.com>
41033
41034 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41035 _dl_map_object do it.
41036
41037 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41038
41039 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41040 fast fma builtins, define the macros in the C99 standard.
41041 (FP_FAST_FMAF): Likewise.
41042 (FP_FAST_FMAL): Likewise.
41043 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41044
41045 * bits/mathdef.h: Update copyright year.
41046 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41047
41048 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41049
41050 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41051 builtins, define the macros in the C99 standard.
41052 (FP_FAST_FMAF): Likewise.
41053 (FP_FAST_FMAL): Likewise.
41054 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41055 multiply/add.
41056 (FP_FAST_FMAF): Likewise.
41057
41058 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41059
41060 [BZ #3268]
41061 * math/libm-test.inc (fma_test): Some new testcases.
41062 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41063 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41064 y and infinite z. Do multiplication by C already in long double.
41065 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41067 y and infinite z. Do bitwise or of inexact bit into u.d.
41068 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41069 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41070 * sysdeps/i386/fpu/s_fma.S: Removed.
41071 * sysdeps/i386/fpu/s_fmal.S: Removed.
41072
41073 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41074
41075 [BZ #3268]
41076 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41078 computation is not scheduled after fetestexcept. Fix value
41079 of minimum denormal long double.
41080
41081 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41082
41083 [BZ #3268]
41084 * math/libm-test.inc (fma_test): Add some more tests.
41085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41086 correctly.
41087
41088 2010-10-15 Andreas Schwab <schwab@redhat.com>
41089
41090 * scripts/data/localplt-s390-linux-gnu.data: New file.
41091 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41092
41093 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41094
41095 [BZ #3268]
41096 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41097 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41098 instead of dbl-64.
41099 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41100 inlines.
41101 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41103 if one of x and y is very large and the other is subnormal.
41104 * sysdeps/s390/fpu/s_fmaf.c: New file.
41105 * sysdeps/s390/fpu/s_fma.c: New file.
41106 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41107 * sysdeps/powerpc/fpu/s_fma.S: New file.
41108 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41109 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41110 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41111
41112 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41113
41114 [BZ #3268]
41115 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41116 fma tests.
41117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41118 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41119 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41120 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41121 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41122 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41123 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41124
41125 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41126
41127 [BZ #12078]
41128 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41129 * posix/bug-regex31.input: Add test case.
41130
41131 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41132
41133 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41134 * posix/bug-regex31.input: New file.
41135
41136 [BZ #12078]
41137 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41138 (parse_sub_exp): Fix last change, use postorder.
41139
41140 * posix/bug-regex31.c: New file.
41141 * posix/Makefile: Add rules to build and run bug-regex31.
41142
41143 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41144
41145 [BZ #12078]
41146 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41147
41148 [BZ #12108]
41149 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41150 to have entries in sys_siglist.
41151
41152 [BZ #12093]
41153 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41154 be NULL.
41155
41156 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41157
41158 [BZ #3268]
41159 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41160 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41161 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41162 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41163 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41164 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41165 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41166 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41167 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41168 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41169 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41170 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41171 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41172 * math/ftestexcept.c (fetestexcept): Likewise.
41173 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41174 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41175 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41176 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41177 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41178 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41179 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41180
41181 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41182
41183 [BZ #12107]
41184 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41185 newline.
41186
41187 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41188
41189 * string/bug-strstr1.c: New file.
41190 * string/Makefile: Add rules to build and run bug-strstr1.
41191
41192 2010-10-05 Eric Blake <eblake@redhat.com>
41193
41194 [BZ #12092]
41195 * string/str-two-way.h (two_way_long_needle): Always clear memory
41196 when skipping input due to the shift table.
41197
41198 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41199
41200 [BZ #12005]
41201 * malloc/mcheck.c: Handle large requests.
41202
41203 [BZ #12077]
41204 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41205 for strncmp and strncasecmp.
41206 * string/stratcliff.c: Add tests for strcmp and strncmp.
41207 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41208
41209 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41210
41211 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41212 __set_fpscr.
41213
41214 2010-09-30 Andreas Jaeger <aj@suse.de>
41215
41216 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41217 (CGROUP_SUPER_MAGIC): Define.
41218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41219 Handle btrfs and cgroup file systems.
41220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41221 Likewise.
41222
41223 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41224
41225 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41226 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41227
41228 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41229
41230 [BZ #12067]
41231 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41232 trying to locate the ELF header.
41233
41234 2010-09-27 Andreas Schwab <schwab@redhat.com>
41235
41236 [BZ #11611]
41237 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41238 Mask out sign-bit copies when constructing f_fsid.
41239
41240 2010-09-24 Petr Baudis <pasky@suse.cz>
41241
41242 * debug/stack_chk_fail_local.c: Add missing licence exception.
41243 * debug/warning-nop.c: Likewise.
41244
41245 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41246
41247 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41248 implementing getdents64 using getdents syscall, set d_type if
41249 __ASSUME_GETDENTS32_D_TYPE.
41250
41251 2010-09-16 Andreas Schwab <schwab@redhat.com>
41252
41253 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41254 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41255
41256 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41257
41258 [BZ #12037]
41259 * posix/unistd.h: Undo change of feature selection for ftruncate from
41260 2010-01-11.
41261
41262 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41263
41264 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41265 detection.
41266
41267 2010-09-20 Andreas Schwab <schwab@redhat.com>
41268
41269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41270 fanotify_mark.
41271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41272
41273 2010-09-14 Andreas Schwab <schwab@redhat.com>
41274
41275 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41276 variables after CHECK_SP call.
41277 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41278
41279 2010-09-13 Andreas Schwab <schwab@redhat.com>
41280 Ulrich Drepper <drepper@redhat.com>
41281
41282 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41283 re-relocationg ld.so.
41284 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41285 _dl_init_paths call.
41286 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41287 here anymore.
41288
41289 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41290
41291 * resolv/res_init.c (__res_vinit): Count the default server we added.
41292
41293 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41294 Ulrich Drepper <drepper@redhat.com>
41295
41296 [BZ #11968]
41297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41298 (____longjmp_chk): Use %ebx for saving value across system call.
41299 Add unwind info.
41300
41301 2010-09-06 Andreas Schwab <schwab@redhat.com>
41302
41303 * manual/Makefile: Don't mix pattern rules with normal rules.
41304
41305 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41306
41307 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41308 operation.
41309 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41310 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41311 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41312 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41314 Likewise.
41315
41316 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41317
41318 [BZ #11979]
41319 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41320 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41321
41322 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41323
41324 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41325 * sysdeps/x86_64/addmul_1.S: Likewise.
41326 * sysdeps/x86_64/lshift.S: Likewise.
41327 * sysdeps/x86_64/mul_1.S: Likewise.
41328 * sysdeps/x86_64/rshift.S: Likewise.
41329 * sysdeps/x86_64/sub_n.S: Likewise.
41330 * sysdeps/x86_64/submul_1.S: Likewise.
41331
41332 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41333
41334 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41335 Define __sched_param instead of SCHED_* and sched_param when
41336 <bits/sched.h> is included with __need_schedparam defined.
41337 * bits/sched.h [__need_schedparam]
41338 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41339 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41340 (__defined_schedparam): Define to 1.
41341 (__sched_param): New structure, identical to sched_param.
41342 (__need_schedparam): Undefine.
41343
41344 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41345
41346 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41347 (epoll_create1): Declare.
41348
41349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41350
41351 2010-08-31 Andreas Schwab <schwab@redhat.com>
41352
41353 [BZ #7066]
41354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41355 shifting retval into place.
41356
41357 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41358
41359 * nis/rpcsvc/nis.h: Update copyright notice.
41360 * nis/rpcsvc/nis.x: Likewise.
41361 * nis/rpcsvc/nis_callback.h: Likewise.
41362 * nis/rpcsvc/nis_callback.x: Likewise.
41363 * nis/rpcsvc/nis_object.x: Likewise.
41364 * nis/rpcsvc/nis_tags.h: Likewise.
41365 * nis/rpcsvc/yp.h: Likewise.
41366 * nis/rpcsvc/yp.x: Likewise.
41367 * nis/rpcsvc/ypupd.h: Likewise.
41368 * nis/yp_xdr.c: Likewise.
41369 * nis/ypupdate_xdr.c: Likewise.
41370
41371 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41372 mainly the body of pmap_getport. Add parameters to specify timeouts.
41373 (pmap_getport): Use __libc_rpc_getport.
41374 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41375 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41376 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41377
41378 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41379
41380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41381 fanotify_mark.
41382
41383 2010-08-27 Roland McGrath <roland@redhat.com>
41384
41385 * sysdeps/i386/i686/multiarch/Makefile
41386 (CFLAGS-varshift.c): New variable.
41387
41388 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41389
41390 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41391 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41392
41393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41394
41395 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41396
41397 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41398
41399 * sysdeps/x86_64/strlen.S: Unroll the loop.
41400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41401 strlen-sse2 strlen-sse2-bsf.
41402 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41403 __strlen_no_bsf if bit_Slow_BSF is set.
41404 (__strlen_sse42): Removed.
41405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41406 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41407
41408 2010-08-25 Roland McGrath <roland@redhat.com>
41409
41410 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41411 * sysdeps/x86_64/multiarch/varshift.c: New file.
41412 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41413 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41414 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41415 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41416
41417 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41418
41419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41420 strlen-sse2 strlen-sse2-bsf.
41421 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41422 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41423 (__strlen_sse2): Removed.
41424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41427 bit_Slow_BSF for Atom.
41428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41429 (index_Slow_BSF): Define.
41430 (HAS_SLOW_BSF): Define.
41431
41432 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41433
41434 [BZ #10851]
41435 * resolv/res_init.c (__res_vinit): When no server address at all
41436 is given default to loopback.
41437
41438 2010-08-24 Roland McGrath <roland@redhat.com>
41439
41440 * configure.in: Remove config-name.h generation.
41441 * configure: Regenerated.
41442 * config-name.in: File removed.
41443 * scripts/config-uname.sh: New file.
41444 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41445 ($(objdir)config-name.h): New target.
41446
41447 * sunrpc/rpc_parse.h: Avoid nested comment.
41448
41449 2010-08-24 Richard Henderson <rth@redhat.com>
41450 Ulrich Drepper <drepper@redhat.com>
41451 H.J. Lu <hongjiu.lu@intel.com>
41452
41453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41455 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41456 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41457 _mm_alignr_epi8 with _mm_loadu_si128.
41458 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41459 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41460 (__m128i_shift_right): Removed.
41461 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41462 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41463 * sysdeps/x86_64/multiarch/varshift.h: New file.
41464 * sysdeps/x86_64/multiarch/varshift.S: New file.
41465
41466 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41467
41468 * configure.in: Move assembler checks to before sysdep dir checking.
41469
41470 2010-08-20 Petr Baudis <pasky@suse.cz>
41471
41472 * LICENSES: Sync the sunrpc license.
41473
41474 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41475
41476 * sunrpc/auth_des.c: Update copyright notice once again.
41477 * sunrpc/auth_none.c: Likewise.
41478 * sunrpc/auth_unix.c: Likewise.
41479 * sunrpc/authdes_prot.c: Likewise.
41480 * sunrpc/authuxprot.c: Likewise.
41481 * sunrpc/bindrsvprt.c: Likewise.
41482 * sunrpc/clnt_gen.c: Likewise.
41483 * sunrpc/clnt_perr.c: Likewise.
41484 * sunrpc/clnt_raw.c: Likewise.
41485 * sunrpc/clnt_simp.c: Likewise.
41486 * sunrpc/clnt_tcp.c: Likewise.
41487 * sunrpc/clnt_udp.c: Likewise.
41488 * sunrpc/clnt_unix.c: Likewise.
41489 * sunrpc/des_crypt.c: Likewise.
41490 * sunrpc/des_soft.c: Likewise.
41491 * sunrpc/get_myaddr.c: Likewise.
41492 * sunrpc/getrpcport.c: Likewise.
41493 * sunrpc/key_call.c: Likewise.
41494 * sunrpc/key_prot.c: Likewise.
41495 * sunrpc/openchild.c: Likewise.
41496 * sunrpc/pm_getmaps.c: Likewise.
41497 * sunrpc/pm_getport.c: Likewise.
41498 * sunrpc/pmap_clnt.c: Likewise.
41499 * sunrpc/pmap_prot.c: Likewise.
41500 * sunrpc/pmap_prot2.c: Likewise.
41501 * sunrpc/pmap_rmt.c: Likewise.
41502 * sunrpc/rpc/auth.h: Likewise.
41503 * sunrpc/rpc/auth_unix.h: Likewise.
41504 * sunrpc/rpc/clnt.h: Likewise.
41505 * sunrpc/rpc/des_crypt.h: Likewise.
41506 * sunrpc/rpc/key_prot.h: Likewise.
41507 * sunrpc/rpc/netdb.h: Likewise.
41508 * sunrpc/rpc/pmap_clnt.h: Likewise.
41509 * sunrpc/rpc/pmap_prot.h: Likewise.
41510 * sunrpc/rpc/pmap_rmt.h: Likewise.
41511 * sunrpc/rpc/rpc.h: Likewise.
41512 * sunrpc/rpc/rpc_des.h: Likewise.
41513 * sunrpc/rpc/rpc_msg.h: Likewise.
41514 * sunrpc/rpc/svc.h: Likewise.
41515 * sunrpc/rpc/svc_auth.h: Likewise.
41516 * sunrpc/rpc/types.h: Likewise.
41517 * sunrpc/rpc/xdr.h: Likewise.
41518 * sunrpc/rpc_clntout.c: Likewise.
41519 * sunrpc/rpc_cmsg.c: Likewise.
41520 * sunrpc/rpc_common.c: Likewise.
41521 * sunrpc/rpc_cout.c: Likewise.
41522 * sunrpc/rpc_dtable.c: Likewise.
41523 * sunrpc/rpc_hout.c: Likewise.
41524 * sunrpc/rpc_main.c: Likewise.
41525 * sunrpc/rpc_parse.c: Likewise.
41526 * sunrpc/rpc_parse.h: Likewise.
41527 * sunrpc/rpc_prot.c: Likewise.
41528 * sunrpc/rpc_sample.c: Likewise.
41529 * sunrpc/rpc_scan.c: Likewise.
41530 * sunrpc/rpc_scan.h: Likewise.
41531 * sunrpc/rpc_svcout.c: Likewise.
41532 * sunrpc/rpc_tblout.c: Likewise.
41533 * sunrpc/rpc_util.c: Likewise.
41534 * sunrpc/rpc_util.h: Likewise.
41535 * sunrpc/rpcinfo.c: Likewise.
41536 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41537 * sunrpc/rpcsvc/key_prot.x: Likewise.
41538 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41539 * sunrpc/rpcsvc/mount.x: Likewise.
41540 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41541 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41542 * sunrpc/rpcsvc/rex.x: Likewise.
41543 * sunrpc/rpcsvc/rstat.x: Likewise.
41544 * sunrpc/rpcsvc/rusers.x: Likewise.
41545 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41546 * sunrpc/rpcsvc/spray.x: Likewise.
41547 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41548 * sunrpc/rtime.c: Likewise.
41549 * sunrpc/svc.c: Likewise.
41550 * sunrpc/svc_auth.c: Likewise.
41551 * sunrpc/svc_authux.c: Likewise.
41552 * sunrpc/svc_raw.c: Likewise.
41553 * sunrpc/svc_run.c: Likewise.
41554 * sunrpc/svc_simple.c: Likewise.
41555 * sunrpc/svc_tcp.c: Likewise.
41556 * sunrpc/svc_udp.c: Likewise.
41557 * sunrpc/svc_unix.c: Likewise.
41558 * sunrpc/svcauth_des.c: Likewise.
41559 * sunrpc/xcrypt.c: Likewise.
41560 * sunrpc/xdr.c: Likewise.
41561 * sunrpc/xdr_array.c: Likewise.
41562 * sunrpc/xdr_float.c: Likewise.
41563 * sunrpc/xdr_mem.c: Likewise.
41564 * sunrpc/xdr_rec.c: Likewise.
41565 * sunrpc/xdr_ref.c: Likewise.
41566 * sunrpc/xdr_sizeof.c: Likewise.
41567 * sunrpc/xdr_stdio.c: Likewise.
41568
41569 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41570 handling.
41571
41572 2010-08-19 Andreas Schwab <schwab@redhat.com>
41573
41574 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41575
41576 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
41577
41578 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41580 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41581 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41582 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41583 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41584 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41585 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41586 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41587 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41588 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41589 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41590 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41591 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41592
41593 2010-07-26 Anton Blanchard <anton@samba.org>
41594
41595 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41596 * malloc/arena.c (heap_trim): Likewise.
41597
41598 2010-08-16 Ulrich Drepper <drepper@redhat.com>
41599
41600 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41601 here. Not...
41602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41603 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41604
41605 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41606
41607 * sysdeps/i386/elf/Makefile: New file.
41608
41609 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41610
41611 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41612 from fanotify_init.
41613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41615
41616 2010-08-15 Ulrich Drepper <drepper@redhat.com>
41617
41618 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41619 of strncasecmp_l.
41620 * sysdeps/multiarch/strcmp.S: Likewise.
41621
41622 2010-08-14 Ulrich Drepper <drepper@redhat.com>
41623
41624 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41625 strncase_l-nonascii.
41626 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41627 Add strncase_l-ssse3.
41628 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41629 * sysdeps/x86_64/strcmp.S: Likewise.
41630 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41631 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41632 * sysdeps/x86_64/strncase.S: New file.
41633 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41634 * sysdeps/x86_64/strncase_l.S: New file.
41635 * string/Makefile (strop-tests): Add strncasecmp.
41636 * string/test-strncasecmp.c: New file.
41637
41638 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41639 warning.
41640
41641 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41642 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41643
41644 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41645
41646 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41647
41648 2010-08-12 Ulrich Drepper <drepper@redhat.com>
41649
41650 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41651 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41652 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41653
41654 2010-05-01 Alan Modra <amodra@gmail.com>
41655
41656 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41657 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41658 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41659 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41660 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41661 tidying. Don't tail-call __sigjmp_save for static lib.
41662 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41663 save location.
41664 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41665 (CALL_MCOUNT): Add eh info, and nop after bl.
41666 (TAIL_CALL_SYSCALL_ERROR): New macro.
41667 (PSEUDO_RET): Use it.
41668 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41669 Correct save location of integer regs and cr.
41670 (_dl_profile_resolve): Correct cr save location. Delete nops
41671 after bl when SHARED. Reduce cfi size a little by better
41672 placement of cfi directives.
41673 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41674 make a stack frame. Instead use parm save area as a temp.
41675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41676 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41678 Don't make a stack frame for parent, use parm save area.
41679 Increase child stack frame to 112 bytes. Don't save unused reg,
41680 and adjust reg usage. Set up cfi on error recovery and
41681 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41683 (__makecontext): Add dummy nop after jump to exit.
41684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41685 Use correct parm save area and cr save, reduce stack frame.
41686 Correct cfi for possible PSEUDO_RET frame setup.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41688 Branch to local label emitted by PSEUDO_RET rather than
41689 __syscall_error.
41690
41691 2010-08-12 Andreas Schwab <schwab@redhat.com>
41692
41693 [BZ #11904]
41694 * locale/programs/locale.c (print_assignment): New function.
41695 (show_locale_vars): Use it.
41696
41697 2010-08-11 Ulrich Drepper <drepper@redhat.com>
41698
41699 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41700 field.
41701 (struct statfs64): Likewise.
41702 (_STATFS_F_FLAGS): Define.
41703 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41705 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41706 (ST_VALID): Define locally.
41707 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41708 __statvfs_getflags, use the provided value.
41709 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41710 __ASSUME_STATFS_F_FLAGS.
41711
41712 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41713
41714 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41715 Add sys/fanotify.h.
41716 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41717 fanotify_mask for GLIBC_2.13.
41718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41719 fanotify_init and fanotify_mark.
41720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41721 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41722
41723 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41724 Add prlimit.
41725 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41726 prlimit64 for GLIBC_2.13.
41727 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41728 prlimit64.
41729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41730 syscall.
41731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41732 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41733 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41736 add prlimit alias.
41737 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41738
41739 [BZ #11903]
41740 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41741 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41742
41743 * nss/Makefile: Add rules to build and run tst-nss-test1.
41744 * shlib-versions: Add entry for libnss_test1.
41745 * nss/nss_test1.c: New file.
41746 * nss/tst-nss-test1.c: New file.
41747
41748 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41749 (__nss_configure_lookup): Set appropriate entry in
41750 __nss_configure_lookup to true.
41751 * nss/nsswitch.h: Define enum with indeces of databases in
41752 databases and __nss_database_custom arrays. Declare
41753 __nss_database_custom.
41754 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41755 to avoid using nscd when custom rules are installed.
41756 * nss/getXXbyYY_r.c: Likewise.
41757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41758
41759 * nss/nss_files/files-parse.c: Whitespace fixes.
41760
41761 2010-08-09 Ulrich Drepper <drepper@redhat.com>
41762
41763 [BZ #11883]
41764 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41765 * posix/fnmatch_loop.c: Likewise.
41766
41767 2010-07-17 Andi Kleen <ak@linux.intel.com>
41768
41769 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41770 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41771 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41772 * Versions.def [GLIBC_2.13]: Add.
41773
41774 2010-08-06 Ulrich Drepper <drepper@redhat.com>
41775
41776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41777 Also fail if tpwd after pwuid call is NULL.
41778
41779 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41780
41781 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41782 when converting to ms.
41783
41784 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41785
41786 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41787 EOPNOTSUPP errors with ENOTTY.
41788 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41789 EOPNOTSUPP errors with ENOTTY.
41790
41791 2010-07-31 Ulrich Drepper <drepper@redhat.com>
41792
41793 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41794 Add strcasecmp_l-ssse3.
41795 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41796 strcasecmp.
41797 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41798 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41799 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41800
41801 2010-07-30 Ulrich Drepper <drepper@redhat.com>
41802
41803 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41804
41805 * string/Makefile (strop-tests): Add strcasecmp.
41806 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41807 strcasecmp_l-nonascii.
41808 (gen-as-const-headers): Add locale-defines.sym.
41809 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41810 * sysdeps/x86_64/strcasecmp.S: New file.
41811 * sysdeps/x86_64/strcasecmp_l.S: New file.
41812 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41813 * sysdeps/x86_64/locale-defines.sym: New file.
41814 * string/test-strcasecmp.c: New file.
41815
41816 * string/test-strcasestr.c: Test both ends of the range of characters.
41817 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41818
41819 2010-07-29 Roland McGrath <roland@redhat.com>
41820
41821 [BZ #11856]
41822 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41823
41824 2010-07-27 Ulrich Drepper <drepper@redhat.com>
41825
41826 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41827 for ld.so.
41828
41829 2010-07-27 Andreas Schwab <schwab@redhat.com>
41830
41831 * manual/memory.texi (Malloc Tunable Parameters): Document
41832 M_PERTURB.
41833
41834 2010-07-26 Roland McGrath <roland@redhat.com>
41835
41836 [BZ #11840]
41837 * configure.in (-fgnu89-inline check): Set and substitute
41838 gnu89_inline, not libc_cv_gnu89_inline.
41839 * configure: Regenerated.
41840 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41841
41842 2010-07-26 Ulrich Drepper <drepper@redhat.com>
41843
41844 * string/test-strnlen.c: New file.
41845 * string/Makefile (strop-tests): Add strnlen.
41846 * string/tester.c (test_strnlen): Add a few more test cases.
41847 * string/tst-strlen.c: Better error reporting.
41848
41849 * sysdeps/x86_64/strnlen.S: New file.
41850
41851 2010-07-24 Ulrich Drepper <drepper@redhat.com>
41852
41853 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41854 lower-latency instructions.
41855
41856 2010-07-23 Ulrich Drepper <drepper@redhat.com>
41857
41858 * string/test-strcasestr.c: New file.
41859 * string/test-strstr.c: New file.
41860 * string/Makefile (strop-tests): Add strstr and strcasestr.
41861 * string/str-two-way.h: Don't undefine MAX.
41862 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41863
41864 2010-07-21 Andreas Schwab <schwab@redhat.com>
41865
41866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41867 strcasestr-nonascii.
41868 (CFLAGS-strcasestr-nonascii.c): Define.
41869 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41870 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41871 Remove unused attribute.
41872
41873 2010-07-20 Roland McGrath <roland@redhat.com>
41874
41875 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41876 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41877 ld.so.cache was broken. With it, there is no way to disable dsocaps
41878 like LD_HWCAP_MASK can disable hwcaps.
41879
41880 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41881
41882 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41883
41884 2010-07-16 Ulrich Drepper <drepper@redhat.com>
41885
41886 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41887 call in strcasestr.
41888 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41889 __strcasestr_sse42_nonascii.
41890 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41891 strcasestr-nonascii.c.
41892 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41893
41894 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
41895
41896 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41900
41901 2010-07-09 Ulrich Drepper <drepper@redhat.com>
41902
41903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41904 fcntl.
41905
41906 2010-07-06 Andreas Schwab <schwab@redhat.com>
41907
41908 [BZ #11577]
41909 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41910 dl_signal_cerror.
41911
41912 2010-07-06 Ulrich Drepper <drepper@redhat.com>
41913
41914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41915 _PC_PIPE_BUF using F_GETPIPE_SZ.
41916
41917 2010-07-05 Roland McGrath <roland@redhat.com>
41918
41919 * manual/arith.texi (Rounding Functions): Fix rint description
41920 implicit in round description.
41921
41922 2010-07-02 Ulrich Drepper <drepper@redhat.com>
41923
41924 * elf/Makefile: Fix linking for a few tests to make recent linker
41925 happy.
41926
41927 2010-06-30 Andreas Schwab <schwab@redhat.com>
41928
41929 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41930 $(common-objpfx)libc_nonshared.a.
41931
41932 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
41933
41934 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41935 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41936 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41937 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41938 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41939 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41940 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41941 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41956 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41957 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41958 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41959 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41960 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41961 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41962 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41963 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41964 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41965 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41966 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41967 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41982
41983 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41984
41985 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41986 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41987 * string/memmove.c (memmove): Renamed to ...
41988 (MEMMOVE): ...this. Default to memmove.
41989 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41990 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41991 (END_CHK): Define.
41992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41993 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41994 mempcpy-ssse3-back memmove-ssse3-back.
41995 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41998 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41999 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42000 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42001 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42002 * sysdeps/x86_64/multiarch/memmove.c: New file.
42003 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42004 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42005 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42006 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42007 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42009 Define.
42010 (index_Fast_Copy_Backward): Define.
42011 (HAS_ARCH_FEATURE): Define.
42012 (HAS_FAST_REP_STRING): Define.
42013 (HAS_FAST_COPY_BACKWARD): Define.
42014
42015 2010-06-21 Andreas Schwab <schwab@redhat.com>
42016
42017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42018 Restore proper fallback handling.
42019
42020 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42021
42022 [BZ #11701]
42023 * posix/group_member.c (__group_member): Correct checking loop.
42024
42025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42026 OOM in getpwuid_r correctly. Return error number when the caller
42027 should return, otherwise -1.
42028 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42029 call returning > 0 value.
42030 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42031
42032 2010-06-07 Andreas Schwab <schwab@redhat.com>
42033
42034 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42035 libc_nonshared.a from targets in modules-names.
42036
42037 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42038
42039 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42040 requires it.
42041
42042 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42043
42044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42045 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42048
42049 2010-06-02 Andreas Schwab <schwab@redhat.com>
42050
42051 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42052
42053 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42054
42055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42056 and F_GETPIPE_SZ.
42057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42063
42064 2010-06-14 Roland McGrath <roland@redhat.com>
42065
42066 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42067
42068 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42069
42070 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42071 __REDIRECT followed by __THROW.
42072 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42073 * posix/getopt.h (getopt): Likewise.
42074
42075 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42076
42077 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42078 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42079 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42080 in AT_FLAGS.
42081 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42082 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42083
42084 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42085
42086 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42087
42088 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42089
42090 [BZ #11640]
42091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42092 Properly check family and model.
42093
42094 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42095
42096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42097
42098 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42099
42100 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42101
42102 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42103
42104 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42105 symbol reference.
42106
42107 2010-05-19 Andreas Schwab <schwab@redhat.com>
42108
42109 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42110 symbol reference.
42111
42112 2010-05-21 Andreas Schwab <schwab@redhat.com>
42113
42114 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42115 and internal_recvmmsg.
42116 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42117 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42118 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42119 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42120
42121 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42122 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42123 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42124
42125 2010-05-20 Andreas Schwab <schwab@redhat.com>
42126
42127 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42128
42129 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42130
42131 POWER7 optimizations.
42132 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42133 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42134
42135 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42136
42137 * version.h: Update for 2.13 development version.
42138
42139 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42140
42141 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42142 exceptions. Return 0.
42143
42144 2010-05-07 Roland McGrath <roland@redhat.com>
42145
42146 * elf/ldconfig.c (main): Add a const.
42147
42148 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42149
42150 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42151 (args_options): Add no-idn option.
42152 (ahosts_keys_int): Add idn_flags to ai_flags.
42153 (parse_option): Handle 'i' option to clear idn_flags.
42154
42155 * malloc/malloc.c (_int_free): Possible race in the most recently
42156 added check. Only act on the data if no current modification
42157 happened.
42158
42159 See ChangeLog.17 for earlier changes.