]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix _IO_JUMPS_OFFSET -Wundef warnings
[thirdparty/glibc.git] / ChangeLog
CommitLineData
788bba36
WN
12014-03-17 Will Newton <will.newton@linaro.org>
2
f7efd7c3
WN
3 * libio/genops.c: Check whether
4 _IO_JUMPS_OFFSET is defined with #ifdef rather
5 than #if.
6 * libio/libioP.h: Likewise.
7 * stdio-common/vfprintf.c: Likewise.
8
53f1bed3
WN
9 * sysdeps/generic/ldsodefs.h: Check whether
10 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11 than #if.
12
788bba36
WN
13 * nptl/sysdeps/pthread/pthread.h: Check
14 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15 its value.
16
fcd89ebe
SP
172014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18
ae42bbc5
SP
19 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20 setting O_APPEND.
21 * libio/tst-ftell-active-handler.c (do_append_test): Add a
22 test case.
23
ea33158c
SP
24 [BZ #16680]
25 * libio/fileops.c (_IO_file_open): Seek to end of file but
26 don't cache the offset.
27 (get_file_offset): Remove function.
28 (do_ftell): Use cached offset when available.
29 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30 don't cache the offset.
31 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32 case.
33 (do_one_test): Call it.
34 (do_ftell_test): Fix up expected old offset for a+ mode.
35 * libio/wfileops.c (do_ftell_wide): Used cached offset when
36 available.
37
b1dbb426
SP
38 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39 up test status with function return status.
40 (do_write_test): Likewise.
41 (do_append_test): Likewise.
42
fcd89ebe
SP
43 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45 Remove.
46
9962a2d3
JM
472014-03-17 Joseph Myers <joseph@codesourcery.com>
48
49 * math/gen-libm-test.pl (parse_args): Handle results specified for
50 each rounding mode separately.
51 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52 tests and results from lrint_tonearest_test_data,
53 lrint_towardzero_test_data, lrint_downward_test_data and
54 lrint_upward_test_data.
55 (lrint_test): Use ALL_RM_TEST.
56 (lrint_tonearest_test_data): Remove.
57 (lrint_test_tonearest): Likewise.
58 (lrint_towardzero_test_data): Likewise.
59 (lrint_test_towardzero): Likewise.
60 (lrint_downward_test_data): Likewise.
61 (lrint_test_downward): Likewise.
62 (lrint_upward_test_data): Likewise.
63 (lrint_test_upward): Likewise.
64 (llrint_test_data): Merge in per-rounding-mode tests and results
65 from llrint_tonearest_test_data, llrint_towardzero_test_data,
66 llrint_downward_test_data and llrint_upward_test_data.
67 (llrint_test): Use ALL_RM_TEST.
68 (llrint_tonearest_test_data): Remove.
69 (llrint_test_tonearest): Likewise.
70 (llrint_towardzero_test_data): Likewise.
71 (llrint_test_towardzero): Likewise.
72 (llrint_downward_test_data): Likewise.
73 (llrint_test_downward): Likewise.
74 (llrint_upward_test_data): Likewise.
75 (llrint_test_upward): Likewise.
76 (rint_test_data): Merge in per-rounding-mode tests and results
77 from rint_tonearest_test_data, rint_towardzero_test_data,
78 rint_downward_test_data and rint_upward_test_data. Add
79 per-rounding-mode results for tests not in those arrays.
80 (rint_test): Use ALL_RM_TEST.
81 (rint_tonearest_test_data): Remove.
82 (rint_test_tonearest): Likewise.
83 (rint_towardzero_test_data): Likewise.
84 (rint_test_towardzero): Likewise.
85 (rint_downward_test_data): Likewise.
86 (rint_test_downward): Likewise.
87 (rint_upward_test_data): Likewise.
88 (rint_test_upward): Likewise.
89 (main): Don't call removed functions.
90
5006148e
RM
912014-03-14 Roland McGrath <roland@hack.frob.com>
92
93 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
94 "Compiled on ..." crapola. It is anti-useful.
95
d6fe5e58
JM
962014-03-14 Joseph Myers <joseph@codesourcery.com>
97
98 * scripts/evaluate-test.sh: Handle fourth argument to determine
99 whether test run should stop on failure.
100 * Makeconfig (stop-on-test-failure): New variable.
101 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
102 $(stop-on-test-failure).
103 * Makefile (tests): Give a summary of results from testing and
104 exit with failure status if they include an ERROR or FAIL.
105 (xtests): Likewise.
106 * manual/install.texi (Configuring and compiling): Mention
107 stop-on-test-failure=y.
108 * INSTALL: Regenerated.
109
498a2233
RM
1102014-03-14 Roland McGrath <roland@hack.frob.com>
111
22dbc19d
RM
112 * scripts/versionlist.awk: New file.
113 * Makerules [$(build-shared) = yes]
114 (postclean-generated): Add Versions.def, not Versions.def.v and
115 Versions.def.v.i.
116 ($(common-objpfx)Versions.def.v.i): Target removed.
117 ($(common-objpfx)Versions.def): New target.
118 ($(common-objpfx)Versions.all): Depend on that rather that
119 $(common-objpfx)Versions.def.v.
120 * Versions.def: File removed.
121
498a2233
RM
122 * Makeconfig (+gccwarn): Add -Wundef.
123 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
124 a dl-sysdep.h breaking its contract.
125 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
126 * include/stackinfo.h: New file.
127 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
128 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
129 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
130 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
131 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
132 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
133 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
134 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
135 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
136 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
137 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
138 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
139 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
140 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
141 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
142
c7de5025
AZ
1432014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144
145 [BZ #16707]
146 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
147 implementation.
148 * math/libm-test.inc (round_test_data): Add more tests.
149
98fb27a3
AZ
1502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151
152 [BZ #16706]
153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
154 implementation.
155 * math/libm-test.inc (nearbyint_test_data): Add more tests.
156
374f7f61
AZ
1572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 [BZ #16701]
160 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
161 implementation.
162 * math/libm-test.inc (ceil_test_data): Add more tests.
163
4655c291
AZ
1642014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
165
166 * math/libm-test.inc (trunc_test_data): Add more tests related to
167 BZ#16414.
168
d7329d4b
RM
1692014-03-14 Roland McGrath <roland@hack.frob.com>
170
171 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
172 with #if rather than #ifdef.
173 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
174
aa4de9ce
L
1752014-03-14 H.J. Lu <hongjiu.lu@intel.com>
176
177 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
178 first. Disable AVX-512 GCC support if assembler doesn't support
179 it.
180 * sysdeps/x86_64/configure: Regenerated.
181
2e03fae7
CD
1822014-03-13 Carlos O'Donell <carlos@redhat.com>
183
184 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
185 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
186 (__old_pthread_attr_setstack): Likewise.
187 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
188 [!_STACK_GROWS_DOWN]: Likewise.
189
43ca83ec
MF
1902014-03-13 Mike Frysinger <vapier@gentoo.org>
191
192 * config.make.in (have-bash2): Delete.
193 * configure.ac (libc_cv_have_bash2): Delete.
194 * configure: Regenerate.
195 * elf/Makefile (common-ldd-rewrite): Rename to ...
196 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
197 (sh-ldd-rewrite): Delete.
198 (bash-ldd-rewrite): Delete.
199 (have-bash2): Delete checks.
200 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
201
c66e48b4
MF
2022014-03-13 Mike Frysinger <vapier@gentoo.org>
203
204 * config.make.in (have-ksh): Delete.
205 (KSH): Delete.
206 * configure.ac (libc_cv_have_ksh): Delete.
207 * configure: Regenerate.
208
b93834ef
MF
2092014-03-13 Mike Frysinger <vapier@gentoo.org>
210
211 * elf/Makefile: Delete $(have-ksh) check.
212 ($(objpfx)sotruss): Change KSH to BASH.
213 * elf/sotruss.ksh: Rename to ...
214 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
215 function style to match POSIX. Drop ksh vim mode setting.
216
f3a4632a
MF
2172014-03-13 Mike Frysinger <vapier@gentoo.org>
218
219 * manual/time.texi (Specifying the Time Zone with TZ): Change
220 Tuesday to Thursday.
221
5896c8bd
MF
2222014-03-13 Mike Frysinger <vapier@gentoo.org>
223
224 * debug/tst-longjmp_chk2.c: Update header comment.
225 (stackoverflow_handler): Add comment. Call assert on pass value.
226
2d63a517
IZ
2272014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
228
229 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
230 (HAVE_AVX512_ASM_SUPPORT): Likewise.
231 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
232 (La_x86_64_vector): Add zmm.
233 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
234 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
235 ($(objpfx)tst-audit10): New target.
236 ($(objpfx)tst-audit10.out): Likewise.
237 (tst-audit10-ENV): New.
238 (AVX512-CFLAGS): Likewise.
239 (CFLAGS-tst-audit10.c): Likewise.
240 (CFLAGS-tst-auditmod10a.c): Likewise.
241 (CFLAGS-tst-auditmod10b.c): Likewise.
242 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
243 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
244 * sysdeps/x86_64/configure: Regenerated.
245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
246 AVX-512 zmm register support.
247 (_dl_x86_64_save_sse): Likewise.
248 (_dl_x86_64_restore_sse): Likewise.
249 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
250 size vector registers.
251 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
252 (ZMM_SIZE): Likewise.
253 * sysdeps/x86_64/tst-audit10.c: New file.
254 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
255 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
256
44c4e5d5
RM
2572014-03-13 Roland McGrath <roland@hack.frob.com>
258
259 * configure.ac (HAVE_EHDR_START): New check.
260 * configure: Regenerated.
261 * config.h.in (HAVE_EHDR_START): New #undef.
262 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
263 assuming the lowest-addressed segment maps the start of the file.
264
acd6e389
JM
2652014-03-13 Joseph Myers <joseph@codesourcery.com>
266
267 * INSTALL: Regenerated.
268
6f918f36
WN
2692014-03-13 Will Newton <will.newton@linaro.org>
270
271 * manual/setjmp.texi (System V contexts): Improve
272 clarity and grammar of documentation.
273
798212a0
PP
2742014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
275
276 [BZ #16381]
798212a0 277 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 278 (tests-pie): Add tst-pie2.
798212a0
PP
279 * elf/tst-pie2.c: New file.
280 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
281 for ET_EXEC.
282 * elf/rtld.c (map_doit): Load executable as lt_executable.
283 (dl_main): Likewise.
284
abe6d90c
JM
2852014-03-12 Joseph Myers <joseph@codesourcery.com>
286
287 [BZ #16642]
288 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
289 (__ASSUME_PSELECT): Undefine.
290
dd3946c6
AZ
2912014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
292
293 [BZ #16689]
294 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
295 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
296 static build.
297 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
298 selector for static builds.
299
c44496df
SP
3002014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
301
302 [BZ #16695]
303 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
304 key in the buffer.
305
27c7220a
AZ
3062014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
307
308 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
309 selector for static builds.
310
600fa361
JM
3112014-03-11 Joseph Myers <joseph@codesourcery.com>
312
76c96cf7
JM
313 * sysdeps/mips/math_private.h [__mips_hard_float]
314 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
315 libc_feresetround_mips_ctx.
316 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
317 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
318 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
319
600fa361
JM
320 [BZ #16677]
321 * math/s_nextafter.c (__nextafter): Do not return value from
322 overflowing computation.
323 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
324 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
325 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
326 Likewise.
327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
328 Likewise.
329 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
330 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
331
d7706c32
RM
3322014-03-11 Roland McGrath <roland@hack.frob.com>
333
334 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
335 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
336 Move sfi_sp use from the load-multiple (that no longer sets sp) to
337 the new mov targetting sp.
338
4facea47
AZ
3392014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 [BZ #16683]
342 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
343 Define it for static builds as well.
344 (NO_BZERO_IMPL): Likewise.
345
e65caf1f
VR
3462014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
347
348 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
349 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
350 multiarch strspn for PPC64.
351 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
352 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
354 (__libc_ifunc_impl_list): Likewise.
355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
356 multiarch optimizations
357 * string/strspn.c (strspn): Using macro to redefine symbol name.
358
ba9cc071
AZ
3592014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
360 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361
362 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
363 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
364 multiarch strncat for PPC64.
365 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
366 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
368 (__libc_ifunc_impl_list): Likewise.
369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
370 multiarch optimizations
371
8b4ff974
SP
3722014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
373
374 [BZ #16639]
375 * nscd/nscd.service: Make service type forking.
376
54b46a4b
AZ
3772014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
378
379 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
380 sign in non default rounding modes.
381 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
382
e9996ef7
JM
3832014-03-08 Joseph Myers <joseph@codesourcery.com>
384
385 * math/libm-test.inc (ALL_RM_TEST): New macro.
386 (ceil_test): Use ALL_RM_TEST.
387 (cimag_test): Likewise.
388 (conj_test): Likewise.
389 (copysign_test): Likewise.
390 (cproj_test): Likewise.
391 (creal_test): Likewise.
392 (fabs_test): Likewise.
393 (floor_test): Likewise.
394 (fmax_test): Likewise.
395 (fmin_test): Likewise.
396 (fmod_test): Likewise.
397 (fpclassify_test): Likewise.
398 (frexp_test): Likewise.
399 (ilogb_test): Likewise.
400 (isfinite_test): Likewise.
401 (finite_test): Likewise.
402 (isgreater_test): Likewise.
403 (isgreaterequal_test): Likewise.
404 (isinf_test): Likewise.
405 (isless_test): Likewise.
406 (islessequal_test): Likewise.
407 (islessgreater_test): Likewise.
408 (isnan_test): Likewise.
409 (isnormal_test): Likewise.
410 (issignaling_test): Likewise.
411 (isunordered_test): Likewise.
412 (logb_test): Likewise.
413 (logb_downward_test_data): Remove.
414 (logb_test_downward): Likewise.
415 (lround_test): Use ALL_RM_TEST.
416 (llround_test): Likewise.
417 (modf_test): Likewise.
418 (nexttoward_test): Likewise.
419 (remainder_test): Likewise.
420 (drem_test): Likewise.
421 (remainder_tonearest_test_data): Likewise.
422 (remainder_test_tonearest): Likewise.
423 (drem_test_tonearest): Likewise.
424 (remainder_towardzero_test_data): Likewise.
425 (remainder_test_towardzero): Likewise.
426 (drem_test_towardzero): Likewise.
427 (remainder_downward_test_data): Likewise.
428 (remainder_test_downward): Likewise.
429 (drem_test_downward): Likewise.
430 (remainder_upward_test_data): Likewise.
431 (remainder_test_upward): Likewise.
432 (drem_test_upward): Likewise.
433 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
434 (round_test): Use ALL_RM_TEST.
435 (signbit_test): Likewise.
436 (trunc_test): Likewise.
437 (significand_test): Likewise.
438 (main): Don't call removed functions.
439
bc61d27c
JM
4402014-03-07 Joseph Myers <joseph@codesourcery.com>
441
5c780849
JM
442 [BZ #16674]
443 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
444 || __USE_XOPEN2K8].
445 (ILL_ILLOPN): Likewise.
446 (ILL_ILLADR): Likewise.
447 (ILL_ILLTRP): Likewise.
448 (ILL_PRVOPC): Likewise.
449 (ILL_PRVREG): Likewise.
450 (ILL_COPROC): Likewise.
451 (ILL_BADSTK): Likewise.
452 (FPE_INTDIV): Likewise.
453 (FPE_INTOVF): Likewise.
454 (FPE_FLTDIV): Likewise.
455 (FPE_FLTOVF): Likewise.
456 (FPE_FLTUND): Likewise.
457 (FPE_FLTRES): Likewise.
458 (FPE_FLTINV): Likewise.
459 (FPE_FLTSUB): Likewise.
460 (SEGV_MAPERR): Likewise.
461 (SEGV_ACCERR): Likewise.
462 (BUS_ADRALN): Likewise.
463 (BUS_ADRERR): Likewise.
464 (BUS_OBJERR): Likewise.
465 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
466 (TRAP_TRACE): Likewise.
467 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
468 __USE_XOPEN2K8].
469 (CLD_KILLED): Likewise.
470 (CLD_DUMPED): Likewise.
471 (CLD_TRAPPED): Likewise.
472 (CLD_STOPPED): Likewise.
473 (CLD_CONTINUED): Likewise.
474 (POLL_IN): Likewise.
475 (POLL_OUT): Likewise.
476 (POLL_MSG): Likewise.
477 (POLL_ERR): Likewise.
478 (POLL_PRI): Likewise.
479 (POLL_HUP): Likewise.
480 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
481 Likewise.
482 (ILL_ILLOPN): Likewise.
483 (ILL_ILLADR): Likewise.
484 (ILL_ILLTRP): Likewise.
485 (ILL_PRVOPC): Likewise.
486 (ILL_PRVREG): Likewise.
487 (ILL_COPROC): Likewise.
488 (ILL_BADSTK): Likewise.
489 (FPE_INTDIV): Likewise.
490 (FPE_INTOVF): Likewise.
491 (FPE_FLTDIV): Likewise.
492 (FPE_FLTOVF): Likewise.
493 (FPE_FLTUND): Likewise.
494 (FPE_FLTRES): Likewise.
495 (FPE_FLTINV): Likewise.
496 (FPE_FLTSUB): Likewise.
497 (SEGV_MAPERR): Likewise.
498 (SEGV_ACCERR): Likewise.
499 (BUS_ADRALN): Likewise.
500 (BUS_ADRERR): Likewise.
501 (BUS_OBJERR): Likewise.
502 (BUS_MCEERR_AR): Likewise.
503 (BUS_MCEERR_AO): Likewise.
504 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
505 (TRAP_TRACE): Likewise.
506 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
507 __USE_XOPEN2K8].
508 (CLD_KILLED): Likewise.
509 (CLD_DUMPED): Likewise.
510 (CLD_TRAPPED): Likewise.
511 (CLD_STOPPED): Likewise.
512 (CLD_CONTINUED): Likewise.
513 (POLL_IN): Likewise.
514 (POLL_OUT): Likewise.
515 (POLL_MSG): Likewise.
516 (POLL_ERR): Likewise.
517 (POLL_PRI): Likewise.
518 (POLL_HUP): Likewise.
519 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
520 (ILL_ILLOPN): Likewise.
521 (ILL_ILLADR): Likewise.
522 (ILL_ILLTRP): Likewise.
523 (ILL_PRVOPC): Likewise.
524 (ILL_PRVREG): Likewise.
525 (ILL_COPROC): Likewise.
526 (ILL_BADSTK): Likewise.
527 (FPE_INTDIV): Likewise.
528 (FPE_INTOVF): Likewise.
529 (FPE_FLTDIV): Likewise.
530 (FPE_FLTOVF): Likewise.
531 (FPE_FLTUND): Likewise.
532 (FPE_FLTRES): Likewise.
533 (FPE_FLTINV): Likewise.
534 (FPE_FLTSUB): Likewise.
535 (SEGV_MAPERR): Likewise.
536 (SEGV_ACCERR): Likewise.
537 (BUS_ADRALN): Likewise.
538 (BUS_ADRERR): Likewise.
539 (BUS_OBJERR): Likewise.
540 (BUS_MCEERR_AR): Likewise.
541 (BUS_MCEERR_AO): Likewise.
542 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
543 (TRAP_TRACE): Likewise.
544 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
545 __USE_XOPEN2K8].
546 (CLD_KILLED): Likewise.
547 (CLD_DUMPED): Likewise.
548 (CLD_TRAPPED): Likewise.
549 (CLD_STOPPED): Likewise.
550 (CLD_CONTINUED): Likewise.
551 (POLL_IN): Likewise.
552 (POLL_OUT): Likewise.
553 (POLL_MSG): Likewise.
554 (POLL_ERR): Likewise.
555 (POLL_PRI): Likewise.
556 (POLL_HUP): Likewise.
557 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
558 Likewise.
559 (ILL_ILLOPN): Likewise.
560 (ILL_ILLADR): Likewise.
561 (ILL_ILLTRP): Likewise.
562 (ILL_PRVOPC): Likewise.
563 (ILL_PRVREG): Likewise.
564 (ILL_COPROC): Likewise.
565 (ILL_BADSTK): Likewise.
566 (ILL_BADIADDR): Likewise.
567 (ILL_BREAK): Likewise.
568 (FPE_INTDIV): Likewise.
569 (FPE_INTOVF): Likewise.
570 (FPE_FLTDIV): Likewise.
571 (FPE_FLTOVF): Likewise.
572 (FPE_FLTUND): Likewise.
573 (FPE_FLTRES): Likewise.
574 (FPE_FLTINV): Likewise.
575 (FPE_FLTSUB): Likewise.
576 (FPE_DECOVF): Likewise.
577 (FPE_DECDIV): Likewise.
578 (FPE_DECERR): Likewise.
579 (FPE_INVASC): Likewise.
580 (FPE_INVDEC): Likewise.
581 (SEGV_MAPERR): Likewise.
582 (SEGV_ACCERR): Likewise.
583 (SEGV_PSTKOVF): Likewise.
584 (BUS_ADRALN): Likewise.
585 (BUS_ADRERR): Likewise.
586 (BUS_OBJERR): Likewise.
587 (BUS_MCEERR_AR): Likewise.
588 (BUS_MCEERR_AO): Likewise.
589 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
590 (TRAP_TRACE): Likewise.
591 (TRAP_BRANCH): Likewise.
592 (TRAP_HWBKPT): Likewise.
593 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
594 __USE_XOPEN2K8].
595 (CLD_KILLED): Likewise.
596 (CLD_DUMPED): Likewise.
597 (CLD_TRAPPED): Likewise.
598 (CLD_STOPPED): Likewise.
599 (CLD_CONTINUED): Likewise.
600 (POLL_IN): Likewise.
601 (POLL_OUT): Likewise.
602 (POLL_MSG): Likewise.
603 (POLL_ERR): Likewise.
604 (POLL_PRI): Likewise.
605 (POLL_HUP): Likewise.
606 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
607 (ILL_ILLOPN): Likewise.
608 (ILL_ILLADR): Likewise.
609 (ILL_ILLTRP): Likewise.
610 (ILL_PRVOPC): Likewise.
611 (ILL_PRVREG): Likewise.
612 (ILL_COPROC): Likewise.
613 (ILL_BADSTK): Likewise.
614 (FPE_INTDIV): Likewise.
615 (FPE_INTOVF): Likewise.
616 (FPE_FLTDIV): Likewise.
617 (FPE_FLTOVF): Likewise.
618 (FPE_FLTUND): Likewise.
619 (FPE_FLTRES): Likewise.
620 (FPE_FLTINV): Likewise.
621 (FPE_FLTSUB): Likewise.
622 (SEGV_MAPERR): Likewise.
623 (SEGV_ACCERR): Likewise.
624 (BUS_ADRALN): Likewise.
625 (BUS_ADRERR): Likewise.
626 (BUS_OBJERR): Likewise.
627 (BUS_MCEERR_AR): Likewise.
628 (BUS_MCEERR_AO): Likewise.
629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
630 (TRAP_TRACE): Likewise.
631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
632 __USE_XOPEN2K8].
633 (CLD_KILLED): Likewise.
634 (CLD_DUMPED): Likewise.
635 (CLD_TRAPPED): Likewise.
636 (CLD_STOPPED): Likewise.
637 (CLD_CONTINUED): Likewise.
638 (POLL_IN): Likewise.
639 (POLL_OUT): Likewise.
640 (POLL_MSG): Likewise.
641 (POLL_ERR): Likewise.
642 (POLL_PRI): Likewise.
643 (POLL_HUP): Likewise.
644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
645 (ILL_ILLOPN): Likewise.
646 (ILL_ILLADR): Likewise.
647 (ILL_ILLTRP): Likewise.
648 (ILL_PRVOPC): Likewise.
649 (ILL_PRVREG): Likewise.
650 (ILL_COPROC): Likewise.
651 (ILL_BADSTK): Likewise.
652 (FPE_INTDIV): Likewise.
653 (FPE_INTOVF): Likewise.
654 (FPE_FLTDIV): Likewise.
655 (FPE_FLTOVF): Likewise.
656 (FPE_FLTUND): Likewise.
657 (FPE_FLTRES): Likewise.
658 (FPE_FLTINV): Likewise.
659 (FPE_FLTSUB): Likewise.
660 (SEGV_MAPERR): Likewise.
661 (SEGV_ACCERR): Likewise.
662 (BUS_ADRALN): Likewise.
663 (BUS_ADRERR): Likewise.
664 (BUS_OBJERR): Likewise.
665 (BUS_MCEERR_AR): Likewise.
666 (BUS_MCEERR_AO): Likewise.
667 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
668 (TRAP_TRACE): Likewise.
669 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
670 __USE_XOPEN2K8].
671 (CLD_KILLED): Likewise.
672 (CLD_DUMPED): Likewise.
673 (CLD_TRAPPED): Likewise.
674 (CLD_STOPPED): Likewise.
675 (CLD_CONTINUED): Likewise.
676 (POLL_IN): Likewise.
677 (POLL_OUT): Likewise.
678 (POLL_MSG): Likewise.
679 (POLL_ERR): Likewise.
680 (POLL_PRI): Likewise.
681 (POLL_HUP): Likewise.
682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
683 (ILL_ILLOPN): Likewise.
684 (ILL_ILLADR): Likewise.
685 (ILL_ILLTRP): Likewise.
686 (ILL_PRVOPC): Likewise.
687 (ILL_PRVREG): Likewise.
688 (ILL_COPROC): Likewise.
689 (ILL_BADSTK): Likewise.
690 (FPE_INTDIV): Likewise.
691 (FPE_INTOVF): Likewise.
692 (FPE_FLTDIV): Likewise.
693 (FPE_FLTOVF): Likewise.
694 (FPE_FLTUND): Likewise.
695 (FPE_FLTRES): Likewise.
696 (FPE_FLTINV): Likewise.
697 (FPE_FLTSUB): Likewise.
698 (SEGV_MAPERR): Likewise.
699 (SEGV_ACCERR): Likewise.
700 (BUS_ADRALN): Likewise.
701 (BUS_ADRERR): Likewise.
702 (BUS_OBJERR): Likewise.
703 (BUS_MCEERR_AR): Likewise.
704 (BUS_MCEERR_AO): Likewise.
705 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
706 (TRAP_TRACE): Likewise.
707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
708 __USE_XOPEN2K8].
709 (CLD_KILLED): Likewise.
710 (CLD_DUMPED): Likewise.
711 (CLD_TRAPPED): Likewise.
712 (CLD_STOPPED): Likewise.
713 (CLD_CONTINUED): Likewise.
714 (POLL_IN): Likewise.
715 (POLL_OUT): Likewise.
716 (POLL_MSG): Likewise.
717 (POLL_ERR): Likewise.
718 (POLL_PRI): Likewise.
719 (POLL_HUP): Likewise.
720 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
721 (ILL_ILLOPN): Likewise.
722 (ILL_ILLADR): Likewise.
723 (ILL_ILLTRP): Likewise.
724 (ILL_PRVOPC): Likewise.
725 (ILL_PRVREG): Likewise.
726 (ILL_COPROC): Likewise.
727 (ILL_BADSTK): Likewise.
728 (ILL_DBLFLT): Likewise.
729 (ILL_HARDWALL): Likewise.
730 (FPE_INTDIV): Likewise.
731 (FPE_INTOVF): Likewise.
732 (FPE_FLTDIV): Likewise.
733 (FPE_FLTOVF): Likewise.
734 (FPE_FLTUND): Likewise.
735 (FPE_FLTRES): Likewise.
736 (FPE_FLTINV): Likewise.
737 (FPE_FLTSUB): Likewise.
738 (SEGV_MAPERR): Likewise.
739 (SEGV_ACCERR): Likewise.
740 (BUS_ADRALN): Likewise.
741 (BUS_ADRERR): Likewise.
742 (BUS_OBJERR): Likewise.
743 (BUS_MCEERR_AR): Likewise.
744 (BUS_MCEERR_AO): Likewise.
745 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
746 (TRAP_TRACE): Likewise.
747 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
748 __USE_XOPEN2K8].
749 (CLD_KILLED): Likewise.
750 (CLD_DUMPED): Likewise.
751 (CLD_TRAPPED): Likewise.
752 (CLD_STOPPED): Likewise.
753 (CLD_CONTINUED): Likewise.
754 (POLL_IN): Likewise.
755 (POLL_OUT): Likewise.
756 (POLL_MSG): Likewise.
757 (POLL_ERR): Likewise.
758 (POLL_PRI): Likewise.
759 (POLL_HUP): Likewise.
760 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
761 (ILL_ILLOPN): Likewise.
762 (ILL_ILLADR): Likewise.
763 (ILL_ILLTRP): Likewise.
764 (ILL_PRVOPC): Likewise.
765 (ILL_PRVREG): Likewise.
766 (ILL_COPROC): Likewise.
767 (ILL_BADSTK): Likewise.
768 (FPE_INTDIV): Likewise.
769 (FPE_INTOVF): Likewise.
770 (FPE_FLTDIV): Likewise.
771 (FPE_FLTOVF): Likewise.
772 (FPE_FLTUND): Likewise.
773 (FPE_FLTRES): Likewise.
774 (FPE_FLTINV): Likewise.
775 (FPE_FLTSUB): Likewise.
776 (SEGV_MAPERR): Likewise.
777 (SEGV_ACCERR): Likewise.
778 (BUS_ADRALN): Likewise.
779 (BUS_ADRERR): Likewise.
780 (BUS_OBJERR): Likewise.
781 (BUS_MCEERR_AR): Likewise.
782 (BUS_MCEERR_AO): Likewise.
783 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
784 (TRAP_TRACE): Likewise.
785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
786 __USE_XOPEN2K8].
787 (CLD_KILLED): Likewise.
788 (CLD_DUMPED): Likewise.
789 (CLD_TRAPPED): Likewise.
790 (CLD_STOPPED): Likewise.
791 (CLD_CONTINUED): Likewise.
792 (POLL_IN): Likewise.
793 (POLL_OUT): Likewise.
794 (POLL_MSG): Likewise.
795 (POLL_ERR): Likewise.
796 (POLL_PRI): Likewise.
797 (POLL_HUP): Likewise.
798 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
799 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
800
bc61d27c
JM
801 [BZ #16670]
802 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
803 before #include of <time.h>.
804 [!__USE_XOPEN2K] (__need_timespec): Likewise.
805 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
806 (test-xfail-UNIX98/sched.h/conform): Likewise.
807
302949e2
MS
8082014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
809
810 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
811 error absence of trapping exception support.
812 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
813
a00f522a
JM
8142014-03-07 Joseph Myers <joseph@codesourcery.com>
815
6f99f280
JM
816 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
817 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
818 * timezone/Makefile (testdata): Move definition above include of
819 Rules.
820 (test-zones): New variable.
821 (tests-special): Add zone files.
822 (build-testdata): Use $(evaluate-test).
823
0b20a9e8
JM
824 * elf/Makefile (tests-special): Rename tests to end with .out.
825 ($(objpfx)noload-mem): Likewise.
826 ($(objpfx)tst-leaks1-mem): Likewise.
827 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
828 * iconv/Makefile (xtests-special): Change test-iconvconfig to
829 $(objpfx)test-iconvconfig.out.
830 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
831 set -e inside subshell and redirect output to file.
832 * iconvdata/Makefile (generated): Rename tests to end with .out.
833 Correct type.
834 (tests-special): Rename tests to end with .out.
835 ($(objpfx)mtrace-tst-loading): Likewise.
836 * intl/Makefile (generated): Likewise.
837 (tests-special): Likewise.
838 ($(objpfx)mtrace-tst-gettext): Likewise.
839 * misc/Makefile (generated): Likewise.
840 (tests-special): Likewise.
841 ($(objpfx)tst-error1-mem): Likewise.
842 * nptl/Makefile (tests-special): Likewise.
843 ($(objpfx)tst-stack3-mem): Likewise.
844 (generated): Likewise.
845 * posix/Makefile (generated): Likewise.
846 (tests-special): Likewise.
847 (xtests-special): Likewise.
848 ($(objpfx)tst-fnmatch-mem): Likewise.
849 ($(objpfx)bug-regex2-mem): Likewise.
850 ($(objpfx)bug-regex14-mem): Likewise.
851 ($(objpfx)bug-regex21-mem): Likewise.
852 ($(objpfx)bug-regex31-mem): Likewise.
853 ($(objpfx)tst-vfork3-mem): Likewise.
854 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
855 ($(objpfx)tst-pcre-mem): Likewise.
856 ($(objpfx)tst-boost-mem): Likewise.
857 ($(objpfx)bug-ga2-mem): Likewise.
858 ($(objpfx)bug-glob2-mem): Likewise.
859 * resolv/Makefile (generate): Likewise.
860 (tests-special): Likewise.
861 (xtests-special): Likewise.
862 (generated): Likewise.
863 ($(objpfx)mtrace-tst-leaks): Likewise.
864 ($(objpfx)mtrace-tst-leaks2): Likewise.
865
265d52ab
JM
866 * scripts/merge-test-results.sh: New file.
867 * Makefile (tests-special-notdir): New variable.
868 (tests): Run merge-test-results.sh.
869 (xtests): Likewise.
870 * Rules (tests-special-notdir): New variable.
871 (xtests-special-notdir): Likewise.
872 (tests): Run merge-test-results.sh
873 (xtests): Likewise.
874
54ee292d
JM
875 * Makeconfig (test-xfail-name): New variable.
876 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
877 compute variable name for expected failures.
878 * conform/Makefile (conformtest-headers-data): New variable.
879 (conformtest-standards): Likewise.
880 (conformtest-headers-ISO): Likewise.
881 (conformtest-headers-ISO99): Likewise.
882 (conformtest-headers-ISO11): Likewise.
883 (conformtest-headers-POSIX): Likewise.
884 (conformtest-headers-XPG3): Likewise.
885 (conformtest-headers-XPG4): Likewise.
886 (conformtest-headers-UNIX98): Likewise.
887 (conformtest-headers-XOPEN2K): Likewise.
888 (conformtest-headers-POSIX2008): Likewise.
889 (conformtest-headers-XOPEN2K8): Likewise.
890 (conformtest-header-list-base): Likewise.
891 (conformtest-header-list-tests): Likewise.
892 (conformtest-header-base): Likewise.
893 (conformtest-header-tests): Likewise.
894 (tests-special): Add $(conformtest-header-list-tests). If
895 [$(fast-check) && !$(cross-compiling)], add
896 $(conformtest-header-tests) instead of
897 $(objpfx)run-conformtest.out.
898 (generated): Add $(conformtest-header-list-base). If
899 [$(fast-check) && !$(cross-compiling)], add
900 $(conformtest-header-base). Remove previous setting.
901 ($(conformtest-header-list-tests)): New target.
902 (test-xfail-run-conformtest): Remove variable.
903 ($(objpfx)run-conformtest.out): Remove target.
904 (test-xfail-ISO11/complex.h/conform): New variable.
905 (test-xfail-ISO11/stdalign.h/conform): Likewise.
906 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
907 (test-xfail-XPG3/varargs.h/conform): Likewise.
908 (test-xfail-XPG4/varargs.h/conform): Likewise.
909 (test-xfail-UNIX98/varargs.h/conform): Likewise.
910 (test-xfail-XPG4/ndbm.h/conform): Likewise.
911 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
912 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
913 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
914 (test-xfail-XPG3/fcntl.h/conform): Likewise.
915 (test-xfail-XPG3/ftw.h/conform): Likewise.
916 (test-xfail-XPG3/grp.h/conform): Likewise.
917 (test-xfail-XPG3/langinfo.h/conform): Likewise.
918 (test-xfail-XPG3/limits.h/conform): Likewise.
919 (test-xfail-XPG3/pwd.h/conform): Likewise.
920 (test-xfail-XPG3/search.h/conform): Likewise.
921 (test-xfail-XPG3/signal.h/conform): Likewise.
922 (test-xfail-XPG3/stdio.h/conform): Likewise.
923 (test-xfail-XPG3/stdlib.h/conform): Likewise.
924 (test-xfail-XPG3/string.h/conform): Likewise.
925 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
926 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
927 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
928 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
929 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
930 (test-xfail-XPG3/sys/types.h/conform): Likewise.
931 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
932 (test-xfail-XPG3/termios.h/conform): Likewise.
933 (test-xfail-XPG3/time.h/conform): Likewise.
934 (test-xfail-XPG3/unistd.h/conform): Likewise.
935 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
936 (test-xfail-XPG4/fcntl.h/conform): Likewise.
937 (test-xfail-XPG4/langinfo.h/conform): Likewise.
938 (test-xfail-XPG4/netdb.h/conform): Likewise.
939 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
940 (test-xfail-XPG4/signal.h/conform): Likewise.
941 (test-xfail-XPG4/stdio.h/conform): Likewise.
942 (test-xfail-XPG4/stdlib.h/conform): Likewise.
943 (test-xfail-XPG4/stropts.h/conform): Likewise.
944 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
945 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
946 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
947 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
948 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
949 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
950 (test-xfail-XPG4/sys/time.h/conform): Likewise.
951 (test-xfail-XPG4/sys/types.h/conform): Likewise.
952 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
953 (test-xfail-XPG4/termios.h/conform): Likewise.
954 (test-xfail-XPG4/ucontext.h/conform): Likewise.
955 (test-xfail-XPG4/unistd.h/conform): Likewise.
956 (test-xfail-XPG4/utmpx.h/conform): Likewise.
957 (test-xfail-POSIX/sched.h/conform): Likewise.
958 (test-xfail-POSIX/signal.h/conform): Likewise.
959 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
960 (test-xfail-POSIX/tar.h/conform): Likewise.
961 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
962 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
963 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
964 (test-xfail-UNIX98/netdb.h/conform): Likewise.
965 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
966 (test-xfail-UNIX98/sched.h/conform): Likewise.
967 (test-xfail-UNIX98/signal.h/conform): Likewise.
968 (test-xfail-UNIX98/stdio.h/conform): Likewise.
969 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
970 (test-xfail-UNIX98/stropts.h/conform): Likewise.
971 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
972 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
973 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
974 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
975 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
976 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
977 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
978 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
979 (test-xfail-UNIX98/unistd.h/conform): Likewise.
980 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
981 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
982 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
983 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
984 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
985 (test-xfail-XOPEN2K/math.h/conform): Likewise.
986 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
987 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
988 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
989 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
990 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
991 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
992 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
993 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
994 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
995 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
996 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
997 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
998 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
999 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1000 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1001 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1002 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1003 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1004 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1005 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1006 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1007 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1008 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1009 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1010 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1011 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1012 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1013 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1014 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1015 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1016 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1017 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1018 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1019 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1020 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1021 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1022 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1023 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1024 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1025 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1026 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1027 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1028 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1029 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1030 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1031 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1032 (conformtest-cc-flags): Likewise.
1033 ($(conformtest-header-tests): New target.
1034 * conform/check-header-lists.sh: New file.
1035 * conform/run-conformtest.sh: Remove.
1036
a00f522a
JM
1037 * conform/conformtest.pl: Allow ' and \ in values given for
1038 constants.
1039 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1040 inclusion.
1041 [POSIX] (sys/types.h): Likewise.
1042 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1043 inclusion.
1044 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1045 inclusion.
1046 * conform/data/signal.h-data (SIGIO): Remove expectation.
1047 [XPG3] (SIGBUS): Do not expect.
1048 [POSIX || XPG3] (SIGPOLL): Likewise.
1049 [POSIX || XPG3] (SIGPROF): Likewise.
1050 [POSIX || XPG3] (SIGSYS): Likewise.
1051 [XPG3] (SIGTRAP): Likewise.
1052 [POSIX || XPG3] (SIGURG): Likewise.
1053 [POSIX || XPG3] (SIGVTALRM): Likewise.
1054 [POSIX || XPG3] (SIGXCPU): Likewise.
1055 [POSIX || XPG3] (SIGXFSZ): Likewise.
1056 [POSIX] (SA_SIGINFO): Expect.
1057 [XPG3] (siginfo_t): Do not expect type or contents.
1058 [POSIX] (si_pid): Do not expect element.
1059 [POSIX] (si_uid): Likewise.
1060 [POSIX] (si_addr): Likewise.
1061 [POSIX] (si_status): Likewise.
1062 [POSIX] (si_band): Likewise.
1063 [XPG4] (si_value): Likewise.
1064 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1065 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1066 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1067 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1068 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1069 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1070 [POSIX || XPG3] (ILL_COPROC): Likewise.
1071 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1072 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1073 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1074 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1075 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1076 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1077 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1078 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1079 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1080 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1081 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1082 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1083 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1084 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1085 [POSIX || XPG3] (CLD_EXITED): Likewise.
1086 [POSIX || XPG3] (CLD_KILLED): Likewise.
1087 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1088 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1089 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1090 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1091 [POSIX || XPG3] (POLL_IN): Likewise.
1092 [POSIX || XPG3] (POLL_OUT): Likewise.
1093 [POSIX || XPG3] (POLL_MSG): Likewise.
1094 [POSIX || XPG3] (POLL_ERR): Likewise.
1095 [POSIX || XPG3] (POLL_PRI): Likewise.
1096 [POSIX || XPG3] (POLL_HUP): Likewise.
1097 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1098 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1099 (SIG*): Do not allow.
1100 [XPG3] (si_*): Likewise.
1101 [XPG3] (SI_*): Likewise.
1102 [XPG3 || XPG4] (sigev_*): Likewise.
1103 [XPG3 || XPG4] (SIGEV_*): Likewise.
1104 [XPG3 || XPG4] (sival_*): Likewise.
1105 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1106 [POSIX || XPG3] (BUS_*): Likewise.
1107 [POSIX || XPG3] (CLD_*): Likewise.
1108 [POSIX || XPG3] (FPE_*): Likewise.
1109 [POSIX || XPG3] (ILL_*): Likewise.
1110 [POSIX || XPG3] (POLL_*): Likewise.
1111 [POSIX || XPG3] (SEGV_*): Likewise.
1112 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1113 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1114 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1115 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1116 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1117 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1118 Specify type and value.
1119 (TVERSLEN): Likewise.
1120 (REGTYPE): Likewise.
1121 (AREGTYPE): Likewise.
1122 (LNKTYPE): Likewise.
1123 (SYMTYPE): Likewise.
1124 (CHRTYPE): Likewise.
1125 (BLKTYPE): Likewise.
1126 (DIRTYPE): Likewise.
1127 (FIFOTYPE): Likewise.
1128 (CONTTYPE): Likewise.
1129 (TSUID): Likewise.
1130 (TSGID): Likewise.
1131 (TSVTX): Likewise.
1132 (TUREAD): Likewise.
1133 (TUWRITE): Likewise.
1134 (TUEXEC): Likewise.
1135 (TGREAD): Likewise.
1136 (TGWRITE): Likewise.
1137 (TGEXEC): Likewise.
1138 (TOREAD): Likewise.
1139 (TOWRITE): Likewise.
1140 (TOEXEC): Likewise.
1141 [POSIX] (TSVTX): Expect constant.
1142
aa97dee1
JM
11432014-03-06 Joseph Myers <joseph@codesourcery.com>
1144
f214606a
JM
1145 * Makefile (tests): Change dependencies to ....
1146 (tests-special): ... additions to this variable.
1147 (tests): Depend on $(tests-special).
1148 * Makerules (check-abi-list): New variable.
1149 (check-abi): Depend on $(check-abi-list).
1150 [$(subdir) = elf] (tests-special): Add
1151 $(objpfx)check-abi-libc.out.
1152 [$(build-shared) = yes && subdir] (tests-special): Add
1153 $(check-abi-list).
1154 [$(build-shared) = yes && subdir] (tests): Do not depend on
1155 check-abi.
1156 * Rules (tests): Depend on $(tests-special).
1157 (xtests): Depend on $(xtests-special).
1158 * catgets/Makefile (tests): Change dependencies to ....
1159 (tests-special): ... additions to this variable.
1160 * conform/Makefile (tests): Change dependencies to ....
1161 (tests-special): ... additions to this variable.
1162 * elf/Makefile (tests): Change dependencies to ....
1163 (tests-special): ... additions to this variable.
1164 * grp/Makefile (tests): Change dependencies to ....
1165 (tests-special): ... additions to this variable.
1166 * iconv/Makefile (xtests): Change dependencies to ....
1167 (xtests-special): ... additions to this variable.
1168 * iconvdata/Makefile (tests): Change dependencies to ....
1169 (tests-special): ... additions to this variable.
1170 * intl/Makefile (tests): Change dependencies to ....
1171 (tests-special): ... additions to this variable. Also add
1172 $(objpfx)tst-gettext.out.
1173 * io/Makefile (tests): Change dependencies to ....
1174 (tests-special): ... additions to this variable.
1175 * libio/Makefile (tests): Change dependencies to ....
1176 (tests-special): ... additions to this variable.
1177 * malloc/Makefile (tests): Change dependencies to ....
1178 (tests-special): ... additions to this variable.
1179 * misc/Makefile (tests): Change dependencies to ....
1180 (tests-special): ... additions to this variable.
1181 * nptl/Makefile (tests): Change dependencies to ....
1182 (tests-special): ... additions to this variable.
1183 * nptl_db/Makefile (tests): Change dependencies to ....
1184 (tests-special): ... additions to this variable.
1185 * posix/Makefile (tests): Change dependencies to ....
1186 (tests-special): ... additions to this variable.
1187 (xtests): Change dependencies to ....
1188 (xtests-special): ... additions to this variable.
1189 * resolv/Makefile (tests): Change dependencies to ....
1190 (tests-special): ... additions to this variable.
1191 (xtests): Change dependencies to ....
1192 (xtests-special): ... additions to this variable.
1193 * stdio-common/Makefile (tests): Change dependencies to ....
1194 (tests-special): ... additions to this variable.
1195 (do-tst-unbputc): Remove target.
1196 (do-tst-printf): Likewise.
1197 * stdlib/Makefile (tests): Change dependencies to ....
1198 (tests-special): ... additions to this variable.
1199 * string/Makefile (tests): Change dependencies to ....
1200 (tests-special): ... additions to this variable.
1201 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1202 (tests-special): ... additions to this variable.
1203
81700b53
JM
1204 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1205 whole file.
1206 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1207 whole file.
1208 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1209 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1210
2ea18461
JM
1211 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1212 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1213 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1214 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1215 * conform/data/libgen.h-data [XPG3]: Likewise.
1216 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1217 * conform/data/ndbm.h-data [XPG3]: Likewise.
1218 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1219 * conform/data/netdb.h-data [XPG3]: Likewise.
1220 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1221 * conform/data/poll.h-data [XPG3]: Likewise.
1222 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1223 * conform/data/strings.h-data [XPG3]: Likewise.
1224 * conform/data/stropts.h-data [XPG3]: Likewise.
1225 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1226 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1227 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1228 Likewise.
1229 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1230 * conform/data/sys/time.h-data [XPG3]: Likewise.
1231 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1232 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1233 * conform/data/sys/un.h-data [XPG3]: Likewise.
1234 * conform/data/syslog.h-data [XPG3]: Likewise.
1235 * conform/data/ucontext.h-data [XPG3]: Likewise.
1236 * conform/data/utmpx.h-data [XPG3]: Likewise.
1237 * conform/data/varargs.h-data [UNIX98]: Enable file.
1238
355bc986
JM
1239 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1240
215db402
JM
1241 * math/libm-test.inc (struct test_f_f_data): Move expected results
1242 into structure for each rounding mode.
1243 (struct test_ff_f_data): Likewise.
1244 (struct test_ff_f_data_nexttoward): Likewise.
1245 (struct test_fi_f_data): Likewise.
1246 (struct test_fl_f_data): Likewise.
1247 (struct test_if_f_data): Likewise.
1248 (struct test_fff_f_data): Likewise.
1249 (struct test_c_f_data): Likewise.
1250 (struct test_f_f1_data): Likewise.
1251 (struct test_fF_f1_data): Likewise.
1252 (struct test_ffI_f1_data): Likewise.
1253 (struct test_c_c_data): Likewise.
1254 (struct test_cc_c_data): Likewise.
1255 (struct test_f_i_data): Likewise.
1256 (struct test_ff_i_data): Likewise.
1257 (struct test_f_l_data): Likewise.
1258 (struct test_f_L_data): Likewise.
1259 (struct test_fFF_11_data): Likewise.
1260 (RM_): New macro.
1261 (RM_FE_DOWNWARD): Likewise.
1262 (RM_FE_TONEAREST): Likewise.
1263 (RM_FE_TOWARDZERO): Likewise.
1264 (RM_FE_UPWARD): Likewise.
1265 (RUN_TEST_LOOP_f_f): Update references to expected results.
1266 (RUN_TEST_LOOP_2_f): Likewise.
1267 (RUN_TEST_LOOP_fff_f): Likewise.
1268 (RUN_TEST_LOOP_c_f): Likewise.
1269 (RUN_TEST_LOOP_f_f1): Likewise.
1270 (RUN_TEST_LOOP_fF_f1): Likewise.
1271 (RUN_TEST_LOOP_fI_f1): Likewise.
1272 (RUN_TEST_LOOP_ffI_f1): Likewise.
1273 (RUN_TEST_LOOP_c_c): Likewise.
1274 (RUN_TEST_LOOP_cc_c): Likewise.
1275 (RUN_TEST_LOOP_f_i): Likewise.
1276 (RUN_TEST_LOOP_f_i_tg): Likewise.
1277 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1278 (RUN_TEST_LOOP_f_b): Likewise.
1279 (RUN_TEST_LOOP_f_b_tg): Likewise.
1280 (RUN_TEST_LOOP_f_l): Likewise.
1281 (RUN_TEST_LOOP_f_L): Likewise.
1282 (RUN_TEST_LOOP_fFF_11): Likewise.
1283 * math/gen-libm-test.pl (parse_args): Output four copies of
1284 expected results for each test.
1285
67737b8f
JM
1286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1287 (__ASSUME_UTIMES): Remove.
1288 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1289 (__ASSUME_UTIMES): Likewise.
1290
aa97dee1
JM
1291 * math/gen-auto-libm-tests.c: Update comment on output format.
1292 (output_for_one_input_case): Generate before-rounding and
1293 after-rounding information as conditions on output flags not
1294 floating-point format.
1295 * math/auto-libm-test-out: Regenerated.
1296 * math/gen-libm-test.pl (cond_value): New function.
1297 (or_cond_value): Use cond_value.
1298 (generate_testfile): Handle conditional exceptions.
1299
e6b6a857
JM
13002014-03-05 Joseph Myers <joseph@codesourcery.com>
1301
2f0a0f44
JM
1302 * math/libm-test.inc (max_valid_error): New variable.
1303 (init_max_error): Take new argument specifying whether function
1304 results are exactly determined. Set max_valid_error and bound
1305 other variables for errors based on this argument.
1306 (set_max_error): Do not record results above max_valid_error.
1307 (check_float_internal): Only accept errors of up to 0.5ulps if
1308 also at most max_valid_error.
1309 (START): Take new argument EXACT and pass it to init_max_error.
1310 (acos_test): Update call to START.
1311 (acos_test_tonearest): Likewise.
1312 (acos_test_towardzero): Likewise.
1313 (acos_test_downward): Likewise.
1314 (acos_test_upward): Likewise.
1315 (acosh_test): Likewise.
1316 (asin_test): Likewise.
1317 (asin_test_tonearest): Likewise.
1318 (asin_test_towardzero): Likewise.
1319 (asin_test_downward): Likewise.
1320 (asin_test_upward): Likewise.
1321 (asinh_test): Likewise.
1322 (atan_test): Likewise.
1323 (atanh_test): Likewise.
1324 (atan2_test): Likewise.
1325 (cabs_test): Likewise.
1326 (cacos_test): Likewise.
1327 (cacosh_test): Likewise.
1328 (carg_test): Likewise.
1329 (casin_test): Likewise.
1330 (casinh_test): Likewise.
1331 (catan_test): Likewise.
1332 (catanh_test): Likewise.
1333 (cbrt_test): Likewise.
1334 (ccos_test): Likewise.
1335 (ccosh_test): Likewise.
1336 (ceil_test): Likewise.
1337 (cexp_test): Likewise.
1338 (cimag_test): Likewise.
1339 (clog_test): Likewise.
1340 (clog10_test): Likewise.
1341 (conj_test): Likewise.
1342 (copysign_test): Likewise.
1343 (cos_test): Likewise.
1344 (cos_test_tonearest): Likewise.
1345 (cos_test_towardzero): Likewise.
1346 (cos_test_downward): Likewise.
1347 (cos_test_upward): Likewise.
1348 (cosh_test): Likewise.
1349 (cosh_test_tonearest): Likewise.
1350 (cosh_test_towardzero): Likewise.
1351 (cosh_test_downward): Likewise.
1352 (cosh_test_upward): Likewise.
1353 (cpow_test): Likewise.
1354 (cproj_test): Likewise.
1355 (creal_test): Likewise.
1356 (csin_test): Likewise.
1357 (csinh_test): Likewise.
1358 (csqrt_test): Likewise.
1359 (ctan_test): Likewise.
1360 (ctan_test_tonearest): Likewise.
1361 (ctan_test_towardzero): Likewise.
1362 (ctan_test_downward): Likewise.
1363 (ctan_test_upward): Likewise.
1364 (ctanh_test): Likewise.
1365 (ctanh_test_tonearest): Likewise.
1366 (ctanh_test_towardzero): Likewise.
1367 (ctanh_test_downward): Likewise.
1368 (ctanh_test_upward): Likewise.
1369 (erf_test): Likewise.
1370 (erfc_test): Likewise.
1371 (exp_test): Likewise.
1372 (exp_test_tonearest): Likewise.
1373 (exp_test_towardzero): Likewise.
1374 (exp_test_downward): Likewise.
1375 (exp_test_upward): Likewise.
1376 (exp10_test): Likewise.
1377 (exp10_test_tonearest): Likewise.
1378 (exp10_test_towardzero): Likewise.
1379 (exp10_test_downward): Likewise.
1380 (exp10_test_upward): Likewise.
1381 (pow10_test): Likewise.
1382 (exp2_test): Likewise.
1383 (expm1_test): Likewise.
1384 (expm1_test_tonearest): Likewise.
1385 (expm1_test_towardzero): Likewise.
1386 (expm1_test_downward): Likewise.
1387 (expm1_test_upward): Likewise.
1388 (fabs_test): Likewise.
1389 (fdim_test): Likewise.
1390 (floor_test): Likewise.
1391 (fma_test): Likewise.
1392 (fma_test_towardzero): Likewise.
1393 (fma_test_downward): Likewise.
1394 (fma_test_upward): Likewise.
1395 (fmax_test): Likewise.
1396 (fmin_test): Likewise.
1397 (fmod_test): Likewise.
1398 (fpclassify_test): Likewise.
1399 (frexp_test): Likewise.
1400 (hypot_test): Likewise.
1401 (ilogb_test): Likewise.
1402 (isfinite_test): Likewise.
1403 (finite_test): Likewise.
1404 (isgreater_test): Likewise.
1405 (isgreaterequal_test): Likewise.
1406 (isinf_test): Likewise.
1407 (isless_test): Likewise.
1408 (islessequal_test): Likewise.
1409 (islessgreater_test): Likewise.
1410 (isnan_test): Likewise.
1411 (isnormal_test): Likewise.
1412 (issignaling_test): Likewise.
1413 (isunordered_test): Likewise.
1414 (j0_test): Likewise.
1415 (j1_test): Likewise.
1416 (jn_test): Likewise.
1417 (ldexp_test): Likewise.
1418 (lgamma_test): Likewise.
1419 (gamma_test): Likewise.
1420 (lrint_test): Likewise.
1421 (lrint_test_tonearest): Likewise.
1422 (lrint_test_towardzero): Likewise.
1423 (lrint_test_downward): Likewise.
1424 (lrint_test_upward): Likewise.
1425 (llrint_test): Likewise.
1426 (llrint_test_tonearest): Likewise.
1427 (llrint_test_towardzero): Likewise.
1428 (llrint_test_downward): Likewise.
1429 (llrint_test_upward): Likewise.
1430 (log_test): Likewise.
1431 (log10_test): Likewise.
1432 (log1p_test): Likewise.
1433 (log2_test): Likewise.
1434 (logb_test): Likewise.
1435 (logb_test_downward): Likewise.
1436 (lround_test): Likewise.
1437 (llround_test): Likewise.
1438 (modf_test): Likewise.
1439 (nearbyint_test): Likewise.
1440 (nextafter_test): Likewise.
1441 (nexttoward_test): Likewise.
1442 (pow_test): Likewise.
1443 (pow_test_tonearest): Likewise.
1444 (pow_test_towardzero): Likewise.
1445 (pow_test_downward): Likewise.
1446 (pow_test_upward): Likewise.
1447 (remainder_test): Likewise.
1448 (drem_test): Likewise.
1449 (remainder_test_tonearest): Likewise.
1450 (drem_test_tonearest): Likewise.
1451 (remainder_test_towardzero): Likewise.
1452 (drem_test_towardzero): Likewise.
1453 (remainder_test_downward): Likewise.
1454 (drem_test_downward): Likewise.
1455 (remainder_test_upward): Likewise.
1456 (drem_test_upward): Likewise.
1457 (remquo_test): Likewise.
1458 (rint_test): Likewise.
1459 (rint_test_tonearest): Likewise.
1460 (rint_test_towardzero): Likewise.
1461 (rint_test_downward): Likewise.
1462 (rint_test_upward): Likewise.
1463 (round_test): Likewise.
1464 (scalb_test): Likewise.
1465 (scalbn_test): Likewise.
1466 (scalbln_test): Likewise.
1467 (signbit_test): Likewise.
1468 (sin_test): Likewise.
1469 (sin_test_tonearest): Likewise.
1470 (sin_test_towardzero): Likewise.
1471 (sin_test_downward): Likewise.
1472 (sin_test_upward): Likewise.
1473 (sincos_test): Likewise.
1474 (sinh_test): Likewise.
1475 (sinh_test_tonearest): Likewise.
1476 (sinh_test_towardzero): Likewise.
1477 (sinh_test_downward): Likewise.
1478 (sinh_test_upward): Likewise.
1479 (sqrt_test): Likewise.
1480 (sqrt_test_tonearest): Likewise.
1481 (sqrt_test_towardzero): Likewise.
1482 (sqrt_test_downward): Likewise.
1483 (sqrt_test_upward): Likewise.
1484 (tan_test): Likewise.
1485 (tan_test_tonearest): Likewise.
1486 (tan_test_towardzero): Likewise.
1487 (tan_test_downward): Likewise.
1488 (tan_test_upward): Likewise.
1489 (tanh_test): Likewise.
1490 (tgamma_test): Likewise.
1491 (trunc_test): Likewise.
1492 (y0_test): Likewise.
1493 (y1_test): Likewise.
1494 (yn_test): Likewise.
1495 (significand_test): Likewise.
1496
e6b6a857
JM
1497 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1498 individual tests in comment.
1499 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1500 (prev_max_error): New variable.
1501 (prev_real_max_error): Likewise.
1502 (prev_imag_max_error): Likewise.
1503 (compare_ulp_data): Don't refer to test names in comment.
1504 (find_test_ulps): Remove function.
1505 (find_function_ulps): Likewise.
1506 (find_complex_function_ulps): Likewise.
1507 (init_max_error): Take function name as argument. Look up ulps
1508 for that function.
1509 (print_ulps): Remove function.
1510 (print_max_error): Use prev_max_error instead of calling
1511 find_function_ulps.
1512 (print_complex_max_error): Use prev_real_max_error and
1513 prev_imag_max_error instead of calling find_complex_function_ulps.
1514 (check_float_internal): Take max_ulp parameter instead of calling
1515 find_test_ulps. Don't call print_ulps.
1516 (check_float): Update call to check_float_internal.
1517 (check_complex): Update calls to check_float_internal.
1518 (START): Pass argument to init_max_error.
1519 * math/gen-libm-test.pl (%results): Don't include "kind"
1520 information.
1521 (parse_ulps): Don't handle ulps of individual tests.
1522 (print_ulps_file): Likewise.
1523 (output_ulps): Likewise.
1524 * math/README.libm-test: Update.
1525 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1526 individual tests.
1527 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1528 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1529 * sysdeps/arm/libm-test-ulps: Likewise.
1530 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1531 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1532 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1533 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1534 * sysdeps/microblaze/libm-test-ulps: Likewise.
1535 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1536 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1538 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1539 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1540 * sysdeps/sh/libm-test-ulps: Likewise.
1541 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1542 * sysdeps/tile/libm-test-ulps: Likewise.
1543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1544
45adef3c
JM
15452014-03-04 Joseph Myers <joseph@codesourcery.com>
1546
1547 * math/libm-test.inc (print_complex_max_error): Check separately
1548 whether real and imaginary errors are within allowed range and
1549 pass 0 to print_complex_function_ulps instead of value within
1550 allowed range.
1551
000232b9
SP
15522014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1553
d4b17258
SP
1554 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1555 formatting.
1556 (get_handles_fopen): Likewise.
1557 (do_write_test): Likewise.
1558
091eff71
SP
1559 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1560
fa3cd248
SP
1561 * libio/fileops.c (do_ftell): Use cached offset when
1562 available.
1563 * libio/iofwide.c (do_ftell_wide): Likewise.
1564 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1565 _IO_file_attach.
1566 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1567
000232b9
SP
1568 [BZ #16532]
1569 * libio/libioP.h (get_file_offset): New function.
1570 * libio/fileops.c (get_file_offset): Likewise.
1571 (do_ftell): Likewise.
1572 (_IO_new_file_seekoff): Split out ftell logic.
1573 * libio/wfileops.c (do_ftell_wide): Likewise.
1574 (_IO_wfile_seekoff): Split out ftell logic.
1575 * libio/tst-ftell-active-handler.c: New test case.
1576 * libio/Makefile (tests): Add it.
1577
116f4d1a
RM
15782014-03-03 Roland McGrath <roland@hack.frob.com>
1579
1580 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1581 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1582
532a6035
SP
15832014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
1585 [BZ #16639]
1586 * nscd/connections.c (nscd_init): Call do_exit.
1587 (start_threads): Call do_exit and notify_parent.
1588 (begin_drop_privileges): Call do_exit.
1589 (finish_drop_privileges): Likewise.
1590 * nscd/selinux.c (preserve_capabilities): Likewise.
1591 (install_real_capabilities): Likewise.
1592 (nscd_selinux_enabled): Likewise.
1593 (avc_create_thread): Likewise.
1594 (avc_alloc_lock): Likewise.
1595 (nscd_avc_init): Likewise.
1596 * nscd/nscd.c (parent_fd): New static variable.
1597 (main): Create a pipe between parent and child processes.
1598 Skip closing parent_fd.
1599 (monitor_child): New function.
1600 (do_exit): Likewise.
1601 (notify_parent): Likewise.
1602 * nscd/nscd.h (notify_parent): Likewise.
1603 (do_exit): Likewise.
1604
d6285c9f
CD
16052014-03-03 Carlos O'Donell <carlos@redhat.com>
1606
1607 * malloc/malloc.c (__libc_calloc): Revert last change.
1608
2b85d2a0
AZ
16092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1610
1611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1612
c7debbdf
RS
16132014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1614
1615 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1617 implementation.
1618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1619 (__libc_ifunc_impl_list): Likewise.
1620 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1621 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1622 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1623 * string/strrchr.c: Define STRRCHR.
1624
235eed86
OB
16252014-02-28 Ondřej Bílka <neleai@seznam.cz>
1626
1627 * benchtest/bench-strtok.c (simple_strtok): Delete.
1628 (strtok_string): Use as benchmark.
1629 * string/strtok (STRTOK): New macro.
1630
8e25d1e7
CD
16312014-02-28 Carlos O'Donell <carlos@redhat.com>
1632
ef563f92
CD
1633 * manual/threads.texi: Add header and standard comments to all
1634 functions.
1635
8e25d1e7
CD
1636 * elf/dl-lookup.c (check_match): New function.
1637 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1638 (do_lookup_x): Remove nested function check_match. Use non-nested
1639 function check_match.
1640
ff71cc37
RM
16412014-02-28 Roland McGrath <roland@hack.frob.com>
1642
f08e9a26
RM
1643 * csu/Makefile (generated, before-compile): Use += rather than =.
1644 * catgets/Makefile (generated, generated-dirs): Likewise.
1645 * debug/Makefile (generated): Likewise.
1646 * dlfcn/Makefile (generated): Likewise.
1647 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1648 * iconvdata/Makefile (before-compile, generated): Likewise.
1649 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1650 * libio/Makefile (generated): Likewise.
1651 * malloc/Makefile (generated): Likewise.
1652 * manual/Makefile (generated, generated-dirs): Likewise.
1653 * misc/Makefile (generated): Likewise.
1654 * posix/Makefile (generated): Likewise.
1655 * resolv/Makefile (generated): Likewise.
1656 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1657 * timezone/Makefile (generated, generated-dirs): Likewise.
1658
ff71cc37
RM
1659 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1660
fe13a20c
AZ
16612014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662
1663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1664 implementation.
1665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1666 POWER8 llround ifunc implementation.
1667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1668 POWER8 implementation.
1669 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1670 POWER8 llround implementation.
1671
1ad8950a
AZ
16722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673
1674 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1675 implementation.
1676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1677 POWER8 llrint ifunc implementation.
1678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1679 POWER8 implementation.
1680 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1681 POWER8 llrint implementation.
1682
cac626d6
AZ
16832014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684
1685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1686 implementation.
1687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1688 POWER8 finite ifunc implementation.
1689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1690 POWER8 implementation.
1691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1692 Likewise.
1693 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1694 POWER8 finite implementation.
1695 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1696
4393fc11
AZ
16972014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1698
1699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1700 implementation.
1701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1702 POWER8 isinf ifunc implementation.
1703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1704 POWER8 implementation.
1705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1706 Likewise.
1707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1708 POWER8 isinf implementation.
1709 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1710
487972ae
AZ
17112014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1712
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1714 Add hwcap2 initialization.
1715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1716 implementation.
1717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1718 POWER8 isnan ifunc implementation.
1719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1720 POWER8 implementation.
1721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1722 Likewise.
1723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1724 POWER8 isnan implementation.
1725 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1726
7d92b787
JY
17272014-02-27 Joey Ye <joey.ye@arm.com>
1728
1729 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1730 (_FP_NANFRAC_Q): Set to zero.
1731
1cadc858
SP
17322014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1733
1734 [BZ #16623]
1735 * math/auto-libm-test-in: New test inputs.
1736 * math/auto-libm-test-out: Regenerate.
1737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1738 and DA.
1739 (__cos): Likewise.
1740 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1741
f8c17e79
JM
17422014-02-27 Joseph Myers <joseph@codesourcery.com>
1743
1744 * scripts/evaluate-test.sh: Take new argument indicating whether
1745 failure is expected.
1746 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1747 indicating whether failure is expected.
1748 * conform/Makefile (test-xfail-run-conformtest): New variable.
1749 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1750 level.
1751 * posix/Makefile (test-xfail-annexc): New variable.
1752 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1753
a5f891ac
JM
17542014-02-26 Joseph Myers <joseph@codesourcery.com>
1755
1756 * argp/Makefile: Include Makeconfig immediately after defining
1757 subdir.
1758 * assert/Makefile: Likewise.
1759 * benchtests/Makefile: Likewise.
1760 * catgets/Makefile: Likewise.
1761 * conform/Makefile: Likewise.
1762 * crypt/Makefile: Likewise.
1763 * csu/Makefile: Likewise.
1764 (all): Remove target.
1765 * ctype/Makefile: Include Makeconfig immediately after defining
1766 subdir.
1767 * debug/Makefile: Likewise.
1768 * dirent/Makefile: Likewise.
1769 * dlfcn/Makefile: Likewise.
1770 * gmon/Makefile: Likewise.
1771 * gnulib/Makefile: Likewise.
1772 * grp/Makefile: Likewise.
1773 * gshadow/Makefile: Likewise.
1774 * hesiod/Makefile: Likewise.
1775 * hurd/Makefile: Likewise.
1776 (all): Remove target.
1777 * iconvdata/Makefile: Include Makeconfig immediately after
1778 defining subdir.
1779 * inet/Makefile: Likewise.
1780 * intl/Makefile: Likewise.
1781 * io/Makefile: Likewise.
1782 * libio/Makefile: Likewise.
1783 (all): Remove target.
1784 * locale/Makefile: Include Makeconfig immediately after defining
1785 subdir.
1786 * login/Makefile: Likewise.
1787 * mach/Makefile: Likewise.
1788 (all): Remove target.
1789 * malloc/Makefile: Include Makeconfig immediately after defining
1790 subdir.
1791 (all): Remove target.
1792 * manual/Makefile: Include Makeconfig immediately after defining
1793 subdir.
1794 * math/Makefile: Likewise.
1795 * misc/Makefile: Likewise.
1796 * nis/Makefile: Likewise.
1797 * nss/Makefile: Likewise.
1798 * po/Makefile: Likewise.
1799 (all): Remove target.
1800 * posix/Makefile: Include Makeconfig immediately after defining
1801 subdir.
1802 * pwd/Makefile: Likewise.
1803 * resolv/Makefile: Likewise.
1804 * resource/Makefile: Likewise.
1805 * rt/Makefile: Likewise.
1806 * setjmp/Makefile: Likewise.
1807 * shadow/Makefile: Likewise.
1808 * signal/Makefile: Likewise.
1809 * socket/Makefile: Likewise.
1810 * soft-fp/Makefile: Likewise.
1811 * stdio-common/Makefile: Likewise.
1812 * stdlib/Makefile: Likewise.
1813 * streams/Makefile: Likewise.
1814 * string/Makefile: Likewise.
1815 * sunrpc/Makefile: Likewise.
1816 (all): Remove target.
1817 * sysvipc/Makefile: Include Makeconfig immediately after defining
1818 subdir.
1819 * termios/Makefile: Likewise.
1820 * time/Makefile: Likewise.
1821 * timezone/Makefile: Likewise.
1822 (all): Remove target.
1823 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1824 subdir.
1825 * wctype/Makefile: Likewise.
1826
5b456e9d
SE
18272014-02-26 Steve Ellcey <sellcey@mips.com>
1828
1829 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1830 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1831 (libc_feholdexcept_setround_mips): Ditto.
1832 (libc_feholdsetround): New.
1833 (libc_feholdsetroundf): New.
1834 (libc_feholdsetroundl): New.
1835 (libc_feupdateenv_test_mips): New.
1836 (libc_feupdateenv_test): New.
1837 (libc_feupdateenv_testf): New.
1838 (libc_feupdateenv_testl): New.
1839 (libc_feresetround): New.
1840 (libc_feresetroundf): New.
1841 (libc_feresetroundl): New.
1842 (libc_fetestexcept_mips): New.
1843 (libc_fetestexcept): New.
1844 (libc_fetestexceptf): New.
1845 (libc_fetestexceptl): New.
1846 (HAVE_RM_CTX): New.
1847 (libc_feholdexcept_setround_mips_ctx): New.
1848 (libc_feholdexcept_setround_ctx): New.
1849 (libc_feholdexcept_setroundf_ctx): New.
1850 (libc_feholdexcept_setroundl_ctx): New.
1851 (libc_fesetenv_mips_ctx): New.
1852 (libc_fesetenv_ctx): New.
1853 (libc_fesetenv_ctxf): New.
1854 (libc_fesetenv_ctxl): New.
1855 (libc_feupdateenv_mips_ctx): New.
1856 (libc_feupdateenv_ctx): New.
1857 (libc_feupdateenvf_ctx): New.
1858 (libc_feupdateenvl_ctx): New.
1859 (libc_feholdsetround_mips_ctx): New.
1860 (libc_feholdsetround_ctx): New.
1861 (libc_feholdsetroundf_ctx): New.
1862 (libc_feholdsetroundl_ctx): New.
1863 (libc_feresetround_mips_ctx): New.
1864 (libc_feresetround_ctx): New.
1865 (libc_feresetroundf_ctx): New.
1866 (libc_feresetroundl_ctx): New.
1867
085d0e35
CD
18682014-02-26 Carlos O'Donell <carlos@redhat.com>
1869
f067bf1f
CD
1870 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1871
085d0e35
CD
1872 * manual/ipc.texi: New file.
1873 * manual/Makefile (chapters): Add ipc.
1874 * manual/job.texi: Add "Inter-Process Communication" to next.
1875 * manual/process.texi: Add "Inter-Process Communication" to prev.
1876
86e58c08
AZ
18772014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878
1879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1880
4248f0da
OB
18812014-02-26 Ondřej Bílka <neleai@seznam.cz>
1882
1883 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1884
cf822e3c
OB
1885 * manual/arith.texi: Fix spaces after sentences.
1886 * manual/charset.texi: Likewise.
1887 * manual/errno.texi: Likewise.
1888 * manual/install.texi: Likewise.
1889 * manual/llio.texi: Likewise.
1890 * manual/locale.texi: Likewise.
1891 * manual/maint.texi: Likewise.
1892 * manual/math.texi: Likewise.
1893 * manual/memory.texi: Likewise.
1894 * manual/message.texi: Likewise.
1895 * manual/probes.texi: Likewise.
1896 * manual/resource.texi: Likewise.
1897 * manual/signal.texi: Likewise.
1898 * manual/socket.texi: Likewise.
1899 * manual/stdio.texi: Likewise.
1900 * manual/string.texi: Likewise.
1901 * manual/time.texi: Likewise.
1902 * manual/users.texi: Likewise.
1903
ade40b10
CD
19042014-02-25 Carlos O'Donell <carlos@redhat.com>
1905
1906 [BZ #16632]
1907 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1908 _DEFAULT_SOURCE is defined.
1909
d0503676
CD
19102014-02-25 Ulrich Drepper <drepper@gmail.com>
1911 Carlos O'Donell <carlos@redhat.com>
1912
1913 [BZ #16613]
1914 * elf/dl-tls.c (_dl_count_modids): New function.
1915 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1916 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1917 audit library and increment generation counter.
1918 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1919 * elf/tst-audit9.c: New file.
1920 * elf/tst-auditmod9a.c: New file.
1921 * elf/tst-auditmod9b.c: New file.
1922 * elf/Makefile: Add rules to build and run tst-audit9.
1923
4cbf380c
FW
19242014-02-25 Florian Weimer <fweimer@redhat.com>
1925
1926 [BZ #15347]
1927 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1928
80a56cc3
WN
19292014-02-25 Will Newton <will.newton@linaro.org>
1930
1931 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1932 (__longjmp): Restore sp and lr before restoring callee
1933 saved registers. Add longjmp and longjmp_target
1934 SystemTap probe point.
1935 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1936 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1937 Define to zero to match jmpbuf layout.
1938 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1939 (__sigsetjmp): Save sp and lr before saving callee
1940 saved registers. Add setjmp SystemTap probe point.
1941
3ea0f74e
SL
19422014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1943
1944 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1945
b04acb26
AS
19462014-02-24 Andreas Schwab <schwab@suse.de>
1947
1948 [BZ #15804]
1949 * elf/pldd.c (wait_for_ptrace_stop): New function.
1950 (main): Call it after attaching.
1951
098ad55c
RM
19522014-02-22 Roland McGrath <roland@hack.frob.com>
1953
d4ec6ae1
RM
1954 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1955 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1956 Versions files is now verboten.
1957 * hurd/Versions (libc: GLIBC_2.0):
1958 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1959 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1960 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1961 * mach/Versions: Likewise.
1962
098ad55c
RM
1963 * csu/Versions: Remove unused %include.
1964 * resolv/Versions: Likewise.
1965
acd7f096
JM
19662014-02-21 Joseph Myers <joseph@codesourcery.com>
1967
f0881698
JM
1968 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1969 ($(objpfx)check-local-headers.out): Likewise.
1970 ($(objpfx)begin-end-check.out): Likewise.
1971 * Makerules (check-abi-%.out): Likewise.
1972 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1973 ($(objpfx)test2.cat): Likewise.
1974 ($(objpfx)de/libc.cat): Likewise.
1975 ($(objpfx)test-gencat.out): Likewise.
1976 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1977 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1978 ($(objpfx)noload-mem): Likewise.
1979 ($(objpfx)tst-pathopt.out): Likewise.
1980 ($(objpfx)tst-rtld-load-self.out): Likewise.
1981 ($(objpfx)tst-array1-cmp.out): Likewise.
1982 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1983 ($(objpfx)tst-array2-cmp.out): Likewise.
1984 ($(objpfx)tst-array3-cmp.out): Likewise.
1985 ($(objpfx)tst-array4-cmp.out): Likewise.
1986 ($(objpfx)tst-array5-cmp.out): Likewise.
1987 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1988 ($(objpfx)check-textrel.out): Likewise.
1989 ($(objpfx)check-execstack.out): Likewise.
1990 ($(objpfx)check-localplt.out): Likewise.
1991 ($(objpfx)order2-cmp.out): Likewise.
1992 ($(objpfx)tst-leaks1-mem): Likewise.
1993 ($(objpfx)tst-leaks1-static-mem): Likewise.
1994 ($(objpfx)tst-initorder-cmp.out): Likewise.
1995 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1996 ($(objpfx)tst-unused-dep.out): Likewise.
1997 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1998 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1999 * iconv/Makefile (test-iconvconfig): Likewise.
2000 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2001 ($(objpfx)iconv-test.out): Likewise.
2002 ($(objpfx)tst-tables.out): Likewise.
2003 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2004 ($(objpfx)tst-gettext.out): Likewise.
2005 ($(objpfx)tst-translit.out): Likewise.
2006 ($(objpfx)tst-gettext2.out): Likewise.
2007 ($(objpfx)tst-gettext4.out): Likewise.
2008 ($(objpfx)tst-gettext6.out): Likewise.
2009 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2010 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2011 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2012 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2013 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2014 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2015 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2016 ($(objpfx)wordexp-tst.out): Likewise.
2017 ($(objpfx)annexc.out): Likewise.
2018 ($(objpfx)tst-fnmatch-mem): Likewise.
2019 ($(objpfx)bug-regex2-mem): Likewise.
2020 ($(objpfx)bug-regex14-mem): Likewise.
2021 ($(objpfx)bug-regex21-mem): Likewise.
2022 ($(objpfx)bug-regex31-mem): Likewise.
2023 ($(objpfx)tst-vfork3-mem): Likewise.
2024 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2025 ($(objpfx)tst-pcre-mem): Likewise.
2026 ($(objpfx)tst-boost-mem): Likewise.
2027 ($(objpfx)tst-getconf.out): Likewise.
2028 ($(objpfx)bug-ga2-mem): Likewise.
2029 ($(objpfx)bug-glob2-mem): Likewise.
2030 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2031 ($(objpfx)mtrace-tst-leaks2): Likewise.
2032 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2033 ($(objpfx)tst-printf.out): Likewise.
2034 ($(objpfx)tst-setvbuf1.out): Likewise.
2035 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2036 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2037 ($(objpfx)tst-fmtmsg.out): Likewise.
2038 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2039 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2040
acd7f096
JM
2041 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2042 * bits/sigaction.h [__USE_MISC]: Likewise.
2043 * bits/waitstatus.h: Update #endif comments.
2044 * ctype/ctype.h: Likewise.
2045 * dirent/dirent.h: Likewise.
2046 [__USE_MISC]: Remove redundant conditionals.
2047 * grp/grp.h: Update #endif comments.
2048 [__USE_GNU]: Remove redundant conditionals.
2049 [__USE_MISC]: Likewise.
2050 * inet/netinet/in.h [__USE_GNU]: Likewise.
2051 * io/sys/stat.h [__USE_MISC]: Likewise.
2052 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2053 * libio/bits/stdio.h: Update #endif comments.
2054 [__USE_MISC]: Remove redundant conditionals.
2055 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2056 * libio/stdio.h: Update #endif comments.
2057 [__USE_MISC]: Remove redundant conditionals.
2058 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2059 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2060 * math/math.h: Update #else and #endif comments.
2061 [__USE_MISC]: Remove redundant conditionals.
2062 * misc/sys/uio.h: Update #endif comments.
2063 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2064 * posix/glob.h [__USE_MISC]: Likewise.
2065 * posix/sys/types.h: Update #endif comments.
2066 [__USE_MISC]: Remove redundant conditionals.
2067 * posix/sys/wait.h: Update #endif comments.
2068 [__USE_MISC]: Remove redundant conditionals.
2069 * posix/unistd.h: Update #endif comments.
2070 [__USE_MISC]: Remove redundant conditionals.
2071 * pwd/pwd.h [__USE_GNU]: Likewise.
2072 [__USE_MISC]: Likewise.
2073 * resolv/netdb.h [__USE_GNU]: Likewise.
2074 * signal/signal.h: Update #endif comments.
2075 [__USE_MISC]: Remove redundant conditionals.
2076 * stdlib/stdlib.h: Update #else and #endif comments.
2077 [__USE_MISC]: Remove redundant conditionals.
2078 [__USE_GNU]: Likewise.
2079 * string/bits/string2.h [__USE_MISC]: Likewise.
2080 * string/string.h: Update #endif comments.
2081 [__USE_MISC]: Remove redundant conditionals.
2082 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2083 Likewise.
2084 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2085 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2086 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2087 Likewise.
2088 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2089 Likewise.
2090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2091 comments.
2092 [__USE_MISC]: Remove redundant conditionals.
2093 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2094 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2095 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2096 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2097 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2098 Likewise.
2099 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2100 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2104 Likewise.
2105 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2106 Likewise.
2107 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2108 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2109 Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2111 Likewise.
2112 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2113 * sysdeps/x86/bits/string.h: Update #endif comments.
2114 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2115 conditionals.
2116 * time/sys/time.h: Update #endif comments.
2117 * time/time.h: Likewise.
2118 [__USE_MISC]: Remove redundant conditionals.
2119
a5d82e4e
YG
21202014-02-21 Yury Gribov <y.gribov@samsung.com>
2121
2122 [BZ #16600]
2123 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2124
9a80491d
AS
21252014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2126
2127 * Versions.def (librt): Add GLIBC_2.17.
2128
105fa381
AC
21292014-02-21 Adam Conrad <adconrad@0c3.net>
2130
2131 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2132 synonym for _SYS_AUXV_H to allow direct inclusion.
2133 * sysdeps/sparc/bits/hwcap.h: Likewise.
2134 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2135 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2136 * sysdeps/sparc/sysdep.h: Likewise.
2137
b8cd1c4e
SP
21382014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2139
2140 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2141
bd939d23
RS
21422014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2143
2144 * benchtests/bench-strrchr.c: Print length instead of position.
2145
5d7b57ca
JM
21462014-02-20 Joseph Myers <joseph@codesourcery.com>
2147
bc688c10
JM
2148 [BZ #16611]
2149 * sysdeps/unix/sysv/linux/kernel-features.h
2150 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2151 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2152 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2153 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2154 Likewise.
2155 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2156 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2157 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2158 (__ASSUME_SENDMMSG): Define instead of using previous
2159 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2160 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2161 (__ASSUME_SENDMMSG_SYSCALL): Define.
2162 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2163 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2164 Likewise.
2165 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2166 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2167 Likewise.
2168 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2169 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2170 Likewise.
2171 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2172 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2173 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2174 [__ASSUME_SENDMMSG]: Change conditionals to
2175 [__ASSUME_SENDMMSG_SOCKETCALL].
2176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2177 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2178 Define.
2179 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2180 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2181 Likewise.
2182 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2183 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2184 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2185 [!__ASSUME_SENDMMSG]: Change conditional to
2186 [!__ASSUME_SENDMMSG_SOCKETCALL].
2187 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2188 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2189 Define.
2190
0e31b18c
JM
2191 [BZ #16610]
2192 * sysdeps/unix/sysv/linux/kernel-features.h
2193 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2194 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2195 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2196 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2197 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2198 [__i386__ || __sparc__]
2199 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2200 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2201 (__ASSUME_RECVMMSG): Define instead of using previous
2202 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2203 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2204 (__ASSUME_RECVMMSG_SYSCALL): Define.
2205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2206 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2207 Likewise.
2208 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2209 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2210 Likewise.
2211 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2212 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2215 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2216 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2217 [__ASSUME_RECVMMSG]: Change condition to
2218 [__ASSUME_RECVMMSG_SOCKETCALL].
2219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2220 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2221 Define.
2222 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2223 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2224 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2225 Likewise.
2226 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2227 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2228 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2229 [!__ASSUME_RECVMMSG]: Change condition to
2230 [!__ASSUME_RECVMMSG_SOCKETCALL].
2231 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2232 (__ASSUME_RECVMMSG_SYSCALL): Define.
2233
dd481ccf
JM
2234 [BZ #16609]
2235 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2236 __powerpc__ || __s390__ || __sh__ || __sparc__]
2237 (__ASSUME_SOCKETCALL): Define.
2238 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2239 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2240 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2241 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2242 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2243 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2244 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2245 (__ASSUME_ACCEPT4): Define instead of using previous
2246 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2247 __powerpc__ || __sparc__ || __s390__)] condition.
2248 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2249 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2250 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2251 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2252 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2253 [!__ASSUME_ACCEPT4]: Change condition to
2254 [!__ASSUME_ACCEPT4_SOCKETCALL].
2255 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2256 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2257 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2258 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2259 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2260 __ASSUME_ACCEPT4_SYSCALL.
2261 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2262 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2263 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2264 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2265 __ASSUME_ACCEPT4_SYSCALL.
2266 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2267 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2268 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2269 [__ASSUME_ACCEPT4]: Change condition to
2270 [__ASSUME_ACCEPT4_SOCKETCALL].
2271 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2272 (__ASSUME_SOCKETCALL): Define.
2273 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2274 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2275 (__ASSUME_SOCKETCALL): Define.
2276 (__ASSUME_ACCEPT4): Remove.
2277 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2278 Define.
2279 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2280 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2281 Likewise.
2282 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2283 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2284
5d7b57ca
JM
2285 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2286 macro.
2287 (HWCAP_ARM_LPAE): Likewise.
2288 (HWCAP_ARM_EVTSTRM): Likewise.
2289 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2290 Add vpfd32, lpae and evtstrm.
2291 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2292 Increase to 22.
2293
63689d61
JM
22942014-02-19 Joseph Myers <joseph@codesourcery.com>
2295
2296 * math/auto-libm-test-in: Add tests of clog10.
2297 * math/auto-libm-test-out: Regenerated.
2298 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2299 * sysdeps/i386/fpu/libm-test-ulps: Update.
2300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2301
ab09bf61
AS
23022014-02-18 Andreas Schwab <schwab@suse.de>
2303
2304 [BZ #16574]
2305 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2306 Store non-zero if the second buffer was newly allocated.
2307 (send_dg): Likewise.
2308 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2309 to send_vc and send_dg.
2310 (res_nsend): Pass NULL for ansp2_malloced.
2311 * resolv/res_query.c (__libc_res_nquery): Add parameter
2312 answerp2_malloced and pass it down to __libc_res_nsend.
2313 (res_nquery): Pass additional NULL to __libc_res_nquery.
2314 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2315 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2316 second answer buffer if answerp2_malloced was set.
2317 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2318 (__libc_res_nquerydomain): Add parameter
2319 answerp2_malloced and pass it down to __libc_res_nquery.
2320 (res_nquerydomain): Pass additional NULL to
2321 __libc_res_nquerydomain.
2322 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2323 additional NULL to __libc_res_nsend and __libc_res_nquery.
2324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2325 additional NULL to __libc_res_nsearch.
2326 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2327 parameter of __libc_res_nsearch to check for separately allocated
2328 second buffer.
2329 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2330 __libc_res_nquery.
2331 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2332 additional NULL to __libc_res_nquery.
2333 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2334 __libc_res_nsearch.
2335 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2336 * include/resolv.h: Update prototypes of __libc_res_nquery,
2337 __libc_res_nsearch, __libc_res_nsend.
2338
a4fb7861
JM
23392014-02-18 Joseph Myers <joseph@codesourcery.com>
2340
c6af2d89
JM
2341 * math/auto-libm-test-in: Add tests of fma.
2342 * math/auto-libm-test-out: Regenerated.
2343 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2344 (fma_towardzero_test_data): Likewise.
2345 (fma_downward_test_data): Likewise.
2346 (fma_upward_test_data): Likewise.
2347 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2348 mpc_mode.
2349 (rounding_modes): Add values for new field.
2350 (func_calc_method): Add value mpfr_fff_f.
2351 (func_calc_desc): Add mpfr_fff_f union field.
2352 (test_function): Add field exact_args.
2353 (FUNC): Add macro argument EXACT_ARGS.
2354 (FUNC_mpfr_f_f): Update call to FUNC.
2355 (FUNC_mpfr_f_f): Likewise.
2356 (FUNC_mpfr_ff_f): Likewise.
2357 (FUNC_mpfr_if_f): Likewise.
2358 (FUNC_mpc_c_f): Likewise.
2359 (FUNC_mpc_c_c): Likewise.
2360 (test_functions): Add fma. Update calls to FUNC.
2361 (handle_input_arg): Add argument exact_args.
2362 (add_test): Update call to handle_input_arg.
2363 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2364 (output_for_one_input_case): Update call to calc_generic_results.
2365 Recalculate exact zero results in each rounding mode.
2366
a4fb7861
JM
2367 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2368 non-negative before setting low bit.
2369 * math/auto-libm-test-in: Mark one asin test possibly having
2370 spurious underflow.
2371 * math/auto-libm-test-out: Regenerated.
2372 * sysdeps/i386/fpu/libm-test-ulps: Update.
2373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2374
ef114eaf
DH
23752014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2376
2b7f4f2c
SP
2377 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2378 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2379 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2380 * README: Add missing listing for microblaze*-*-linux-gnu.
2381
c70a4b1d
MF
23822014-02-16 Mike Frysinger <vapier@gentoo.org>
2383
2384 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2385 * sysdeps/unix/sysv/linux/ia64: Move directory from
2386 ports/sysdeps/unix/sysv/linux/ia64.
2387 * README: Update listing for ia64-*-linux-gnu.
2388
591aeaf7
TD
23892014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2390 Joseph Myers <joseph@codesourcery.com>
2391
2392 * Makeconfig (test-name): New variable.
2393 (evaluate-test): Likewise.
2394 * Makerules (do-test-clean): Remove .test-result files.
2395 (common-mostlyclean): Likewise.
2396 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2397 * scripts/evaluate-test.sh: New file.
2398
6e89caf1
JM
23992014-02-14 Joseph Myers <joseph@codesourcery.com>
2400
7f98f180
JM
2401 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2402 separate $(objpfx)tst-fopenloc-cmp.out and
2403 $(objpfx)tst-fopenloc-mem.out targets.
2404 (tests): Update dependencies.
2405 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2406 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2407 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2408 (tst-rxspencer-no-utf8-ARGS): New variable.
2409 (tst-rxspencer-no-utf8-ENV): Likewise.
2410 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2411 instead of $(objpfx)tst-rxspencer-mem.
2412 ($(objpfx)tst-rxspencer-mem): Change target to
2413 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2414 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2415 * posix/tst-rxspencer-no-utf8.c: New file.
2416
6e89caf1
JM
2417 * elf/Makefile ($(objpfx)order.out): Remove rule.
2418 [$(run-built-tests) = yes] (tests): Depend on
2419 $(objpfx)order-cmp.out.
2420 ($(objpfx)order-cmp.out): New rule.
2421 [$(run-built-tests) = yes] (tests): Depend on
2422 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2423 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2424 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2425 $(objpfx)tst-array5-static-cmp.out.
2426 ($(objpfx)tst-array1.out): Remove rule.
2427 ($(objpfx)tst-array1-cmp.out): New rule.
2428 ($(objpfx)tst-array1-static.out): Remove rule.
2429 ($(objpfx)tst-array1-static-cmp.out): New rule.
2430 ($(objpfx)tst-array2.out): Remove rule.
2431 ($(objpfx)tst-array2-cmp.out): New rule.
2432 ($(objpfx)tst-array3.out): Remove rule.
2433 ($(objpfx)tst-array3-cmp.out): New rule.
2434 ($(objpfx)tst-array4.out): Remove rule.
2435 ($(objpfx)tst-array4-cmp.out): New rule.
2436 ($(objpfx)tst-array5.out): Remove rule.
2437 ($(objpfx)tst-array5-cmp.out): New rule.
2438 ($(objpfx)tst-array5-static.out): Remove rule.
2439 ($(objpfx)tst-array5-static-cmp.out): New rule.
2440 [$(run-built-tests) = yes] (tests): Depend on
2441 $(objpfx)order2-cmp.out.
2442 ($(objpfx)order2.out): Remove rule.
2443 ($(objpfx)order2-cmp.out): New rule.
2444 ($(objpfx)tst-initorder.out): Remove rule.
2445 [$(run-built-tests) = yes] (tests): Depend on
2446 $(objpfx)tst-initorder-cmp.out.
2447 ($(objpfx)tst-initorder-cmp.out): New rule.
2448 ($(objpfx)tst-initorder2.out): Remove rule.
2449 [$(run-built-tests) = yes] (tests): Depend on
2450 $(objpfx)tst-initorder2-cmp.out.
2451 ($(objpfx)tst-initorder2-cmp.out): New rule.
2452 [$(run-built-tests) = yes] (tests): Depend on
2453 $(objpfx)tst-unused-dep-cmp.out.
2454 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2455 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2456 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2457 on $(objpfx)tst-setvbuf1-cmp.out.
2458 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2459 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2460 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2461 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2462 ($(objpfx)tst-svc.out): Remove rule.
2463 ($(objpfx)tst-svc-cmp.out): New rule.
2464
ed9a38e2
JM
24652014-02-13 Joseph Myers <joseph@codesourcery.com>
2466
2467 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2468 * ctype/ctype.h [__USE_MISC]: Likewise.
2469 * dirent/dirent.h [__USE_MISC]: Likewise.
2470 * grp/grp.h [__USE_MISC]: Likewise.
2471 * io/fcntl.h [__USE_MISC]: Likewise.
2472 * io/sys/stat.h [__USE_MISC]: Likewise.
2473 * libio/stdio.h [__USE_MISC]: Likewise.
2474 * posix/unistd.h [__USE_MISC]: Likewise.
2475 * pwd/pwd.h [__USE_MISC]: Likewise.
2476 * stdlib.h [__USE_MISC]: Likewise.
2477 * string/bits/string2.h [__USE_MISC]: Likewise.
2478 * string/string.h [__USE_MISC]: Likewise.
2479 * time/time.h [__USE_MISC]: Likewise.
2480
d6680619
AS
24812014-02-13 Andreas Schwab <schwab@suse.de>
2482
2483 [BZ #16574]
2484 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2485 second answer buffer if it was separately allocated.
2486
ace614b8
JM
24872014-02-12 Joseph Myers <joseph@codesourcery.com>
2488
743151ae
JM
2489 * sysdeps/mips/math-tests.h: Include <features.h>.
2490 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2491 (ROUNDING_TESTS_long_double): Do not define.
2492 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2493 (EXCEPTION_TESTS_long_double): Likewise.
2494 * sysdeps/mips/mips64/libm-test-ulps: Update.
2495
498afc54
JM
2496 * include/features.h (__USE_BSD): Remove macro definitions.
2497 (__USE_SVID): Likewise.
2498 (_BSD_SOURCE): Likewise.
2499 (_SVID_SOURCE): Likewise.
2500 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2501 from definition of _DEFAULT_SOURCE.
2502 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2503 [_DEFAULT_SOURCE].
2504 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2505 * bits/mman.h [__USE_BSD]: Likewise.
2506 * bits/termios.h [__USE_BSD]: Likewise.
2507 * bits/waitstatus.h [__USE_BSD]: Likewise.
2508 * ctype/ctype.h [__USE_SVID]: Likewise.
2509 * dirent/dirent.h [__USE_BSD]: Likewise.
2510 * grp/grp.h [__USE_SVID]: Likewise.
2511 [__USE_BSD]: Likewise.
2512 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2513 * io/fcntl.h [__USE_BSD]: Likewise.
2514 * io/ftw.h [__USE_BSD]: Likewise.
2515 * io/sys/stat.h [__USE_BSD]: Likewise.
2516 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2517 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2518 * libio/stdio.h [__USE_SVID]: Likewise.
2519 [__USE_BSD]: Likewise.
2520 * math/math.h [__USE_SVID]: Likewise.
2521 [__USE_BSD]: Likewise.
2522 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2523 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2524 * misc/search.h [__USE_SVID]: Likewise.
2525 * misc/sys/mman.h [__USE_BSD]: Likewise.
2526 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2527 * misc/sys/uio.h [__USE_BSD]: Likewise.
2528 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2529 * posix/glob.h [__USE_BSD]: Likewise.
2530 * posix/regex.h [__USE_BSD]: Likewise.
2531 * posix/sys/types.h [__USE_BSD]: Likewise.
2532 [__USE_SVID]: Likewise.
2533 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2534 * posix/sys/wait.h [__USE_BSD]: Likewise.
2535 [__USE_SVID]: Likewise.
2536 * posix/unistd.h [__USE_BSD]: Likewise.
2537 [__USE_SVID]: Likewise.
2538 * pwd/pwd.h [__USE_SVID]: Likewise.
2539 * resolv/netdb.h [__USE_BSD]: Likewise.
2540 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2541 * signal/signal.h [__USE_BSD]: Likewise.
2542 [__USE_SVID]: Likewise.
2543 * socket/sys/socket.h [__USE_BSD]: Likewise.
2544 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2545 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2546 [__USE_SVID]: Likewise.
2547 * string/bits/string2.h [__USE_BSD]: Likewise.
2548 [__USE_SVID]: Likewise.
2549 * string/bits/string3.h [__USE_BSD]: Likewise.
2550 * string/endian.h [__USE_BSD]: Likewise.
2551 * string/string.h [__USE_SVID]: Likewise.
2552 [__USE_BSD]: Likewise.
2553 * string/strings.h [__USE_BSD]: Likewise.
2554 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2555 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2556 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2557 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2558 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2559 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2560 Likewise.
2561 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2562 Likewise.
2563 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2564 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2567 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2568 Likewise.
2569 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2572 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2573 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2574 Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2576 Likewise.
2577 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2578 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2579 * termios/termios.h [__USE_BSD]: Likewise.
2580 * time/sys/time.h [__USE_BSD]: Likewise.
2581 * time/time.h [__USE_BSD]: Likewise.
2582 [__USE_SVID]: Likewise.
2583
dd7b064c
JM
2584 * Makefile (subdir_targets): Remove subdir_lint.out.
2585
a2c4c199
JM
2586 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2587 (do-tst-printf): Likewise.
2588 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2589 $(objpfx)tst-printf.out.
2590
8756f740
JM
2591 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2592
1b6dd3f1
JM
2593 * Makerules (check-abi-%): Change target to
2594 $(objpfx)check-abi-%.out.
2595 (check-abi target): Update dependencies.
2596 (check-abi-pattern variable): Redirect output of diff to $@.
2597 (check-abi variable): Likewise.
2598 * elf/Makefile (check-abi): Update dependencies.
2599
ace614b8
JM
2600 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2601 unused.
2602 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2603 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2604 subnormal range.
2605 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2606 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2607 value has largest subnormal exponent.
2608 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2609 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2610 * sysdeps/aarch64/soft-fp/sfp-machine.h
2611 (_FP_TININESS_AFTER_ROUNDING): New macro.
2612 * sysdeps/alpha/soft-fp/sfp-machine.h
2613 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2614 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2615 Likewise.
2616 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2617 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2618 * sysdeps/mips/soft-fp/sfp-machine.h
2619 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2620 * sysdeps/powerpc/soft-fp/sfp-machine.h
2621 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2622 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2623 Likewise.
2624 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2625 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2626 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2627 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2628 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2629 Likewise.
2630
fbfdf9cb
DAS
26312014-02-12 Dylan Alex Simon <dylan@dylex.net>
2632
2633 [BZ #16545]
2634 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2635 model 1.
2636
68b7efaa
RH
26372014-02-12 Richard Henderson <rth@redhat.com>
2638
c70a4b1d 2639 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2640 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2641 * sysdeps/unix/sysv/linux/alpha: Move directory from
2642 ports/sysdeps/unix/sysv/linux/alpha.
2643 * README: Update listing for alpha-*-linux-gnu.
2644
cb4a2928
JM
26452014-02-11 Joseph Myers <joseph@codesourcery.com>
2646
c941736c
JM
2647 * include/features.h: Update comment documenting feature test
2648 macros.
2649 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2650 _DEFAULT_SOURCE.
2651 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2652 (_SVID_SOURCE): Likewise.
2653 (_DEFAULT_SOURCE): Update description of default features.
2654 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2655 with _GNU_SOURCE.
2656 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2657 (S_ISVTX): Likewise.
2658 * manual/math.texi (Mathematical Constants): Likewise.
2659 * manual/signal.texi (Interrupted Primitives): Likewise.
2660 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2661 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2662 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2663 Don't refer to _SVID_SOURCE in warning text.
2664
e8d8d7ec
JM
2665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2666
cb4a2928
JM
2667 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2668 already defined.
2669 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2670 * sysdeps/mips/dl-lookup.c: Remove.
2671 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2672
7e6424e3
AK
26732014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2674
2675 [BZ #16447]
2676 * math/auto-libm-test-in: Add testcase for expl.
2677 * math/auto-libm-test-out: Regenerate.
2678 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2679 calculation of unsafe.
2680 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2681
75eff3fe
MS
26822014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2683
2684 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2685 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2686 ports/sysdeps/unix/sysv/linux/aarch64.
2687 * README: Update listing for aarch64*-*-linux-gnu.
2688
d35f1e80
WN
26892014-02-11 Will Newton <will.newton@linaro.org>
2690
2691 * manual/probes.texi (Mathematical Function Probes): Use
2692 "triggered" instead of "hit".
2693
7b3436d4
WN
26942014-02-11 Will Newton <will.newton@linaro.org>
2695
2696 * manual/probes.texi (Internal Probes): Add documentation
2697 of setjmp, longjmp and longjmp_target probes.
2698
b4f12ca3
WN
26992014-02-11 Will Newton <will.newton@linaro.org>
2700
2701 * include/stap-probe.h: Add comment about probe argument
2702 format.
2703
c13a72b7
WN
27042014-02-11 Will Newton <will.newton@linaro.org>
2705
2706 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2707 definition. (tr_where, tr_freehook, tr_mallochook,
2708 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2709
195b8165
DM
27102014-02-11 David S. Miller <davem@davemloft.net>
2711
2712 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2713 processing int_tests.
2714
2ad7600b
JM
27152014-02-10 Joseph Myers <joseph@codesourcery.com>
2716
2717 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2718 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2719 * sysdeps/unix/sysv/linux/mips: Move directory from
2720 ports/sysdeps/unix/sysv/linux/mips.
2721 * README: Update listing for mips-*-linux-gnu and
2722 mips64-*-linux-gnu.
2723
73588a72
AS
27242014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2725
2726 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2727 * sysdeps/unix/sysv/linux/m68k: Move directory from
2728 ports/sysdeps/unix/sysv/linux/m68k.
2729 * README: Update listing for m68k-*-linux-gnu.
2730
4372980f
CM
27312014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2732
2733 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2734 * sysdeps/unix/sysv/linux/generic: Move directory from
2735 ports/sysdeps/unix/sysv/linux/generic.
2736 * sysdeps/unix/sysv/linux/tile: Move directory from
2737 ports/sysdeps/unix/sysv/linux/tile.
2738 * README: Update listing for tile*-*-linux-gnu.
2739
a1ffb40e
OB
27402014-02-10 Ondřej Bílka <neleai@seznam.cz>
2741
2742 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2743 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2744 * catgets/open_catalog.c (__open_catalog): Likewise.
2745 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2746 * debug/confstr_chk.c: Likewise.
2747 * debug/fread_chk.c (__fread_chk): Likewise.
2748 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2749 * debug/getgroups_chk.c: Likewise.
2750 * debug/mbsnrtowcs_chk.c: Likewise.
2751 * debug/mbsrtowcs_chk.c: Likewise.
2752 * debug/mbstowcs_chk.c: Likewise.
2753 * debug/memcpy_chk.c: Likewise.
2754 * debug/memmove_chk.c: Likewise.
2755 * debug/mempcpy_chk.c: Likewise.
2756 * debug/memset_chk.c: Likewise.
2757 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2758 * debug/strcat_chk.c (__strcat_chk): Likewise.
2759 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2760 * debug/strncat_chk.c (__strncat_chk): Likewise.
2761 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2762 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2763 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2764 * debug/wcpncpy_chk.c: Likewise.
2765 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2766 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2767 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2768 * debug/wcsncpy_chk.c: Likewise.
2769 * debug/wcsnrtombs_chk.c: Likewise.
2770 * debug/wcsrtombs_chk.c: Likewise.
2771 * debug/wcstombs_chk.c: Likewise.
2772 * debug/wmemcpy_chk.c: Likewise.
2773 * debug/wmemmove_chk.c: Likewise.
2774 * debug/wmempcpy_chk.c: Likewise.
2775 * debug/wmemset_chk.c: Likewise.
2776 * dirent/scandirat.c (SCANDIRAT): Likewise.
2777 * dlfcn/dladdr1.c (dladdr1): Likewise.
2778 * dlfcn/dladdr.c (dladdr): Likewise.
2779 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2780 * dlfcn/dlerror.c (__dlerror): Likewise.
2781 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2782 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2783 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2784 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2785 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2786 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2787 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2788 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2789 Likewise.
2790 * elf/dl-conflict.c: Likewise.
2791 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2792 * elf/dl-dst.h: Likewise.
2793 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2794 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2795 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2796 * elf/dl-init.c (call_init, _dl_init): Likewise.
2797 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2798 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2799 _dl_map_object_from_fd, open_verify, open_path,
2800 _dl_map_object): Likewise.
2801 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2802 Likewise.
2803 * elf/dl-minimal.c (__libc_memalign): Likewise.
2804 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2805 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2806 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2807 * elf/dl-sym.c (do_sym): Likewise.
2808 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2809 _dl_tls_get_addr_soft): Likewise.
2810 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2811 * elf/dl-writev.h (_dl_writev): Likewise.
2812 * elf/ldconfig.c (search_dir): Likewise.
2813 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2814 dl_main): Likewise.
2815 * elf/setup-vdso.h (setup_vdso): Likewise.
2816 * grp/compat-initgroups.c (compat_call): Likewise.
2817 * grp/fgetgrent.c (fgetgrent): Likewise.
2818 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2819 * grp/putgrent.c (putgrent): Likewise.
2820 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2821 Likewise.
2822 * hurd/hurdinit.c: Likewise.
2823 * iconvdata/8bit-gap.c (struct): Likewise.
2824 * iconvdata/ansi_x3.110.c : Likewise.
2825 * iconvdata/big5.c : Likewise.
2826 * iconvdata/big5hkscs.c : Likewise.
2827 * iconvdata/cp1255.c: Likewise.
2828 * iconvdata/cp1258.c : Likewise.
2829 * iconvdata/cp932.c : Likewise.
2830 * iconvdata/euc-cn.c: Likewise.
2831 * iconvdata/euc-jisx0213.c : Likewise.
2832 * iconvdata/euc-jp.c: Likewise.
2833 * iconvdata/euc-jp-ms.c : Likewise.
2834 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2835 * iconvdata/gb18030.c : Likewise.
2836 * iconvdata/gbbig5.c (const): Likewise.
2837 * iconvdata/gbgbk.c: Likewise.
2838 * iconvdata/gbk.c : Likewise.
2839 * iconvdata/ibm1364.c : Likewise.
2840 * iconvdata/ibm930.c : Likewise.
2841 * iconvdata/ibm932.c: Likewise.
2842 * iconvdata/ibm933.c : Likewise.
2843 * iconvdata/ibm935.c : Likewise.
2844 * iconvdata/ibm937.c : Likewise.
2845 * iconvdata/ibm939.c : Likewise.
2846 * iconvdata/ibm943.c: Likewise.
2847 * iconvdata/iso_11548-1.c: Likewise.
2848 * iconvdata/iso-2022-cn.c : Likewise.
2849 * iconvdata/iso-2022-cn-ext.c : Likewise.
2850 * iconvdata/iso-2022-jp-3.c: Likewise.
2851 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2852 * iconvdata/iso-2022-kr.c : Likewise.
2853 * iconvdata/iso646.c (gconv_end): Likewise.
2854 * iconvdata/iso_6937-2.c : Likewise.
2855 * iconvdata/iso_6937.c : Likewise.
2856 * iconvdata/iso8859-1.c: Likewise.
2857 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2858 * iconvdata/shift_jisx0213.c : Likewise.
2859 * iconvdata/sjis.c : Likewise.
2860 * iconvdata/t.61.c : Likewise.
2861 * iconvdata/tcvn5712-1.c : Likewise.
2862 * iconvdata/tscii.c: Likewise.
2863 * iconvdata/uhc.c : Likewise.
2864 * iconvdata/unicode.c (gconv_end): Likewise.
2865 * iconvdata/utf-16.c (gconv_end): Likewise.
2866 * iconvdata/utf-32.c (gconv_end): Likewise.
2867 * iconvdata/utf-7.c (base64): Likewise.
2868 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2869 * iconv/gconv_close.c (__gconv_close): Likewise.
2870 * iconv/gconv_open.c (__gconv_open): Likewise.
2871 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2872 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2873 internal_ucs4le_loop_single, ucs4le_internal_loop,
2874 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2875 * iconv/iconv.c (iconv): Likewise.
2876 * iconv/iconv_close.c: Likewise.
2877 * iconv/loop.c (SINGLE): Likewise.
2878 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2879 * include/atomic.h: Likewise.
2880 * inet/inet6_option.c (option_alloc): Likewise.
2881 * intl/bindtextdom.c (set_binding_values): Likewise.
2882 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2883 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2884 * intl/localealias.c (read_alias_file): Likewise.
2885 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2886 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2887 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2888 * libio/fmemopen.c (fmemopen): Likewise.
2889 * libio/iofgets.c (_IO_fgets): Likewise.
2890 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2891 * libio/iofgetws.c (fgetws): Likewise.
2892 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2893 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2894 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2895 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2896 * locale/findlocale.c (_nl_find_locale): Likewise.
2897 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2898 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2899 Likewise.
2900 * locale/setlocale.c (setlocale): Likewise.
2901 * login/programs/pt_chown.c (main): Likewise.
2902 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2903 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2904 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2905 mmap, mmap64, mremap, munmap): Likewise.
2906 * math/e_exp2l.c: Likewise.
2907 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2908 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2909 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2910 * math/s_catan.c (__catan): Likewise.
2911 * math/s_catanf.c (__catanf): Likewise.
2912 * math/s_catanh.c (__catanh): Likewise.
2913 * math/s_catanhf.c (__catanhf): Likewise.
2914 * math/s_catanhl.c (__catanhl): Likewise.
2915 * math/s_catanl.c (__catanl): Likewise.
2916 * math/s_ccosh.c (__ccosh): Likewise.
2917 * math/s_ccoshf.c (__ccoshf): Likewise.
2918 * math/s_ccoshl.c (__ccoshl): Likewise.
2919 * math/s_cexp.c (__cexp): Likewise.
2920 * math/s_cexpf.c (__cexpf): Likewise.
2921 * math/s_cexpl.c (__cexpl): Likewise.
2922 * math/s_clog10.c (__clog10): Likewise.
2923 * math/s_clog10f.c (__clog10f): Likewise.
2924 * math/s_clog10l.c (__clog10l): Likewise.
2925 * math/s_clog.c (__clog): Likewise.
2926 * math/s_clogf.c (__clogf): Likewise.
2927 * math/s_clogl.c (__clogl): Likewise.
2928 * math/s_csin.c (__csin): Likewise.
2929 * math/s_csinf.c (__csinf): Likewise.
2930 * math/s_csinh.c (__csinh): Likewise.
2931 * math/s_csinhf.c (__csinhf): Likewise.
2932 * math/s_csinhl.c (__csinhl): Likewise.
2933 * math/s_csinl.c (__csinl): Likewise.
2934 * math/s_csqrt.c (__csqrt): Likewise.
2935 * math/s_csqrtf.c (__csqrtf): Likewise.
2936 * math/s_csqrtl.c (__csqrtl): Likewise.
2937 * math/s_ctan.c (__ctan): Likewise.
2938 * math/s_ctanf.c (__ctanf): Likewise.
2939 * math/s_ctanh.c (__ctanh): Likewise.
2940 * math/s_ctanhf.c (__ctanhf): Likewise.
2941 * math/s_ctanhl.c (__ctanhl): Likewise.
2942 * math/s_ctanl.c (__ctanl): Likewise.
2943 * math/w_pow.c: Likewise.
2944 * math/w_powf.c: Likewise.
2945 * math/w_powl.c: Likewise.
2946 * math/w_scalb.c (sysv_scalb): Likewise.
2947 * math/w_scalbf.c (sysv_scalbf): Likewise.
2948 * math/w_scalbl.c (sysv_scalbl): Likewise.
2949 * misc/error.c (error_tail): Likewise.
2950 * misc/pselect.c (__pselect): Likewise.
2951 * nis/nis_callback.c (__nis_create_callback): Likewise.
2952 * nis/nis_call.c (__nisfind_server): Likewise.
2953 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2954 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2955 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2956 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2957 * nis/nis_lookup.c (nis_lookup): Likewise.
2958 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2959 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2960 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2961 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2962 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2963 internal_getgrgid_r): Likewise.
2964 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2965 Likewise.
2966 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2967 internal_getpwuid_r): Likewise.
2968 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2969 internal_getspnam_r): Likewise.
2970 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2971 _nss_nis_getaliasbyname_r): Likewise.
2972 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2973 _nss_nis_getntohost_r): Likewise.
2974 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2975 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2976 Likewise.
2977 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2978 internal_nis_gethostent_r, internal_gethostbyname2_r,
2979 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2980 _nss_nis_gethostbyname4_r): Likewise.
2981 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2982 initgroups_netid): Likewise.
2983 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2984 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2985 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2986 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2987 _nss_nis_getprotobynumber_r): Likewise.
2988 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2989 _nss_nis_getsecretkey): Likewise.
2990 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2991 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2992 Likewise.
2993 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2994 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2995 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2996 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2997 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2998 _nss_nis_getspnam_r): Likewise.
2999 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3000 Likewise.
3001 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3002 _nss_nisplus_getntohost_r): Likewise.
3003 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3004 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3005 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3006 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3007 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3008 Likewise.
3009 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3010 _nss_nisplus_getnetbyaddr_r): Likewise.
3011 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3012 _nss_nisplus_getprotobynumber_r): Likewise.
3013 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3014 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3015 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3016 Likewise.
3017 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3018 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3019 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3020 _nss_nisplus_getspnam_r): Likewise.
3021 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3022 * nscd/aicache.c (addhstaiX): Likewise.
3023 * nscd/cache.c (cache_search, prune_cache): Likewise.
3024 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3025 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3026 * nscd/grpcache.c (addgrbyX): Likewise.
3027 * nscd/hstcache.c (addhstbyX): Likewise.
3028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3029 * nscd/mem.c (gc, mempool_alloc): Likewise.
3030 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3031 Likewise.
3032 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3033 Likewise.
3034 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3035 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3036 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3037 Likewise.
3038 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3039 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3040 * nscd/nscd_helper.c (__readvall, open_socket,
3041 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3042 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3043 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3044 * nscd/pwdcache.c (addpwbyX): Likewise.
3045 * nscd/selinux.c (preserve_capabilities): Likewise.
3046 * nscd/servicescache.c (addservbyX): Likewise.
3047 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3048 * posix/fnmatch.c (fnmatch): Likewise.
3049 * posix/getopt.c (_getopt_internal_r): Likewise.
3050 * posix/glob.c (glob, glob_in_dir): Likewise.
3051 * posix/wordexp.c (exec_comm_child): Likewise.
3052 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3053 gaih_getanswer_slice): Likewise.
3054 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3055 * resolv/res_init.c: Likewise.
3056 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3057 * resolv/res_query.c (__libc_res_nquery): Likewise.
3058 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3059 Likewise.
3060 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3061 * stdio-common/perror.c (perror): Likewise.
3062 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3063 * stdio-common/tmpnam.c (tmpnam): Likewise.
3064 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3065 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3066 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3067 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3068 * stdlib/putenv.c (putenv): Likewise.
3069 * stdlib/setenv.c (__add_to_environ): Likewise.
3070 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3071 * stdlib/strtol_l.c (INTERNAL): Likewise.
3072 * string/memmem.c (memmem): Likewise.
3073 * string/strerror.c (strerror): Likewise.
3074 * string/strnlen.c (__strnlen): Likewise.
3075 * string/test-memmem.c (simple_memmem): Likewise.
3076 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3077 * sunrpc/pm_getport.c (__get_socket): Likewise.
3078 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3079 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3080 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3081 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3082 Likewise.
3083 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3085 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3086 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3087 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3088 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3089 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3090 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3091 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3093 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3094 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3096 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3097 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3098 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3099 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3100 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3101 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3102 Likewise.
3103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3104 Likewise.
3105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3106 Likewise.
3107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3110 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3111 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3112 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3113 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3114 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3116 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3117 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3120 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3122 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3123 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3124 Likewise.
3125 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3126 Likewise.
3127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3128 Likewise.
3129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3131 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3132 Likewise.
3133 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3134 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3135 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3136 * sysdeps/posix/sleep.c: Likewise.
3137 * sysdeps/posix/tempname.c: Likewise.
3138 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3139 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3140 Likewise.
3141 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3142 elf_machine_rela): Likewise.
3143 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3145 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3146 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3147 Likewise.
3148 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3150 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3152 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3153 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3154 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3155 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3157 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3159 elf_machine_lazy_rel): Likewise.
3160 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3162 elf_machine_lazy_rel): Likewise.
3163 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3164 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3165 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3166 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3167 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3168 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3169 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3171 Likewise.
3172 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3173 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3174 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3175 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3176 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3177 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3178 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3179 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3180 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3181 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3182 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3183 Likewise.
3184 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3185 (__posix_fallocate64_l64): Likewise.
3186 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3187 (posix_fallocate): Likewise.
3188 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3189 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3190 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3191 getifaddrs_internal): Likewise.
3192 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3193 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3194 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3195 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3196 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3197 (__posix_fallocate64_l64): Likewise.
3198 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3199 Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3201 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3202 Likewise.
3203 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3204 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3205 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3208 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3209 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3210 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3211 Likewise.
3212 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3213 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3214 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3215 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3217 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3218 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3219 Likewise.
3220 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3221 (posix_fallocate): Likewise.
3222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3223 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3224 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3225 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3226 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3227 Likewise.
3228 * time/asctime.c (asctime_internal): Likewise.
3229 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3230 * time/tzset.c (__tzset_parse_tz): Likewise.
3231 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3232 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3233 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3234 * wcsmbs/wcsmbsload.h: Likewise.
3235
f3d338c9
OB
32362014-02-10 Ondřej Bílka <neleai@seznam.cz>
3237
3238 [BZ #15894]
3239 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3240
bdfe308a
OB
32412014-02-10 Ondřej Bílka <neleai@seznam.cz>
3242
3243 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3244 arena_get2): Remove THREAD_STATS conditionals.
3245 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3246 __malloc_stats, int): Likewise.
3247
d674667c
MF
32482014-02-08 Mike Frysinger <vapier@gentoo.org>
3249
3250 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3251 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3252
6349768c
MF
32532014-02-08 Mike Frysinger <vapier@gentoo.org>
3254
3255 * manual/setjmp.texi: Fix typos/grammar errors.
3256
0b7c7473
MF
32572014-02-08 Mike Frysinger <vapier@gentoo.org>
3258
3259 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3260 Only return early when n is <= 0. Delete unused return statement.
3261
ac8cc9e3
MF
32622014-02-08 Mike Frysinger <vapier@gentoo.org>
3263
3264 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3265 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3266 * debug/tst-longjmp_chk3.c: New file.
3267
c5bb8e23
MF
32682014-02-08 Mike Frysinger <vapier@gentoo.org>
3269
3270 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3271 (test_main): Replace code with set_fortify_handler call.
3272 * debug/test-strcpy_chk.c: Likewise.
3273 * debug/tst-chk1.c: Likewise.
3274 * debug/tst-longjmp_chk.c: Likewise.
3275 * test-skeleton.c: Include fcntl.h & paths.h
3276 (set_fortify_handler): Define.
3277
10444e42
MF
32782014-02-08 Mike Frysinger <vapier@gentoo.org>
3279
3280 * debug/tst-longjmp_chk.c: Add header comment and include
3281 ../test-skeleton.c.
3282 (do_test): Mark static.
3283 (TEST_FUNCTION): Define.
3284
1e805e8d
MF
32852014-02-08 Mike Frysinger <vapier@gentoo.org>
3286
3287 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3288 (IP_PMTUDISC_INTERFACE): Likewise.
3289 (IP_MULTICAST_IF): Likewise.
3290 (IP_MULTICAST_TTL): Likewise.
3291 (IP_MULTICAST_LOOP): Likewise.
3292 (IP_ADD_MEMBERSHIP): Likewise.
3293 (IP_DROP_MEMBERSHIP): Likewise.
3294 (IP_UNBLOCK_SOURCE): Likewise.
3295 (IP_BLOCK_SOURCE): Likewise.
3296 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3297 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3298 (IP_MSFILTER): Likewise.
3299 (MCAST_JOIN_GROUP): Likewise.
3300 (MCAST_BLOCK_SOURCE): Likewise.
3301 (MCAST_UNBLOCK_SOURCE): Likewise.
3302 (MCAST_LEAVE_GROUP): Likewise.
3303 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3304 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3305 (MCAST_MSFILTER): Likewise.
3306 (IP_MULTICAST_ALL): Likewise.
3307 (IP_UNICAST_IF): Likewise.
3308
73f79bb7
MF
33092014-02-08 Mike Frysinger <vapier@gentoo.org>
3310
3311 * timezone/Makefile: Delete $(have-ksh) check.
3312 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3313 * timezone/tzselect.ksh: Add +x mode bits.
3314
8da79b60
MF
33152014-02-08 Mike Frysinger <vapier@gentoo.org>
3316
3317 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3318 (ANON_INODE_FS_MAGIC): Likewise.
3319 (BDEVFS_MAGIC): Likewise.
3320 (BINFMTFS_MAGIC): Likewise.
3321 (BTRFS_TEST_MAGIC): Likewise.
3322 (CRAMFS_MAGIC_WEND): Likewise.
3323 (DEBUGFS_MAGIC): Likewise.
3324 (ECRYPTFS_SUPER_MAGIC): Likewise.
3325 (EXT3_SUPER_MAGIC): Likewise.
3326 (EXT4_SUPER_MAGIC): Likewise.
3327 (FUTEXFS_SUPER_MAGIC): Likewise.
3328 (HOSTFS_SUPER_MAGIC): Likewise.
3329 (HUGETLBFS_MAGIC): Likewise.
3330 (MINIX3_SUPER_MAGIC): Likewise.
3331 (MTD_INODE_FS_MAGIC): Likewise.
3332 (NILFS_SUPER_MAGIC): Likewise.
3333 (OPENPROM_SUPER_MAGIC): Likewise.
3334 (PIPEFS_MAGIC): Likewise.
3335 (PSTOREFS_MAGIC): Likewise.
3336 (QNX6_SUPER_MAGIC): Likewise.
3337 (RAMFS_MAGIC): Likewise.
3338 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3339 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3340 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3341 (SECURITYFS_MAGIC): Likewise.
3342 (SELINUX_MAGIC): Likewise.
3343 (SMACK_MAGIC): Likewise.
3344 (SOCKFS_MAGIC): Likewise.
3345 (SQUASHFS_MAGIC): Likewise.
3346 (STACK_END_MAGIC): Likewise.
3347 (TMPFS_MAGIC): Likewise.
3348 (USBDEVICE_SUPER_MAGIC): Likewise.
3349 (V9FS_MAGIC): Likewise.
3350 (XENFS_SUPER_MAGIC): Likewise.
3351 (CRAMFS_MAGIC): Fix typo in comment.
3352 (EXT2_SUPER_MAGIC): Update comment.
3353 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3354
464263cc
JM
33552014-02-08 Joseph Myers <joseph@codesourcery.com>
3356
c6bfe5c4
JM
3357 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3358 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3359 * sysdeps/unix/sysv/linux/arm: Move directory from
3360 ports/sysdeps/unix/sysv/linux/arm.
3361 * README: Update listing for arm-*-linux-gnueabi.
3362
464263cc
JM
3363 * README: Remove mention of am33.
3364
32749f6c
RM
33652014-02-07 Roland McGrath <roland@hack.frob.com>
3366
3367 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3368 than the comma operator, to avoid "rhs of comma has no effect"
3369 compiler warnings.
3370 (__sigfillset, __sigandset, __sigorset): Likewise.
3371 * include/signal.h (__sigemptyset): Likewise.
3372 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3373
d5b396c1
AM
33742014-02-07 Allan McRae <allan@archlinux.org>
3375
3376 * version.h (RELEASE): Set to "development".
3377 (VERSION): Set to "2.19.90"
3378 * NEWS: Add 2.20 section.
3379
3bfff2ed
CD
33802014-02-06 Carlos O'Donell <carlos@redhat.com>
3381
3382 [BZ #16529]
3383 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3384
ee7cc385
SP
33852014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3386
3387 * manual/contrib.texi: Update entry for Carlos O'Donell,
3388 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3389
f877c4f2
CD
33902014-02-05 Carlos O'Donell <carlos@rehdat.com>
3391
27e839f6
CD
3392 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3393
f877c4f2
CD
3394 * sysdeps/unix/sysv/linux/kernel-features.h
3395 [__LINUX_KERNEL_VERSION >= 0x020621]
3396 (__ASSUME_PROC_PID_TASK_COMM): Define.
3397
68159946
SP
33982014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3399
ba17cdbd
SP
3400 [BZ #16398]
3401 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3402 conversion when destination buffer does not have enough space.
3403 * libio/tst-ftell-partial-wide.c: New test case.
3404 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3405
68159946
SP
3406 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3407 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3408 Leonard and Allan McRae.
3409
2b528732
DM
34102014-02-04 David S. Miller <davem@davemloft.net>
3411
3412 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3413 32-bit.
3414
0ff82463
AZ
34152014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3416
c01603f7
AZ
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3418 file
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3420 New file
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3422 file.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3424 file.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3426 New file.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3428 file.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3430 file.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3432 New file.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3434 New file.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3436 New file.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3438 New file.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3440 New file.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3442 New file.
3443
34442014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3445
0ff82463
AZ
3446 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3447 * shlib-versions: Likewise.
3448
1695c773
AZ
34492014-02-04 Roland McGrath <roland@hack.frob.com>
3450 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451
3452 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3453 (abilist-pattern): New variable, set to %-le.abilist.
3454
3455 * Makerules (abilist-pattern): New variable.
3456 (vpath): Use $(abilist-pattern) in place of %.abilist.
3457 (check-abi-% pattern rule): Likewise.
3458 (check-abi, update-abi): Likewise.
3459
6c0ce4b4
EW
34602014-02-04 Eric Wong <normalperson@yhbt.net>
3461
3462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3463
dc98b8f5
EW
34642014-02-04 Eric Wong <normalperson@yhbt.net>
3465
3466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3467
481e3524
CD
34682014-02-03 Carlos O'Donell <carlos@redhat.com>
3469
3470 * manual/startup.texi: Add next, previous, and top entries for
3471 the `Program Arguments' and `Environment Variables' nodes.
3472
375592d3
AO
34732014-02-03 Alexandre Oliva <aoliva@redhat.com>
3474
3475 * manual/macros.texi: Add comments before MTASC-safety macros.
3476
f54838ba
AO
3477 * manual/users.texi: Document MTASC-safety properties.
3478
909e12ad
AO
3479 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3480 pthread_getspecific, pthread_setspecific): Format with
3481 @deftypefun, and add @safety note.
3482 * manual/signal.texi: Move comments that analyze the above
3483 functions to their home place.
3484
fd3daba4
AM
34852014-02-03 Allan McRae <allan@archlinux.org>
3486
3487 * po/sl.po: Update Slovenian translation from translation project.
3488
597636d7
AO
34892014-02-02 Alexandre Oliva <aoliva@redhat.com>
3490
3491 * manual/time.texi (timegm): Add missing blank after @c.
3492 Reported by Joseph Myers <joseph@codesourcery.com>.
3493
ee196e3c
AO
34942014-02-01 Alexandre Oliva <aoliva@redhat.com>
3495
3496 * manual/check-safety.sh: New.
3497 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3498
f8d529d5
AO
3499 * manual/terminal.texi: Document MTASC-safety properties.
3500
de55fdf4
AO
3501 * manual/filesys.texi: Document MTASC-safety properties.
3502
c3299c08
AO
3503 * manual/errno.texi: Document MTASC-safety properties.
3504
06e90b14
AO
3505 * manual/intro.texi: Document safety identifiers and
3506 conditionals.
3507
1acd4371
AO
3508 * manual/string.texi (wcstok): Fix prototype.
3509 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3510
23e5b8cb
AO
3511 * manual/time.texi: Document MTASC-safety properties.
3512
11087373
AO
3513 * manual/string.texi: Document MTASC-safety properties.
3514
5da2c93d
AO
3515 * manual/threads.texi: Document MTASC-safety properties.
3516
171e9210
AO
3517 * manual/stdio.texi: Document MTASC-safety properties.
3518
d9e02532
AO
3519 * manual/syslog.texi: Document MTASC-safety properties.
3520
6af8bab7
AO
3521 * manual/sysinfo.texi: Document MTASC-safety properties.
3522
663b02d7
AO
3523 * manual/startup.texi: Document MTASC-safety properties.
3524
973f180b
AO
3525 * manual/socket.texi: Document MTASC-safety properties.
3526
8f3c25c8
AO
3527 * manual/signal.texi: Document MTASC-safety properties.
3528
542210fb
AO
35292014-01-31 Alexandre Oliva <aoliva@redhat.com>
3530
3531 * manual/setjmp.texi: Document MTASC-safety properties.
3532
433c45a2
AO
3533 * manual/search.texi: Document MTASC-safety properties.
3534
c8ce789c
AO
3535 * manual/resource.texi: Document MTASC-safety properties.
3536
19f5d29c
AO
3537 * manual/process.texi: Document MTASC-safety properties.
3538
e2dfb7f4
AO
3539 * manual/platform.texi: Document MTASC-safety properties.
3540
8c1413f5
AO
3541 * manual/pipe.texi: Document MTASC-safety properties.
3542
03483ada
AO
3543 * manual/pattern.texi: Document MTASC-safety properties.
3544
29e7e2df
AO
3545 * manual/message.texi: Document MTASC-safety properties.
3546
9f529d7c
AO
3547 [BZ #12751]
3548 * manual/memory.texi: Document MTASC-safety properties.
3549
27aaa791
AO
3550 * manual/math.texi: Document MTASC-safety properties.
3551
f2d58726
AO
3552 * manual/locale.texi: Document MTASC-safety properties.
3553
2cc3615c
AO
3554 * manual/llio.texi: Document MTASC-safety properties.
3555
d9f0ec97
AO
3556 * manual/libdl.texi: New.
3557
e7c4409a
AO
3558 * manual/lang.texi: Document MTASC-safety properties.
3559
27bdc63c
AO
3560 * manual/job.texi: Document MTASC-safety properties.
3561
a7b90ea9
AO
3562 * manual/getopt.texi: Document MTASC-safety properties.
3563
c49130e3
AO
3564 * manual/ctype.texi: Document MTASC-safety properties.
3565
0d23a5c1
MR
35662014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3567
3568 [BZ #16046]
3569 * csu/libc-tls.c (static_map): Remove variable.
3570 (__libc_setup_tls): Use main executable's link map for TLS data.
3571 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3572 casing for LM_ID_BASE and GL(dl_nns).
3573 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3574 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3575 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3576 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3577 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3578 member.
3579 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3580 l_phnum members.
3581
0037bb60
AO
35822014-01-30 Alexandre Oliva <aoliva@redhat.com>
3583
3584 * manual/debug.texi: Document MTASC-safety properties.
3585
409e00bd
L
35862014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3587
3588 [BZ #16510]
3589 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3590 of __x86_64__ when disabling x87 inline functions.
3591
86e60666
AO
35922014-01-29 Alexandre Oliva <aoliva@redhat.com>
3593
3594 * manual/charset.texi: Document MTASC-safety properties.
3595
76167637
AO
3596 * manual/crypt.texi: Document MTASC-safety properties.
3597
e567f2a0
AO
3598 * manual/conf.texi: Document MTASC-safety properties.
3599
b719dafd
AO
3600 * manual/arith.texi: Document MTASC-safety properties.
3601
4a16c662
AO
3602 * manual/argp.texi: Document MTASC-safety properties.
3603
0a57b83e
AO
3604 * manual/macros.texi: Introduce macros to document multi
3605 thread, asynchronous signal and asynchronous cancellation
3606 safety properties.
3607 * manual/intro.texi: Introduce the properties themselves.
3608
feab2397
KK
36092014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3610
3611 * sysdeps/sh/sh4/Makefile: New file.
3612
1c0d11bc
AS
36132014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3614
3615 * math/gen-libm-test.pl ($srcdir): New variable.
3616 ($auto_input): Use it.
3617
af37a8a3
SP
36182014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3619
d7b00f98
SP
3620 [BZ #16506]
3621 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3622 access beyond array bounds when parsing netgroups file.
3623
af37a8a3
SP
3624 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3625 the old buffer before realloc.
3626
0c00f062
AM
36272014-01-27 Allan McRae <allan@archlinux.org>
3628
3629 * po/fr.po: Update French translation from translation project.
3630
7d69a1b0
KK
36312014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3632
3633 * sysdeps/sh/libm-test-ulps: Regenerate.
3634
6e697ff7
DM
36352014-01-24 David S. Miller <davem@davemloft.net>
3636
3637 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3638
9cadb35c
KK
36392014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3640
3641 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3642 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3643
5d41dadf
SP
36442013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3645
3646 [BZ #16474]
3647 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3648 string pointers after reallocation.
3649
0bad441c
KK
36502014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3651
3652 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3653 __SH4A__ instead of __SH_FPU_ANY__.
3654
7007c661
KK
36552014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3656
3657 * sysdeps/sh/fpu_control.h: New file.
3658 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3659 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3660 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3661 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3662 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3663 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3664 * sysdeps/sh/sys/ucontext.h: Remove.
3665 * sysdeps/sh/sys: Remove directory.
3666
0f0c35e4
AK
36672014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3668
3669 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3670 s390/sys/ucontext.h.
3671 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3672 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3673
4959e284
L
36742014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 [BZ #15605]
3677 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3678
d98720e0
AZ
36792014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
3681 [BZ#16431]
3682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3683 Adjust the vDSO correctly for internal calls.
3684 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3685
91cbd0bc
AM
36862014-01-20 Allan McRae <allan@archlinux.org>
3687
3688 * po/ca.po: Update Catalan translation from translation project.
3689
7a02cfad
MF
36902014-01-16 Mike Frysinger <vapier@gentoo.org>
3691
3692 * sysdeps/s390/sotruss-lib.c: New file.
3693
736c304a
AZ
36942014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3695
3696 [BZ#16430]
6e077ee5 3697 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3698 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3699 local calls issues by not having a PLT stub required for IFUNC calls.
3700 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3701
94d0cea0
JM
37022014-01-16 Joseph Myers <joseph@codesourcery.com>
3703
3704 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3705 * math/test-fpucw-static.c: Likewise.
3706
980cb518
SP
37072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3708
3709 [BZ #16453]
3710 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3711
2393fc01
AZ
37122014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713
3714 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3715 implementation for powerpc.
3716
d359bcc2
OB
37172014-01-15 Ondřej Bílka <neleai@seznam.cz>
3718
3719 [BZ #14782]
3720 * sysdeps/posix/system.c (__libc_system): Do not enable
3721 asynchronous cancellation.
3722
7beb48cb
AK
37232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3724
3725 [BZ #16427]
3726 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3727 handling only for numbers special also in the IEEE case.
3728
c20d5bf5
AK
37292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3730
3731 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3732
e83bd4ee
AM
37332014-01-11 Allan McRae <allan@archlinux.org>
3734
76d0ea69
AM
3735 * po/bg.po: Update Bulgarian translation from translation project.
3736
e83bd4ee
AM
3737 * po/de.po: Update German translation from translation project.
3738
bc2ba20a
RM
37392014-01-10 Roland McGrath <roland@hack.frob.com>
3740
3741 * sysdeps/generic/gcc-compat.h: New file.
3742
649ecea2
SP
37432014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3744
3745 * benchtests/asin-inputs: Correct slow inputs.
3746 * benchtests/acos-inputs: Likewise.
3747
1b19c006
AM
37482014-01-10 Allan McRae <allan@archlinux.org>
3749
a46dab08
AM
3750 * po:sv.po: Update Swedish translation from translation project.
3751
421df74a
AM
3752 * po/vi.po: Update Vietnamese translation from translation project.
3753
d61c51a7
AM
3754 * po/eo.po: Update Esperanto translation from translation project.
3755
0339a319
AM
3756 * po/cs.po: Update Czech translation from translation project.
3757
94ad3e99
AM
3758 * po/nl.po: Update Dutch translation from translation project.
3759
e349ca71
AM
3760 * po/pl.po: Update Polish translation from translation project.
3761
ddf930c1
AM
3762 * po/ru.po: Update Russian translation from translation project.
3763
1b19c006
AM
3764 * po/uk.po: Update Ukrainian translation from translation project.
3765
9f236c49
BM
37662014-01-08 Brooks Moses <bmoses@google.com>
3767
3768 * elf/dl-load.c: Fix comment typo.
3769
cd6701cf
CD
37702014-01-08 Carlos O'Donell <carlos@redhat.com>
3771
3772 * po/header.pot: Rename to...
3773 * po/pot.header: ... this.
3774 * po/Makefile: Use pot.header.
3775
66671c84
YK
37762014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3777 Maxim Kuvyrkov <maxim@kugelworks.com>
3778
3779 [BZ #16394]
cd6701cf
CD
3780 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3781 SRC and DEST against LEN.
66671c84 3782
38f34581
AZ
37832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784
3785 [BZ #16414]
3786 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3787 implementation.
3788 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3789
37902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3791
3792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3793
4c327f2a
JM
37942014-01-08 Joseph Myers <joseph@codesourcery.com>
3795
3796 [BZ #16408]
3797 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3798 for large positive arguments.
3799
b821f414
JM
38002014-01-07 Joseph Myers <joseph@codesourcery.com>
3801
1f0f2067
JM
3802 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3803
a5a326f6
JM
3804 * math/auto-libm-test-in: Mark various tests with
3805 xfail-rounding:ldbl-128ibm.
3806 * math/auto-libm-test-out: Regenerated.
3807
b821f414
JM
3808 [BZ #16407]
3809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3810 Increase overflow threshold.
3811
94c8a4bc
OB
38122014-01-07 Ondřej Bílka <neleai@seznam.cz>
3813
3814 [BZ #14286]
3815 * stdio-common/vfprintf.c: Check for integer overflow.
3816
87ded0c3
AK
38172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3818
3819 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3820 the first argument and return value of __tls_get_addr_internal.
3821
c5eebdd0
AK
38222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3823
3824 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3825 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3826
05d138ef
AK
38272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3828
3829 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3830 * sysdeps/s390/rtld-global-offsets.sym: New file.
3831 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3832 GLIBC_2.19 symbol.
3833 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3835 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3836 ... this.
3837 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3838 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3839 ... this.
3840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3841 Regenerate.
3842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3843 Regenerate.
3844 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3845 halfs of GPRs for high_gprs contexts.
3846 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3847 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3848 field.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3850 uc_flags field.
3851 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3852 64 bit versions:
3853 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3854 for high GPRs (uc_high_gprs) and for future extensions
3855 (__reserved).
3856 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3857 for future extensions (__reserved).
3858 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3859 64 bit versions:
3860 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3861 SC_HIGHGPRS offset definition.
3862 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3863 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3864
93a45ff1
AK
38652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3866
3867 * Versions.def: Add GLIBC_2.19 for libpthread.
3868 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3869 siglongjmp for libpthread with GLIBC_2.19 symver.
3870 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3871 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3872 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3873 * sysdeps/s390/__longjmp.c: New file.
3874 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3875 * sysdeps/s390/longjmp.c: New file.
3876 * sysdeps/s390/setjmp.S: New file.
3877 * sysdeps/s390/sigjmp.S: New file.
3878 * sysdeps/s390/v1-longjmp.c: New file.
3879 * sysdeps/s390/v1-setjmp.h: New file.
3880 * sysdeps/s390/v1-sigjmp.c: New file.
3881 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3882 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3883 GLIBC_2.19 version.
3884 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3885 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3886 versioned symbols for ____longjmp_chk.
3887 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3888 Likewise.
3889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3890 Regenerate.
3891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3892 Regenerate.
3893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3894 Regenerate.
3895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3896 Regenerate.
3897 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3898 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3899 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3900 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3901 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3902 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3903 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3904 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3905 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3906 * sysdeps/s390/rtld-__longjmp.c: New file.
3907 * sysdeps/s390/rtld-setjmp.S: New file.
3908
eb3fc44b
JM
39092014-01-06 Joseph Myers <joseph@codesourcery.com>
3910
3911 [BZ #16400]
3912 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3913 Return -__logl (x) for small positive arguments without evaluating
3914 a polynomial.
3915
9341dde4
MF
39162014-01-06 Mike Frysinger <vapier@gentoo.org>
3917
3918 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3919 Rename to ...
3920 (__ptrace_peeksiginfo_args): ... this.
3921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3924
4cff0293
AM
39252014-01-06 Allan McRae <allan@archlinux.org>
3926
3927 * inet/netinet/in.h: Fix typo in comment.
3928
75595dcf
AJ
39292014-01-05 Andreas Jaeger <aj@suse.de>
3930
3931 * sysdeps/i386/fpu/libm-test-ulps: Update.
3932
79c1e109
AM
39332014-01-05 Allan McRae <allan@archlinux.org>
3934
dd804818
AM
3935 * po/libc.pot: Regenerated.
3936
79c1e109
AM
3937 * malloc/memusagestat.c: Fix gettext call formatting.
3938
0c813d1f
SK
39392014-01-04 Sami Kerola <kerolasa@iki.fi>
3940
3941 * nscd/nscd.c: Improve usage() output.
3942
20f4a8d9
MF
39432014-01-04 Mike Frysinger <vapier@gentoo.org>
3944
3945 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3946 * sysdeps/unix/sysv/linux/configure: Regenerated.
3947 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3948 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3949
22562bb2
JM
39502014-01-03 Joseph Myers <joseph@codesourcery.com>
3951
3952 [BZ #16390]
3953 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3954 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3955
d7ad2d9b
AZ
39562014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
3958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3959 extra tokens at end of #undef directive.
3960 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3961 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3962 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3963
7dd009d8
JM
39642014-01-03 Joseph Myers <joseph@codesourcery.com>
3965
24db925a
JM
3966 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3967
7dd009d8
JM
3968 * math/auto-libm-test-in: Mark various tests with
3969 xfail-rounding:ldbl-128ibm.
3970 * math/auto-libm-test-out: Regenerated.
3971
396e3ecf
JM
39722014-01-02 Joseph Myers <joseph@codesourcery.com>
3973
819e5d50
JM
3974 [BZ #16386]
3975 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3976 numbers with subnormal high part when calculating exponent.
3977
90b6a1e5
JM
3978 [BZ #16385]
3979 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3980 fabs.
3981
396e3ecf
JM
3982 [BZ #16384]
3983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3984 M_LN2l.
3985 (__ieee754_acoshl): Use __log1pl not __log1p.
3986
6c8dbf00
OB
39872013-01-02 Ondřej Bílka <neleai@seznam.cz>
3988
3989 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3990 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3991 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3992 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3993 Convert to GNU style.
3994 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3995 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3996 memalign_check, __malloc_set_state): Likewise.
3997 * malloc/mallocbug.c (main): Likewise.
3998 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3999 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4000 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4001 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4002 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4003 * malloc/malloc.h: Likewise.
4004 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4005 memalignhook, reallochook, mabort): Likewise.
4006 * malloc/mcheck.h: Likewise.
4007 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4008 mmap64, mremap, munmap, dest): Likewise.
4009 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4010 * malloc/morecore.c (__default_morecore): Likewise.
4011 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4012 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4013 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4014 print_and_abort): Likewise.
4015 * malloc/obstack.h: Likewise.
4016 * malloc/set-freeres.c (__libc_freeres): Likewise.
4017 * malloc/tst-mallocstate.c (main): Likewise.
4018 * malloc/tst-mtrace.c (main): Likewise.
4019 * malloc/tst-realloc.c (do_test): Likewise.
4020
d4124212
SP
40212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4022
9a3c6a6f
SP
4023 [BZ #16366]
4024 * nscd/netgroupcache.c (do_notfound): New function.
4025 (addgetnetgrentX): Use it.
4026
d4124212
SP
4027 [BZ # 16365]
4028 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4029 NSS_STATUS_NOTFOUND.
4030
97b9a009
JM
40312014-01-01 Joseph Myers <joseph@codesourcery.com>
4032
4033 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035
d4697bc9
AM
40362014-01-01 Allan McRae <allan@archlinux.org>
4037
ddb3687f
AM
4038 * scripts/update-copyrights: Update configure input file suffix.
4039
88726d48
AM
4040 * NEWS: Update copyright year.
4041 * catgets/gencat.c: Likewise.
4042 * csu/version.c: Likewise.
4043 * debug/catchsegv.sh: Likewise.
4044 * debug/pcprofiledump.c: Likewise.
4045 * debug/xtrace.sh: Likewise.
4046 * elf/ldconfig.c: Likewise.
4047 * elf/ldd.bash.in: Likewise.
4048 * elf/pldd.c: Likewise.
4049 * elf/sotruss.ksh: Likewise.
4050 * elf/sprof.c: Likewise.
4051 * iconv/iconv_prog.c: Likewise.
4052 * iconv/iconvconfig.c: Likewise.
4053 * locale/programs/locale.c: Likewise.
4054 * locale/programs/localedef.c: Likewise.
4055 * login/programs/pt_chown.c: Likewise.
4056 * malloc/memusage.sh: Likewise.
4057 * malloc/memusagestat.c: Likewise.
4058 * malloc/mtrace.pl: Likewise.
4059 * manual/libc.texinfo: Likewise.
4060 * nscd/nscd.c: Likewise.
4061 * nss/getent.c: Likewise.
4062 * nss/makedb.c: Likewise.
4063 * posix/getconf.c: Likewise.
4064 * scripts/test-installation.pl: Likewise.
4065
d4697bc9
AM
4066 * All files with FSF copyright notices: Update copyright dates
4067 using scripts/update-copyrights.
4068 * intl/plural.c: Regenerated.
4069 * locale/programs/charmap-kw.h: Likewise.
4070 * locale/programs/locfile-kw.h: Likewise.
4071
c8590f9d
MF
40722013-12-31 Mike Frysinger <vapier@gentoo.org>
4073
4074 * sysdeps/unix/sysv/linux/configure: Regenerated.
4075 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4076 the linux/fanotify.h header.
4077 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4078 HAVE_LINUX_FANOTIFY_H is defined.
4079
b19221b9
SP
40802013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4081
dd1d85e5
SP
4082 * benchtests/cos-inputs: New inputs.
4083 * benchtests/sin-inputs: Likewise.
4084
1acbb90f
SP
4085 * benchtests/atan-inputs: New inputs. Fix name of multiple
4086 precision fallback inputs.
4087
4c012ed3
SP
4088 * benchtests/atanh-inputs: New inputs.
4089 * benchtests/tanh-inputs: Likewise.
4090
eff98324
SP
4091 * benchtests/acosh-inputs: New inputs.
4092 * benchtests/asinh-inputs: Likewise.
4093
ce641152
SP
4094 * benchtests/cosh-inputs: New inputs.
4095 * benchtests/sinh-inputs: Likewise.
4096
b19221b9
SP
4097 * benchtests/acos-inputs: Add more inputs.
4098 * benchtests/asin-inputs: Likewise.
4099
030a4976 41002013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4101
030a4976 4102 [BZ #16375]
9dcc8f11
VS
4103 * manual/arith.texi: Fix spelling.
4104 * manual/charset.texi: Likewise.
4105 * manual/errno.texi: Likewise.
4106 * manual/filesys.texi: Likewise.
4107 * manual/lang.texi: Likewise.
4108 * manual/llio.texi: Likewise.
4109 * manual/locale.texi: Likewise.
4110 * manual/message.texi: Likewise.
4111 * manual/resource.texi: Likewise.
4112 * manual/search.texi: Likewise.
4113 * manual/setjmp.texi: Likewise.
4114 * manual/stdio.texi: Likewise.
4115 * manual/string.texi: Likewise.
4116 * manual/sysinfo.texi: Likewise.
4117 * manual/time.texi: Likewise.
4118
11520a57
CD
41192013-12-27 Carlos O'Donell <carlos@redhat.com>
4120
4121 * po/sl.po: New file.
4122
471103ae
MF
41232013-12-27 Mike Frysinger <vapier@gentoo.org>
4124
4125 * .gitignore: Add core/.gdbinit/.gdb_history.
4126
6c9642ed
AM
41272013-12-27 Allan McRae <allan@archlinux.org>
4128
4129 [BZ #16369]
4130 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4131 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4132
3f637079
BM
41332013-12-24 Brooks Moses <bmoses@google.com>
4134
4135 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4136 all compilers that claim C++98 compliance, not just GCC.
4137 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4138 Likewise.
4139
abc26e99
MK
41402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4141
4142 * NEWS: Restore accidentally deleted bug-fix entries.
4143
362b47fe
MK
41442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4145 Ondřej Bílka <neleai@seznam.cz>
4146
4147 [BZ #15073]
4148 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4149 have_lock.
362b47fe 4150
b9bcbbcb
OB
41512013-12-23 Ondřej Bílka <neleai@seznam.cz>
4152
4153 [BZ #12986]
4154 * manual/stdio.texi (String Input Conversions): Clarify that character
4155 classes are not supported.
4156
fb55fcd2
AZ
41572013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4158
4159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4160
ef7344f0
JM
41612013-12-22 Joseph Myers <joseph@codesourcery.com>
4162
4f40e4b3
JM
4163 [BZ #16337]
4164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4165 Calculate results for small negative arguments directly rather
4166 than using reflection formula with special underflow handling.
4167
ef7344f0
JM
4168 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4169 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4170 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4171 (fchflags): Likewise.
4172 (revoke): Likewise.
4173 (setlogin): Likewise.
4174 (sigaltstack): Likewise.
4175 (wait4): Likewise.
4176 (sigblock): Remove.
4177 (sigsetmask): Likewise.
4178 (wait3): Likewise.
4179 (waitpid): Likewise.
4180 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4181 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4182 file.
4183 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4184 * sysdeps/unix/bsd/Makefile: ... here.
4185 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4186 * sysdeps/unix/bsd/Versions: ... here.
4187 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4188 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4189 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4190 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4191 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4192 * sysdeps/unix/bsd/sigblock.c: ... here.
4193 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4194 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4195 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4196 * sysdeps/unix/bsd/sigvec.c: ... here.
4197 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4198 * sysdeps/unix/bsd/tcdrain.c: ... here.
4199 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4200 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4201 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4202 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4203 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4204 * sysdeps/unix/bsd/wait.c: ... here.
4205 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4206 * sysdeps/unix/bsd/wait3.c: ... here.
4207 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4208 * sysdeps/unix/bsd/waitpid.c: ... here.
4209
5b0626b9
JM
42102013-12-21 Joseph Myers <joseph@codesourcery.com>
4211
4212 [BZ #16356]
4213 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4214 round-to-nearest for [!USE_AS_EXPM1L].
4215 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4216 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4217 more tests of exp and exp10. Expect some exp10 tests to miss
4218 exceptions or fail in directed rounding modes.
4219 * math/auto-libm-test-out: Regenerated.
4220 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4221 (exp10_test_tonearest): New function.
4222 (exp10_towardzero_test_data): New array.
4223 (exp10_test_towardzero): New function.
4224 (exp10_downward_test_data): New array.
4225 (exp10_test_downward): New function.
4226 (exp10_upward_test_data): New array.
4227 (exp10_test_upward): New function.
4228 (main): Call the new functions.
4229 * sysdeps/i386/fpu/libm-test-ulps: Update.
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4231
7fda5682
JM
42322013-12-20 Joseph Myers <joseph@codesourcery.com>
4233
31e3a405
JM
4234 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4235 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4236 * math/auto-libm-test-out: Regenerated.
4237 * math/libm-test.inc (acosh_test_data): Add more tests.
4238 (atanh_test_data): Likewise.
4239 (ceil_test_data): Likewise.
4240 (copysign_test_data): Likewise.
4241 * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4243
85bff96a
JM
4244 * timezone/checktab.awk: Update from tzcode 2013i.
4245 * timezone/private.h: Likewise.
4246 * timezone/scheck.c: Likewise.
4247 * timezone/tzfile.h: Likewise.
4248 * timezone/tzselect.ksh: Likewise.
4249 * timezone/zdump.c: Likewise.
4250 * timezone/zic.c: Likewise.
4251
b7867a3b
JM
4252 * math/auto-libm-test-in: Add tests of cpow.
4253 * math/auto-libm-test-out: Regenerated.
4254 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4255 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4256 mpc_cc_c.
4257 (func_calc_desc): Add mpc_cc_c union field.
4258 (test_functions): Add cpow.
4259 (special_fill_2pi): New function.
4260 (special_real_inputs): Add 2pi.
4261 (calc_generic_results): Handle mpc_cc_c.
4262 * sysdeps/i386/fpu/libm-test-ulps: Update.
4263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264
7fda5682
JM
4265 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4266 csqrt, ctan and ctanh.
4267 * math/auto-libm-test-out: Regenerated.
4268 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4269 (TEST_COND_x86): Likewise.
4270 (ccos_test_data): Use AUTO_TESTS_c_c.
4271 (ccosh_test_data): Likewise.
4272 (cexp_test_data): Likewise.
4273 (clog_test_data): Likewise.
4274 (csqrt_test_data): Likewise.
4275 (ctan_test_data): Likewise.
4276 (ctan_tonearest_test_data): Likewise.
4277 (ctan_towardzero_test_data): Likewise.
4278 (ctan_downward_test_data): Likewise.
4279 (ctan_upward_test_data): Likewise.
4280 (ctanh_test_data): Likewise.
4281 (ctanh_tonearest_test_data): Likewise.
4282 (ctanh_towardzero_test_data): Likewise.
4283 (ctanh_downward_test_data): Likewise.
4284 (ctanh_upward_test_data): Likewise.
4285 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4286 mpc_c_c.
4287 (func_calc_desc): Add mpc_c_c union field.
4288 (FUNC_mpc_c_c): New macro.
4289 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4290 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4291 ctanh.
4292 (special_fill_min_subnorm_p120): New function.
4293 (special_real_inputs): Add min_subnorm_p120.
4294 (calc_generic_results): Handle mpc_c_c.
4295 * sysdeps/i386/fpu/libm-test-ulps: Update.
4296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4297
5ff8d60e
SP
42982013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4299
392dd2de
SP
4300 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4301 do_sin_slow): New functions.
4302 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4303 cslow2, csloww1, csloww2): Use the new functions.
4304
84ba214c
SP
4305 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4306 Use M to change sign of result instead of X. Assume X is
4307 positive.
4308 (csloww1): Likewise.
4309 (__sin): Adjust.
4310 (__cos): Adjust.
4311
975195e4
SP
4312 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4313 arguments A and DA.
4314 (__sin): Adjust.
4315 (__cos): Likewise.
4316
5ff8d60e
SP
4317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4318 (__cos): Likewise.
4319 (sloww1): Don't adjust sign of DX.
4320 (csloww1): Likewise.
4321 (sloww2): Use X directly and don't adjust sign of DX.
4322 (csloww2): Likewise.
4323
eb983568
JM
43242013-12-19 Joseph Myers <joseph@codesourcery.com>
4325
64a17f1a
JM
4326 * math/auto-libm-test-in: Add tests of cabs and carg.
4327 * math/auto-libm-test-out: Regenerated.
4328 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4329 (carg_test_data): Likewise.
4330 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4331 mpc_c_f.
4332 (func_calc_desc): Add mpc_c_f union field.
4333 (test_functions): Add cabs and carg.
4334 (calc_generic_results): Handle mpc_c_f.
4335
eb983568
JM
4336 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4337 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4338 as a macro and a compat symbol.
4339 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4340 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4341 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4342 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4343 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4344 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4345 not use .hidden.
4346 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4347 Likewise.
4348 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4349 Likewise.
4350 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4351 Likewise.
4352 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4353 Likewise.
4354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4355 Likewise.
4356 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4357 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4358 from GLIBC_2.3.2.
4359
6eeb678a
AZ
43602013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4361
4362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4363
6f6fc482
JM
43642013-12-19 Joseph Myers <joseph@codesourcery.com>
4365
21fea2e2
JM
4366 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4367 trailing whitespace removed.
4368 * scripts/config.guess: Update to version 2013-11-29.
4369 * scripts/config.sub: Update to version 2013-10-01.
4370
6f6fc482
JM
4371 * math/auto-libm-test-in: Add tests of sincos.
4372 * math/auto-libm-test-out: Regenerated.
4373 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4374 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4375 mpfr_f_11.
4376 (func_calc_desc): Add mpfr_f_11 union field.
4377 (test_functions): Add sincos.
4378 (calc_generic_results): Handle mpfr_f_11.
4379 * sysdeps/i386/fpu/libm-test-ulps: Update.
4380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4381
83f5c32d
AS
43822013-12-19 Andreas Schwab <schwab@suse.de>
4383
4384 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4385 CALL_MCOUNT.
4386 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4387 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4388 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4389
c688b419
JM
43902013-12-19 Joseph Myers <joseph@codesourcery.com>
4391
335ee092
JM
4392 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4393 * sysdeps/i386/fpu/libm-test-ulps: Update.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4395
f88acd39
JM
4396 [BZ #16293]
4397 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4398 round-to-nearest mode when using frndint.
4399 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4400 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4402 Likewise.
4403 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4404 sinh test to fail.
4405 * math/auto-libm-test-out: Regenerated.
4406 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4407 (TEST_COND_x86): Likewise.
4408 (expm1_tonearest_test_data): New array.
4409 (expm1_test_tonearest): New function.
4410 (expm1_towardzero_test_data): New array.
4411 (expm1_test_towardzero): New function.
4412 (expm1_downward_test_data): New array.
4413 (expm1_test_downward): New function.
4414 (expm1_upward_test_data): New array.
4415 (expm1_test_upward): New function.
4416 (main): Run the new test functions.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4419
c688b419
JM
4420 * include/features.h: Update comment documenting feature test
4421 macros. Mention _DEFAULT_SOURCE in comment.
4422 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4423 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4424 _BSD_SOURCE and _SVID_SOURCE.
4425 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4426 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4427 !_SVID_SOURCE]: Likewise.
4428 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4429 (__USE_POSIX_IMPLICITLY): Define.
4430 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4431 (_POSIX_SOURCE): Undefine and redefine.
4432 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4433 (_POSIX_C_SOURCE): Likewise.
4434 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4435 (Feature Test Macros): Update documentation of default features.
4436
9f6e964c
RS
44372013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4438
4439 * benchtests/Makefile: Add bench-strtok.
4440 * benchtests/bench-strtok.c: New file: strtok benchtest.
4441
ee0a148a
AM
44422013-12-19 Allan McRae <allan@archlinux.org>
4443
4444 * manual/install.texi: Suppress menu for plain text output.
4445 * INSTALL: Regenerated.
4446
b9ab448f
BM
44472013-12-18 Brooks Moses <bmoses@google.com>
4448
4449 [BZ #15846]
4450 * misc/getauxval.c: Include errno.h.
4451 (__getauxval): Set errno to ENOENT if the requested type is not
4452 found.
4453 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4454 don't declare with __attribute_const__.
4455 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4456 * manual/startup.texi: Document that getauxval sets errno.
4457
23776487
JM
44582013-12-18 Joseph Myers <joseph@codesourcery.com>
4459
f889953b
JM
4460 * math/auto-libm-test-in: Add tests of jn and yn.
4461 * math/auto-libm-test-out: Regenerated.
4462 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4463 (yn_test_data): Likewise.
4464 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4465 mpfr_if_f.
4466 (func_calc_desc): Add mpfr_if_f union field.
4467 (FUNC_mpfr_if_f): New macro.
4468 (test_functions): Add jn and yn.
4469 (calc_generic_results): Assert type of second input for
4470 mpfr_ff_f. Handle mpfr_if_f.
4471 (output_for_one_input_case): Disable all checking for arguments
4472 fitting floating-point types in case of an integer argument.
4473 * sysdeps/i386/fpu/libm-test-ulps: Update.
4474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4475
23776487
JM
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4477 Don't expect fegetround reference in libm.so.
4478
cb756c6d
MS
44792013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4480
4481 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4482 $(config-cflags-nofma).
4483
2dec468f
JM
44842013-12-18 Joseph Myers <joseph@codesourcery.com>
4485
5953eb3a
JM
4486 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4487 * math/auto-libm-test-out: Regenerated.
4488
2dec468f
JM
4489 [BZ #16338]
4490 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4491 to determine exponent and adjust argument to have exponent of -1.
4492 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4493 log2.
4494 * math/auto-libm-test-out: Regenerated.
4495 * sysdeps/i386/fpu/libm-test-ulps: Update.
4496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4497
4d84e6ad
OB
44982013-12-18 Ondřej Bílka <neleai@seznam.cz>
4499
4500 * manual/probes.texi: Remove cases when per-thread arenas are
4501 disabled.
4502
1818483b
AS
45032013-12-18 Andreas Schwab <schwab@suse.de>
4504
4505 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4506 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4507 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4508 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4509 * sysdeps/i386/i686/multiarch/Makefile: Update.
4510 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4511
25de95bf
JM
45122013-12-17 Joseph Myers <joseph@codesourcery.com>
4513
4514 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4515 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4516
674762d9
PE
45172013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4518
ed27ed83 4519 [BZ #15968]
0748546f
PE
4520 Support TZ transition times < 00:00:00.
4521 This is needed for version-3 tz-format files; it supports time
4522 stamps past 2037 for America/Godthab (the only entry in the tz
4523 database for which this change is relevant).
4524 * manual/time.texi (TZ Variable): Document transition times
4525 from -167:59:59 through -00:00:01.
4526 * time/tzset.c (tz_rule): Time of day is now signed.
4527 (__tzset_parse_tz): Parse negative time of day.
4528
4480e934
PE
4529 Document TZ transition times >= 25:00:00.
4530 * manual/time.texi (TZ Variable): Document transition times from
4531 25:00:00 through 167:59:59. These are already supported, and this
4532 support will help with version-3 tz-format files.
4533
69947401
PE
4534 * manual/time.texi (TZ Variable): Modernize North America example
4535 to reflect current (i.e., 2007-and-later) daylight saving rules.
4536
674762d9
PE
4537 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4538
7011c262
JM
45392013-12-17 Joseph Myers <joseph@codesourcery.com>
4540
2fc6557e
JM
4541 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4542 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4545 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4546 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4547 * sysdeps/unix/bsd/clock.c: Likewise.
4548 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4549 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4550 * sysdeps/unix/bsd/init-posix.c: Likewise.
4551 * sysdeps/unix/bsd/poll.c: Likewise.
4552 * sysdeps/unix/bsd/ptsname.c: Likewise.
4553 * sysdeps/unix/bsd/seekdir.c: Likewise.
4554 * sysdeps/unix/bsd/setegid.c: Likewise.
4555 * sysdeps/unix/bsd/seteuid.c: Likewise.
4556 * sysdeps/unix/bsd/setgid.c: Likewise.
4557 * sysdeps/unix/bsd/setrgid.c: Likewise.
4558 * sysdeps/unix/bsd/setruid.c: Likewise.
4559 * sysdeps/unix/bsd/setsid.c: Likewise.
4560 * sysdeps/unix/bsd/setuid.c: Likewise.
4561 * sysdeps/unix/bsd/sigaction.c: Likewise.
4562 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4563 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4564 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4565 * sysdeps/unix/bsd/telldir.c: Likewise.
4566 * sysdeps/unix/bsd/times.c: Likewise.
4567 * sysdeps/unix/bsd/usleep.c: Likewise.
4568
029c7b25
JM
4569 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4570 ($(objpfx)libbsd-compat.a): Remove rule.
4571
7011c262
JM
4572 * include/features.h (__FAVOR_BSD): Do not define.
4573 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4574 features conflicting with POSIX.
4575 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4576 (_BSD_SOURCE): Remove description of not being a subset of other
4577 feature test macros.
4578 * manual/job.texi (getpgrp): Do not document BSD version.
4579 (getpgid): Do not document by reference to BSD getpgrp.
4580 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4581 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4582 * signal/signal.h [__FAVOR_BSD]: Likewise.
4583 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4584 instead of making contents conditional on [__FAVOR_BSD].
4585 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4586
affb6f78
AZ
45872013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4588
4589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4590
c88769dd
JM
45912013-12-17 Joseph Myers <joseph@codesourcery.com>
4592
6432a540
JM
4593 [BZ #16314]
4594 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4595 values below 2**-450, not 2**-500.
4596 * math/auto-libm-test-in: Don't allow spurious underflow from
4597 hypot.
4598 * math/auto-libm-test-out: Regenerated.
4599
c88769dd
JM
4600 [BZ #16316]
4601 [BZ #16330]
4602 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4603 values of ha and hb and sort them after adjusting subnormal
4604 arguments.
4605 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4606 Likewise.
4607 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4608 values of ea and eb and sort them after adjusting subnormal
4609 arguments.
4610 * math/auto-libm-test-in: Do not expect some hypot tests of
4611 subnormals to fail. Add more hypot tests.
4612 * math/auto-libm-test-out: Regenerated.
4613
29618f6b
KK
46142013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4615
4616 [BZ #13304]
4617 * sysdeps/sh/s_fma.c: New file.
4618 * sysdeps/sh/s_fmaf.c: New file.
4619 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4620 version.
4621 * sysdeps/sh/Implies: Add sh/soft-fp.
4622
eacfdfbf
RM
46232013-12-16 Roland McGrath <roland@hack.frob.com>
4624
4625 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4626 level of indirection to members `objname', `errstring', `malloced'.
4627 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4628 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4629 it as the __longjmp argument (just pass 1 instead).
4630 (_dl_catch_error): Initialize C with argument pointers and address of
4631 volatile local ERRCODE rather than copying values out of C at return.
4632
ff362e5b
JM
46332013-12-16 Joseph Myers <joseph@codesourcery.com>
4634
4635 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4636 * math/auto-libm-test-out: Regenerated.
4637 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4638 (hypot_test_data): Likewise.
4639 (pow_test_data): Likewise.
4640 (pow_tonearest_test_data): Likewise.
4641 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4642 mpfr_ff_f.
4643 (func_calc_desc): Add mpfr_ff_f union field.
4644 (FUNC_mpfr_ff_f): New macro.
4645 (test_functions): Add atan2, hypot and pow.
4646 (special_fill_min): New function.
4647 (special_fill_minus_min): Likewise.
4648 (special_fill_min_subnorm): Likewise.
4649 (special_fill_minus_min_subnorm): Likewise.
4650 (special_real_inputs): Add min, -min, min_subnorm and
4651 -min_subnorm.
4652 (calc_generic_results): Handle mpfr_ff_f.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
5764c27f
WN
46562013-12-16 Will Newton <will.newton@linaro.org>
4657
4658 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4659 (Aligned Memory Blocks): Add documentation for aligned_alloc
4660 and suggest it as an alternative to posix_memalign.
4661 (Hooks for Malloc): Document __memalign_hook is also called
4662 for aligned_alloc. (Summary of Malloc): Add summary for
4663 aligned alloc. Document __memalign_hook is also called
4664 for aligned_alloc.
4665
0a096e44
WN
46662013-12-16 Will Newton <will.newton@linaro.org>
4667
4668 * manual/memory.texi (Malloc Examples): Clarify default
4669 alignment documentation. Suggest posix_memalign rather
4670 than memalign or valloc.
4671 (Aligned Memory Blocks): Remove suggestion to use memalign
4672 or valloc. Remove obsolete comment about BSD.
4673 Document memalign errno values and mark the function obsolete.
4674 Document posix_memalign returned error codes. Mark valloc
4675 as obsolete. (Hooks for Malloc): __memalign_hook is also
4676 called for posix_memalign and valloc.
4677 (Summary of Malloc): Add posix_memalign to function summary.
4678 __memalign_hook is also called for posix_memalign and valloc.
4679
8d561986
SP
46802013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4681
4682 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4683 TAYLOR_SIN.
4684 (__sin): Adjust.
4685 (__cos): Likewise.
4686 (sloww): Use mynumber union. Expand ternary operator into
4687 if-else statements.
4688 (cslow): use mynumber union.
4689
73616a74
AM
46902013-12-16 Allan McRae <allan@archlinux.org>
4691
9e8ac24b
AM
4692 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4693 * configure: Regenerated.
4694
6f8e37eb
AM
4695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4696
8894bad3
AM
4697 [BZ #14120]
4698 * configure.ac: Added --enable-maintainer-mode. Check for
4699 autoconf when enabled.
4700 * configure: Regenerated.
4701
73616a74
AM
4702 * nscd/nscd.service: New file.
4703 * nscd/nscd.tmpfiles: New file.
4704
584b18eb
OB
47052013-12-14 Ondřej Bílka <neleai@seznam.cz>
4706
4707 [BZ #12100]
4708 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4709 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4710 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4711 (strstr): Add __strstr_sse2_unaligned ifunc.
4712 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4713 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4714 (strcasestr): Remove __strcasestr_sse42 ifunc.
4715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4718
8a5c7897
KK
47192013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4720
4721 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4722 * sysdeps/sh/bits/fenv.h: ... here.
4723 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4724
fd712ef3
AZ
47252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4726
4727 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4728
42fcb46c
AZ
47292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4730
4731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4732 hypotf multiarch implementations.
4733 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4734 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4735 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4736 multiarch hypot for PPC64.
4737 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4738 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4740 multiarch hypotf for PPC64.
4741
83efded4
AZ
47422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4743
4744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4745 modff multiarch implementations.
4746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4749 multiarch modf for PPC64.
4750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4753 multiarch modff for PPC64.
4754
43e246d2
AZ
47552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
4757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4758 and logl multiarch implementations.
4759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4762 multiarch logb for PPC64.
4763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4766 multiarch logb for PPC64.
4767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4770 multiarch logb for PPC64.
4771
8fdad123
AZ
47722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4773
4774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4775 isinff multiarch implementation.
4776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4777 file.
4778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4780 multiarch isinf for PPC64.
4781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4782 file.
4783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4784 multiarch isinff for PPC64.
4785
1481d706
AZ
47862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787
4788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4789 finitef multiarch implementation.
4790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4791 file.
4792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4794 multiarch finite for PPC64.
4795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4796 file.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4798 multiarch finitef for PPC64.
4799
5ccd5fc8
AZ
48002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4803 lrint multiarch implementation.
4804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4805 file.
4806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4808 multiarch llrint for PPC64.
4809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4810 multiarch lrint for PPC64.
4811
2568f3fa
AZ
48122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4813
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4815 copysignf multiarch implementation.
4816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4817 file.
4818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4819 file.
4820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4821 multiarch copysign for PPC64.
4822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4823 multiarch copysignf for PPC64.
4824
1cb341fd
AZ
48252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826
4827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4828 multiarch implementation.
4829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4830 file.
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4832 file.
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4834 file.
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4836 file.
4837 multiarch llround for PPC64.
4838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4839 multiarch trunc for PPC64.
4840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4841 multiarch truncf for PPC64.
4842
59a3e194
AZ
48432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4844
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4846 multiarch implementation.
4847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4848 file.
4849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4850 file.
4851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4852 file.
4853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4854 file.
4855 multiarch llround for PPC64.
4856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4857 multiarch round for PPC64.
4858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4859 multiarch roundf for PPC64.
4860
357fd3b4
AZ
48612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862
4863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4864 multiarch implementation.
4865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4866 file.
4867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4868 file.
4869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4870 file.
4871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4872 file.
4873 multiarch llround for PPC64.
4874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4875 multiarch floor for PPC64.
4876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4877 multiarch floorf for PPC64.
4878
96770f12
AZ
48792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880
4881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4882 multiarch implementation.
4883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4884 file.
4885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4886 file.
4887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4888 file.
4889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4890 file.
4891 multiarch llround for PPC64.
4892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4893 multiarch ceil for PPC64.
4894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4895 multiarch ceilf for PPC64.
4896
c3627f6e
AZ
48972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898
4899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4900 multiarch implementation.
4901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4902 file.
4903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4904 file.
4905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4906 file.
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4908 multiarch llround for PPC64.
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4910 multiarch lround for PPC64.
4911
b2284ad7
AZ
49122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4913
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4915 multiarch implementation.
4916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4919 file.
4920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4923 multiarch isnan for PPC64.
4924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4925 multiarch isnanf for PPC64.
4926
69bbc63d
AZ
49272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4928
4929 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4930 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4931 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4932 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4933 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4935
c24517c9
AZ
49362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937
4938 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4942
a52374e8
AZ
49432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4944
4945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4946 multiarch implementations.
4947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4948 (__libc_ifunc_impl_list): Likewise.
4949 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4950 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4952 multiarch stpcpy for PPC64.
4953
7f5ec113
AZ
49542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955
4956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4957 multiarch implementations.
4958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4959 (__libc_ifunc_impl_list): Likewise.
4960 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4961 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4962 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4963 multiarch strcpy for PPC64.
4964
e28bcd42
AZ
49652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
4967 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4968 redefine function name.
4969 (_wordcopy_fwd_dest_aligned): Likewise.
4970 (_wordcopy_bwd_aligned): Likewise.
4971 (_wordcopy_bwd_dest_aligned): Likewise.
4972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4973 multiarch implementations.
4974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4975 (__libc_ifunc_impl_list): Likewise.
4976 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4978 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4979 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4980 multiarch wcscpy for PPC64.
4981
92cacfce
AZ
49822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4983
4984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4985 multiarch implementations.
4986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4987 (__libc_ifunc_impl_list): Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4991 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4992 multiarch wcscpy for PPC64.
4993
7b714620
AZ
49942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995
4996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4997 multiarch implementations.
4998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4999 (__libc_ifunc_impl_list): Likewise.
5000 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5001 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5003 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5004 multiarch wcsrchr for PPC64.
5005
16fd2ae3
AZ
50062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5007
5008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5009 multiarch implementations.
5010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5011 (__libc_ifunc_impl_list): Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5013 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5014 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5015 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5016 multiarch wcschr for PPC64.
5017
9ee2969b
AZ
50182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5019
5020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5021 multiarch implementations.
5022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5023 (__libc_ifunc_impl_list): Likewise.
5024 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5025 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5026 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5027 multiarch strchrnul for PPC64.
5028
372dc060
AZ
50292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030
5031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5032 implementations.
5033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5034 (__libc_ifunc_impl_list): Likewise.
5035 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5036 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5037 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5038 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5039 strchr for PPC64.
5040
24c2c3b9
AZ
50412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5042
5043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5044 implementations.
5045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5046 (__libc_ifunc_impl_list): Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5048 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5049 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5050 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5051 strncmp for PPC64.
5052
1c92d9a0
AZ
50532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054
5055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5056 multiarch implementations.
5057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5058 (__libc_ifunc_impl_list): Likewise.
5059 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5060 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5061 strncasecmp for PPC64.
5062 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5063 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5064 multiarch strncasecmp_l for PPC64.
5065
17de3ee3
AZ
50662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5067
5068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5069 multiarch implementations.
5070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5071 (__libc_ifunc_impl_list): Likewise.
5072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5073 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5074 multiarch strcasecmp for PPC64.
5075 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5076 file.
5077 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5078 multiarch strcasecmp_l for PPC64.
5079
62982bf9
AZ
50802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5081
5082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5083 implementations.
5084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5085 (__libc_ifunc_impl_list): Likewise.
5086 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5087 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5088 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5089 strnlen for PPC64.
5090
a65f4904
AZ
50912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5092
5093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5094 implementations.
5095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5096 (__libc_ifunc_impl_list): Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5098 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5099 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5100 strlen for PPC64.
5101
1fd005ad
AZ
51022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103
5104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5105 implementations.
5106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5107 (__libc_ifunc_impl_list): Likewise.
5108 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5109 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5110 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5111 rawmemrchr for PPC64.
5112
cd05ba91
AZ
51132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5114
5115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5116 implementation.
5117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5118 (__libc_ifunc_impl_list): Likewise.
5119 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5120 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5121 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5122 memrchr for PPC64.
5123
870f8676
AZ
51242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125
5126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5127 implementation.
5128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5129 (__libc_ifunc_impl_list): Likewise.
5130 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5131 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5132 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5133 memchr for PPC64.
5134
f00be62b
AZ
51352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5136
5137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5138 implementation.
5139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5140 (__libc_ifunc_impl_list): Likewise.
5141 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5143 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5144 mempcpy for PPC64.
5145
8a29a3d0
AZ
51462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147
5148 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5149 avoid cretion of __bzero symbol.
5150 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5151 Likewise.
5152 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5153 Likewise.
5154 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5155 Likewise.
5156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5157 multiarch implementations.
5158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5159 (__libc_ifunc_impl_list): Likewise.
5160 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5162 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5163 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5164 bzero for PPC32.
5165 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5166 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5167 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5168 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5169 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5170 memset for PPC64.
5171 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5172
07253fcf
AZ
51732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5174
5175 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5177 implementations.
5178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5179 (__libc_ifunc_impl_list): Likewise.
5180 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5181 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5182 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5183 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5184 memcmp for PPC64.
5185
b5beafbc
AZ
51862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5187
5188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5189 multiarch for POWER/PPC64.
5190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5198 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5199 memcpy for PPC64.
5200
5e6a4d4b
AZ
52012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5202
5203 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5204 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5205 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5206 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5207 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5208 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5209 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5210 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5211 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5212 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5213 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5214 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5215 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5216 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5217 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5225
ddfab6dc
KK
52262013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5227
5228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5229
19b5525e
SP
52302013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 * benchtests/Makefile (bench): Add exp2 and log2.
5233 (LDLIBS-bench-exp2): Add -lm.
5234 (LDLIBS-bench-log2): Likewise.
5235 * benchtests/exp2-inputs: New inputs file.
5236 * benchtests/log2-inputs: New inputs file.
5237 * benchtests/log-inputs: Add new inputs.
5238 * benchtests/tan-inputs: Likewise.
5239
196f7f5d
SP
52402013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5241
7a74607f
SP
5242 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5243 definition...
5244 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5245 csloww1, csloww2): ... from here.
5246
196f7f5d
SP
5247 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5248 instead of structures.
5249 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5250 (POLYNOMIAL): Likewise.
5251 (TAYLOR_SLOW): Likewise.
5252 (__sin): Likewise.
5253 (__cos): Likewise.
5254 (slow1): Likewise.
5255 (slow2): Likewise.
5256 (sloww): Likewise.
5257 (sloww1); Likewise.
5258 (sloww2): Likewise.
5259 (bsloww1): Likewise.
5260 (bsloww2): Likewise.
5261 (cslow2): Likewise.
5262 (csloww): Likewise.
5263 (csloww1): Likewise.
5264 (csloww2): Likewise.
5265
0dfa665c
OB
52662013-12-10 Ondřej Bílka <neleai@seznam.cz>
5267
5268 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5269 (__malloc_assert, __libc_realloc, __libc_calloc,
5270 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5271 memcpy and memset.
5272 * malloc/hooks.c (realloc_check): Likewise.
5273
5782a80f
OB
52742013-12-10 Ondřej Bílka <neleai@seznam.cz>
5275
5276 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5277 * malloc/arena.c: Remove PER_THREAD conditional.
5278 [!PER_THREAD]: Remove code.
5279 (ptmalloc_unlock_all2): Likewise.
5280 (ptmalloc_init): Likewise.
5281 (_int_new_arena): Likewise.
5282 (arena_get2): Likewise.
5283 * malloc/hooks.c (__malloc_get_state): Likewise.
5284 (__malloc_set_state): Likewise.
5285 * malloc/malloc.c: Likewise.
5286 (struct malloc_state): Likewise.
5287 (struct malloc_par): Likewise.
5288 (__libc_realloc): Likewise.
5289 (__libc_mallopt): Likewise.
5290
aeb95445
AZ
52912013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5292
5293 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5294
e8349efd
OB
52952013-12-09 Ondřej Bílka <neleai@seznam.cz>
5296
5297 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5298 macro to a function. Check for zero perturb_byte.
5299 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5300
f3eeb3fc
OB
53012013-12-09 Ondřej Bílka <neleai@seznam.cz>
5302
5303 * malloc/malloc.c: (force_reg): Remove.
5304 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5305 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5306 force_reg by atomic_forced_read.
5307 * malloc/arena.c (ptmalloc_init): Likewise.
5308 * malloc/hooks.c (top_check): Likewise.
5309
be2f9009
AZ
53102013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5311
5312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5313
e7b914bd
MT
53142013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5315
5316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5317
9f0be4f8
JM
53182013-12-08 Joseph Myers <joseph@codesourcery.com>
5319
5320 * math/auto-libm-test-in: Add tests of lgamma.
5321 * math/auto-libm-test-out: Regenerated.
5322 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5323 (M_LOG_2_SQRT_PIl): Likewise.
5324 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5325 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5326 mpfr_f_f1.
5327 (func_calc_desc): Add mpfr_f_f1 union field.
5328 (ARGS1): New macro.
5329 (ARGS2): Likewise.
5330 (ARGS3): Likewise.
5331 (ARGS4): Likewise.
5332 (RET1): Likewise.
5333 (RET2): Likewise.
5334 (CALC): Likewise.
5335 (FUNC): Likewise.
5336 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5337 (test_functions): Add lgamma.
5338 (calc_generic_results): Handle mpfr_f_f1.
5339 * sysdeps/i386/fpu/libm-test-ulps: Update.
5340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341
24eeafdb
AZ
53422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5343
5344 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5345 __mpn_add_n for PowerPC64/POWER7.
5346 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5347 __mpn_sub_n for PowerPC64/POWER7.
5348
4a2c0fd4
AZ
53492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350
5351 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5352 __mpn_addmul_1 for PowerPC64.
5353 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5354 __mpn_submul_1 for PowerPC64.
5355 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5356 for PowerPC64.
5357 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5358 for PowerPC64.
5359
4b5b548c
FS
53602013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5361
5362 [BZ #15089]
5363 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5364
0a3ac0aa
AZ
53652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5366
5367 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5368
ccdc8438
AZ
53692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5370
5371 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5372 add multiarch folders.
5373 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5374 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5375 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5376 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5377 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5378 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5379 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5380 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5381 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5382 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5383 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5390
2e973d99
AZ
53912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392
5393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5394 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5396 New file.
5397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5398 New file.
5399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5400 multiarch __ieee754_hypot for PowerPC32.
5401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5402 New file.
5403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5404 New file.
5405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5406 multiarch __ieee754_hypotf for PowerPC32.
5407
2d9470b2
AZ
54082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5411 long_double_symbol only if __logbl is defined.
5412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5413 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5415 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5417 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5419 path for implementation.
5420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5423 logb, and logbl multiarch implementations for PowerPC32.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5425 file.
5426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5427 file.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5429 multiarch logb for PowerPC32.
5430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5431 file.
5432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5433 file.
5434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5435 multiarch logbf for PowerPC32.
5436 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5438 file.
5439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5440 multiarch logbl implementation for PowerPC32.
5441
5212ffce
AZ
54422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443
5444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5445 and modff multiarch implementations.
5446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5447 New file.
5448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5449 New file.
5450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5451 multiarch modf for PowerPC32.
5452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5453 New file.
5454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5455 New file.
5456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5457 multiarch modff for PowerPC32.
5458
79dccf31
AZ
54592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5462 and lrintf multiarch implementations.
5463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5464 New file.
5465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5466 New file.
5467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5468 multiarch lrint for PowerPC32.
5469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5470 file: multiarch lrintf for PowerPC32.
5471
deb66480
AZ
54722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473
5474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5475 and lroundf multiarch implementations.
5476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5477 New file.
5478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5479 New file.
5480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5481 New file.
5482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5483 multiarch lround for PowerPC32.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5485 file: multiarch lroundf for PowerPC32.
5486
264b036b
AZ
54872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5488
5489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5490 copysign and copysignf multiarch implementations.
5491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5492 New file.
5493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5494 New file.
5495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5496 file: multiarch copysign for PowerPC32.
5497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5498 file: multiarch copysignf for PowerPC32.
5499
d47db6c9
AZ
55002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501
5502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5503 and truncf multiarch implementations.
5504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5505 New file.
5506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5507 file.
5508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5509 multiarch trunc for PowerPC32.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5511 New file.
5512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5513 New file.
5514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5515 multiarch truncf for PowerPC32.
5516
ddb60b5a
AZ
55172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518
5519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5520 and roundf multiarch implementations.
5521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5522 New file.
5523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5524 file.
5525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5526 multiarch round for PowerPC32.
5527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5528 New file.
5529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5530 New file.
5531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5532 multiarch roundf for PowerPC32.
5533
bedcf49b
AZ
55342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5535
5536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5537 and floorf multiarch implementations.
5538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5539 New file.
5540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5541 file.
5542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5543 multiarch floor for PowerPC32.
5544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5545 New file.
5546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5547 New file.
5548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5549 multiarch floorf for PowerPC32.
5550
35ae5b40
AZ
55512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5554 and ceilf multiarch implementations.
5555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5556 New file.
5557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5558 file.
5559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5560 multiarch ceil for PowerPC32.
5561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5562 New file.
5563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5564 file.
5565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5566 multiarch ceilf for PowerPC32.
5567
ae1a4cd9
AZ
55682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569
5570 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5571 is defined.
5572 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5573 FINITEF is defined.
5574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5575 and finitef multiarch implementations.
5576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5577 New file.
5578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5579 file.
5580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5581 multiarch finite for PowerPC32.
5582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5583 New file.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5585 file: multiarch finitef for PowerPC32.
5586
64fffd65
AZ
55872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5590 and isinff multiarch implementations.
5591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5592 file.
5593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5594 file.
5595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5596 multiarch isinf for PowerPC32.
5597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5598 New file.
5599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5600 multiarch isinff for PowerPC32.
5601
8e4e7ba2
AZ
56022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603
5604 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5605 alias when __isnan is defined.
5606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5607 and isnanf multiarch implementations.
5608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5609 file.
5610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5611 file.
5612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5613 file.
5614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5615 file.
5616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5617 multiarch isnan for PowerPC32.
5618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5619 New file.
5620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5621 New file.
5622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5623 multiarch isnanf for PowerPC32.
5624
ddba588e
AZ
56252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5626
5627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5628 and sqrtf multiarch implementations.
5629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5630 file.
5631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5632 file.
5633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5634 multiarch sqrt for PowerPC32.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5636 file.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5638 file.
5639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5640 multiarch sqrtf for PowerPC32.
5641
0f96a2f0
AZ
56422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643
5644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5645 and llroundf multiarch implementations.
5646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5647 New file.
5648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5649 New file.
5650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5651 New file.
5652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5653 file: multiarch llround for PowerPC32.
5654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5655 file: multiarch llroundf for PowerPC32.
5656
c9b5d79e
AZ
56572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5660 multiarch PowerPC32 fpu implementations.
5661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5662 New file.
5663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5664 New file.
5665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5666 multiarch llrint for PowerPC32.
5667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5668 New file.
5669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5670 New file.
5671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5672 file.
5673
9cbb3aab
AZ
56742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5677
ea5a72f8
AZ
56782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679
5680 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5681 file.
5682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5683 file.
5684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5685 file.
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5687 multiarch wordcopy for PPC32.
5688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5689 wordcopy objects.
5690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5691 (__libc_ifunc_impl_list): Likewise.
5692 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5693 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5694 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5695 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5696 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5697 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5698
93be09e7
AZ
56992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5700
5701 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5703 file.
5704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5705 file.
5706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5707 file.
5708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5709 multiarch wcscpy for PPC32.
5710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5711 multiarch objects.
5712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5713 (__libc_ifunc_impl_list): Likewise.
5714 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5715 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5716 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5717 sysdeps/powerpc/power6/wcscpy.c.
5718
bb04e529
AZ
57192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720
5721 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5723 file.
5724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5725 file.
5726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5727 file.
5728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5729 multiarch wcsrchr for PPC32.
5730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5731 multiarch objects.
5732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5733 (__libc_ifunc_impl_list): Likewise.
5734 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5735 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5736 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5737 sysdeps/powerpc/power6/wcsrchr.c.
5738
05b5cd1c
AZ
57392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740
5741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5742 file.
5743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5744 file.
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5747 multiarch wcschr for PPc32.
5748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5749 multiarch objects.
5750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5751 (__libc_ifunc_impl_list): Likewise.
5752 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5753 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5754 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5755 sysdeps/powerpc/power6/wcschr.c.
5756
ba964147
AZ
57572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5761 file.
5762 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5763 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5764 file: multiarch strchr for PPC32.
5765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5766 multiarch objects.
5767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5768 (__libc_ifunc_impl_list): Likewise.
5769
31c81aaa
AZ
57702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5773 name.
5774 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5775 file.
5776 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5777 file.
5778 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5779 multiarch strchrnul for PPC32.
5780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5781 multiarch objects.
5782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5783 (__libc_ifunc_impl_list): Likewise.
5784
0d0607d9
AZ
57852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5786
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5788 file.
5789 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5790 multiarch strncasecmp for PPC32.
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5792 file.
5793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5794 multiarch strncasecmp_l for PPC32.
5795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5796 strncasecmp multiarch objects.
5797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5798 (__libc_ifunc_impl_list): Likewise.
5799
4dfd5c86
AZ
58002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5803 file.
5804 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5805 multiarch strncasecmp for PPC32.
5806 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5807 New file.
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5809 multiarch strcasecmp_l for PPC32.
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5811 multiarch objects.
5812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5813 (__libc_ifunc_impl_list): Likewise.
5814
a19e01a3
AZ
58152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816
5817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5818 file.
5819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5820 file.
5821 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5822 multiarch strncmp for PPC32.
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5824 multiarch objects.
5825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5826 (__libc_ifunc_impl_list): Likewise.
5827
ae9cf7a2
AZ
58282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829
5830 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5831 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5832 file.
5833 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5834 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5836 multiarch objects.
5837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5838 (__libc_ifunc_impl_list): Likewise.
5839
3148bb7d
AZ
58402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5841
5842 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5843 file.
5844 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5845 file.
5846 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5848 multiarch objects.
5849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5850 (__libc_ifunc_impl_list): Likewise.
5851
7af8b946
AZ
58522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5853
5854 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5855 file.
5856 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5857 file.
5858 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5859 multiarch rawmemchr for PPC32.
5860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5861 multiarch objects.
5862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5863 (__libc_ifunc_impl_list): Likewise.
5864
03a6aa6a
AZ
58652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866
5867 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5868 file.
5869 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5870 file.
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5872 file: memrchr multiarch for PPC32.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5874 multiarch objects.
5875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5876 (__libc_ifunc_impl_list): Likewise.
5877
1c62e6d9
AZ
58782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5879
5880 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5881 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5882 file.
5883 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5884 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5885 multiarch memchr for PPC32.
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5887 multiarch objects.
5888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5889 (__libc_ifunc_impl_list): Likewise.
5890
87da8bdb
AZ
58912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892
5893 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5894 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5895 file.
5896 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5897 file.
5898 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5899 file: multiarch mempcpy for PPC32.
5900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5901 multiarch objects.
5902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5903 (__libc_ifunc_impl_list): Likewise.
5904
20ed4714
AZ
59052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5909 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5911 multiarch bzero for PPC32.
5912 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5913 file.
5914 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5915 file.
5916 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5917 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5918 file: multiarch memset for PPC32.
5919 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5921 memset multiarch objects.
5922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5923 (__libc_ifunc_impl_list): Likewise.
5924
ab3e3a46
AZ
59252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926
5927 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5928 file.
5929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5931 memcmp for PPC32.
5932 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5934 multiarch objects.
5935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5936 (__libc_ifunc_impl_list): Likewise.
5937
930de6f0
AZ
59382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
5940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5943 file.
5944 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5945 file.
5946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5947 file.
5948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5949 multiarch memcpy for PPC32.
5950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5951 multiarch objects.
5952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5953 (__libc_ifunc_impl_list): Likewise.
5954
4c628e00
AZ
59552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956
5957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5958 support multiarch for POWER/PPC32.
5959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5960 Likewise.
5961 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5963 Implies file to make multiarch folder appers before the fpu and
5964 default folder for power4 configuration.
5965
f4479220
SP
59662013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5967
5968 * scripts/bench.pl: Append volatile keyword to type.
5969
8517800f
KK
59702013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5971
5972 * sysdeps/sh/sotruss-lib.c: New file.
5973 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5974
180138f1
AZ
59752013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976
5977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5978
bbf37bdc
JM
59792013-12-05 Joseph Myers <joseph@codesourcery.com>
5980
e47cc4e0
JM
5981 [BZ #6810]
5982 * math/w_tgamma.c: Include <errno.h>.
5983 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5984 * math/w_tgammaf.c: Include <errno.h>.
5985 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5986 * math/w_tgammal.c: Include <errno.h>.
5987 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5988 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5989 underflow. Add more tgamma tests.
5990 * math/auto-libm-test-out: Regenerated.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
bbf37bdc
JM
5994 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5995 sin, sinh, tan, tanh, tgamma, y0 and y1.
5996 * math/auto-libm-test-out: Regenerated.
5997 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5998 (TEST_COND_x86): Likewise.
5999 (M_E2l): Remove macro.
6000 (M_E3l): Likewise.
6001 (M_2_SQRT_PIl): Likewise.
6002 (M_SQRT_PIl): Likewise.
6003 (M_1_DIV_El): Likewise.
6004 (log_test_data): Use AUTO_TESTS_f_f.
6005 (log10_test_data): Likewise.
6006 (log1p_test_data): Likewise.
6007 (log2_test_data): Likewise.
6008 (sin_test_data): Likewise.
6009 (sin_tonearest_test_data): Likewise.
6010 (sin_towardzero_test_data): Likewise.
6011 (sin_downward_test_data): Likewise.
6012 (sin_upward_test_data): Likewise.
6013 (sinh_test_data): Likewise.
6014 (sinh_tonearest_test_data): Likewise.
6015 (sinh_towardzero_test_data): Likewise.
6016 (sinh_downward_test_data): Likewise.
6017 (sinh_upward_test_data): Likewise.
6018 (tan_test_data): Likewise.
6019 (tan_tonearest_test_data): Likewise.
6020 (tan_towardzero_test_data): Likewise.
6021 (tan_downward_test_data): Likewise.
6022 (tan_upward_test_data): Likewise.
6023 (tanh_test_data): Likewise.
6024 (tgamma_test_data): Likewise.
6025 (y0_test_data): Likewise.
6026 (y1_test_data): Likewise.
6027 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6028 (special_real_inputs): Add pi/4.
6029 * sysdeps/i386/fpu/libm-test-ulps: Update.
6030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031
eb5ad6b9
AZ
60322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033
6034 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6035 "longjmp_target" static probes.
6036 (__longjmp): Rename to __longjmp_symbol.
6037 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6038 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6039 on which longjmp to generate.
6040 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6041 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6042 probe.
6043 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6044 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6045 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6046 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6047 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6048 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6050 __longjmp_symbol based on which __longjmp to generate.
6051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6052 probe.
6053 (setjmp): Rename to setjmp_symbol.
6054 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6055 (_setjmp): Rename to _setjmp_symbol.
6056 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6057 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6058 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6059 which setjmp to generate.
6060 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6061 "longjmp_target" static probes.
6062
d136c6dc
SP
60632013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6064
9298ecba
SP
6065 * benchtests/README: Add note about output arguments.
6066 * benchtests/bench-sincos.c: Remove file.
6067 * benchtests/sincos-inputs: New file.
6068 * scripts/bench.pl: Identify output arguments and define
6069 static variables for them.
6070
232983e9
SP
6071 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6072
d136c6dc
SP
6073 [BZ #15941]
6074 * Makefile (INSTALL): Add install-plain.texi as the primary
6075 dependency.
6076 * manual/install-plain.texi: New file.
6077 * manual/install.texi: Include node directive only for
6078 non-plaintext output.
6079
699ff837
JM
60802013-12-04 Joseph Myers <joseph@codesourcery.com>
6081
ab07cea8
JM
6082 * stdlib/longlong.h: Update from GCC.
6083
699ff837
JM
6084 [BZ #6807]
6085 [BZ #15901]
6086 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6087 * math/w_j0f.c (y0f): Likewise.
6088 * math/w_j0l.c (__y0l): Likewise.
6089 * math/w_j1.c (y1): Likewise.
6090 * math/w_j1f.c (y1f): Likewise.
6091 * math/w_j1l.c (__y1l): Likewise
6092 * math/w_jn.c (yn): Likewise.
6093 * math/w_jnf.c (ynf): Likewise.
6094 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6095 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6096 value for Bessel function domain errors outside _SVID_ mode.
6097 Adjust sign of return value for yn (negative integer, 0).
6098 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6099 by zero in return for negative x and set sign appropriately for
6100 negative n.
6101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6102 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6103 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6104 expectations in error cases.
6105 (y1_test_data): Likewise.
6106 (yn_test_data): Likewise.
6107 * sysdeps/i386/fpu/libm-test-ulps: Update.
6108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6109
5b118558
UW
61102013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6111
6112 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6113 "64" to "64-v1". Add "64-v2".
6114 (abi-64-options): Rename to ...
6115 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6116 (abi-64-condition): Rename to ...
6117 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6118 (abi-64-ld-soname): Rename to ...
6119 (abi-64-v1-ld-soname): ... this.
6120 (abi-64-v2-options): Define.
6121 (abi-64-v2-condition): Likewise.
6122 (abi-64-v2-ld-soname): Likewise.
6123 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6124 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6128
61cd8fe4
UW
61292013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6130 Alan Modra <amodra@gmail.com>
6131
6132 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6133 New versions for use with the ELFv2 ABI.
6134 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6135 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6136 declaration.
6137 (struct La_ppc64v2_retval): Likewise.
6138 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6139 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6140 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6141 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6142 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6143 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6144 Do not save or restore CR.
6145 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6146 (_dl_profile_resolve): Do no save or restore CR. Support extended
6147 return values for ELFv2 ABI. Fix location of FPR return registers.
6148 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6149 updated values for _CALL_ELF == 2.
6150 (La_regs, La_retval, int_retval): Likewise.
6151
8b8a692c
UW
61522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6155 (FRAME_MIN_SIZE_PARM): Likewise.
6156 (FRAME_BACKCHAIN): Likewise.
6157 (FRAME_CR_SAVE): Likewise.
6158 (FRAME_LR_SAVE): Likewise.
6159 (FRAME_TOC_SAVE): Likewise.
6160 (FRAME_PARM_SAVE): Likewise.
6161 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6162 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6163 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6164 (call_mcount_parm_offset): New macro.
6165 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6166 (PROF): Use symbolic stack frame offsets.
6167 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6168 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6169 Redefine in terms of FRAME_MIN_SIZE.
6170 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6171 (_dl_profile_resolve): Likewise. Update comment.
6172 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6173 symbols stack frame offsets.
6174 (__sigsetjmp): Likewise.
6175 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6176 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6177 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6178 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6179
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6181 (FRAME_BACKCHAIN): Remove.
6182 (FRAME_CR_SAVE): Likewise.
6183 (FRAME_LR_SAVE): Likewise.
6184 (FRAME_COMPILER_DW): Likewise.
6185 (FRAME_LINKER_DW): Likewise.
6186 (FRAME_TOC_SAVE): Likewise.
6187 (FRAME_PARM_SAVE): Likewise.
6188 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6189 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6190 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6192 (CHECK_SP): Use symbolic stack frame offsets.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6194 zone" instead of caller's parameter save area for temp storage.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6196 Likewise. Also, use symbolic stack frame offsets.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6198 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6199 our own stack frame instead of the caller's.
6200 (__socket): Use symbolic stack frame offsets.
6201
122b66de
UW
62022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6203 Alan Modra <amodra@gmail.com>
6204
6205 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6206 Define.
6207 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6208 PPC64_LOCAL_ENTRY_OFFSET): Define.
6209 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6210 New function.
6211 (elf_machine_fixup_plt): Call it.
6212 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6213 reloc arguments.
6214 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6215 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6216 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6217 r2 before calling target.
6218
696caf1d
UW
62192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6220 Alan Modra <amodra@gmail.com>
6221
6222 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6223 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6224 versions of macros to support ELFv2 ABI.
6225 (LOCALENTRY): New macro.
6226 (ENTRY, EALIGN): Use it.
6227 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6228 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6229 fall through into ENTRY entry point.
6230 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6231 Only define if _CALL_ELF != 2.
6232
6233 (elf_machine_matches_host): Verify ABI version matches.
6234 (RTLD_START): Use LOCALENTRY.
6235 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6236 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6237 (PLT_ENTRY_WORDS): New macro.
6238 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6239 (elf_machine_runtime_setup): Support ELFv2 ABI.
6240 (elf_machine_fixup_plt): Likewise.
6241 (elf_machine_plt_conflict): Likewise.
6242 (resolve_ifunc): Likewise.
6243 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6244 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6245 Likewise.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6247 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6249 (makecontext): Support ELFv2 ABI.
6250 * elf/elf.h (EF_PPC64_ABI): Define.
6251
d31beafa
UW
62522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6253
6254 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6255 New assembler macro.
6256 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6257 [ASSEMBLER] (ENTRY): ... but instead here ...
6258 [ASSEMBLER] (EALIGN): ... and here.
6259 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6260 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6261 [!ASSEMBLER] (ENTRY_2): Use it.
6262 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6263 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6264 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6265 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6266 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6268 Use PPC64_LOAD_FUNCPTR.
6269
b525166b
UW
62702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6271
6272 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6273
7ec07d9a
AM
62742013-12-04 Alan Modra <amodra@gmail.com>
6275
6276 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6277 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6278 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6279 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6280
6281 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6282 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6283 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6284 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6285 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6286 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6287
5162e7dd
UW
62882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6289
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6291 (__makecontext): Fix incorrect CFI when backtracing out of
6292 context created via makecontext.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6294 (__setcontext): Fix incorrect CFI during switch to new context.
6295 (__novec_setcontext): Likewise.
6296
19e3372b
OB
62972013-12-04 Ondřej Bílka <neleai@seznam.cz>
6298
6299 [BZ #4772]
6300 * time/strptime_l.c (__strptime_internal): Allow modifiers
6301 in strptime.
6302 * time/tst-strptime.c (day_tests): Add testcase.
6303
6304
ecaf142d
SP
63052013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
6307 * scripts/bench.pl: Skip over blank lines.
6308
fbf964ae
PE
63092013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6310
6311 [BZ #926]
6312 * manual/time.texi (Calendar Time): Clarify what timezone functions
6313 use.
6314
fa60a674
AZ
63152013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6316
6317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6318
d674f0ef
OB
63192013-12-04 Ondřej Bílka <neleai@seznam.cz>
6320
6321 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6322 implementation.
6323 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6324 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6325 * debug/memset_chk.c (__memset_chk): Likewise.
6326 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6327 * debug/strncpy_chk.c: Likewise.
6328
17dea188
JM
63292013-12-03 Joseph Myers <joseph@codesourcery.com>
6330
749008ff
JM
6331 [BZ #15268]
6332 [BZ #15425]
6333 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6334 (__ieee754_exp): For possibly underflowing results, check size of
6335 result and force underflow exception if required.
6336 * math/auto-libm-test-in: Add more tests of exp.
6337 * math/auto-libm-test-out: Regenerated.
6338 * sysdeps/i386/fpu/libm-test-ulps: Update.
6339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6340
17dea188
JM
6341 [BZ #16283]
6342 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6343 * math/w_exp2f.c (__exp2f): Likewise.
6344 * math/w_exp2l.c (__exp2l): Likewise.
6345 * math/auto-libm-test-in: Do not allow missing errno on exp2
6346 underflow.
6347 * math/auto-libm-test-out: Regenerated.
6348
b20de2c3
OB
63492013-12-03 Ondřej Bílka <neleai@seznam.cz>
6350
6351 [BZ #16274]
6352 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6353 handle filename validation.
6354 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6355 (do_open): Delete.
6356
d8e2dbe3
JM
63572013-12-03 Joseph Myers <joseph@codesourcery.com>
6358
34e16df5
JM
6359 [BZ #6786]
6360 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6361 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6362 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6363 <float.h>.
6364 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6365 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6366 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6368 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6370 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6371 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6372 Add more erfc tests.
6373 * math/auto-libm-test-out: Regenerated.
6374 * sysdeps/i386/fpu/libm-test-ulps: Update.
6375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6376
d8e2dbe3
JM
6377 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6378 exp2, expm1, j0 and j1.
6379 * math/auto-libm-test-out: Regenerated.
6380 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6381 (erfc_test_data): Likewise.
6382 (exp_test_data): Likewise.
6383 (exp_tonearest_test_data): Likewise.
6384 (exp_towardzero_test_data): Likewise.
6385 (exp_downward_test_data): Likewise.
6386 (exp_upward_test_data): Likewise.
6387 (exp10_test_data): Likewise.
6388 (exp2_test_data): Likewise.
6389 (expm1_test_data): Likewise.
6390 (j0_test_data): Likewise.
6391 (j1_test_data): Likewise.
6392 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6393 (input_flag_type): Add flag_xfail_rounding.
6394 (input_flags): Add xfail-rounding.
6395 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6396 (output_for_one_input_case): Handle flag_xfail_rounding.
6397 * sysdeps/i386/fpu/libm-test-ulps: Update.
6398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6399
18d14251
AJ
64002013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6401
3d2e6075 6402 [BZ #16289]
18d14251
AJ
6403 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6404 division by 0.
6405
520d437b
SP
64062013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6407
6408 [BZ #16195]
6409 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6410 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6411 (STAP_PROBE0): New macro.
6412 (STAP_PROBE1): Likewise.
6413 (STAP_PROBE2): Likewise.
6414 (STAP_PROBE3): Likewise.
6415 (STAP_PROBE4): Likewise.
6416
416e0145
OB
64172013-12-02 Ondřej Bílka <neleai@seznam.cz>
6418
6419 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6420
9d17796a
SE
64212013-12-02 Steve Ellcey <sellcey@mips.com>
6422
6423 * benchtests/Makefile (bench): Add sqrt.
6424 (LDLIBS-bench-sqrt): New.
6425 * benchtests/sqrt-input: New.
6426
f524d6a8
PS
64272013-12-02 Pavel Simerda <psimerda@redhat.com>
6428
639a0ef8
PS
6429 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6430 (GAIH_EAI): Likewise.
6431 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6432 (gaih_inet): Likewise.
6433 (getaddrinfo): Don't use GAIH_EAI.
6434
f524d6a8
PS
6435 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6436 (struct gaih): Remove definition.
6437
df3aedaf
SP
64382013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6439
6440 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6441 Use HERRNOP directly.
6442
1ab19dec
AZ
64432013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444
b42ad38d 6445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6446
176b0c79
JM
64472013-11-30 Joseph Myers <joseph@codesourcery.com>
6448
6449 * math/gen-auto-libm-tests.c (test_functions): Add more
6450 single-argument functions.
6451 (special_fill_pi_2): New function.
6452 (special_fill_minus_pi_2): Likewise.
6453 (special_fill_pi_6): Likewise.
6454 (special_fill_minus_pi_6): Likewise.
6455 (special_fill_pi_3): Likewise.
6456 (special_fill_2pi_3): Likewise.
6457 (special_fill_e): Likewise.
6458 (special_fill_1_e): Likewise.
6459 (special_fill_e_minus_1): Likewise.
6460 (special_real_inputs): Add more special inputs.
6461 (output_for_one_input_case): Do not require ERANGE on underflow to
6462 zero if round-to-nearest result does not underflow to zero, unless
6463 exact results required.
6464 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6465 atan, atanh, cbrt, cos and cosh.
6466 * math/auto-libm-test-out: Regenerated.
6467 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6468 (acos_tonearest_test_data): Likewise.
6469 (acos_towardzero_test_data): Likewise.
6470 (acos_downward_test_data): Likewise.
6471 (acos_upward_test_data): Likewise.
6472 (acosh_test_data): Likewise.
6473 (asin_test_data): Likewise.
6474 (asin_tonearest_test_data): Likewise.
6475 (asin_towardzero_test_data): Likewise.
6476 (asin_upward_test_data): Likewise.
6477 (asinh_test_data): Likewise.
6478 (atan_test_data): Likewise.
6479 (atanh_test_data): Likewise.
6480 (cbrt_test_data): Likewise.
6481 (cos_test_data): Likewise.
6482 (cos_tonearest_test_data): Likewise.
6483 (cos_towardzero_test_data): Likewise.
6484 (cos_downward_test_data): Likewise.
6485 (cos_upward_test_data): Likewise.
6486 (cosh_test_data): Likewise.
6487 (cosh_tonearest_test_data): Likewise.
6488 (cosh_towardzero_test_data): Likewise.
6489 (cosh_downward_test_data): Likewise.
6490 (cosh_upward_test_data): Likewise.
6491 * sysdeps/i386/fpu/libm-test-ulps: Update.
6492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6493
ffb536d0
JM
64942013-11-29 Joseph Myers <joseph@codesourcery.com>
6495
2a77a467
JM
6496 [BZ #6787]
6497 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6498 * math/w_exp10f.c (__exp10f): Likewise.
6499 * math/w_exp10l.c (__exp10l): Likewise.
6500 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6501 errno settings in existing tests.
6502
ea3bc4e8
JM
6503 [BZ #14032]
6504 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6505 precision control set to double precision.
6506 * sysdeps/i386/fpu/w_sqrt.c: New file.
6507 * math/auto-libm-test-in: Add more tests.
6508 * math/auto-libm-test-out: Update.
6509
0712c9d8
JM
6510 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6511 (sqrt_test_tonearest): New function.
6512 (sqrt_towardzero_test_data): New variable.
6513 (sqrt_test_towardzero): New function.
6514 (sqrt_downward_test_data): New variable.
6515 (sqrt_test_downward): New function.
6516 (sqrt_upward_test_data): New variable.
6517 (sqrt_test_upward): New function.
6518 (main): Call the new functions.
6519
ffb536d0
JM
6520 * math/gen-auto-libm-tests.c: New file.
6521 * math/auto-libm-test-in: Likewise.
6522 * math/auto-libm-test-out: New generated file.
6523 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6524 variables.
6525 (%beautify): Add generated representations of zero.
6526 (top level): Set $auto_input and call parse_auto_input.
6527 (beautify): Remove trailing "f" from hex float constants.
6528 (parse_args): Handle XFAIL_TEST.
6529 (convert_condition): New function.
6530 (or_value): Likewise.
6531 (or_cond_value): Likewise.
6532 (generate_testfile): Handle AUTO_TESTS_* lines.
6533 (parse_auto_input): New function.
6534 * math/libm-test.inc (XFAIL_TEST): New macro.
6535 (ERRNO_UNCHANGED): Update value.
6536 (ERRNO_EDOM): Likewise.
6537 (ERRNO_ERANGE): Likewise.
6538 (IGNORE_RESULT): Likewise.
6539 (TEST_COND_flt_32): New macro.
6540 (TEST_COND_dbl_64): Likewise.
6541 (TEST_COND_ldbl_96_intel): Likewise.
6542 (TEST_COND_ldbl_96_m68k): Likewise.
6543 (TEST_COND_ldbl_128): Likewise.
6544 (TEST_COND_ldbl_128ibm): Likewise.
6545 (TEST_COND_long32): Likewise.
6546 (TEST_COND_long64): Likewise.
6547 (TEST_COND_before_rounding): Likewise.
6548 (TEST_COND_after_rounding): Likewise.
6549 (enable_test): Handle XFAIL_TEST flag.
6550 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6551 with finite results.
6552 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6553 auto-libm-test-out.
6554
acd98a8e
AK
65552013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6556 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6557
6558 [BZ #16214]
6559 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6560 __tls_get_addr_internal instead of __tls_get_offset in order to
6561 avoid GOT pointer dependency. Make rtld export
6562 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6563 __tls_get_addr since we are a __tls_get_offset platform.
6564 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6565 GOT pointer being set up before.
6566 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6567
3c1c46a6
JM
65682013-11-28 Joseph Myers <joseph@codesourcery.com>
6569
7475aef5
JM
6570 * manual/math.texi (Errors in Math Functions): Document accuracy
6571 goals.
6572
8bca7cd8
JM
6573 [BZ #15004]
6574 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6575 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6590
91a1f3fe
JM
6591 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6592 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6593 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6594 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6595 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6596 Likewise.
6597 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6598 Likewise.
6599 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6600 Likewise.
6601 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6602 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6603 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6604 atomic-feupdateenv and flt-rounds.
6605 * sysdeps/powerpc/nofpu/Versions (libc): Add
6606 __atomic_feholdexcept, __atomic_feclearexcept,
6607 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6608 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6609 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6610 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6611 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6612 here.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6614 Update.
6615
c5df7609
JM
6616 * manual/arith.texi (FP Exceptions): Document that exceptions may
6617 not be raised when matherr is used.
6618 (Math Error Reporting): Document overflow in directed rounding
6619 modes. Document that errno may not be set when finite values are
6620 returned on overflow. Document intent to set errno on underflow
6621 only for underflow to zero.
6622
3c1c46a6
JM
6623 [BZ #16271]
6624 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6625 round-to-nearest then adjust result for other rounding modes.
6626 * include/fenv.h (fegetround): Use libm_hidden_proto.
6627 * math/fegetround.c (fegetround): Use libm_hidden_def.
6628 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6629 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6630 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6632 Likewise.
6633 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6634 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6635 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6636 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6637
5a4c6d53
SP
66382013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6639
6640 [BZ #16077]
6641 * nss/Versions (libnss_files): Add
6642 _nss_files_gethostbyname3_r.
6643 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6644 New function.
6645 (HOST_DB_LOOKUP): Remove macro.
6646 (_nss_files_gethostbyname_r): Implement function without the
6647 HOST_DB_LOOKUP macro.
6648 (_nss_files_gethostbyname2_r): Likewise.
6649
897b98ba
OB
66502013-11-28 Ondřej Bílka <neleai@seznam.cz>
6651
6652 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6653
6f476861
UB
66542013-11-26 Uros Bizjak <ubizjak@gmail.com>
6655
6656 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6657 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6658 warning.
6659
bd12ab55
AZ
66602013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6663 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6664 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6665 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6666 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6667 __fe_nomask_env_priv and attribute_hidden.
6668 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6669 (libc_feupdateenv_test_ppc): Likewise.
6670 (libc_feresetround_ppc): Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6672 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6673 compat_symbol macro.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6675 (__fe_nomask_env): Likewise.
6676 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6677
52bb6543
OB
66782013-11-26 Ondřej Bílka <neleai@seznam.cz>
6679
6680 * string/Makefile: Remove ifunc tests.
6681 * string/test-string.h: Define TEST_IFUNC.
6682 * string/test-bcopy-ifunc.c: Remove.
6683 * string/test-bzero-ifunc.c: Likewise.
6684 * string/test-memccpy-ifunc.c: Likewise.
6685 * string/test-memchr-ifunc.c: Likewise.
6686 * string/test-memcmp-ifunc.c: Likewise.
6687 * string/test-memcpy-ifunc.c: Likewise.
6688 * string/test-memmem-ifunc.c: Likewise.
6689 * string/test-memmove-ifunc.c: Likewise.
6690 * string/test-mempcpy-ifunc.c: Likewise.
6691 * string/test-memrchr-ifunc.c: Likewise.
6692 * string/test-memset-ifunc.c: Likewise.
6693 * string/test-rawmemchr-ifunc.c: Likewise.
6694 * string/test-stpcpy-ifunc.c: Likewise.
6695 * string/test-stpncpy-ifunc.c: Likewise.
6696 * string/test-strcasecmp-ifunc.c: Likewise.
6697 * string/test-strcasestr-ifunc.c: Likewise.
6698 * string/test-strcat-ifunc.c: Likewise.
6699 * string/test-strchr-ifunc.c: Likewise.
6700 * string/test-strchrnul-ifunc.c: Likewise.
6701 * string/test-strcmp-ifunc.c: Likewise.
6702 * string/test-strcpy-ifunc.c: Likewise.
6703 * string/test-strcspn-ifunc.c: Likewise.
6704 * string/test-strlen-ifunc.c: Likewise.
6705 * string/test-strncasecmp-ifunc.c: Likewise.
6706 * string/test-strncat-ifunc.c: Likewise.
6707 * string/test-strncmp-ifunc.c: Likewise.
6708 * string/test-strncpy-ifunc.c: Likewise.
6709 * string/test-strnlen-ifunc.c: Likewise.
6710 * string/test-strpbrk-ifunc.c: Likewise.
6711 * string/test-strrchr-ifunc.c: Likewise.
6712 * string/test-strspn-ifunc.c: Likewise.
6713 * string/test-strstr-ifunc.c: Likewise.
6714
ab260039 67152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6716
6717 * benchtests/Makefile: Remove ifunc tests.
6718 * benchtests/bench-string.h: Define TEST_IFUNC.
6719 * benchtests/bench-bcopy-ifunc.c: Remove.
6720 * benchtests/bench-bzero-ifunc.c: Likewise.
6721 * benchtests/bench-memccpy-ifunc.c: Likewise.
6722 * benchtests/bench-memchr-ifunc.c: Likewise.
6723 * benchtests/bench-memcmp-ifunc.c: Likewise.
6724 * benchtests/bench-memcpy-ifunc.c: Likewise.
6725 * benchtests/bench-memmem-ifunc.c: Likewise.
6726 * benchtests/bench-memmove-ifunc.c: Likewise.
6727 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6728 * benchtests/bench-memrchr-ifunc.c: Likewise.
6729 * benchtests/bench-memset-ifunc.c: Likewise.
6730 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6731 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6732 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6733 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6734 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6735 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6736 * benchtests/bench-strcat-ifunc.c: Likewise.
6737 * benchtests/bench-strchr-ifunc.c: Likewise.
6738 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6739 * benchtests/bench-strcmp-ifunc.c: Likewise.
6740 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6741 * benchtests/bench-strcpy-ifunc.c: Likewise.
6742 * benchtests/bench-strcspn-ifunc.c: Likewise.
6743 * benchtests/bench-strlen-ifunc.c: Likewise.
6744 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6745 * benchtests/bench-strncat-ifunc.c: Likewise.
6746 * benchtests/bench-strncmp-ifunc.c: Likewise.
6747 * benchtests/bench-strncpy-ifunc.c: Likewise.
6748 * benchtests/bench-strnlen-ifunc.c: Likewise.
6749 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6750 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6751 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6752 * benchtests/bench-strspn-ifunc.c: Likewise.
6753 * benchtests/bench-strstr-ifunc.c: Likewise.
6754
67552013-11-26 Ondřej Bílka <neleai@seznam.cz>
6756
ab260039
OB
6757 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6758
d1d9eaf4 67592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6760
d1d9eaf4
OB
6761 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6762 * rt/aio.h: Likewise.
6763 * sysdeps/gnu/bits/utmp.h: Likewise.
6764 * sysdeps/gnu/bits/utmpx.h: Likewise.
6765 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6766 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6767 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6768 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6769 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6770 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6771 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6772 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6773 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6774 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6775 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6777 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6779 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6780 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6781 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6782 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6783 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6784 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6785 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6786 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6787 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6788 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6789 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6791 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6792 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6793 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6794 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6797 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6800 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6801 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6802 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6803 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6804 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6805 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6806 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6807
a7624ed9
CD
68082013-11-25 Carlos O'Donell <carlos@redhat.com>
6809
6810 [BZ #16245]
6811 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6812 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6813
63cfe52b
JM
68142013-11-25 Joseph Myers <joseph@codesourcery.com>
6815
6816 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6818 Likewise.
6819
41e8926a
AZ
68202013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6821
6822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6823 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6824 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6825 (__fesetround): Remove define.
6826 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6827 rounding and exceptions handling.
6828 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6829 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6830 (__fe_nomask_env): Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6832 __fegetround instead of fegetround.
6833 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6835
6851bd4d
RM
68362013-11-21 Roland McGrath <roland@hack.frob.com>
6837
070906ff
RM
6838 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6839 it's there.
6840
6851bd4d
RM
6841 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6842
84ae135d
MI
68432013-11-21 Meador Inge <meadori@codesourcery.com>
6844
6845 [BZ #11157]
6846 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6847 (encrypt_r): Likewise.
6848 * malloc/obstack.h (obstack_free): Likewise.
6849 * posix/unistd.h (encrypt): Likewise.
6850
daf75146
GM
68512013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6852
6853 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6854 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6855 DL_CALL_DT_FINI() that call the functions directly.
6856 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6857 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6858 * elf/dl-fini.c: Likewise.
6859
10ad46bc
OB
68602013-11-20 Ondřej Bílka <neleai@seznam.cz>
6861
6862 * malloc/hooks.c (memalign_check): Add alignment rounding.
6863 * malloc/malloc.c (_mid_memalign): New function.
6864 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6865 Implement by calling _mid_memalign.
6866 * manual/probes.texi (Memory Allocation Probes): Remove
6867 memory_valloc_retry and memory_pvalloc_retry.
6868
f3fd2628
SP
68692013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6870
4712799f
SP
6871 * locale/programs/locarchive.c (open_archive): Add const
6872 qualifier to ARCHIVEFNAME and copy default fname to
6873 DEFAULT_FNAME.
6874
0417b20f
SP
6875 [BZ #15601]
6876 * libio/tst-widetext.input: Rename Oriya to Odia.
6877 * locale/iso-639.def: Likewise.
6878
f3fd2628
SP
6879 * manual/probes.texi (Mathematical Function Probes): Add
6880 documentation for sin, cos, asin and acos probes.
6881 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6882 (__sin32): Add slowasin probe.
6883 (__cos32): Add slowacos probe.
6884 (__mpsin): Add slowsin probe.
6885 (__mpcos): Add slowcos probe.
6886
73c1ce4f
JM
68872013-11-19 Joseph Myers <joseph@codesourcery.com>
6888
6889 [BZ #15483]
6890 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6891 thread-local __sim_exceptions_thread and global
6892 __sim_exceptions_global.
6893 (__sim_disabled_exceptions): Change to thread-local
6894 __sim_disabled_exceptions_thread and global
6895 __sim_disabled_exceptions_global.
6896 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6897 and global __sim_round_mode_global.
6898 (__simulate_exceptions): Use thread-local floating-point state and
6899 set global state from it as needed.
6900 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6901 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6902 __sim_round_mode_thread.
6903 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6904 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6905 and global __sim_exceptions_global.
6906 (__sim_disabled_exceptions): Change to thread-local
6907 __sim_disabled_exceptions_thread and global
6908 __sim_disabled_exceptions_global.
6909 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6910 and global __sim_round_mode_global.
6911 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6912 (SIM_SET_GLOBAL): Likewise.
6913 * sysdeps/powerpc/soft-fp/sfp-machine.h
6914 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6915 __sim_round_mode_thread.
6916 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6917 __sim_disabled_exceptions_thread.
6918 (__sim_exceptions): Change to __sim_exceptions_thread.
6919 (__sim_disabled_exceptions): Change to
6920 __sim_disabled_exceptions_thread.
6921 (__sim_round_mode): Change to __sim_round_mode_thread.
6922 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6923 thread-local floating-point state and set global state from it as
6924 needed.
6925 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6926 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6927 (__sim_disabled_exceptions): Remove extern declaration.
6928 (feenableexcept): Use thread-local floating-point state and set
6929 global state from it as needed.
6930 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6931 extern declaration.
6932 (__sim_disabled_exceptions): Likewise.
6933 (__sim_round_mode): Likewise.
6934 (__fegetenv): Use thread-local floating-point state.
6935 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6936 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6937 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6938 floating-point state and set global state from it as needed.
6939 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6940 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6941 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6942 Likewise.
6943 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6944 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6945 Likewise.
6946 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6947 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6948 Use __sim_round_mode_thread.
6949 * math/test-fenv-tls.c: New file.
6950 * math/Makefile (tests): Add test-fenv-tls.
6951 ($(objpfx)test-fenv-tls): Depend on
6952 $(common-objpfx)nptl/libpthread.so.
6953
b5449b12
AS
69542013-11-19 Andreas Schwab <schwab@suse.de>
6955
6956 * locale/programs/locale.c (show_info): Decode wordarray elements.
6957 * locale/categories.def (LC_MONETARY): Add element for
6958 _NL_MONETARY_CRNCYSTR.
6959 * locale/C-monetary.c (conversion_rate): New variable.
6960 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6961 element.
6962
e186536b
CM
69632013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6964
6965 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6966 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6967
5c349950
PP
69682013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6969
6970 * elf/Makefile (tst-auxv): New test.
6971 * elf/tst-auxv.c: New
6972 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6973
699df45b
JM
69742013-11-18 Joseph Myers <joseph@codesourcery.com>
6975
6976 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6977 (hidden_proto): Caller changed.
6978 (hidden_tls_proto): New macro.
6979 (libc_hidden_tls_proto): Likewise.
6980 (rtld_hidden_tls_proto): Likewise.
6981 (libm_hidden_tls_proto): Likewise.
6982 (libresolv_hidden_tls_proto): Likewise.
6983 (librt_hidden_tls_proto): Likewise.
6984 (libdl_hidden_tls_proto): Likewise.
6985 (libnss_files_hidden_tls_proto): Likewise.
6986 (libnsl_hidden_tls_proto): Likewise.
6987 (libnss_nisplus_hidden_tls_proto): Likewise.
6988 (libutil_hidden_tls_proto): Likewise.
6989
b7589107
OB
69902013-11-18 Ondřej Bílka <neleai@seznam.cz>
6991
6992 [BZ #10253]
6993 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6994 (decompose_rpath): Defer expansion to fillin_rpath.
6995 (_dl_init_paths): Pass linkmap to fillin_rpath.
6996
250c23bd
RS
69972013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6998
6999 * benchtests/Makefile: Add strsep.
7000 * benchtests/bench-strsep.c: New file: strsep benchtest.
7001 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7002
a7931fcf
AS
70032013-11-18 Andreas Schwab <schwab@suse.de>
7004
7005 * locale/programs/locale.c (show_info) [case byte]: Check for
7006 '\377' instead of '\177'.
7007 * locale/C-monetary.c (not_available): Always use "\377".
7008 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7009 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7010 detect unavailable sign_posn locale elements.
7011 * locale/localeconv.c (__localeconv): For grouping and
7012 mon_grouping handle "\177" and "\377" like no grouping.
7013 (INT_ELEM): New macro. Use it to set all numeric members.
7014 * locale/programs/ld-monetary.c (monetary_read)
7015 <tok_mon_grouping>: Normalize single -1 to the empty string.
7016 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7017 Likewise.
7018
728dab0e
OB
70192013-11-07 Ondřej Bílka <neleai@seznam.cz>
7020
7021 [BZ #16055]
7022 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7023 when we match (nil).
7024 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7025
66294491
JM
70262013-11-16 Joseph Myers <joseph@codesourcery.com>
7027
ce665817
JM
7028 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7029 (NO_TEST_INLINE): Update value.
7030 (ERRNO_UNCHANGED): Likewise.
7031 (ERRNO_EDOM): Likewise.
7032 (ERRNO_ERANGE): Likewise.
7033 (IGNORE_RESULT): Likewise.
7034 (check_float_internal): Check signs of NaN results if
7035 TEST_NAN_SIGN used.
7036 (check_complex): Pass TEST_NAN_SIGN flag through to second
7037 check_float_internal call.
7038 (copysign_test_data): Add tests with quiet NaNs as second
7039 argument. Use TEST_NAN_SIGN.
7040 (fabs_test_data): Add test of negative quiet NaN argument. Use
7041 TEST_NAN_SIGN.
7042 (signbit_test_data): Add tests of quiet NaN argument.
7043 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7044
ee1466a9
JM
7045 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7046 $ignore_result.
7047 (parse_args): Handle function results specified as IGNORE.
7048 * math/libm-test.inc (IGNORE_RESULT): New macro.
7049 (check_float_internal): Do not check numerical result if flag
7050 IGNORE_RESULT set.
7051 (check_complex): Pass through IGNORE_RESULT to second
7052 check_float_internal call.
7053 (check_int): Do not check numerical result if flag IGNORE_RESULT
7054 set.
7055 (check_long): Likewise.
7056 (check_bool): Likewise.
7057 (check_longlong): Likewise.
7058 (lrint_test_data): Add tests of infinite and NaN arguments.
7059 (lrint_tonearest_test_data): Likewise.
7060 (lrint_towardzero_test_data): Likewise.
7061 (lrint_downward_test_data): Likewise.
7062 (lrint_upward_test_data): Likewise.
7063 (llrint_test_data): Likewise.
7064 (llrint_tonearest_test_data): Likewise.
7065 (llrint_towardzero_test_data): Likewise.
7066 (llrint_downward_test_data): Likewise.
7067 (llrint_upward_test_data): Likewise.
7068 (lround_test_data): Likewise.
7069 (llround_test_data): Likewise.
7070
14407b7e
JM
7071 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7072 (ERRNO_UNCHANGED): Update value.
7073 (ERRNO_EDOM): Likewise.
7074 (ERRNO_ERANGE): Likewise.
7075 (NO_TEST_INLINE_FLOAT): New macro.
7076 (NO_TEST_INLINE_DOUBLE): Likewise.
7077 (enable_test): New function.
7078 (RUN_TEST_f_f): Check enable_test before running test.
7079 (RUN_TEST_2_f): Likewise.
7080 (RUN_TEST_fff_f): Likewise.
7081 (RUN_TEST_c_f): Likewise.
7082 (RUN_TEST_f_f1): Likewise.
7083 (RUN_TEST_fF_f1): Likewise.
7084 (RUN_TEST_fI_f1): Likewise.
7085 (RUN_TEST_ffI_f1): Likewise.
7086 (RUN_TEST_c_c): Likewise.
7087 (RUN_TEST_cc_c): Likewise.
7088 (RUN_TEST_f_i): Likewise.
7089 (RUN_TEST_f_i_tg): Likewise.
7090 (RUN_TEST_ff_i_tg): Likewise.
7091 (RUN_TEST_f_b): Likewise.
7092 (RUN_TEST_f_b_tg): Likewise.
7093 (RUN_TEST_f_l): Likewise.
7094 (RUN_TEST_f_L): Likewise.
7095 (RUN_TEST_fFF_11): Likewise.
7096 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7097 conditionals.
7098 (cosh_test_data): Likewise.
7099 (exp_test_data): Likewise.
7100 (expm1_test_data): Likewise.
7101 (hypot_test_data): Likewise.
7102 (pow_test_data): Likewise.
7103 (sinh_test_data): Likewise.
7104 (tanh_test_data): Likewise.
7105 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7106 flags argument.
7107
ca07f197
JM
7108 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7109 tests with quiet NaN input and output.
7110 (acosh_test_data): Likewise.
7111 (asin_test_data): Likewise.
7112 (asinh_test_data): Likewise.
7113 (atan_test_data): Likewise.
7114 (atanh_test_data): Likewise.
7115 (atan2_test_data): Likewise.
7116 (cbrt_test_data): Likewise.
7117 (cos_test_data): Likewise.
7118 (cosh_test_data): Likewise.
7119 (erf_test_data): Likewise.
7120 (erfc_test_data): Likewise.
7121 (exp_test_data): Likewise.
7122 (exp10_test_data): Likewise.
7123 (exp2_test_data): Likewise.
7124 (expm1_test_data): Likewise.
7125 (hypot_test_data): Likewise.
7126 (j0_test_data): Likewise.
7127 (j1_test_data): Likewise.
7128 (jn_test_data): Likewise.
7129 (lgamma_test_data): Likewise.
7130 (log_test_data): Likewise.
7131 (log10_test_data): Likewise.
7132 (log1p_test_data): Likewise.
7133 (log2_test_data): Likewise.
7134 (pow_test_data): Likewise.
7135 (scalb_test_data): Likewise.
7136 (sin_test_data): Likewise.
7137 (sincos_test_data): Likewise.
7138 (sinh_test_data): Likewise.
7139 (tan_test_data): Likewise.
7140 (tanh_test_data): Likewise.
7141 (tgamma_test_data): Likewise.
7142 (y0_test_data): Likewise.
7143 (y1_test_data): Likewise.
7144 (yn_test_data): Likewise.
7145
66294491
JM
7146 [BZ #16167]
7147 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7148 argument being NaN and avoid computations with second argument in
7149 that case.
7150 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7151 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7152 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7153
1820b143
CL
71542013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7155
7156 * locale/iso-639.def: Add Chitwani Tharu (the).
7157
714bd261
AS
71582013-11-14 Andreas Schwab <schwab@suse.de>
7159
7160 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7161 word instead of empty string.
7162
7ab44563
AZ
71632013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7164
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7166 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7168 (__fe_nomask_env): Likewise.
7169
e8470ea2
SE
71702013-11-13 Steve Ellcey <sellcey@mips.com>
7171
7172 * benchtests/bench-timing.h: Include time.h.
7173
17c1d9f0
L
71742013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7175
7176 [BZ #15997]
7177 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7178 to 3.4.0 for x32.
7179 * sysdeps/unix/sysv/linux/configure: Regenerated.
7180
9310c284
JM
71812013-11-13 Joseph Myers <joseph@codesourcery.com>
7182
7183 [BZ #16151]
7184 * stdlib/strtod_l.c (round_and_return): Do not consider
7185 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7186 exponent one less than half the least subnormal exponent.
7187 * stdlib/test-strtod-round-data: Add more tests.
7188 * stdlib/tst-strtod-round.c (tests): Regenerated.
7189
7a2ad8cf
AZ
71902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7191
7192 [BZ #14143]
7193 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7194 (__fe_mask_env): Likewise.
7195 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7196 libm_hidden_proto and add function prototype.
7197 (__fe_mask_env): Add function prototype.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7199 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7201 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7203 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7204
50727aa7
MS
72052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7206
b2f386c1 7207 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7208 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7209
a615be46
MS
72102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7211
7212 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7213 of htab_find_slot().
7214
7ddace62
DM
72152013-11-11 David S. Miller <davem@davemloft.net>
7216
7217 [BZ #16150]
7218 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7219 symbol in the non-vis3 case in static builds.
7220 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7221 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7222 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7223 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7224
9182aa67
JK
72252013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7226
7227 [BZ #387]
7228 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7229 it is empty.
7230
450a2e2d
AZ
72312013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232
b2f386c1
SP
7233 * benchtests/Makefile: Add bench-strtod.
7234 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7235
8ec3f656
AS
72362013-11-11 Andreas Schwab <schwab@suse.de>
7237
7238 [BZ #16153]
7239 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7240 terminating NUL in key length.
7241
76a9b998
AZ
72422013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7243
7244 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7245 Add artificial ODP entry for vDSO symbol for PPC64.
7246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7247 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7248
e4368156
OB
72492013-11-07 Ondřej Bílka <neleai@seznam.cz>
7250
7251 [BZ #15374]
7252 * nss/getent.c (services_keys): Recognize services starting with digit.
7253
8d6bb57c
DM
72542013-11-06 David S. Miller <davem@davemloft.net>
7255
7256 [BZ #15985]
7257 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7258 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7259
e256c421
WN
72602013-11-06 Will Newton <will.newton@linaro.org>
7261
7262 * manual/memory.texi (Malloc Examples): Remove register
7263 keyword from examples.
7264
f6e12daa 72652013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7266
f6e12daa 7267 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7268
9d880655
AS
72692013-11-04 Joseph Myers <joseph@codesourcery.com>
7270
fd2f9486 7271 [BZ #6981]
9d880655
AS
7272 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7273 depending on [__GCC_IEC_559 > 0].
7274 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7275 depending on [__GCC_IEC_559_COMPLEX > 0].
7276
ae129d3c
CL
72772013-11-03 Chris Leonard <cjl@sugarlabs.org>
7278
7279 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7280 to iso-639.def.
7281
4a15c2a4 72822013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7283
7284 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7285
8b35e35d
OB
72862013-11-01 Ondřej Bílka <neleai@seznam.cz>
7287
7288 [BZ #16112]
7289 * malloc/malloc (malloc_info): Do not handle first bin as
7290 special case.
7291
1d70fd6c
CL
72922013-11-01 Chris Leonard <cjl@sugarlabs.org>
7293
7294 * locale/iso-639.def: Add Central Nahuatl (nhn).
7295
8c5c2600
BH
72962013-11-01 Bruno Haible <bruno@clisp.org>
7297
7298 [BZ #7003]
7299 * manual/math.texi (BSD Random): Specify range upper bound as
7300 in POSIX.
7301
da5579c2
CL
73022013-10-31 Chris Leonard <cjl@sugarlabs.org>
7303
7304 * locale/iso-639.def: Add Meadow Mari (mhr).
7305
5d30d853
OB
73062013-10-31 Ondřej Bílka <neleai@seznam.cz>
7307
7308 [BZ #14752], [BZ #15763]
7309 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7310 Validate name.
7311 * rt/tst_shm.c: Add test for escaping directory.
7312
a4966c61
AS
73132013-10-31 Andreas Schwab <schwab@suse.de>
7314
8a43e768 7315 [BZ #15917]
a4966c61
AS
7316 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7317 followed by 'x' as part of digit sequence.
7318 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7319
28d708c4
MAP
73202013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7321
7322 [BZ #16037]
7323 * configure.ac: allow GNU Make 4.0 and greater.
7324 * configure: Regenerated.
7325
a56ee40b
WN
73262013-10-30 Will Newton <will.newton@linaro.org>
7327
7328 [BZ #16038]
7329 * malloc/hooks.c (memalign_check): Limit alignment to the
7330 maximum representable power of two.
7331 * malloc/malloc.c (__libc_memalign): Likewise.
7332 * malloc/tst-memalign.c (do_test): Add test for very
7333 large alignment values.
7334 * malloc/tst-posix_memalign.c (do_test): Likewise.
7335
c6e4925d
OB
73362013-10-30 Ondřej Bílka <neleai@seznam.cz>
7337
7338 [BZ #11087]
7339 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7340 (munmap_chunk): Likewise.
7341 (mremap_chunk): Likewise.
7342
73432013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7344
8a43e768 7345 [BZ #15799]
bbea82f7
OB
7346 * stdlib/div.c (div): Remove obsolete code.
7347 * stdlib/ldiv.c (ldiv): Likewise.
7348 * stdlib/lldiv.c (lldiv): Likewise.
7349
977f4b31
SP
73502013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7351
7352 [BZ #16071]
7353 * nss/nss_files/files-XXX.c (get_contents_ret): New
7354 enumerator.
7355 (get_contents): New function.
7356 (internal_getent): Use it. Expand size of LINEBUFLEN.
7357
cb8a6dbd
MF
73582013-10-30 Mike Frysinger <vapier@gentoo.org>
7359
7360 * configure.in: Moved to ...
7361 * configure.ac: ... here. Change reference to configure.in
7362 to configure.ac.
7363 * sysdeps/arm/preconfigure.ac: ... here.
7364 configure.in to configure.ac.
7365 * sysdeps/gnu/configure.in: Moved to ...
7366 * sysdeps/gnu/configure.ac: ... here.
7367 * sysdeps/i386/configure.in: Moved to ...
7368 * sysdeps/i386/configure.ac: ... here.
7369 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7370 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7371 * sysdeps/mach/configure.in: Moved to ...
7372 * sysdeps/mach/configure.ac: ... here.
7373 * sysdeps/mach/hurd/configure.in: Moved to ...
7374 * sysdeps/mach/hurd/configure.ac: ... here.
7375 * sysdeps/powerpc/configure.in: Moved to ...
7376 * sysdeps/powerpc/configure.ac: ... here.
7377 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7378 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7379 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7380 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7381 * sysdeps/s390/s390-32/configure.in: Moved to ...
7382 * sysdeps/s390/s390-32/configure.ac: ... here.
7383 * sysdeps/s390/s390-64/configure.in: Moved to ...
7384 * sysdeps/s390/s390-64/configure.ac: ... here.
7385 * sysdeps/sh/configure.in: Moved to ...
7386 * sysdeps/sh/configure.ac: ... here.
7387 * sysdeps/sparc/configure.in: Moved to ...
7388 * sysdeps/sparc/configure.ac: ... here.
7389 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7390 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7391 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7392 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7393 * sysdeps/x86_64/configure.in: Moved to ...
7394 * sysdeps/x86_64/configure.ac: ... here.
7395 * sysdeps/x86_64/preconfigure.in: Moved to ...
7396 * sysdeps/x86_64/preconfigure.ac: ... here.
7397 * aclocal.m4: Change reference to configure.in to configure.ac.
7398 * config.h.in: Likewise.
7399 * manual/install.texi: Likewise.
7400 * manual/maint.texi: Likewise.
7401 * Makefile: Likewise.
7402 * malloc/Makefile: Likewise.
7403 * nscd/Makefile: Likewise.
7404 * Makeconfig: Change reference to configure.in and
7405 preconfigure.in to configure.ac and preconfigure.ac
7406 respectively.
7407 * INSTALL: Regenerated.
7408 * configure: Likewise.
7409 * sysdeps/gnu/configure: Likewise.
7410 * sysdeps/i386/configure: Likewise.
7411 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7412 * sysdeps/mach/configure: Likewise.
7413 * sysdeps/mach/hurd/configure: Likewise.
7414 * sysdeps/powerpc/configure: Likewise.
7415 * sysdeps/powerpc/powerpc32/configure: Likewise.
7416 * sysdeps/powerpc/powerpc64/configure: Likewise.
7417 * sysdeps/s390/s390-32/configure: Likewise.
7418 * sysdeps/s390/s390-64/configure: Likewise.
7419 * sysdeps/sh/configure: Likewise.
7420 * sysdeps/sparc/configure: Likewise.
7421 * sysdeps/unix/sysv/linux/configure: Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7423 * sysdeps/x86_64/configure: Likewise.
7424 * sysdeps/x86_64/preconfigure: Likewise.
7425
36a4953a
AS
74262013-10-29 Andreas Schwab <schwab@suse.de>
7427
7428 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7429
c79a1204
SP
74302013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7431
dfa1b402
SP
7432 * benchtests/pow-inputs: Add new inputs.
7433
54f73d9c
SP
7434 * benchtests/exp-inputs: Add new inputs.
7435
c79a1204
SP
7436 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7437 conditional check for return value.
7438 (__cos32): Likewise.
7439
67beb545 74402013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7441
7442 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7443 to provide a boost for large inputs with word alignment.
7444 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7445 implementation based on optimized PPC64 strcpy.
7446 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7447 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7448 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7449 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7450
151659f6
OB
74512013-10-25 Ondřej Bílka <neleai@seznam.cz>
7452
482a077e 7453 [BZ #2801]
151659f6
OB
7454 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7455
10b0f26b
OB
74562013-10-25 Ondřej Bílka <neleai@seznam.cz>
7457
7458 [BZ #14876]
7459 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7460 * time/tst-strptime.c (day_tests): Add testcase.
7461
ca42d35e
OB
74622013-10-25 Ondřej Bílka <neleai@seznam.cz>
7463
482a077e 7464 [BZ #14029]
ca42d35e
OB
7465 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7466
52e6d801
FB
74672013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7468
7469 [BZ #16074]
7470 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7471 MAP_FAILED on error.
7472
7cbcdb36
SP
74732013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7474
7475 [BZ #16072]
7476 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7477 heap for large requests.
7478
894f3f10
AM
74792013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7480
7481 [BZ #9954]
7482 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7483 result if the result has no associated interface.
7484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7485 interface for all 127.X.Y.Z addresses.
7486
b85545a6
CL
74872013-10-24 Chris Leonard <cjl@sugarlabs.org>
7488
7489 * locale/iso-639.def: Add Ligurian (lij)
7490
d1f23d46
OB
74912013-10-21 Ondřej Bílka <neleai@seznam.cz>
7492
7493 [BZ #15825]
7494 * sunrpc/rpc_main.c: Document rpcgen -5.
7495
4db5b08f
MS
74962013-10-19 Michael Stahl <mstahl@redhat.com>
7497
7498 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7499
a471e96a
OB
75002013-10-19 Ondřej Bílka <neleai@seznam.cz>
7501
d1f23d46 7502 [BZ #10278]
a471e96a
OB
7503 * posix/glob.c: Match only directories when trailing slash is present.
7504 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7505 (main): Add testcase.
7506
45c30c61
OB
75072013-10-19 Ondřej Bílka <neleai@seznam.cz>
7508
7509 [BZ #15670]
7510 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7511
484c12fb
CD
75122013-10-18 Carlos O'Donell <carlos@redhat.com>
7513
3d7dc513
CD
7514 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7515 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7516 AUTH_DES and cindex for FIPS 140-2.
7517 (DES Encryption): Add cindex FIPS 46-3.
7518
484c12fb
CD
7519 * locale/locarchive.h (struct locarhandle): Add fname.
7520 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7521 if an optional argument was specified to --list-archive,
7522 otherwise NULL.
7523 * locale/programs/locarchive.c (show_archive_content): Take new
7524 argument fname and pass it via ah.fname to open_archive.
7525 * locale/programs/localedef.h: Update decl.
7526 (open_archive): If AH->fname is non-null, open that file
7527 rather than the default file name, and don't ignore ENOENT.
7528 (create_archive): Set AH.fname to NULL.
7529 (delete_locales_from_archive): Likewise.
7530 (add_locales_to_archive): Likewise.
7531 * locale/programs/locfile.c (write_all_categories): Likewise.
7532
3c8325fb
JM
75332013-10-18 Joseph Myers <joseph@codesourcery.com>
7534 Aldy Hernandez <aldyh@redhat.com>
7535
7536 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7537 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7538 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7539 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7540 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7541 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7542 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7543 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7544 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7545 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7546 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7547 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7548 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7549 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7550 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7551 Likewise.
7552 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7553 Likewise.
7554 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7555 Likewise.
7556 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7557 Likewise.
7558 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7559 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7560 Likewise.
7561 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7562 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7563 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7564 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7565 Likewise.
7566 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7567 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7568 * sysdeps/powerpc/preconfigure: Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7570 Likewise.
7571 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7572 Replace contents of file by #include of <fenv_libc.h>.
7573 * sysdeps/powerpc/soft-fp/sfp-machine.h
7574 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7575 and <sys/prctl.h>.
7576 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7589 Allow copysignl PLT reference to be missing.
7590
5abe0682
RS
75912013-10-18 Richard Sandiford <richard@codesourcery.com>
7592 Joseph Myers <joseph@codesourcery.com
7593
7594 [BZ #15948]
7595 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7596 single character.
7597 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7598
c7738d08
SP
75992013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7600
7601 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7602 * elf/tst-tls1.c: Likewise.
7603 * elf/tst-tls10.h: Likewise.
7604 * elf/tst-tls14.c: Likewise.
7605 * elf/tst-tls2.c: Likewise.
7606 * elf/tst-tls3.c: Likewise.
7607 * elf/tst-tls4.c: Likewise.
7608 * elf/tst-tls5.c: Likewise.
7609 * elf/tst-tls6.c: Likewise.
7610 * elf/tst-tls7.c: Likewise.
7611 * elf/tst-tls8.c: Likewise.
7612 * elf/tst-tls9.c: Likewise.
7613 * elf/tst-tlsmod1.c: Likewise.
7614 * elf/tst-tlsmod13.c: Likewise.
7615 * elf/tst-tlsmod13a.c: Likewise.
7616 * elf/tst-tlsmod14a.c: Likewise.
7617 * elf/tst-tlsmod16a.c: Likewise.
7618 * elf/tst-tlsmod16b.c: Likewise.
7619 * elf/tst-tlsmod2.c: Likewise.
7620 * elf/tst-tlsmod3.c: Likewise.
7621 * elf/tst-tlsmod4.c: Likewise.
7622 * elf/tst-tlsmod5.c: Likewise.
7623 * elf/tst-tlsmod6.c: Likewise.
7624
0bfcf2c7
OB
76252013-10-18 Ondřej Bílka <neleai@seznam.cz>
7626
7627 [BZ #12486]
7628 * malloc/malloc.c: remove checks for statistics.
7629
264aad1e
OB
76302013-10-17 Ondřej Bílka <neleai@seznam.cz>
7631
7632 [BZ #15277]
7633 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7634 * inet/tst-network.c: Add testcase.
7635
b957ced8
AS
76362013-10-17 Andreas Schwab <schwab@suse.de>
7637
7638 [BZ #15218]
7639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7640 to determine canonical name.
7641
c5d5d574
OB
76422013-10-17 Ondřej Bílka <neleai@seznam.cz>
7643
7644 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7645 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7668 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7702
e5c2c2d0
JM
77032013-10-17 Joseph Myers <joseph@codesourcery.com>
7704
7705 [BZ #16041]
7706 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7707 make result into a quiet NaN.
7708
51ca9e29
JM
77092013-10-16 Joseph Myers <joseph@codesourcery.com>
7710
7711 * soft-fp/adddf3.c: Fix horizontal whitespace.
7712 * soft-fp/addsf3.c: Likewise.
7713 * soft-fp/addtf3.c: Likewise.
7714 * soft-fp/divdf3.c: Likewise.
7715 * soft-fp/divsf3.c: Likewise.
7716 * soft-fp/divtf3.c: Likewise.
7717 * soft-fp/double.h: Likewise.
7718 * soft-fp/eqdf2.c: Likewise.
7719 * soft-fp/eqsf2.c: Likewise.
7720 * soft-fp/eqtf2.c: Likewise.
7721 * soft-fp/extenddftf2.c: Likewise.
7722 * soft-fp/extended.h: Likewise.
7723 * soft-fp/extendsfdf2.c: Likewise.
7724 * soft-fp/extendsftf2.c: Likewise.
7725 * soft-fp/extendxftf2.c: Likewise.
7726 * soft-fp/fixdfdi.c: Likewise.
7727 * soft-fp/fixdfsi.c: Likewise.
7728 * soft-fp/fixdfti.c: Likewise.
7729 * soft-fp/fixsfdi.c: Likewise.
7730 * soft-fp/fixsfsi.c: Likewise.
7731 * soft-fp/fixsfti.c: Likewise.
7732 * soft-fp/fixtfdi.c: Likewise.
7733 * soft-fp/fixtfsi.c: Likewise.
7734 * soft-fp/fixtfti.c: Likewise.
7735 * soft-fp/fixunsdfdi.c: Likewise.
7736 * soft-fp/fixunsdfsi.c: Likewise.
7737 * soft-fp/fixunsdfti.c: Likewise.
7738 * soft-fp/fixunssfdi.c: Likewise.
7739 * soft-fp/fixunssfsi.c: Likewise.
7740 * soft-fp/fixunssfti.c: Likewise.
7741 * soft-fp/fixunstfdi.c: Likewise.
7742 * soft-fp/fixunstfsi.c: Likewise.
7743 * soft-fp/fixunstfti.c: Likewise.
7744 * soft-fp/floatdidf.c: Likewise.
7745 * soft-fp/floatdisf.c: Likewise.
7746 * soft-fp/floatditf.c: Likewise.
7747 * soft-fp/floatsidf.c: Likewise.
7748 * soft-fp/floatsisf.c: Likewise.
7749 * soft-fp/floatsitf.c: Likewise.
7750 * soft-fp/floattidf.c: Likewise.
7751 * soft-fp/floattisf.c: Likewise.
7752 * soft-fp/floattitf.c: Likewise.
7753 * soft-fp/floatundidf.c: Likewise.
7754 * soft-fp/floatundisf.c: Likewise.
7755 * soft-fp/floatunditf.c: Likewise.
7756 * soft-fp/floatunsidf.c: Likewise.
7757 * soft-fp/floatunsisf.c: Likewise.
7758 * soft-fp/floatunsitf.c: Likewise.
7759 * soft-fp/floatuntidf.c: Likewise.
7760 * soft-fp/floatuntisf.c: Likewise.
7761 * soft-fp/floatuntitf.c: Likewise.
7762 * soft-fp/fmadf4.c: Likewise.
7763 * soft-fp/fmasf4.c: Likewise.
7764 * soft-fp/fmatf4.c: Likewise.
7765 * soft-fp/gedf2.c: Likewise.
7766 * soft-fp/gesf2.c: Likewise.
7767 * soft-fp/getf2.c: Likewise.
7768 * soft-fp/ledf2.c: Likewise.
7769 * soft-fp/lesf2.c: Likewise.
7770 * soft-fp/letf2.c: Likewise.
7771 * soft-fp/muldf3.c: Likewise.
7772 * soft-fp/mulsf3.c: Likewise.
7773 * soft-fp/multf3.c: Likewise.
7774 * soft-fp/negdf2.c: Likewise.
7775 * soft-fp/negsf2.c: Likewise.
7776 * soft-fp/negtf2.c: Likewise.
7777 * soft-fp/op-1.h: Likewise.
7778 * soft-fp/op-2.h: Likewise.
7779 * soft-fp/op-4.h: Likewise.
7780 * soft-fp/op-8.h: Likewise.
7781 * soft-fp/op-common.h: Likewise.
7782 * soft-fp/quad.h: Likewise.
7783 * soft-fp/single.h: Likewise.
7784 * soft-fp/soft-fp.h: Likewise.
7785 * soft-fp/sqrtdf2.c: Likewise.
7786 * soft-fp/sqrtsf2.c: Likewise.
7787 * soft-fp/sqrttf2.c: Likewise.
7788 * soft-fp/subdf3.c: Likewise.
7789 * soft-fp/subsf3.c: Likewise.
7790 * soft-fp/subtf3.c: Likewise.
7791 * soft-fp/truncdfsf2.c: Likewise.
7792 * soft-fp/trunctfdf2.c: Likewise.
7793 * soft-fp/trunctfsf2.c: Likewise.
7794 * soft-fp/trunctfxf2.c: Likewise.
7795 * soft-fp/unorddf2.c: Likewise.
7796 * soft-fp/unordsf2.c: Likewise.
7797 * soft-fp/unordtf2.c: Likewise.
7798
9ebb0332
JM
77992013-10-15 Joseph Myers <joseph@codesourcery.com>
7800
7801 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7802 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7803
4b1a6d8b
OB
78042013-10-15 Ondřej Bílka <neleai@seznam.cz>
7805
7806 * elf/dl-libc.c: Clear initfini list after freeing.
7807
1e145589
JM
78082013-10-14 Joseph Myers <joseph@codesourcery.com>
7809
7810 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7811 * soft-fp/addsf3.c: Likewise.
7812 * soft-fp/addtf3.c: Likewise.
7813 * soft-fp/divdf3.c: Likewise.
7814 * soft-fp/divsf3.c: Likewise.
7815 * soft-fp/divtf3.c: Likewise.
7816 * soft-fp/double.h: Likewise.
7817 * soft-fp/eqdf2.c: Likewise.
7818 * soft-fp/eqsf2.c: Likewise.
7819 * soft-fp/eqtf2.c: Likewise.
7820 * soft-fp/extenddftf2.c: Likewise.
7821 * soft-fp/extended.h: Likewise.
7822 * soft-fp/extendsfdf2.c: Likewise.
7823 * soft-fp/extendsftf2.c: Likewise.
7824 * soft-fp/extendxftf2.c: Likewise.
7825 * soft-fp/fixdfdi.c: Likewise.
7826 * soft-fp/fixdfsi.c: Likewise.
7827 * soft-fp/fixdfti.c: Likewise.
7828 * soft-fp/fixsfdi.c: Likewise.
7829 * soft-fp/fixsfsi.c: Likewise.
7830 * soft-fp/fixsfti.c: Likewise.
7831 * soft-fp/fixtfdi.c: Likewise.
7832 * soft-fp/fixtfsi.c: Likewise.
7833 * soft-fp/fixtfti.c: Likewise.
7834 * soft-fp/fixunsdfdi.c: Likewise.
7835 * soft-fp/fixunsdfsi.c: Likewise.
7836 * soft-fp/fixunsdfti.c: Likewise.
7837 * soft-fp/fixunssfdi.c: Likewise.
7838 * soft-fp/fixunssfsi.c: Likewise.
7839 * soft-fp/fixunssfti.c: Likewise.
7840 * soft-fp/fixunstfdi.c: Likewise.
7841 * soft-fp/fixunstfsi.c: Likewise.
7842 * soft-fp/fixunstfti.c: Likewise.
7843 * soft-fp/floatdidf.c: Likewise.
7844 * soft-fp/floatdisf.c: Likewise.
7845 * soft-fp/floatditf.c: Likewise.
7846 * soft-fp/floatsidf.c: Likewise.
7847 * soft-fp/floatsisf.c: Likewise.
7848 * soft-fp/floatsitf.c: Likewise.
7849 * soft-fp/floattidf.c: Likewise.
7850 * soft-fp/floattisf.c: Likewise.
7851 * soft-fp/floattitf.c: Likewise.
7852 * soft-fp/floatundidf.c: Likewise.
7853 * soft-fp/floatundisf.c: Likewise.
7854 * soft-fp/floatunsidf.c: Likewise.
7855 * soft-fp/floatunsisf.c: Likewise.
7856 * soft-fp/floatuntidf.c: Likewise.
7857 * soft-fp/floatuntisf.c: Likewise.
7858 * soft-fp/floatuntitf.c: Likewise.
7859 * soft-fp/fmadf4.c: Likewise.
7860 * soft-fp/fmasf4.c: Likewise.
7861 * soft-fp/fmatf4.c: Likewise.
7862 * soft-fp/gedf2.c: Likewise.
7863 * soft-fp/gesf2.c: Likewise.
7864 * soft-fp/getf2.c: Likewise.
7865 * soft-fp/ledf2.c: Likewise.
7866 * soft-fp/lesf2.c: Likewise.
7867 * soft-fp/letf2.c: Likewise.
7868 * soft-fp/muldf3.c: Likewise.
7869 * soft-fp/mulsf3.c: Likewise.
7870 * soft-fp/multf3.c: Likewise.
7871 * soft-fp/negdf2.c: Likewise.
7872 * soft-fp/negsf2.c: Likewise.
7873 * soft-fp/negtf2.c: Likewise.
7874 * soft-fp/op-1.h: Likewise.
7875 * soft-fp/op-2.h: Likewise.
7876 * soft-fp/op-4.h: Likewise.
7877 * soft-fp/op-8.h: Likewise.
7878 * soft-fp/op-common.h: Likewise.
7879 * soft-fp/quad.h: Likewise.
7880 * soft-fp/single.h: Likewise.
7881 * soft-fp/soft-fp.h: Likewise.
7882 * soft-fp/sqrtdf2.c: Likewise.
7883 * soft-fp/sqrtsf2.c: Likewise.
7884 * soft-fp/sqrttf2.c: Likewise.
7885 * soft-fp/subdf3.c: Likewise.
7886 * soft-fp/subsf3.c: Likewise.
7887 * soft-fp/subtf3.c: Likewise.
7888 * soft-fp/truncdfsf2.c: Likewise.
7889 * soft-fp/trunctfdf2.c: Likewise.
7890 * soft-fp/trunctfsf2.c: Likewise.
7891 * soft-fp/trunctfxf2.c: Likewise.
7892 * soft-fp/unorddf2.c: Likewise.
7893 * soft-fp/unordsf2.c: Likewise.
7894 * soft-fp/unordtf2.c: Likewise.
7895
17c48a60
OB
78962013-10-14 Ondřej Bílka <neleai@seznam.cz>
7897
7898 [BZ #15672]
7899 * misc/error.c (error_tail): Fix possible buffer overflow.
7900
cabba934
OB
79012013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7902
7903 [BZ #13028]
7904 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7905 address.
7906
94bf958a
PM
79072013-10-14 P. J. McDermott <pj@pehjota.net>
7908
7909 [BZ #832]
7910 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7911 testing pipefail option.
7912
71b4dea7
JM
79132013-10-12 Joseph Myers <joseph@codesourcery.com>
7914
7915 * soft-fp/double.h: Indent preprocessor directives inside #if.
7916 * soft-fp/extended.h: Likewise.
7917 * soft-fp/op-2.h: Likewise.
7918 * soft-fp/op-4.h: Likewise.
7919 * soft-fp/op-common.h: Likewise.
7920 * soft-fp/quad.h: Likewise.
7921 * soft-fp/single.h: Likewise.
7922 * soft-fp/soft-fp.h: Likewise.
7923
55602758
YC
79242013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7925
7926 * iconv/iconv_prog.c: Fix typos.
7927 * stdio-common/psiginfo-data.h: Likewise.
7928
9cd83302
RT
79292013-10-12 Reuben Thomas <rrt@sc3d.org>
7930
7931 [BZ #15764]
7932 * locale/setlocale.c: Fix typo.
7933
99fd9f47
JM
79342013-10-12 Joseph Myers <joseph@codesourcery.com>
7935
b7ea74f0
JM
7936 [BZ #16036]
7937 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7938 signaling NaN arguments.
7939 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7940 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7941
8a509447
JM
7942 [BZ #14910]
7943 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7944 unordered operands.
7945 * soft-fp/gesf2.c (__gesf2): Likewise.
7946 * soft-fp/getf2.c (__getf2): Likewise.
7947 * soft-fp/ledf2.c (__ledf2): Likewise.
7948 * soft-fp/lesf2.c (__lesf2): Likewise.
7949 * soft-fp/letf2.c (__letf2): Likewise.
7950
98998e9f
JM
7951 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7952 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7953 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7954 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7955 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7956 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7957 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7958 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7959 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7960 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7961 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7962 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7963 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7964 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7965 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7966 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7967 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7968 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7969 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7970 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7971 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7972 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7973 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7974 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7975 * soft-fp/floattidf.c (__floattidf): Likewise.
7976 * soft-fp/floattisf.c (__floattisf): Likewise.
7977 * soft-fp/floattitf.c (__floattitf): Likewise.
7978 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7979 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7980 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7981 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7982 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7983 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7984 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7985 * soft-fp/gesf2.c (__gesf2): Likewise.
7986 * soft-fp/getf2.c (__getf2): Likewise.
7987 * soft-fp/ledf2.c (__ledf2): Likewise.
7988 * soft-fp/lesf2.c (__lesf2): Likewise.
7989 * soft-fp/letf2.c (__letf2): Likewise.
7990
8edc4a11
JM
7991 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7992 Undefine and redefine.
7993 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7994 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7995 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7996 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7997 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7998 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7999 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8000 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8001 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8002 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8003 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8004 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8005 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8006 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8007 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8008
8399acaf
JM
8009 [BZ #16032]
8010 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8011 without decrementing exponent if mantissa >= that for the
8012 denominator, not >.
8013 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8014 denominator, not >. Decrement exponent in < case instead of
8015 incrementing in >= case.
8016 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8017 without decrementing exponent if mantissa >= that for the
8018 denominator, not >.
8019
99fd9f47
JM
8020 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8021 computing saturated result for unsigned overflow.
8022
10e1cf6b
SP
80232013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8024 Jeff Law <law@redhat.com>
8025
8026 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8027 (atan2Mp): Add systemtap probe marker.
8028 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8029 (__ieee754_log): Add systemtap probe marker.
8030 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8031 (atanMp): Add systemtap probe marker.
8032 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8033 (tanMp): Add systemtap probe marker.
8034 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8035 (__slowexp): Add systemtap probe marker.
8036 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8037 (__slowpow): Add systemtap probe marker.
8038 * manual/probes.texi: Document probes.
8039
3d110c7c
EB
80402013-10-11 Eric Biggers <ebiggers3@gmail.com>
8041
8042 [BZ #15362]
8043 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8044 written.
8045 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8046 written.
8047 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8048 written to buffer but not flushed.
8049 * libio/iofwrite_u.c: Likewise.
8050 * libio/iopadn.c: Return bytes returned even if EOF was
8051 encountered.
8052 * libio/iowpadn.c: Likewise.
8053 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8054 if _IO_padn does not write the whole buffer.
8055 [!COMPILE_WPRINTF] (PAD): Likewise.
8056
75b4202a
DM
80572013-10-10 David S. Miller <davem@davemloft.net>
8058
8059 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8060 directory block.
8061
6c6352e6
JM
80622013-10-10 Joseph Myers <joseph@codesourcery.com>
8063
33b853c3
JM
8064 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8065 instead of FSF address.
8066 * soft-fp/fixdfti.c: Likewise.
8067 * soft-fp/fixsfti.c: Likewise.
8068 * soft-fp/fixtfti.c: Likewise.
8069 * soft-fp/fixunsdfti.c: Likewise.
8070 * soft-fp/fixunssfti.c: Likewise.
8071 * soft-fp/fixunstfti.c: Likewise.
8072 * soft-fp/floattidf.c: Likewise.
8073 * soft-fp/floattisf.c: Likewise.
8074 * soft-fp/floattitf.c: Likewise.
8075 * soft-fp/floatuntidf.c: Likewise.
8076 * soft-fp/floatuntisf.c: Likewise.
8077 * soft-fp/floatuntitf.c: Likewise.
8078 * soft-fp/trunctfxf2.c: Likewise.
8079
6c6352e6
JM
8080 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8081 * soft-fp/fixdfti.c: Likewise.
8082 * soft-fp/fixsfti.c: Likewise.
8083 * soft-fp/fixtfti.c: Likewise.
8084 * soft-fp/fixunsdfti.c: Likewise.
8085 * soft-fp/fixunssfti.c: Likewise.
8086 * soft-fp/fixunstfti.c: Likewise.
8087 * soft-fp/floattidf.c: Likewise.
8088 * soft-fp/floattisf.c: Likewise.
8089 * soft-fp/floattitf.c: Likewise.
8090 * soft-fp/floatuntidf.c: Likewise.
8091 * soft-fp/floatuntisf.c: Likewise.
8092 * soft-fp/floatuntitf.c: Likewise.
8093 * soft-fp/trunctfxf2.c: Likewise.
8094
3bf78b71
DM
80952013-10-10 David S. Miller <davem@davemloft.net>
8096
8097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8098
6f10289e
JM
80992013-10-10 Joseph Myers <joseph@codsourcery.com>
8100
bd878fc0
JM
8101 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8102 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8103 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8104 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8105 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8106 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8107 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8108
6f10289e
JM
8109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8110 for NaNs before doing comparisons on argument.
8111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8112 Likewise.
8113
321e2684
WN
81142013-10-10 Will Newton <will.newton@linaro.org>
8115
8116 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8117 passed to _int_memalign does not overflow.
8118
40fefba1
TR
81192013-10-10 Torvald Riegel <triegel@redhat.com>
8120
8121 * scripts/bench.pl: Add include-sources directive.
8122 * benchtests/README: Update documentation.
8123
2ae21ed2
JM
81242013-10-10 Joseph Myers <joseph@codesourcery.com>
8125
dcc2dd3f
JM
8126 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8127 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8128 instead of FP_INIT_ROUNDMODE.
8129 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8130 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8131
2ae21ed2
JM
8132 [BZ #16034]
8133 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8134 copy class of input value.
8135 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8136 not handle exceptions.
8137 * soft-fp/negsf2.c (__negsf2): Likewise.
8138 * soft-fp/negtf2.c (__negtf2): Likewise.
8139 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8140
cb8f9562
JM
81412013-10-09 Joseph Myers <joseph@codesourcery.com>
8142
8143 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8144 semicolon. From Linux kernel.
8145
5b60c59d
AB
81462013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8147
8148 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8149
b86835ca
YC
81502013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8151
8152 [BZ #156]
8153 * manual/socket.texi: Added statement about buffer
8154 for gethostbyname2_r.
8155
e7044ea7
OB
81562013-10-08 Ondřej Bílka <neleai@seznam.cz>
8157
8158 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8159 Use .p2align directive instead, throughout.
8160 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8161 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8162 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8165 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8166 * sysdeps/x86_64/strchr.S: Likewise.
8167 * sysdeps/x86_64/strrchr.S: Likewise.
8168
09544cbc
SP
81692013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8170
88576635
SP
8171 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8172
e7b2d1dd
SP
8173 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8174
09544cbc
SP
8175 * sysdeps/generic/math_private.h (__mpsin1): Remove
8176 declaration.
8177 (__mpcos1): Likewise.
8178 (__mpsin): New argument __range_reduce.
8179 (__mpcos): Likewise.
8180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8181 (slow): Use __mpsin and __mpcos.
8182 (slow1): Likewise.
8183 (slow2): Likewise.
8184 (sloww): Likewise.
8185 (sloww1): Likewise.
8186 (sloww2): Likewise.
8187 (bsloww): Likewise.
8188 (bsloww1): Likewise.
8189 (bsloww2): Likewise.
8190 (cslow2): Likewise.
8191 (csloww): Likewise.
8192 (csloww1): Likewise.
8193 (csloww2): Likewise.
8194 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8195 range_reduce. Merge in __mpsin1.
8196 (__mpcos): Likewise.
8197 (__mpsin1): Remove.
8198 (__mpcos1): Likewise.
8199
7602d070
JM
82002013-10-07 Joseph Myers <joseph@codesourcery.com>
8201
8202 * locale/loadlocale.c (_nl_intern_locale_data): Use
8203 LOCFILE_ALIGNED_P.
8204 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8205 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8206 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8207 obstack data is appropriately aligned.
8208 (obstack_int32_grow_fast): Likewise.
8209 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8210 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8211 (add_locale_uint32_array): Likewise.
8212
a357259b
SP
82132013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8214
8215 * benchtests/Makefile: Remove ARGLIST and RET variables.
8216 ($(objpfx)bench-%.c): Pass only function name to the script.
8217 * benchtests/README: Update documentation.
8218 * benchtests/acos-inputs: Add new directives.
8219 * benchtests/acosh-inputs: Likewise.
8220 * benchtests/asin-inputs: Likewise.
8221 * benchtests/asinh-inputs: Likewise.
8222 * benchtests/atan-inputs: Likewise.
8223 * benchtests/atanh-inputs: Likewise.
8224 * benchtests/cos-inputs: Likewise.
8225 * benchtests/cosh-inputs: Likewise.
8226 * benchtests/exp-inputs: Likewise.
8227 * benchtests/log-inputs: Likewise.
8228 * benchtests/pow-inputs: Likewise.
8229 * benchtests/rint-inputs: Likewise.
8230 * benchtests/sin-inputs: Likewise.
8231 * benchtests/sinh-inputs: Likewise.
8232 * benchtests/tan-inputs: Likewise.
8233 * benchtests/tanh-inputs: Likewise.
8234 * scripts/bench.pl: Add support for new directives.
8235
9ec1b13d
AM
82362013-10-07 Alan Modra <amodra@gmail.com>
8237
8238 * README: Fix careless merge.
8239
8b7d57cd
AM
82402013-10-05 Alan Modra <amodra@gmail.com>
8241
8242 * NEWS: Mention powerpc64le support and bugs fixed.
8243 * README: Both big-endian and little-endian powerpc64 supported.
8244
7b7bab13
ST
82452013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8246
8247 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8248 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8249 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8250 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8251
d39baad1
RA
82522013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8253
8254 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8255 match prototype.
8256
cd78f7e7
JM
82572013-10-04 Joseph Myers <joseph@codesourcery.com>
8258
29d73d86
JM
8259 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8260 Move -mhard-float appending from
8261 ports/sysdeps/powerpc/powerpc32/Makefile.
8262 [$(with-fp) = yes] (ASFLAGS): Likewise.
8263 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8264 * sysdeps/powerpc/nofpu: Move directory from
8265 ports/sysdeps/powerpc/nofpu.
8266 * sysdeps/powerpc/soft-fp: Move directory from
8267 ports/sysdeps/powerpc/soft-fp.
8268 * sysdeps/powerpc/powerpc32/405: Move directory from
8269 ports/sysdeps/powerpc/powerpc32/405.
8270 * sysdeps/powerpc/powerpc32/440: Move directory from
8271 ports/sysdeps/powerpc/powerpc32/440.
8272 * sysdeps/powerpc/powerpc32/464: Move directory from
8273 ports/sysdeps/powerpc/powerpc32/464.
8274 * sysdeps/powerpc/powerpc32/476: Move directory from
8275 ports/sysdeps/powerpc/powerpc32/476.
8276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8281 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8283 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8285 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8286 * README: Update for powerpc-*-linux-gnu software floating point
8287 support in libc.
8288
e246b347
JM
8289 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8290 case to powerpc/powerpc32*.
8291 * sysdeps/unix/sysv/linux/configure: Regenerated.
8292
89c2003e
JM
8293 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8294 (_FPU_MASK_OM): Define as 0x04.
8295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8297 0x00c10080.
8298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8299 0x0000003c.
8300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8301
cd78f7e7
JM
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8303 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8304 getcontext_e500.
8305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8306 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8307 setcontext_e500.
8308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8309 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8310 and setcontext_e500.
8311
c755294d
CL
83122013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8313
8314 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8315
e16d221c
SP
83162013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
8318 * manual/threads.texi (Default Thread Attributes): Fix typo.
8319
215c7d43
WN
83202013-10-04 Will Newton <will.newton@linaro.org>
8321
8322 * malloc/Makefile: Add tst-memalign.
8323 * malloc/tst-memalign.c: New file.
8324
27d0461b
WN
8325 * malloc/tst-posix_memalign.c: Add comments.
8326 (do_test): Add comments and call free on all potentially
8327 allocated pointers. Add space after cast.
8328
1bc92709
WN
8329 * malloc/tst-pvalloc.c: Add comments.
8330 (do_test): Add comments and call free on all potentially
8331 allocated pointers. Remove duplicate check for NULL pointer.
8332 Add space after cast.
8333
66a9be9d
WN
8334 * malloc/tst-valloc.c: Add comments.
8335 (do_test): Add comments and call free on all potentially
8336 allocated pointers. Remove duplicate check for NULL pointer.
8337 Add space after cast.
8338
4cb81307
AM
83392013-10-04 Alan Modra <amodra@gmail.com>
8340
8341 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8342 Use stdint types in rather than __attribute__((mode())).
8343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8344
f8e3e9f3
AM
83452013-10-04 Alan Modra <amodra@gmail.com>
8346
8347 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8348 Correct handling of unaligned relocs for little-endian.
8349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8350
8f9ebb08
AM
83512013-10-04 Alan Modra <amodra@gmail.com>
8352
8353 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8354 * configure: Regenerate.
8355 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8356 * shlib-versions: Likewise.
8357
0edf96c2
AM
83582013-10-04 Alan Modra <amodra@gmail.com>
8359
8360 * string/tester.c (test_memrchr): Increment reported test cycle.
8361
e0f7a380
AM
83622013-10-04 Alan Modra <amodra@gmail.com>
8363
8364 * string/test-memcpy.c (do_one_test): When reporting errors, print
8365 string address and don't overrun end of string.
8366
466b0393
AM
83672013-10-04 Alan Modra <amodra@gmail.com>
8368
8369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8370 insrdi. Make better use of reg selection to speed exit slightly.
8371 Schedule entry path a little better. Remove useless "are we done"
8372 checks on entry to main loop. Handle wrapping around zero address.
8373 Correct main loop count. Handle single left-over word from main
8374 loop inline rather than by using loop_small. Remove extra word
8375 case in loop_small caused by wrong loop count. Add little-endian
8376 support.
8377 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8379 cache hint.
8380 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8381 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8382 support. Avoid rlwimi.
8383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8384
3be87c77
AM
83852013-10-04 Alan Modra <amodra@gmail.com>
8386
8387 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8388 insrdi. Formatting.
3be87c77
AM
8389 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8390 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8391 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8392 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8393 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8394 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8395
759cfef3
AM
83962013-10-04 Alan Modra <amodra@gmail.com>
8397
8398 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8399 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8400 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8401 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8402 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8404 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8405 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8406 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8407 use of regs. Use power7 mtocrf. Tidy function tails.
8408
fe6e95d7
AM
84092013-10-04 Alan Modra <amodra@gmail.com>
8410
8411 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8412 Formatting. Consistently use rXXX register defines or rN defines.
8413 Use early exit labels that avoid restoring unused non-volatile regs.
8414 Make cr field use more consistent with rWORDn compares. Rename
8415 regs used as shift registers for unaligned loop, using rN defines
8416 for short lifetime/multiple use regs.
8417 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8419 addi 1,1,64 to pop stack frame. Simplify return value code.
8420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8421
664318c3
AM
84222013-10-04 Alan Modra <amodra@gmail.com>
8423
8424 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8425 support. Correct typos, formatting. Optimize tail. Use insrdi
8426 rather than rlwimi.
8427 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8428 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8429 little-endian support. Correct typos.
8430 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8431 rather than rlwimi.
8432 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8433 in loop and entry code to keep "and." results.
8434 (strchr): Add little-endian support. Comment. Move cntlzd
8435 earlier in tail.
8436 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8437
43b84013
AM
84382013-10-04 Alan Modra <amodra@gmail.com>
8439
8440 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8441 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8442 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8443 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8444
8a7413f9
AM
84452013-10-04 Alan Modra <amodra@gmail.com>
8446
8447 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8448 (rTMP): Define as r11.
8449 (strcmp): Add little-endian support. Optimise tail.
8450 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8451 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8452 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8457
33ee81de
AM
84582013-10-04 Alan Modra <amodra@gmail.com>
8459
8460 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8461 little-endian support. Remove unnecessary "are we done" tests.
8462 Handle "s" wrapping around zero and extremely large "size".
8463 Correct main loop count. Handle single left-over word from main
8464 loop inline rather than by using small_loop. Correct comments.
8465 Delete "zero" tail, use "end_max" instead.
8466 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8467
db9b4570
AM
84682013-10-04 Alan Modra <amodra@gmail.com>
8469
8470 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8471 support. Don't branch over align.
8472 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8473 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8474 support. Rearrange tmp reg use to suit. Comment.
8475 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8476
f7c399cf
AM
84772013-10-04 Alan Modra <amodra@gmail.com>
8478
8479 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8480
0b2c2ace
AM
84812013-10-04 Alan Modra <amodra@gmail.com>
8482
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8484 conditional form of branch and link when obtaining pc.
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8486
02f04a6c
AM
84872013-10-04 Alan Modra <amodra@gmail.com>
8488
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8490 HIWORD/LOWORD.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8493
9b874b2f
AM
84942013-10-04 Alan Modra <amodra@gmail.com>
8495
8496 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8497 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8498 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8499 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8500 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8501 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8502 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8503 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8504 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8505 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8506
be1e5d31
AB
85072013-10-04 Anton Blanchard <anton@au1.ibm.com>
8508 Alistair Popple <alistair@ozlabs.au.ibm.com>
8509 Alan Modra <amodra@gmail.com>
8510
8511 [BZ #15723]
8512 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8513 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8514 _dl_hwcap access for little-endian.
8515 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8516 destroy vmx regs when saving unaligned.
8517 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8519 destroy vmx regs when saving unaligned.
8520
fef13a78
AM
85212013-10-04 Alan Modra <amodra@gmail.com>
8522
8523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8524 Don't use a union to pack hi/low value.
8525
76a66d51
AB
85262013-10-04 Anton Blanchard <anton@au1.ibm.com>
8527
8528 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8529 for little-endian.
8530 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8531 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8532 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8534 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8535
6a31fe7f
AM
85362013-10-04 Alan Modra <amodra@gmail.com>
8537
8538 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8539 constants to usual value for .cst8 section, and remove redundant
8540 high address load.
8541 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8542 constant for 0x1p52. Load little-endian words of double from
8543 correct stack offsets.
8544
7b88401f
AM
85452013-10-04 Alan Modra <amodra@gmail.com>
8546
8547 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8548 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8549 words of double from correct stack offsets.
8550 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8551 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8552 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8554 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8555 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8557 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8558 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8562 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8563 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8564 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8565 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8566 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8567
9c008155
AM
85682013-10-04 Alan Modra <amodra@gmail.com>
8569
8570 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8571 64-bit int/double union.
8572 (_FPU_SETCW): Likewise.
8573 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8574 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8575
da13146d
AM
85762013-10-04 Alan Modra <amodra@gmail.com>
8577
8578 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8579 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8580
603e8410
AM
85812013-10-04 Alan Modra <amodra@gmail.com>
8582
8583 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8584 use vector int constants.
8585 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8586
4a28b3ca
AB
85872013-10-04 Anton Blanchard <anton@au1.ibm.com>
8588
8589 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8590 array with long long.
8591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8592 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8593 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8594 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8595 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8596 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8597 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8598 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8599 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8600 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8601 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8602 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8603 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8604
2ca85d2b
AB
86052013-10-04 Anton Blanchard <anton@au1.ibm.com>
8606
8607 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8608 (__signbit): Likewise. Correct for little-endian.
8609 (__signbitl): Call __signbit.
8610 (lrint): Correct for little-endian.
8611 (lrintf): Call lrint.
8612
62a728ae
AM
86132013-10-04 Alan Modra <amodra@gmail.com>
8614
8615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8616 union 32-bit int array member with 64-bit int array.
8617 (t515, tm256): Double rather than long double.
8618 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8619
32c301df
AM
86202013-10-04 Alan Modra <amodra@gmail.com>
8621
8622 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8623 Delete.
8624 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8626 version of math_ldbl.h.
8627
650ef4bd
AM
86282013-10-04 Alan Modra <amodra@gmail.com>
8629
8630 [BZ #15734], [BZ #15735]
8631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8632 all uses of ieee875 long double macros and unions. Simplify test
8633 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8634 ldbl_extract_mantissa value for ix,iy exponents. Properly
8635 normalize after ldbl_extract_mantissa, and don't add hidden bit
8636 already handled. Don't treat low word of ieee854 mantissa like
8637 low word of IBM long double and mask off bit when testing for
8638 zero.
8639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8640 all uses of ieee875 long double macros and unions. Simplify tests
8641 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8642 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8643 two1022, instead use their values. Recognise that tests for large
8644 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8645 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8646 Rewrite all uses of ieee875 long double macros and unions. Simplify
8647 test for 0.0L and nan. Correct negation.
8648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8649 ieee875 long double macros and unions. Correct output for large
8650 magnitude x. Correct absolute value calculation.
8651 (__erfcl): Likewise.
8652 * math/libm-test.inc: Add tests for errors discovered in IBM long
8653 double versions of fmodl, remainderl, erfl and erfcl.
8654
765714ca
AM
86552013-10-04 Alan Modra <amodra@gmail.com>
8656
8657 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8658 all uses of ieee854 long double macros and unions. Simplify tests
8659 for long doubles that are fully specified by the high double.
8660 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8661 Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8663 Remove dead code too.
8664 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8665 (__ieee754_ynl): Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8669 Remove dead code too.
8670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8674 Simplify.
8675 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8676 Simplify.
8677 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8680 Comment on variable precision.
8681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8683 Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8689
4ebd120c
AM
86902013-10-04 Alan Modra <amodra@gmail.com>
8691
8692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8693 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8694 all uses of ieee854 long double macros and unions.
8695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8701 Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8708 Simplify sign and nan test too.
8709 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8713 Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8716 Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8723
1b6adf88
AM
87242013-10-04 Alan Modra <amodra@gmail.com>
8725
8726 * stdio-common/printf_size.c (__printf_size): Don't use
8727 union ieee854_long_double in fpnum union.
8728 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8729 signbit macro to retrieve sign from long double.
8730 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8731 retrieve sign from long double.
8732 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8733 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8735 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8736 * math/test-misc.c (main): Don't use union ieee854_long_double.
8737
4cf69995
AM
87382013-10-04 Alan Modra <amodra@gmail.com>
8739
8740 [BZ #15680]
8741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8742 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8743 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8744 calculation. Remove unnecessary test for denormal exponent.
8745 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8746 Correct handling of denormals. Avoid undefined shift behaviour.
8747 Correct normalisation of low mantissa when low double is denormal.
8748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8749 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8750 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8751 Correct normalisation of low mantissa. Test for overflow of high
8752 mantissa and normalise.
8753 (ldbl_nearbyint): Use more readable constant for two52.
8754 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8755 (__mpn_construct_long_double): Fix test for overflow of high
8756 mantissa and correct normalisation. Avoid undefined shift.
8757
9605ca6c
AM
87582013-10-04 Alan Modra <amodra@gmail.com>
8759
8760 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8761 (union ibm_extended_long_double): Define as an array of ieee754_double.
8762 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8763 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8764 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8765 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8773
975569d0
JM
87742013-10-03 Joseph Myers <joseph@codesourcery.com>
8775
d3d23756
JM
8776 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8777 page size instead of calling getpagesize.
8778
975569d0
JM
8779 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8780 (LOCFILE_ALIGN_MASK): Likewise.
8781 (LOCFILE_ALIGN_UP): Likewise.
8782 (LOCFILE_ALIGNED_P): Likewise.
8783 * locale/programs/ld-collate.c (collate_output): Use the new
8784 macros instead of __alignof__ (int32_t).
8785 * locale/weight.h (findidx): Likewise.
8786
b1fe1f2b
OB
87872013-10-03 Ondřej Bílka <neleai@seznam.cz>
8788
8789 [BZ #431]
8790 * manual/string.texi: Fix strncat and wcsncat.
8791
5f855e35
BM
87922013-10-03 Brooks Moses <bmoses@google.com>
8793
8794 [BZ #15915]
8795 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8796 * Makerules: ...here, and adjust associated comments.
8797
3cef6009
WN
87982013-10-02 Will Newton <will.newton@linaro.org>
8799
8800 * malloc/Makefile: Add tst-pvalloc.
8801 * malloc/tst-pvalloc.c: New file.
8802
7815420b
WN
88032013-10-02 Will Newton <will.newton@linaro.org>
8804
8805 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8806 improve test coverage.
8807
4868b204
WN
88082013-10-02 Will Newton <will.newton@linaro.org>
8809
8810 * malloc/Makefile: Add tst-posix_memalign.
8811 * malloc/tst-posix_memalign.c: New file.
8812
29c793b3
EB
88132013-10-01 Eric Blake <eblake@redhat.com>
8814
8815 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8816 Use __THROWNL rather than __THROW on static functions.
8817
fd967522
PM
88182013-09-30 Petr Machata <pmachata@redhat.com>
8819
8820 * elf/elf.h (R_AARCH64_ABS16): New macro.
8821 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8822 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8823 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8824 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8825 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8826 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8827 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8828 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8829 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8830 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8831 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8832 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8833 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8834 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8835 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8836 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8837 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8838 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8839 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8840 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8841 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8842 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8843 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8844 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8845 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8846 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8847 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8848 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8849 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8850 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8851 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8852 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8853 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8854 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8855 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8856 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8857 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8858 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8859 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8860 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8861 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8862 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8863 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8864 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8865 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8866 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8867 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8868 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8869 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8870 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8871 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8872 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8873 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8874 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8875 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8876 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8877 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8878 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8879 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8880 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8881 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8882 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8883 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8884 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8885 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8886 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8887 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8888 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8889 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8890 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8891 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8892 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8893 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8894 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8895 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8896 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8897 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8898 (R_AARCH64_TLSDESC_LDR): Likewise.
8899 (R_AARCH64_TLSDESC_ADD): Likewise.
8900 (R_AARCH64_TLSDESC_CALL): Likewise.
8901
b2179107
AS
89022013-09-30 Andreas Schwab <schwab@suse.de>
8903
8904 [BZ #15048]
8905 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8906 the nss database lookup.
8907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8909
47f28d0a
MF
89102013-09-28 Mike Frysinger <vapier@gentoo.org>
8911
8912 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8913
89142013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8915
8916 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8917 ${Bash-specific parameter/pattern/string} parameter expansion.
8918 * sysdeps/unix/make-syscalls.sh: Likewise.
8919
f4518a17
KK
89202013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8921
8922 * sysdeps/sh/stackguard-macros.h: New file.
8923
dc1a95c7
OB
89242013-09-26 Ondřej Bílka <neleai@seznam.cz>
8925
8926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8928 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8929 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8930 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8931 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8932
5ebbff8f
AZ
89332013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8934
8935 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8936 Fix thread ID register.
8937
4fd2cf9f
JM
89382013-09-25 Joseph Myers <joseph@codesourcery.com>
8939
8940 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8941 [POSIX || UNIX98]: Require rather than permitting all symbols from
8942 <time.h>.
8943 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8944 element of struct sched_param.
8945 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8946 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8947 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8948 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8949 constant.
8950
12c22bc4
OL
89512013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8952
8953 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8954 argument calculation.
8955
a03d8ea7
JM
89562013-09-24 Joseph Myers <joseph@codesourcery.com>
8957
8958 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8959 Expect macro.
8960 [POSIX] (pthread_attr_t): Do not require type.
8961 [POSIX] (pthread_cond_t): Likewise.
8962 [POSIX] (pthread_condattr_t): Likewise.
8963 [POSIX] (pthread_key_t): Likewise.
8964 [POSIX] (pthread_mutex_t): Likewise.
8965 [POSIX] (pthread_mutexattr_t): Likewise.
8966 [POSIX] (pthread_once_t): Likewise.
8967 [POSIX] (pthread_t): Likewise.
8968 [POSIX-based standards] (pthread_atfork): Expect function.
8969
6055173a
JM
89702013-09-24 Joseph Myers <joseph@codesourcery.com>
8971 Richard Sandiford <richard@codesourcery.com>
8972
8973 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8974 (swap_endianness_p): New extern variable.
8975 (set_big_endian): New inline function.
8976 (maybe_swap_uint32): Likewise.
8977 (maybe_swap_uint32_array): Likewise.
8978 (maybe_swap_uint32_obstack): Likewise.
8979 * locale/programs/locfile.c: Include <stdbool.h>.
8980 (swap_endianness_p): New variable.
8981 (add_locale_uint32): Call maybe_swap_uint32.
8982 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8983 (write_locale_data): Call maybe_swap_uint32_array.
8984 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8985 maybe_swap_uint32.
8986 (obstack_int32_grow_fast): Likewise.
8987 (output_weightwc): Call maybe_swap_uint32_obstack.
8988 (collate_output): Likewise.
8989 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8990 (OPT_LITTLE_ENDIAN): Likewise.
8991 (options): Add --little-endian and --big-endian options.
8992 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8993 * locale/programs/locarchive.c: Include "locfile.h".
8994 (GET): New macro.
8995 (SET): Likewise.
8996 (INC): Likewise.
8997 (create_archive): Use the new macros to access fields of
8998 structures directly mapped from or written to locale archives.
8999 (oldlocrecentcmp): Likewise.
9000 (enlarge_archive): Likewise.
9001 (insert_name): Likewise.
9002 (add_alias): Likewise.
9003 (add_locale): Likewise.
9004 (delete_locales_from_archive): Likewise.
9005 (show_archive_content): Likewise.
9006 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9007 locale data.
9008
39bf0bb4
RM
90092013-09-24 Roland McGrath <roland@hack.frob.com>
9010
9011 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9012 http://www.gnu.org/doc/freemanuals.texi.
9013 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9014
f02eed10
WN
90152013-09-24 Will Newton <will.newton@linaro.org>
9016
9017 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9018 macro.
9019
a3a6c312
JM
90202013-09-23 Joseph Myers <joseph@codesourcery.com>
9021
9022 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9023 unsigned char.
9024
107375ac
MR
90252013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9026
9027 * manual/threads.texi (POSIX Threads): Fix a typo.
9028
141f3a77
SP
90292013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9030
303e567a
SP
9031 [BZ #14547]
9032 * string/tst-strcoll-overflow.c: New test case.
9033 * string/Makefile (xtests): Add tst-strcoll-overflow.
9034 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9035 cache if string sizes may cause integer overflow.
9036
141f3a77
SP
9037 [BZ #14547]
9038 * string/strcoll_l.c (coll_seq): New members rule, idx,
9039 save_idx and back_us.
9040 (get_next_seq_nocache): New function.
9041 (do_compare_nocache): New function.
9042 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9043 when malloc fails.
9044
c61b4d41
CD
90452013-09-23 Carlos O'Donell <carlos@redhat.com>
9046
0b1f8e35
CD
9047 [BZ #15754]
9048 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9049 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9050 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9051
c61b4d41
CD
9052 [BZ #15754]
9053 * elf/Makefile (tests): Add tst-ptrguard1.
9054 (tests-static): Add tst-ptrguard1-static.
9055 (tst-ptrguard1-ARGS): Define.
9056 (tst-ptrguard1-static-ARGS): Define.
9057 * elf/tst-ptrguard1.c: New file.
9058 * elf/tst-ptrguard1-static.c: New file.
9059 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9060 * sysdeps/i386/stackguard-macros.h: Likewise.
9061 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9062 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9063 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9064 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9065 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9066 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9067
90682013-09-23 Hector Marco <hecmargi@upv.es>
9069 Ismael Ripoll <iripoll@disca.upv.es>
9070 Carlos O'Donell <carlos@redhat.com>
9071
9072 [BZ #15754]
9073 * sysdeps/generic/stackguard-macros.h: Define
9074 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9075 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9076 Define __pointer_chk_guard_local.
9077 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9078 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9079
f5f4e7b4
VV
90802013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9081
9082 [BZ #15859]
9083 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9084
5bb43a43
AS
90852013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9086
9087 * include/string.h (__ffs): Declare as hidden.
9088 * string/ffs.c (__ffs): Define as hidden.
9089 * sysdeps/i386/ffs.c (__ffs): Likewise.
9090 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9091 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9092 * sysdeps/s390/ffs.c (__ffs): Likewise.
9093 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9094
3ea5be54
AO
90952013-09-20 Alexandre Oliva <aoliva@redhat.com>
9096
ffb89e53
AO
9097 * NEWS: Mention malloc probes.
9098
322dea08
AO
9099 * malloc/arena.c (new_heap): New memory_heap_new probe.
9100 (grow_heap): New memory_heap_more probe.
9101 (shrink_heap): New memory_heap_less probe.
9102 (heap_trim): New memory_heap_free probe.
9103 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9104 (systrim): New memory_sbrk_less probe.
9105 * manual/probes.texi: Document them.
9106
655673f3
AO
9107 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9108 * manual/probes.texi: Document it.
9109
35fed6f1
AO
9110 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9111 (__libc_realloc): Add memory_realloc_retry probe.
9112 (__libc_memalign): Add memory_memalign_retry probe.
9113 (__libc_valloc): Add memory_valloc_retry probe.
9114 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9115 (__libc_calloc): Add memory_calloc_retry probe.
9116 * manual/probes.texi: Document them.
9117
6999d38c
AO
9118 * malloc/arena.c (get_free_list): Add probe
9119 memory_arena_reuse_free_list.
9120 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9121 and memory_arena_reuse.
9122 (arena_get2) [!PER_THREAD]: Likewise.
9123 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9124 memory_arena_reuse_realloc.
9125 * manual/probes.texi: Document them.
9126
0653427f
AO
9127 * malloc/malloc.c (__libc_free): Add
9128 memory_mallopt_free_dyn_thresholds probe.
9129 (__libc_mallopt): Add multiple memory_mallopt probes.
9130 * manual/probes.texi: Document them.
9131
3ea5be54
AO
9132 * malloc/malloc.c: Include stap-probe.h.
9133 (__libc_mallopt): Add memory_mallopt probe.
9134 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9135 * manual/probes.texi: New.
9136 * manual/Makefile (chapters): Add probes.
9137 * manual/threads.texi: Set next node.
9138
e35696c3 91392013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9140
e35696c3
CL
9141 [BZ #15963, #13985]
9142 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9143 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9144 Add `Chinese' to `nan' entry name.
9145
4aafb73c
SP
91462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9147
9148 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9149 (POLYNOMIAL): Likewise.
9150 (TAYLOR_SINCOS): Likewise.
9151 (TAYLOR_SLOW): Likewise.
9152 (__sin): Use TAYLOR_SINCOS.
9153 (__cos): Likewise.
9154 (slow): Use TAYLOR_SLOW.
9155 (sloww): Likewise.
9156 (bsloww): Likewise.
9157 (csloww): Likewise.
9158
d84f25c7
LD
91592013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9160
9161 * stdlib/strtod_l.c: Fix buffer overrun.
9162
5eea0404
SP
91632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9164
7849ff93
SP
9165 * benchtests/Makefile (bench): Add sincos.
9166 * benchtests/bench-sincos.c: New file.
9167
cfa3c886
SP
9168 * math/libm-test.inc (cos_test_data): New test inputs.
9169 (sin_test_data): Likewise.
9170
b348e1e3
SP
9171 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9172 macro.
9173 (__sin): Use it.
9174 (__cos): Likewise.
9175 (slow1): Likewise.
9176 (slow2): Likewise.
9177 (sloww1): Likewise.
9178 (sloww2): Likewise.
9179 (bsloww1): Likewise.
9180 (bsloww2): Likewise.
9181 (cslow2): Likewise.
9182 (csloww1): Likewise.
9183 (csloww2): Likewise.
9184
6cce25f8
SP
9185 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9186 function.
9187 (__sin): Use it.
9188 (__cos): Likewise.
9189
5eea0404
SP
9190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9191 gotos.
9192 (__cos): Likewise.
9193
9c21573c
MR
91942013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9195
9196 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9197 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9198 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9199 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9200 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9201 * elf/cache.c (print_entry): Handle the new cache flags.
9202
24d22e65
JM
92032013-09-18 Joseph Myers <joseph@codesourcery.com>
9204 Aldy Hernandez <aldyh@redhat.com>
9205
9206 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9207 Change condition to [_SOFT_FLOAT].
9208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9220 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9223 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9224 declaration.
9225
d13ef066
JM
92262013-09-18 Joseph Myers <joseph@codesourcery.com>
9227
2e071de0
JM
9228 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9229 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9230 (__longjmp): Use LOAD_GP to load saved GPRs.
9231 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9232 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9233 (__sigsetjmp): Use SAVE_GP to save GPRs.
9234
d13ef066
JM
9235 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9236 Do not append -msoft-float.
9237 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9238
97a0650b
SP
92392013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9240
9241 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9242
11ca09e9
JM
92432013-09-17 Joseph Myers <joseph@codesourcery.com>
9244
9245 [BZ #15966]
9246 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9247 (_FPU_GETCW): Use initial "__" on variable and field names but not
9248 on macro parameter name.
9249 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9250 parentheses around reference to macro parameter.
9251
08ffcf34
RS
92522013-09-13 Richard Sandiford <richard@codesourcery.com>
9253
9254 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9255 prototype.
9256 (ctype_startup): Use uint32_t in cast and sizeof for
9257 ctype->charnames.
9258
ae7080d3
JL
92592013-09-11 Jia Liu <proljc@gmail.com>
9260
9261 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9262 __daddr_t_defined.
9263 [__FreeBSD__]: Likewise.
9264
5905e7b3
OB
92652013-09-11 Ondřej Bílka <neleai@seznam.cz>
9266
9267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9268 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9269 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9270 (strchr): Remove __strchr_sse42 ifunc selection.
9271 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9272 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9273
b987c776
WN
92742013-09-11 Will Newton <will.newton@linaro.org>
9275
9276 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9277 parameter to RES. Remove hardcoded 1000 value.
9278 * benchtests/bench-skeleton.c (main): Pass RES parameter
9279 to TIMING_INIT and multiply result by 1000.
9280
ddf985af
AZ
92812013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282
9283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9284
ffdd3181
AS
92852013-09-11 Andreas Schwab <schwab@suse.de>
9286
9287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9288 if not defined.
9289 (O_TMPFILE) [__USE_GNU]: Define.
9290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9291 Define.
9292
b73ed247
WN
92932013-09-11 Will Newton <will.newton@linaro.org>
9294
9295 [BZ #15857]
9296 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9297 does not overflow.
9298
55e17aad
WN
92992013-09-11 Will Newton <will.newton@linaro.org>
9300
9301 [BZ #15856]
9302 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9303 does not overflow.
9304
1159a193
WN
93052013-09-11 Will Newton <will.newton@linaro.org>
9306
9307 [BZ #15855]
9308 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9309 does not overflow.
9310
5905e7b3 93112013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9312
9313 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9314 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9318
cdfc721b
AM
93192013-09-10 Allan McRae <allan@archlinux.org>
9320
aa04af00
AM
9321 [BZ #15748]
9322 * manual/arith.texi (Parsing of Floats): Clarify
9323 cross-reference.
9324
cdfc721b
AM
9325 [BZ #15849]
9326 * manual/install.texi (Running make install): Mention
9327 --enable-pt-chown.
9328 * INSTALL: Regenerated.
9329
95e7cf29
MR
93302013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9331
9332 * csu/init-first.c (_init): Remove the !SHARED condition around
9333 FPU control word initialization.
9334 * elf/dl-support.c (_dl_fpu_control): New variable.
9335 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9336 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9337 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9338 * math/test-fpucw-static.c: New file.
9339 * math/test-fpucw-ieee.c: New file.
9340 * math/test-fpucw-ieee-static.c: New file.
9341 * math/Makefile (tests): Add `test-fpucw-ieee' and
9342 `$(tests-static)'.
9343 (tests-static): New variable.
9344 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9345 dependency to...
9346 [($(build-shared),yes)]
9347 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9348 ... this.
9349 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9350 New dependency.
9351
83e43bf0
AM
93522013-09-09 Allan McRae <allan@archlinux.org>
9353
a9f5ce09
AM
9354 [BZ #15939]
9355 * manual/string.texi (Collation Functions): Fix typo in
9356 strcoll example.
9357 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9358
34829bc2
AM
9359 [BZ #15893]
9360 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9361
3932737d
AM
9362 [BZ #15892]
9363 * libio/memstream.c (open_memstream): Fix memory leak.
9364 * libio/wmemstream.c (open_wmemstream): Likewise.
9365
83e43bf0
AM
9366 [BZ #15895]
9367 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9368
0c66b8e9
WN
93692013-09-09 Will Newton <will.newton@linaro.org>
9370
9371 * malloc/Makefile: Add tst-realloc to tests.
9372 * malloc/tst-realloc.c: New file.
9373
f6b00fd1
AM
93742013-09-09 Allan McRae <allan@archlinux.org>
9375
9376 [BZ #15844]
9377 * COPYING: Update from GNU website to fix FSF address.
9378 * COPYING.LIB: Likewise.
9379
eec55e16
DM
93802013-09-06 David S. Miller <davem@davemloft.net>
9381
9382 * po/zh_TW.po: Update Chinese (traditional) translation from
9383 translation project.
9384
1ecbb381
RS
93852013-09-06 Richard Sandiford <richard@codesourcery.com>
9386 Joseph Myers <joseph@codesourcery.com>
9387
9388 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9389 "localeinfo.h".
9390 (obstack_chunk_alloc): New macro.
9391 (obstack_chunk_free): Likewise.
9392 (record_offset): New function.
9393 (init_locale_data): Likewise.
9394 (align_locale_data): Likewise.
9395 (add_locale_empty): Likewise.
9396 (add_locale_raw_data): Likewise.
9397 (add_locale_raw_obstack): Likewise.
9398 (add_locale_string): Likewise.
9399 (add_locale_wstring): Likewise.
9400 (add_locale_uint32): Likewise.
9401 (add_locale_uint32_array): Likewise.
9402 (add_locale_char): Likewise.
9403 (start_locale_structure): Likewise.
9404 (end_locale_structure): Likewise.
9405 (start_locale_prelude): Likewise.
9406 (end_locale_prelude): Likewise.
9407 (write_locale_data): Take locale_file structure rather than an
9408 iovec.
9409 * locale/programs/locfile.h: Include "obstack.h".
9410 (struct locale_file): Change to store locale file contents instead
9411 of header.
9412 (init_locale_data): New prototype.
9413 (align_locale_data): Likewise.
9414 (add_locale_empty): Likewise.
9415 (add_locale_raw_data): Likewise.
9416 (add_locale_raw_obstack): Likewise.
9417 (add_locale_string): Likewise.
9418 (add_locale_wstring): Likewise.
9419 (add_locale_uint32): Likewise.
9420 (add_locale_uint32_array): Likewise.
9421 (add_locale_char): Likewise.
9422 (start_locale_structure): Likewise.
9423 (end_locale_structure): Likewise.
9424 (start_locale_prelude): Likewise.
9425 (end_locale_prelude): Likewise.
9426 (write_locale_data): Update prototype.
9427 * locale/programs/3level.h (struct TABLE): Remove result field.
9428 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9429 Use new locale_file interface.
9430 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9431 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9432 * locale/programs/ld-address.c (address_output): Use new
9433 locale_file interface.
9434 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9435 NO_ADD_LOCALE.
9436 (collate_finish): Don't call collseq_table_finalize.
9437 (collate_output): Use new locale_file interface.
9438 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9439 in file.
9440 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9441 (TABLE): Move defines earlier in file.
9442 (ELEMENT): Likewise.
9443 (DEFAULT): Likewise.
9444 (wctrans_table_add): Move macro and inline function earlier in
9445 file.
9446 (struct wctype_table): Move type earlier in file.
9447 (add_locale_wctype_table): New static prototype.
9448 (struct locale_ctype_t): Use logical types instead of struct iovec
9449 pointers for members.
9450 (ctype_output): Use new locale_file interface.
9451 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9452 new locale_file interface.
9453 (allocate_arrays): Update for use of new locale_file interface.
9454 * locale/programs/ld-identification.c (identification_output): Use
9455 new locale_file interface.
9456 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9457 * locale/programs/ld-messages.c (messages_output): Likewise.
9458 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9459 * locale/programs/ld-name.c (name_output): Likewise.
9460 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9461 * locale/programs/ld-paper.c (paper_output): Likewise.
9462 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9463 * locale/programs/ld-time.c (time_output): Likewise.
9464
e029e2e5
AZ
94652013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9466
9467 * benchtests/Makefile: Add memrchr benchmark.
9468 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9469 benchmark as memrchr.
9470 * benchtests/bench-memrchr-ifunc.c: New file.
9471 * benchtests/bench-memrchr.c: New file.
9472
bbf6e8e4
WN
94732013-09-06 Will Newton <will.newton@linaro.org>
9474
9475 * benchtests/Makefile (string-bench): Add memcpy.
9476
6c82a2f8
CD
94772013-09-05 Carlos O'Donell <carlos@redhat.com>
9478 Cong Wang <amwang@redhat.com>
9479
e732c5f0 9480 [BZ #15850]
6c82a2f8
CD
9481 * sysdeps/unix/sysv/linux/bits/in.h
9482 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9483 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9484 before __USE_KERNEL_IPV6_DEFS uses.
9485 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9486 IPPROTO_BEETPH.
9487 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9488 sockaddr_in6, or ipv6_mreq.
9489
5430fc65
AZ
94902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9491
9492 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9493 memory access for final bytes in some large inputs.
9494 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9495
4660856c
AZ
94962013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
9498 * string/test-memrchr.c: New file.
9499 * string/test-memrchr-ifunc.c: New file.
9500 * string/Makefile: Add new memrchr testcase.
9501
bb8ea713
MF
95022013-09-05 Mike Frysinger <vapier@gentoo.org>
9503
9504 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9505 fanotify_init returns EPERM.
9506
b92a20b5
JM
95072013-09-04 Joseph Myers <joseph@codesourcery.com>
9508
9509 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9510 errors.
9511 (top level): Treat second token from macro or constant entries for
9512 allowed headers as allowed.
9513 * include/complex.h: Condition internal declarations on
9514 [!_ISOMAC].
9515 * include/fenv.h: Condition include of <stdbool.h> and internal
9516 declarations on [!_ISOMAC].
7447ccd9
CL
9517
95182013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9519
3e181dda 9520 [BZ #15923]
7447ccd9
CL
9521 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9522
3f2e46a4
JM
95232013-09-04 Joseph Myers <joseph@codesourcery.com>
9524
9525 * configure.in (--enable-versioning): Remove configure option.
9526 (libc_cv_asm_symver_directive): Remove configure test.
9527 (libc_cv_ld_version_script_option): Likewise.
9528 (VERSIONING): Remove variable and AC_SUBST.
9529 (DO_VERSIONING): Remove AC_DEFINE.
9530 * configure: Regenerated.
9531 * config.h.in (DO_VERSIONING): Remove macro.
9532 * Makerules [$(versioning) = yes]: Change conditionals to
9533 [$(build-shared) = yes].
9534 * config.make.in (versioning): Remove variable.
9535 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9536 [$(build-shared) = yes].
9537 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9538 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9539 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9540 [$(build-shared) = yes].
9541 * extra-lib.mk [$(versioning) = yes]: Likewise.
9542 * hurd/Makefile [$(versioning) = yes]: Likewise.
9543 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9544 [SHARED].
9545 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9546 [SHARED].
9547 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9548 [SHARED && !NO_HIDDEN].
9549 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9550 [SHARED].
9551 [SHARED && DO_VERSIONING]: Likewise..
9552 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9553 [$(build-shared) = yes].
9554 * manual/install.texi (--disable-versioning): Remove
9555 documentation.
9556 * INSTALL: Regenerated.
9557 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9558 to [SHARED].
9559 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9560 [$(build-shared) = yes].
9561 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9562 * sysdeps/i386/i686/multiarch/strstr-c.c
9563 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9564 [SHARED && !NO_HIDDEN].
9565 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9566 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9567 * sysdeps/powerpc/powerpc32/dl-machine.c
9568 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9569 * sysdeps/powerpc/powerpc32/sysdep.h
9570 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9571 to [SHARED && PIC && !NO_HIDDEN].
9572 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9573 conditional to [SHARED].
9574
44558701
WN
95752013-09-04 Will Newton <will.newton@linaro.org>
9576
9577 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9578 * benchtests/bench-string.h: Include bench-timing.h instead
9579 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9580 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9581 call to HP_TIMING_DIFF_INIT.
9582 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9583 instead of hp-timing.h macros.
9584 * benchtests/bench-memchr.c: Likewise.
9585 * benchtests/bench-memcmp.c: Likewise.
9586 * benchtests/bench-memcpy.c: Likewise.
9587 * benchtests/bench-memmem.c: Likewise.
9588 * benchtests/bench-memmove.c: Likewise.
9589 * benchtests/bench-memset.c: Likewise.
9590 * benchtests/bench-rawmemchr.c: Likewise.
9591 * benchtests/bench-strcasecmp.c: Likewise.
9592 * benchtests/bench-strcasestr.c: Likewise.
9593 * benchtests/bench-strcat.c: Likewise.
9594 * benchtests/bench-strchr.c: Likewise.
9595 * benchtests/bench-strcmp.c: Likewise.
9596 * benchtests/bench-strcpy.c: Likewise.
9597 * benchtests/bench-strcpy_chk.c: Likewise.
9598 * benchtests/bench-strlen.c: Likewise.
9599 * benchtests/bench-strncasecmp.c: Likewise.
9600 * benchtests/bench-strncat.c: Likewise.
9601 * benchtests/bench-strncmp.c: Likewise.
9602 * benchtests/bench-strncpy.c: Likewise.
9603 * benchtests/bench-strnlen.c: Likewise.
9604 * benchtests/bench-strpbrk.c: Likewise.
9605 * benchtests/bench-strrchr.c: Likewise.
9606 * benchtests/bench-strspn.c: Likewise.
9607 * benchtests/bench-strstr.c: Likewise.
9608
cae16d66
WN
96092013-09-04 Will Newton <will.newton@linaro.org>
9610
9611 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9612
ffa3cd7f
JM
96132013-09-03 Joseph Myers <joseph@codesourcery.com>
9614
9615 [BZ #15427]
9616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9617 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9618 * math/libm-test.inc (lgamma_test_data): Add more tests.
9619 * sysdeps/i386/fpu/libm-test-ulps: Update.
9620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9621
8f02859f
OB
96222013-09-03 Ondřej Bílka <neleai@seznam.cz>
9623
9624 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9626 Add ifunc.
9627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9628 Add strcmp-sse2-unaligned
9629 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9630
18d43716
MF
96312013-09-02 Mike Frysinger <vapier@gentoo.org>
9632
9633 * Versions.def (libc): Add GLIBC_2.19.
9634
ac444012
MF
96352013-09-02 Mike Frysinger <vapier@gentoo.org>
9636
9637 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9638 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9639
b7835e32
JM
96402013-09-02 Joseph Myers <joseph@codesourcery.com>
9641
9642 [BZ #14155]
9643 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9644 intermediate calculations in recurrence.
9645 (__ieee754_ynf): Likewise.
9646 * math/libm-test.inc (jn_test_data): Do not allow spurious
9647 underflow exception. Add more tests.
9648 (yn_test_data): Add more tests.
9649 * sysdeps/i386/fpu/libm-test-ulps: Update.
9650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9651
8220f4f0
OB
96522013-09-02 Ondřej Bílka <neleai@seznam.cz>
9653
9654 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9655
f24a6d08
OB
96562013-08-30 Ondřej Bílka <neleai@seznam.cz>
9657
9658 * csu/init-first.c: Fix then/than typos.
9659 * locale/programs/ld-collate.c: Likewise.
9660 * locale/programs/linereader.h: Likewise.
9661 * manual/charset.texi: Likewise.
9662 * manual/filesys.texi: Likewise.
9663 * manual/stdio.texi: Likewise.
9664 * manual/string.texi: Likewise.
9665 * stdlib/fmtmsg.c: Likewise.
9666 * sysdeps/i386/stpncpy.S: Likewise.
9667 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9668 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9670 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9671
382466e0
OB
96722013-08-30 Ondřej Bílka <neleai@seznam.cz>
9673
9674 * elf/dl-open.c: Fix typos.
9675 * iconvdata/gbbig5.c: Likewise.
9676 * iconvdata/iso-2022-jp.c: Likewise.
9677 * iconv/gconv_int.h: Likewise.
9678 * iconv/loop.c: Likewise.
9679 * nis/rpcsvc/nis.h: Likewise.
9680 * resolv/ns_name.c: Likewise.
9681 * stdio-common/vfscanf.c: Likewise.
9682 * streams/stropts.h: Likewise.
9683 * sunrpc/rpc_thread.c: Likewise.
9684 * sysdeps/i386/strpbrk.S: Likewise.
9685 * sysdeps/ieee754/k_standard.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9688 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9689 * sysdeps/mach/hurd/profil.c: Likewise.
9690 * sysdeps/s390/dl-procinfo.h: Likewise.
9691 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9692 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9694 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9695 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9696
0186c6e9
OB
96972013-08-30 Ondřej Bílka <neleai@seznam.cz>
9698
9699 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9701
d4e16af1
OB
97022013-08-29 Ondřej Bílka <neleai@seznam.cz>
9703
9704 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9705 aix specific files.
9706 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9712 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9714
88335980
TS
97152013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9716 Roland McGrath <roland@hack.frob.com>
9717
9718 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9719 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9720
ed479b02
ST
97212013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9722
9723 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9724 __executable_start symbol instead of _start.
9725
f1cc4c86
TS
97262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9727
d821f07c
TS
9728 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9729 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9730 Move macros to...
9731 * sysdeps/gnu/ldsodefs.h: ... this new file.
9732
c54290cf
TS
9733 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9734 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9735 instead of ELFOSABI_LINUX.
9736
0007fc9b 9737 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9738 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9739 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9740 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9741 Likewise.
9742 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9743 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9745 Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9747 (ibm_extended_long_double): Add ieee_nan member.
9748 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9749 (do_test): New function.
9750
f1cc4c86
TS
9751 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9752 TEST_TRUNC.
9753 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9754 functions, renamed from truncdfsf_test, trunctfsf_test,
9755 trunctfdf_test.
9756 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9757 functions.
9758 (do_test): Run all these.
9759
6f65e668
OB
97602013-08-29 Ondřej Bílka <neleai@seznam.cz>
9761
9762 * argp/argp-help.c: Fix typos.
9763 * argp/argp-parse.c: Likewise.
9764 * debug/backtracesyms.c: Likewise.
9765 * elf/elf.h: Likewise.
9766 * malloc/malloc.c: Likewise.
9767 * nis/nis_print.c: Likewise.
9768 * resolv/res_comp.c: Likewise.
9769 * stdlib/stdlib.h: Likewise.
9770 * sunrpc/clnt_tcp.c: Likewise.
9771 * sunrpc/clnt_udp.c: Likewise.
9772 * sunrpc/clnt_unix.c: Likewise.
9773 * sysdeps/unix/bsd/ptsname.c: Likewise.
9774 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9777 Likewise.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9779 Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9781 Likewise.
6f65e668
OB
9782 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9783
3a309239
SP
97842013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9785
9786 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9788
3b813b29
MF
97892013-08-27 Mike Frysinger <vapier@gentoo.org>
9790
9791 [BZ #15897]
9792 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9793 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9794 ($(objpfx)bug-dl-leaf): New rule.
9795 ($(objpfx)bug-dl-leaf.so): Likewise.
9796 ($(objpfx)bug-dl-leaf.out): Likewise.
9797 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9798 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9799 * dlfcn/bug-dl-leaf.c: New test.
9800 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9801 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9802 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9803 (dlclose): Likewise.
9804 (dlmopen): Likewise.
9805
8cc3269f
RM
98062013-08-27 Roland McGrath <roland@hack.frob.com>
9807
7f9d0034
RM
9808 * include/netdb.h [!_ISOMAC]:
9809 Don't include <tls.h>.
9810 (h_errno, __libc_h_errno): Move declaration and macros out of
9811 [_LIBC_REENTRANT].
9812
fb431262
RM
9813 * include/resolv.h [_RESOLV_H_]:
9814 Don't include <tls.h>.
9815 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9816 * resolv/res_libc.c: Don't include <tls.h>.
9817 (_res): Use __attribute__ ((nocommon)) in place of
9818 __attribute__ ((section (".bss"))).
9819
bd81123a
RM
9820 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9821 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9822
c4e42566
RM
9823 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9824
f890a59b
RM
9825 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9826 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9827
9828 * resolv/res_mkquery.c: Include <sys/time.h>.
9829
5d1f0a09
RM
9830 * inet/ifreq.c: Moved to ...
9831 * sysdeps/unix/ifreq.c: ... here.
9832 * inet/ifreq.c: New file, true stub version.
9833
6fcf28b3
RM
9834 * socket/sa_len.c: New file.
9835 * socket/Makefile (aux): Add it.
9836 * sysdeps/unix/sysv/linux/Makefile
9837 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9838 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9839 and #include <socket/sa_len.c>.
9840 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9841 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9842
e041fb8b
RM
9843 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9844 * bits/socket.h: ... here.
9845
8cc3269f
RM
9846 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9847 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9848 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9849
5d228a43
AS
98502013-08-27 Andreas Schwab <schwab@suse.de>
9851
45b8accc
AS
9852 [BZ #15736]
9853 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9854 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9855 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9856 * string/test-strcasecmp.c (test_main): Run tests in several
9857 locales.
9858 * string/test-strncasecmp.c (test_main): Likewise.
9859
5d228a43
AS
9860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9861 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9862 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9864 (__strncasecmp_ssse3) [PIC]: Likewise.
9865
59d112a4
RM
98662013-08-26 Roland McGrath <roland@hack.frob.com>
9867
53234cc3
RM
9868 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9869
59d112a4
RM
9870 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9871 instead of explicitly declaring xdecrypt.
9872 * nis/nss_nis/nis-publickey.c: Likewise.
9873
595aba70
SP
98742013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9875
9876 [BZ #15890]
9877 * nscd/aicache.c: Include res_hconf.h.
9878 (addhstaiX): Initialize res_hconf.
9879
ffabd393
AS
98802013-08-26 Andreas Schwab <schwab@suse.de>
9881
9882 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9883 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9884
e0a69f5c
SP
98852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9886
9887 * nscd/aicache.c (addhstaiX): Fix indentation.
9888
8c12f01d
MF
98892013-08-25 Mike Frysinger <vapier@gentoo.org>
9890
9891 * configure.ac: Quote $build_pt_chown test.
9892 * configure: Regenerated.
9893
8fe89494
JM
98942013-08-23 Joseph Myers <joseph@codesourcery.com>
9895
9896 [BZ #15532]
9897 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9898 * math/s_cexpf.c (__cexpf): Likewise.
9899 * math/s_cexpl.c (__cexpl): Likewise.
9900 * math/libm-test.inc (cexp_test_data): Correct expected return
9901 value for NaN + i0. Add another test.
9902
75b181d6
DM
99032013-08-22 David S. Miller <davem@davemloft.net>
9904
9905 * po/ca.po: Update Catalan translation from translation project.
936241e4 9906 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9907
acd06bb1
JM
99082013-08-21 Joseph Myers <joseph@codesourcery.com>
9909
9910 [BZ #15797]
9911 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9912 is infinite, not alongside NaN test.
9913 * math/s_fdimf.c (__fdimf): Likewise.
9914 * math/s_fdiml.c (__fdiml): Likewise.
9915 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9916 errno is unchanged.
9917
c0c3f78a
OB
99182013-08-21 Ondřej Bílka <neleai@seznam.cz>
9919
9920 * argp/argp-help.c: Fix typos.
9921 * crypt/speeds.c: Likewise.
9922 * csu/check_fds.c: Likewise.
9923 * elf/dl-load.c: Likewise.
9924 * elf/dl-open.c: Likewise.
9925 * elf/reldep3.c: Likewise.
9926 * elf/reldep.c: Likewise.
9927 * elf/sprof.c: Likewise.
9928 * iconv/iconv_charmap.c: Likewise.
9929 * iconv/skeleton.c: Likewise.
9930 * iconv/strtab.c: Likewise.
9931 * io/lockf64.c: Likewise.
9932 * libio/libioP.h: Likewise.
9933 * resolv/gai_notify.c: Likewise.
9934 * resolv/ns_name.c: Likewise.
9935 * resolv/ns_samedomain.c: Likewise.
9936 * resolv/res_send.c: Likewise.
9937 * stdlib/random.c: Likewise.
9938 * sunrpc/rpc/xdr.h: Likewise.
9939 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9941 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9942 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9946 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9947 * sysdeps/mach/hurd/check_fds.c: Likewise.
9948 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9949 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9953 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9954 * sysdeps/pthread/aio_notify.c: Likewise.
9955 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9956 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9957 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9958 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9959 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9960
46ed1038
LD
99612013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9962
9963 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9964 version if bit_Slow_SSE4_2 is set.
9965 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9967
d400dcac
AZ
99682013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9969
9970 [BZ #15867]
9971 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9972 trampoline stack frame information.
9973 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9974 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9975 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9976 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9977 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9978 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9979 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9980 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9981 sa_flags value.
9982 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9983 interrupting a syscall and set with option SA_SIGINFO.
9984
42c8fdd8
JM
99852013-08-20 Joseph Myers <joseph@codesourcery.com>
9986
c980f2f4
JM
9987 [BZ #15531]
9988 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9989 argument is infinite.
9990 * math/s_cprojf.c (__cprojf): Likewise.
9991 * math/s_cprojl.c (__cprojl): Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9993 * math/libm-test.inc (cproj_test_data): Add more tests.
9994
0716c4fc
JM
9995 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9996
42c8fdd8
JM
9997 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9998 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9999 size. Use __ffs to determine corresponding shift.
10000
b31469d0
JM
100012013-08-20 Joseph Myers <joseph@codesourcery.com>
10002 Roland McGrath <roland@hack.frob.com>
10003
10004 * Makefile (INSTALL): Remove trailing blank lines from output of
10005 makeinfo.
10006
4e39af6e
AK
100072013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10008
10009 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10010 Align 32 bit compat elf_greg to 8 bytes.
10011
f315524e
AA
100122013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10013
10014 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10015
1326ba1a
SP
100162013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10017
10018 * string/strcoll_l.c (coll_seq): New structure.
10019 (get_next_seq_cached): New function.
10020 (get_next_seq): New function.
10021 (do_compare): New function.
10022 (STRCOLL): Use GNU style definition. Simplify implementation
10023 by using get_next_seq, get_next_seq_cached and do_compare.
10024
91ce4085
FW
100252013-08-16 Florian Weimer <fweimer@redhat.com>
10026
10027 [BZ #14699]
10028 CVE-2013-4237
10029 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10030 member.
10031 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10032 member.
10033 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10034 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10035 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10036 conditional.
10037 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10038 GETDENTS_64BIT_ALIGNED.
10039 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10040 * manual/filesys.texi (Reading/Closing Directory): Document
10041 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10042 strongly.
10043 * manual/conf.texi (Limits for Files): Add portability note to
10044 NAME_MAX, PATH_MAX.
10045 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10046
ca0a6bc4
AS
100472013-08-13 Andreas Schwab <schwab@suse.de>
10048
10049 [BZ #15749]
10050 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10051 of fabs.
10052 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10053 LDBL_MAX_EXP >= 16384]: Add tests for it.
10054
6c1fd795
DM
100552013-08-12 David S. Miller <davem@davemloft.net>
10056
10057 * version.h (RELEASE): Set to "development".
10058 (VERSION): Set to "2.18.90".
10059 * NEWS: Add 2.19 section.
10060
31ad488d
DM
100612013-08-03 David S. Miller <davem@davemloft.net>
10062
10063 * po/ko.po: Update Korean translation from translation project.
10064
db24e684
DM
100652013-08-01 David S. Miller <davem@davemloft.net>
10066
10067 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10068 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10069 Bilka.
10070
f723285b
DM
100712013-07-30 David S. Miller <davem@davemloft.net>
10072
10073 * po/fr.po: Update French translation from translation project.
10074
3cbc52db
DM
100752013-07-28 David S. Miller <davem@davemloft.net>
10076
30bbc0cc
DM
10077 * po/cs.po: Update Czech translation from translation project.
10078
3cbc52db
DM
10079 * po/sv.po: Update Swedish translation from translation project.
10080
d492e6d0
DM
100812013-07-27 David S. Miller <davem@davemloft.net>
10082
f1a7f492
DM
10083 * po/eo.po: Update Esperanto translation from translation project.
10084
90e62a4a
DM
10085 * po/vi.po: Update Vietnamese translation from translation project.
10086
d492e6d0
DM
10087 * po/de.po: Update German translation from translation project.
10088
d4baa62d
DM
100892013-07-26 David S. Miller <davem@davemloft.net>
10090
641aa7b4
DM
10091 * po/bg.po: Update Bulgarian translation from translation project.
10092
d4baa62d
DM
10093 * po/nl.po: Update Dutch translation from translation project.
10094 * po/pl.po: Update Polish translation from translation project.
10095 * po/ru.po: Update Russian translation from translation project.
10096
61a9dcb9
DM
100972013-07-24 David S. Miller <davem@davemloft.net>
10098
10099 * po/libc.pot: Update.
10100
7b1f8b58
AZ
101012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10102
10103 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10104 variable page size.
10105 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10106 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10107 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10108
a8fc7a03
AK
101092013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10110
10111 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10112
e4608715
CD
101132013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10114 Andreas Schwab <schwab@suse.de>
10115 Roland McGrath <roland@hack.frob.com>
10116 Joseph Myers <joseph@codesourcery.com>
10117 Carlos O'Donell <carlos@redhat.com>
10118
10119 [BZ #15755]
10120 * config.h.in: Define HAVE_PT_CHOWN.
10121 * config.make.in (build-pt-chown): New variable.
10122 * configure.in (--enable-pt_chown): New configure option.
10123 * configure: Regenerate.
10124 * login/Makefile: Include Makeconfig. Build pt_chown only if
10125 build-pt-chown is enabled.
10126 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10127 pt_chown to fix pty ownership.
10128 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10129 CLOSE_ALL_FDS.
10130 * manual/install.texi (Configuring and compiling): Mention
10131 --enable-pt_chown. Add @findex for grantpt.
10132 * INSTALL: Regenerate.
10133
da2d62df
DM
101342013-07-20 David S. Miller <davem@davemloft.net>
10135
10136 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10137 difference between 32-bit and 64-bit.
10138
d7e06450
CD
101392013-07-15 Carlos O'Donell <carlos@redhat.com>
10140
10141 [BZ #15711]
10142 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10143 Avoid system header dependency with -ffreestanding.
10144 ($(objpfx)bits/syscall%d): Likewise.
10145
f959cfd7
DM
101462013-07-13 David S. Miller <davem@davemloft.net>
10147
10148 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10149 underflows from atanl/atan2l due to bug 15319.
10150 (casinh_test_data): Likewise.
10151
c61f8513
DM
101522013-07-07 David S. Miller <davem@davemloft.net>
10153
10154 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10155
72c90ed0
JA
101562013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10157
10158 * sysdeps/i386/fpu/libm-test-ulps: Update.
10159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10160
52dfbe13
SP
101612013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10162
10163 * configure.in (--enable-lock-elision): Fix message text.
10164 * INSTALL: Regenerate.
10165 * configure: Regenerate.
10166
3f169543
AZ
101672013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10168
10169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10170
521c6785
AJ
101712013-07-03 Andreas Jaeger <aj@suse.de>
10172
10173 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10174 define.
10175 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10176 (ptrace_peeksiginfo_args): Add.
10177 (__ptrace_peeksiginfo_flags): Add.
10178 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10179 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10181
d2cc15cb
AM
101822013-07-03 Allan McRae <allan@archlinux.org>
10183
10184 * sysdeps/i386/fpu/libm-test-ulps: Update.
10185
3aaeeca7
DM
101862013-07-02 David S. Miller <davem@davemloft.net>
10187
10188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10189
5314ed1a
MT
101902013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10191
10192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10193
67338156
JM
101942013-07-02 Joseph Myers <joseph@codesourcery.com>
10195
10196 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10198
1717da59
AK
101992013-07-02 Andi Kleen <ak@linux.intel.com>
10200
10201 * config.h.in (ENABLE_LOCK_ELISION): Add.
10202 * configure.in (--enable-lock-elision): Add option.
10203 * manual/install.texi: Document --enable lock elision.
10204 * configure: Regenerate
10205 * INSTALL: Regenerate.
10206
1c81621c
L
102072013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10208
10209 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10210 SSE4.2 strcasecmp for libc.a.
10211 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10212
77f01ab5
JM
102132013-07-02 Joseph Myers <joseph@codesourcery.com>
10214
10215 [BZ #13304]
10216 * soft-fp/op-common.h (_FP_FMA): New macro.
10217 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10218 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10219 (_FP_MUL_MEAT_1_imm): ... here.
10220 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10221 (_FP_MUL_MEAT_1_wide): ... here.
10222 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10223 (_FP_MUL_MEAT_1_hard): ... here.
10224 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10225 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10226 (_FP_MUL_MEAT_2_wide): ... here.
10227 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10228 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10229 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10230 (_FP_MUL_MEAT_2_gmp): ... here.
10231 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10232 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10233 (_FP_MUL_MEAT_4_wide): ... here.
10234 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10235 (_FP_MUL_MEAT_4_gmp): ... here.
10236 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10237 (_FP_WFRACBITS_DW_S): Likewise.
10238 (_FP_WFRACXBITS_DW_S): Likewise.
10239 (_FP_HIGHBIT_DW_S): Likewise.
10240 (FP_FMA_S): Likewise.
10241 (_FP_FRAC_HIGH_DW_S): Likewise.
10242 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10243 (_FP_WFRACBITS_DW_D): Likewise.
10244 (_FP_WFRACXBITS_DW_D): Likewise.
10245 (_FP_HIGHBIT_DW_D): Likewise.
10246 (FP_FMA_D): Likewise.
10247 (_FP_FRAC_HIGH_DW_D): Likewise.
10248 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10249 (_FP_WFRACBITS_DW_E): Likewise.
10250 (_FP_WFRACXBITS_DW_E): Likewise.
10251 (_FP_HIGHBIT_DW_E): Likewise.
10252 (FP_FMA_E): Likewise.
10253 (_FP_FRAC_HIGH_DW_E): Likewise.
10254 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10255 (_FP_WFRACBITS_DW_Q): Likewise.
10256 (_FP_WFRACXBITS_DW_Q): Likewise.
10257 (_FP_HIGHBIT_DW_Q): Likewise.
10258 (FP_FMA_Q): Likewise.
10259 (_FP_FRAC_HIGH_DW_Q): Likewise.
10260 * soft-fp/fmasf4.c: New file.
10261 * soft-fp/fmadf4.c: Likewise.
10262 * soft-fp/fmatf4.c: Likewise.
10263
6308fd9a
LD
102642013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10265
10266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10267 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10268 Silvermont.
10269 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10270 macro.
10271 (index_Slow_SSE4_2): Likewise.
10272 (index_Prefer_PMINUB_for_stringop): Likewise.
10273 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10274 bit_Slow_SSE4_2 is set.
10275 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10277
89cd9569
RA
102782013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10279
10280 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10281 rtld_global._dl_hwcap2.
10282 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10283 POWER8.
10284 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10285 POWER8 feature descriptions defined in _dl_hwcap2.
10286 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10287 string handling for POWER8 feature bits.
10288 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10289 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10290 _dl_powerpc_cap_flags.
10291 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10292 * sysdeps/powerpc/rtld-global-offsets.sym
10293 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10294 _dl_hwcap2 in the rtld_global_ro structure.
10295
1ae8bfe0
RA
102962013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10297
10298 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10299 hardware capabilities in support of AT_HWCAP2.
10300 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10301 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10302 GLRO(dl_hwcap2).
10303 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10304 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10305 explicitly the unknown a_type display mechanism is used.
10306 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10307 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10308 struct member.
10309 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10310 to macro prototype for AT_HWCAP2 support.
10311 * sysdeps/i386/dl-procinfo.h: Likewise.
10312 * sysdeps/s390/dl-procinfo.h: Likewise.
10313 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10314 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10315 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10316 return -1 for unknown a_type display fallback.
10317 * sysdeps/sparc/dl-procinfo.h: Likewise.
10318 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10319 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10320
8fbec010
JM
103212013-06-28 Joseph Myers <joseph@codesourcery.com>
10322
10323 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10324 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10325
0432680e
PY
103262013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10327
10328 [BZ #12492]
10329 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10330 mprotect making __stack_prot writable.
10331
ce61a2ad
NF
103322013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10333 Joseph Myers <joseph@codesourcery.com>
10334
10335 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10336 as being properly aligned.
10337
f91f1c0f
MR
103382013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10339
3d0f5d0c
MR
10340 * dlfcn/modstatic5.c: New file.
10341 * dlfcn/tststatic5.c: New file.
10342 * dlfcn/Makefile (tests): Add tststatic5.
10343 (tests-static): Likewise.
10344 (modules-names): Add modstatic5.
10345 (tststatic5-ENV): New variable.
10346 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10347
f91f1c0f
MR
10348 [BZ #15022]
10349 * elf/dl-support.c (_dl_main_map): New variable.
10350 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10351 (_dl_nns, _dl_load_adds): Set to 1.
10352 (_dl_initial_searchlist): Refer to _dl_main_map.
10353 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10354 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10355 call to _dl_get_origin.
10356 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10357 around call_map.
10358 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10359 * dlfcn/modstatic3.c: New file.
10360 * dlfcn/tststatic3.c: New file.
10361 * dlfcn/tststatic4.c: New file.
10362 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10363 (tests-static): Likewise.
10364 (modules-names): Add modstatic3.
10365 (tststatic3-ENV, tststatic4-ENV): New variables.
10366 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10367 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10368
cbe7d24b
JM
103692013-06-26 Joseph Myers <joseph@codesourcery.com>
10370
10371 * configure.in (CC): Require GCC version 4.4 or later.
10372 * configure: Regenerated.
10373 * manual/install.texi (Tools for Compilation): Update GCC version
10374 requirement.
10375 * INSTALL: Regenerated.
10376
11b8a0e1
LD
103772013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10378
10379 [BZ #15674]
bb5bb87c
L
10380 * string/test-memcmp.c (check2): New.
10381 (main): Call check2.
10382
11b8a0e1
LD
10383 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10384
b0037103
MR
103852013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10386
10387 [BZ #15022]
10388 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10389 over to...
10390 (dl_open_worker) [!SHARED]: ... here.
10391
c18c701d
RA
103922013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10393
10394 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10395
1d17fa5f
RH
103962013-06-25 Richard Henderson <rth@redhat.com>
10397
10398 * locale/programs/locarchive.c: Include <libc-internal.h>
10399
8fcb833a
JM
104002013-06-25 Joseph Myers <joseph@codesourcery.com>
10401
10402 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10403 trailing whitespace removed.
10404
17db6e8d
MF
104052013-06-24 Mike Frysinger <vapier@gentoo.org>
10406
10407 [BZ #10283]
17db6e8d
MF
10408 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10409 * locale/programs/locarchive.c: Include libc-mmap.h.
10410 (prepare_address_space): Take two new outputs (the mmap base and len).
10411 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10412 values.
10413 (create_archive): Declare new mmap base and len values for
10414 prepare_address_space, and store the result in ah.
10415 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10416 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10417 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10418 Declare new mmap base and len values for
10419 prepare_address_space, and store the result in new_ah.
10420 (open_archive): Declare new mmap base and len values for
10421 prepare_address_space, and store the result in ah.
10422 (close_archive): If ah->mmap_base is not NULL, use that and
10423 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10424 * sysdeps/generic/libc-mmap.h: New file.
10425
d605071e
MF
104262013-06-24 Mike Frysinger <vapier@gentoo.org>
10427
10428 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10429 (ALIGN_UP): Likewise.
10430 (PTR_ALIGN_DOWN): Likewise.
10431 (PTR_ALIGN_UP): Likewise.
10432
2f063a6e
RA
104332013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10434
10435 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10436 entry mapped to PPC_PLATFORM_POWER8.
10437 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10438 POWER8.
10439 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10440 (_dl_string_platform): Add case for exporting platform position for
10441 POWER8.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10443 search path to sysdeps/powerpc/powerpc32/power8 directory.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10445 search path to sysdeps/powerpc/powerpc64/power8 directory.
10446 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10447 power7 directories.
10448 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10449 power7 directories.
10450
a31ee4b3
SP
104512013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
a74ca98f
SP
10453 * INSTALL: Regenerate.
10454
a31ee4b3
SP
10455 * nscd/connections.c (nscd_init): Fix comment.
10456
695c378f
JM
104572013-06-22 Joseph Myers <joseph@codesourcery.com>
10458
d8412221
JM
10459 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10460
695c378f
JM
10461 [BZ #15667]
10462 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10463 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10464
d1d54715
MR
104652013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10466
10467 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10468 DL_DST_REQ_STATIC.
10469 (DL_DST_REQ_STATIC): Remove macro.
10470
8fdda7af
JM
104712013-06-21 Joseph Myers <joseph@codesourcery.com>
10472
10473 [BZ #7006]
10474 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10475 with a shift of 0 bits.
10476
f3bc5e5a
MR
104772013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10478
10479 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10480 $(tststatic-ENV).
10481
be09e8c9
KK
104822013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10483
10484 [BZ #15655]
10485 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10486
85c2e611
AZ
104872013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10488
10489 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10490 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10491 accepts -fno-tree-loop-distribute-patterns.
10492 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10493 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10494 recursive call.
10495 * string/memset.c (memset): Likewise.
10496 * string/test-memmove.c (simple_memmove): Disable loop transformation
10497 to library calls.
10498 * string/test-memset.c (simple_memset): Likewise.
10499 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10500 * benchtests/bench-memset.c (simple_memset): Likewise.
10501 * configure: Regenerated.
10502
c91e0825
JM
105032013-06-20 Joseph Myers <joseph@codesourcery.com>
10504
b8c792af
JM
10505 * math/test-misc.c (main): Ignore fesetround failure when failures
10506 of subsequent rounding tests would be ignored.
10507
c91e0825
JM
10508 [BZ #15654]
10509 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10510 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10511 * math/fegetenv.c (__fegetenv): Return 0.
10512 * math/fegetexcept.c (fegetexcept): Return 0.
10513 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10514 FE_TONEAREST.
10515 * math/feholdexcpt.c (feholdexcept): Return 0.
10516 * math/fesetenv.c (__fesetenv): Return 0.
10517 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10518 argument FE_TONEAREST.
10519 * math/feupdateenv.c (__feupdateenv): Return 0.
10520 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10521
bfcacbde
RM
105222013-06-18 Roland McGrath <roland@hack.frob.com>
10523
10524 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10525 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10526 ($(objpfx)rtld-%.os rules): Use them.
10527
e55a9b25
AZ
105282013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10529
10530 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10531 fields.
10532
346d65b3
RM
105332013-06-17 Roland McGrath <roland@hack.frob.com>
10534
12086fb4
RM
10535 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10536 length of target pattern, then descending length of dependency pattern.
10537 * configure.in (AWK): Require gawk 3.1.2 or newer.
10538 * manual/install.texi (Tools for Compilation): Say that we do.
10539 * configure: Regenerated.
10540
346d65b3
RM
10541 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10542 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10543 * scripts/sysd-rules.awk: ... this new script.
10544 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10545 than a glob-style pattern.
10546
1a846317
JM
105472013-06-17 Joseph Myers <joseph@codesourcery.com>
10548
10549 * math/test-misc.c (main): Do not treat incorrectly rounded
10550 conversions as failure unless ROUNDING_TESTS passes.
10551
8fc75e6f
JM
105522013-06-15 Joseph Myers <joseph@codesourcery.com>
10553
3711a167
JM
10554 [BZ #15631]
10555 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10556 restore exception state around main square root computation, then
10557 check for inexactness explicitly.
10558
8fc75e6f
JM
10559 * math/libm-test.inc (fma_test_data): Add another test.
10560
61dd6208
SP
105612013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10562
adf23d2c
SP
10563 * manual/threads.texi (Non-POSIX Extensions): New document
10564 node. Document pthread_getattr_default_np and
10565 pthread_setattr_default_np.
10566
61dd6208
SP
10567 * Versions.def (libpthread): Add GLIBC_2.18.
10568 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10570 Likewise.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10572 Likewise.
10573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10574 Likewise.
10575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10576 Likewise.
10577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10578 Likewise.
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10580 Likewise.
10581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10582 Likewise.
10583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10584 Likewise.
10585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10586 Likewise.
10587
d086fc7b
LD
105882013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10589
10590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10591 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10592
747ef469
SP
105932013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10594 H.J. Lu <hjl.tools@gmail.com>
10595
10596 [BZ #15627]
10597 * sysdeps/x86_64/rtld-memset.c: Remove file.
10598 * sysdeps/x86_64/rtld-memset.S: New file.
10599
1b2feed2
JM
106002013-06-14 Joseph Myers <joseph@codesourcery.com>
10601
10602 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10603 (test_in_one_mode): Take arguments for whether the rounding mode
10604 is supported for each floating-point type.
10605 (do_test): Pass new arguments to test_in_one_mode using
10606 ROUNDING_TESTS.
10607
a58ad3f8
RM
106082013-06-13 Roland McGrath <roland@hack.frob.com>
10609
10610 * posix/tst-waitid.c (do_test): Distinguish different instances of
10611 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10612 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10613 before entering the kernel for waitpid.
10614
c204ab28
SP
106152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10616
10617 * NEWS: Fix note on clock function precision. Text by Roland
10618 McGrath.
10619
f4a29fba
RM
106202013-06-13 Roland McGrath <roland@hack.frob.com>
10621
10622 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10623 it into place only when and if the sanity check passes.
10624
1f24b9ad
JM
106252013-06-13 Joseph Myers <joseph@codesourcery.com>
10626
10627 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10628 output for whether conversion result is exact. Take argument
10629 indicating whether type is IBM long double.
10630 (round_for_all): Change need_exact field to ibm_ld.
10631 * stdlib/tst-strtod-round.c (struct exactness): New type.
10632 (struct test): Change bool ld_ok field to struct exactness exact.
10633 (TEST): Update all definitions for change to field.
10634 (tests): Regenerate array contents.
10635 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10636 field value. Check for IBM long double here.
10637 (do_test): Update calls to test_in_one_mode.
10638
58206c68
SP
106392013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10640
10641 [BZ #12515]
10642 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10643 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10644
2d6f4c5b 106452013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10646
10647 [BZ #15605]
10648 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10649 generated by the compiler on loop optimizations.
10650 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10651 general definitions.
10652
94f2c076
JM
106532013-06-12 Joseph Myers <joseph@codesourcery.com>
10654
10655 * math/bug-nextafter.c: Include <math-tests.h>.
10656 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10657 the relevant type.
10658 * math/bug-nexttoward.c: Include <math-tests.h>.
10659 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10660 the relevant type.
10661 * math/test-misc.c: Include <math-tests.h>.
10662 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10663 the relevant type.
10664
e0e50a0a
AJ
106652013-06-12 Andreas Jaeger <aj@suse.de>
10666
10667 * po/ia.po: Update Interlingua translation from translation
10668 project.
10669
25061094
SP
106702013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10671
10672 * include/fenv.h: Include stdbool.h.
10673 (struct rm_ctx): New structure.
10674 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10675 Define macro.
10676 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10677 (SET_RESTORE_ROUNDF): Likewise.
10678 (SET_RESTORE_ROUNDL): Likewise.
10679 (SET_RESTORE_ROUND_NOEX): Likewise.
10680 (SET_RESTORE_ROUND_NOEXF): Likewise.
10681 (SET_RESTORE_ROUND_NOEXL): Likewise.
10682 (SET_RESTORE_ROUND_53BIT): Likewise.
10683 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10684 (libc_feresetround_noexf_ctx): Likewise.
10685 (libc_feresetround_noexl_ctx): Likewise.
10686 (libc_feholdsetround_53bit_ctx): Likewise.
10687 (libc_feresetround_53bit_ctx): Likewise.
10688 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10689 (libc_feholdexcept_setround_sse_ctx): New function.
10690 (libc_fesetenv_sse_ctx): Likewise.
10691 (libc_feupdateenv_sse_ctx): Likewise.
10692 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10693 (libc_feholdexcept_setround_387_ctx): Likewise.
10694 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10695 (libc_feholdsetround_387_prec_ctx): Likewise.
10696 (libc_feholdsetround_387_ctx): Likewise.
10697 (libc_feholdsetround_387_53bit_ctx): Likewise.
10698 (libc_feholdsetround_sse_ctx): Likewise.
10699 (libc_feresetround_sse_ctx): Likewise.
10700 (libc_feresetround_387_ctx): Likewise.
10701 (libc_feupdateenv_387_ctx): Likewise.
10702 (libc_feholdexcept_setroundf_ctx): Define macro.
10703 (libc_fesetenvf_ctx): Likewise.
10704 (libc_feupdateenvf_ctx): Likewise.
10705 (libc_feholdsetroundf_ctx): Likewise.
10706 (libc_feresetroundf_ctx): Likewise.
10707 (libc_feholdexcept_setround_ctx): Likewise.
10708 (libc_fesetenv_ctx): Likewise.
10709 (libc_feupdateenv_ctx): Likewise.
10710 (libc_feholdsetround_ctx): Likewise.
10711 (libc_feresetround_ctx): Likewise.
10712 (libc_feholdexcept_setroundl_ctx): Likewise.
10713 (libc_feupdateenvl_ctx): Likewise.
10714 (libc_feholdsetroundl_ctx): Likewise.
10715 (libc_feresetroundl_ctx): Likewise.
10716 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10717 (libc_feresetround_53bit_ctx): Likewise.
10718
59b30555
SP
107192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10720
10721 * locale/iso-639.def: Convert to UTF-8.
10722
f1d73d30
JM
107232013-06-11 Joseph Myers <joseph@codesourcery.com>
10724
10725 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10726 (EXCEPTION_TESTS_double): Likewise.
10727 (EXCEPTION_TESTS_long_double): Likewise.
10728 (EXCEPTION_TESTS): Likewise.
10729 * math/libm-test.inc (test_exceptions): Only test exceptions if
10730 EXCEPTION_TESTS (FLOAT).
10731
94aca5e7
SP
107322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10733
10734 * benchtests/Makefile (string-bench): Add strcpy_chk and
10735 stpcpy_chk.
10736 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10737 * benchtests/bench-stpcpy_chk.c: New file.
10738 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10739 * benchtests/bench-strcpy_chk.c: New file.
10740 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10741 code.
10742 (do_test): Likewise.
10743
fac0c5f2
RA
107442013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10745
10746 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10747 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10748 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10749 with tabs where appropriate.
10750 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10751 dl-procinfo.h.
10752 [PPC_PLATFORM_PPC440]: Likewise.
10753 [PPC_PLATFORM_PPC464]: Likewise.
10754 [PPC_PLATFORM_PPC476]: Likewise.
10755 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10756 ppc464, and ppc476 platform strings merging from ports/
10757 dl-procinfo.h.
10758
f22bc486
AS
107592013-06-11 Andreas Schwab <schwab@suse.de>
10760
10761 [BZ #14991]
10762 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10763 (from_ucs4_idx): Regenerate.
10764 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10765 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10766 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10767 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10768 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10769 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10770 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10771 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10772 from FROM_LOOP and TO_LOOP specific macros.
10773 (BODY): Handle combining characters.
10774 * iconvdata/BIG5HKSCS.irreversible: Update.
10775 * iconvdata/BIG5HKSCS.precomposed: New file.
10776 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10777 characters.
10778 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10779
c1f75dc3
SP
107802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10781
4eacded2
SP
10782 * include/sys/time.h: Fix indentation and add copyright header.
10783
fec799f8
SP
10784 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10785 (do_test): Likewise.
10786 * string/test-memchr.c (do_one_test): Likewise.
10787 (do_test): Likewise.
10788 * string/test-memcmp.c (do_one_test): Likewise.
10789 (do_test): Likewise.
10790 * string/test-memcpy.c (do_one_test): Likewise.
10791 (do_test): Likewise.
10792 * string/test-memmem.c (do_one_test): Likewise.
10793 (do_test): Likewise.
10794 (do_random_tests): Likewise.
10795 * string/test-memmove.c (do_one_test): Likewise.
10796 (do_test): Likewise.
10797 * string/test-memset.c (do_one_test): Likewise.
10798 (do_test): Likewise.
10799 * string/test-rawmemchr.c (do_one_test): Likewise.
10800 (do_test): Likewise.
10801 * string/test-strcasecmp.c (do_one_test): Likewise.
10802 (do_test): Likewise.
10803 * string/test-strcasestr.c (do_one_test): Likewise.
10804 (do_test): Likewise.
10805 * string/test-strcat.c (do_one_test): Likewise.
10806 (do_test): Likewise.
10807 * string/test-strchr.c (do_one_test): Likewise.
10808 (do_test): Likewise.
10809 * string/test-strcmp.c (do_one_test): Likewise.
10810 (do_test): Likewise.
10811 * string/test-strcpy.c (do_one_test): Likewise.
10812 (do_test): Likewise.
10813 * string/test-string.h: Likewise.
10814 (test_init): Likewise.
10815 * string/test-strlen.c (do_one_test): Likewise.
10816 (do_test): Likewise.
10817 * string/test-strncasecmp.c (do_one_test): Likewise.
10818 (do_test): Likewise.
10819 * string/test-strncat.c (do_one_test): Likewise.
10820 (do_test): Likewise.
10821 * string/test-strncmp.c (do_one_test): Likewise.
10822 (do_test_limit): Likewise.
10823 (do_test): Likewise.
10824 * string/test-strncpy.c (do_one_test): Likewise.
10825 (do_test): Likewise.
10826 * string/test-strnlen.c (do_one_test): Likewise.
10827 (do_test): Likewise.
10828 * string/test-strpbrk.c (do_one_test): Likewise.
10829 (do_test): Likewise.
10830 * string/test-strrchr.c (do_one_test): Likewise.
10831 (do_test): Likewise.
10832 * string/test-strspn.c (do_one_test): Likewise.
10833 (do_test): Likewise.
10834 * string/test-strstr.c (do_one_test): Likewise.
10835 (do_test): Likewise.
10836
97020474
SP
10837 * benchtests/Makefile (string-bench): Add string benchmarks.
10838 * benchtests/bench-bcopy-ifunc.c: New file.
10839 * benchtests/bench-bcopy.c: New file.
10840 * benchtests/bench-bzero-ifunc.c: New file.
10841 * benchtests/bench-bzero.c: New file.
10842 * benchtests/bench-memccpy-ifunc.c: New file.
10843 * benchtests/bench-memccpy.c: New file.
10844 * benchtests/bench-memchr-ifunc.c: New file.
10845 * benchtests/bench-memchr.c: New file.
10846 * benchtests/bench-memcmp-ifunc.c: New file.
10847 * benchtests/bench-memcmp.c: New file.
10848 * benchtests/bench-memmem-ifunc.c: New file.
10849 * benchtests/bench-memmem.c: New file.
10850 * benchtests/bench-memmove-ifunc.c: New file.
10851 * benchtests/bench-memmove.c: New file.
10852 * benchtests/bench-mempcpy-ifunc.c: New file.
10853 * benchtests/bench-mempcpy.c: New file.
10854 * benchtests/bench-memset-ifunc.c: New file.
10855 * benchtests/bench-memset.c: New file.
10856 * benchtests/bench-rawmemchr-ifunc.c: New file.
10857 * benchtests/bench-rawmemchr.c: New file.
10858 * benchtests/bench-stpcpy-ifunc.c: New file.
10859 * benchtests/bench-stpcpy.c: New file.
10860 * benchtests/bench-stpncpy-ifunc.c: New file.
10861 * benchtests/bench-stpncpy.c: New file.
10862 * benchtests/bench-strcasecmp-ifunc.c: New file.
10863 * benchtests/bench-strcasecmp.c: New file.
10864 * benchtests/bench-strcasestr-ifunc.c: New file.
10865 * benchtests/bench-strcasestr.c: New file.
10866 * benchtests/bench-strcat-ifunc.c: New file.
10867 * benchtests/bench-strcat.c: New file.
10868 * benchtests/bench-strchr-ifunc.c: New file.
10869 * benchtests/bench-strchr.c: New file.
10870 * benchtests/bench-strchrnul-ifunc.c: New file.
10871 * benchtests/bench-strchrnul.c: New file.
10872 * benchtests/bench-strcmp-ifunc.c: New file.
10873 * benchtests/bench-strcmp.c: New file.
10874 * benchtests/bench-strcpy-ifunc.c: New file.
10875 * benchtests/bench-strcpy.c: New file.
10876 * benchtests/bench-strcspn-ifunc.c: New file.
10877 * benchtests/bench-strcspn.c: New file.
10878 * benchtests/bench-strlen-ifunc.c: New file.
10879 * benchtests/bench-strlen.c: New file.
10880 * benchtests/bench-strncasecmp-ifunc.c: New file.
10881 * benchtests/bench-strncasecmp.c: New file.
10882 * benchtests/bench-strncat-ifunc.c: New file.
10883 * benchtests/bench-strncat.c: New file.
10884 * benchtests/bench-strncmp-ifunc.c: New file.
10885 * benchtests/bench-strncmp.c: New file.
10886 * benchtests/bench-strncpy-ifunc.c: New file.
10887 * benchtests/bench-strncpy.c: New file.
10888 * benchtests/bench-strnlen-ifunc.c: New file.
10889 * benchtests/bench-strnlen.c: New file.
10890 * benchtests/bench-strpbrk-ifunc.c: New file.
10891 * benchtests/bench-strpbrk.c: New file.
10892 * benchtests/bench-strrchr-ifunc.c: New file.
10893 * benchtests/bench-strrchr.c: New file.
10894 * benchtests/bench-strspn-ifunc.c: New file.
10895 * benchtests/bench-strspn.c: New file.
10896 * benchtests/bench-strstr-ifunc.c: New file.
10897 * benchtests/bench-strstr.c: New file.
10898
c1f75dc3
SP
10899 * benchtests/Makefile: Disable parallel execution of targets.
10900 (string-bench): Add memcpy.
10901 (benchset): New variable to store a list of benchmark sets.
10902 (bench-func): Renamed from bench.
10903 (bench-set): New target.
10904 (bench): Depend on bench-func and bench-set.
10905 * benchtests/README: Add section on benchmark sets.
10906 * benchtests/bench-memcpy-ifunc.c: New file.
10907 * benchtests/bench-memcpy.c: New file.
10908 * benchtests/bench-string.h: New file.
10909
50fd745b
AS
109102013-06-11 Andreas Schwab <schwab@suse.de>
10911
10912 [BZ #15577]
10913 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10914 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10915 values in the triple.
10916 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10917 terminator in the group key.
10918
3ee7e9fe
AJ
109192013-06-11 Andreas Jaeger <aj@suse.de>
10920
10921 * po/zh_TW.po: Update Chinese (traditional) translation from
10922 translation project.
10923
89fb6835
SP
109242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10925
10926 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10927 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10928 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10929 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10930 (clock_getcpuclockid): Likewise.
10931 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10932 Add weak_alias and libc_hidden_def.
10933 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10934 * rt/clock_gettime.c (clock_gettime): Rename to
10935 __clock_gettime. Add weak_alias and libc_hidden_def.
10936 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10937 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10938 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10939 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10940 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10941 Likewise.
10942 * rt/clock_settime.c (clock_settime): Rename to
10943 __clock_settime. Add weak_alias and libc_hidden_def.
10944 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10945
0efa6f8b
JM
109462013-06-10 Joseph Myers <joseph@codesourcery.com>
10947
b8c61b4b
JM
10948 * mach/err_boot.sub: Remove trailing whitespace.
10949 * mach/err_ipc.sub: Likewise.
10950 * mach/err_mach.sub: Likewise.
10951
0efa6f8b
JM
10952 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10953 (ROUNDING_TESTS_double): Likewise.
10954 (ROUNDING_TESTS_long_double): Likewise.
10955 (ROUNDING_TESTS): Likewise.
10956 * math/libm-test.inc: Include <math-tests.h>.
10957 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10958 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10959 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10960 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10961
50b818bf
SP
109622013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
10964 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10965 of assigning.
10966
60d2f8f3
JM
109672013-06-08 Joseph Myers <joseph@codesourcery.com>
10968
4902d2c3
JM
10969 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10970 otherwise empty TRANS lines.
10971 * sysdeps/gnu/errlist.c: Regenerated.
10972
60d2f8f3
JM
10973 * catgets/gencat.c (error_print): Use (void) in function
10974 definition.
10975 * crypt/crypt_util.c (__init_des): Likewise.
10976 * crypt/speeds.c (Stop): Likewise.
10977 (main): Likewise.
10978 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10979 * inet/ruserpass.c (token): Likewise.
10980 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10981 * intl/localealias.c (extend_alias_table): Likewise.
10982 * intl/plural-exp.c (init_germanic_plural): Likewise.
10983 * libio/fcloseall.c (__fcloseall): Likewise.
10984 * libio/genops.c (_IO_flush_all): Likewise.
10985 (_IO_flush_all_linebuffered): Likewise.
10986 (_IO_cleanup): Likewise.
10987 (_IO_iter_begin): Likewise.
10988 (_IO_iter_end): Likewise.
10989 (_IO_list_lock): Likewise.
10990 (_IO_list_unlock): Likewise.
10991 (_IO_list_resetlock): Likewise.
10992 * libio/getchar.c (getchar): Likewise.
10993 * libio/getchar_u.c (getchar_unlocked): Likewise.
10994 * libio/getwchar.c (getwchar): Likewise.
10995 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10996 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10997 * login/getpt.c (__getpt): Likewise.
10998 * login/tst-utmp.c (main): Likewise.
10999 * malloc/hooks.c (__malloc_check_init): Likewise.
11000 * malloc/malloc.c (__malloc_stats): Likewise.
11001 * malloc/mtrace.c (tr_break): Likewise.
11002 (mtrace): Likewise.
11003 (muntrace): Likewise.
11004 * misc/fstab.c (endfsent): Likewise.
11005 * misc/getclktck.c (__getclktck): Likewise.
11006 * misc/getdtsz.c (__getdtablesize): Likewise.
11007 * misc/gethostid.c (gethostid): Likewise.
11008 * misc/getpagesize.c (__getpagesize): Likewise.
11009 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11010 (__get_nprocs): Likewise.
11011 (__get_phys_pages): Likewise.
11012 (__get_avphys_pages): Likewise.
11013 * misc/getttyent.c (getttyent): Likewise.
11014 (setttyent): Likewise.
11015 (endttyent): Likewise.
11016 * misc/getusershell.c (getusershell): Likewise.
11017 (endusershell): Likewise.
11018 (setusershell): Likewise.
11019 (initshells): Likewise.
11020 * misc/hsearch.c (__hdestroy): Likewise.
11021 * misc/sync.c (sync): Likewise.
11022 * misc/syslog.c (closelog_internal): Likewise.
11023 (closelog): Likewise.
11024 * misc/ttyslot.c (ttyslot): Likewise.
11025 * misc/vhangup.c (vhangup): Likewise.
11026 * posix/fork.c (__fork): Likewise.
11027 * posix/getegid.c (__getegid): Likewise.
11028 * posix/geteuid.c (__geteuid): Likewise.
11029 * posix/getgid.c (__getgid): Likewise.
11030 * posix/getpid.c (__getpid): Likewise.
11031 * posix/getppid.c (__getppid): Likewise.
11032 * posix/getuid.c (__getuid): Likewise.
11033 * posix/pause.c (pause): Likewise.
11034 * posix/setpgrp.c (setpgrp): Likewise.
11035 * posix/setsid.c (__setsid): Likewise.
11036 * posix/test-vfork.c (noop): Likewise.
11037 * resolv/gethnamaddr.c (_endhtent): Likewise.
11038 (_gethtent): Likewise.
11039 (ht_endhostent): Likewise.
11040 (gethostent): Likewise.
11041 (dns_service): Likewise.
11042 * stdlib/drand48.c (drand48): Likewise.
11043 * stdlib/lrand48.c (lrand48): Likewise.
11044 * stdlib/mrand48.c (mrand48): Likewise.
11045 * stdlib/rand.c (rand): Likewise.
11046 * stdlib/random.c (__random): Likewise.
11047 * stdlib/setenv.c (clearenv): Likewise.
11048 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11049 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11050 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11051 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11052 (__get_nprocs): Likewise.
11053 (__get_phys_pages): Likewise.
11054 (__get_avphys_pages): Likewise.
11055 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11056 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11057 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11058 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11059 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11060 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11061 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11062 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11063 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11064 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11065 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11066 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11067 * sysdeps/posix/clock.c (clock): Likewise.
11068 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11069 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11070 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11071 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11072 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11074 (__get_nprocs_conf): Likewise.
11075 (__get_phys_pages): Likewise.
11076 (__get_avphys_pages): Likewise.
11077 * time/clock.c (clock): Likewise.
11078 * time/tzset.c (__tzname_max): Likewise.
11079
2e09a79a
JM
110802013-06-07 Joseph Myers <joseph@codesourcery.com>
11081
11082 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11083 (__bswap_32): Do not use "register".
11084 * crypt/crypt.c (_ufc_doit_r): Likewise.
11085 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11086 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11087 * gmon/gmon.c (__monstartup): Likewise.
11088 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11089 * hurd/hurdmalloc.c (more_memory): Likewise.
11090 (malloc): Likewise.
11091 (free): Likewise.
11092 (realloc): Likewise.
11093 (malloc_fork_prepare): Likewise.
11094 (malloc_fork_parent): Likewise.
11095 (malloc_fork_child): Likewise.
11096 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11097 (_svcauth_des): Likewise.
11098 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11099 * inet/inet_net.c (inet_network): Likewise.
11100 * inet/inet_netof.c (inet_netof): Likewise.
11101 * inet/rcmd.c (__validuser2_sa): Likewise.
11102 * io/fts.c (fts_open): Likewise.
11103 (fts_load): Likewise.
11104 (fts_close): Likewise.
11105 (fts_read): Likewise.
11106 (fts_children): Likewise.
11107 (fts_build): Likewise.
11108 (fts_stat): Likewise.
11109 (fts_sort): Likewise.
11110 (fts_alloc): Likewise.
11111 (fts_lfree): Likewise.
11112 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11113 (_IO_file_xsgetn): Likewise.
11114 (_IO_file_xsgetn_mmap): Likewise.
11115 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11116 (_IO_cookie_write): Likewise.
11117 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11118 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11119 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11120 * malloc/obstack.c (_obstack_begin): Likewise.
11121 (_obstack_begin_1): Likewise.
11122 (_obstack_newchunk): Likewise.
11123 (_obstack_allocated_p): Likewise.
11124 (obstack_free): Likewise.
11125 (_obstack_memory_used): Likewise.
11126 * misc/getttyent.c (getttynam): Likewise.
11127 (getttyent): Likewise.
11128 (skip): Likewise.
11129 (value): Likewise.
11130 * misc/getusershell.c (initshells): Likewise.
11131 * misc/syslog.c (__vsyslog_chk): Likewise.
11132 * misc/ttyslot.c (ttyslot): Likewise.
11133 * nis/nis_hash.c (__nis_hash): Likewise.
11134 * posix/fnmatch_loop.c (FCT): Likewise.
11135 * posix/getconf.c (print_all): Likewise.
11136 (main): Likewise.
11137 * posix/getopt.c (exchange): Likewise.
11138 * posix/glob.c (globfree): Likewise.
11139 (prefix_array): Likewise.
11140 (__glob_pattern_type): Likewise.
11141 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11142 (NS_GET32): Likewise.
11143 (NS_PUT16): Likewise.
11144 (NS_PUT32): Likewise.
11145 * resolv/gethnamaddr.c (getanswer): Likewise.
11146 (gethostbyname2): Likewise.
11147 (gethostbyaddr): Likewise.
11148 (_gethtent): Likewise.
11149 (_gethtbyname2): Likewise.
11150 (_gethtbyaddr): Likewise.
11151 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11152 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11153 * resolv/res_init.c (__res_vinit): Likewise.
11154 (net_mask): Likewise.
11155 * resolv/res_mkquery.c (outchar): Likewise.
11156 (PRINT): Likewise.
11157 * stdio-common/printf_fp.c (outchar): Likewise.
11158 (PRINT): Likewise.
11159 * stdio-common/printf_fphex.c (outchar): Likewise.
11160 (PRINT): Likewise.
11161 * stdio-common/printf_size.c (outchar): Likewise.
11162 (PRINT): Likewise.
11163 * stdio-common/test_rdwr.c (main): Likewise.
11164 * stdio-common/tfformat.c (matches): Likewise.
11165 * stdio-common/vfprintf.c (outchar): Likewise.
11166 (printf_unknown): Likewise.
11167 (buffered_vfprintf): Likewise.
11168 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11169 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11170 (ReadFile): Likewise.
11171 * stdlib/qsort.c (SWAP): Likewise.
11172 (_quicksort): Likewise.
11173 * stdlib/setenv.c (__add_to_environ): Likewise.
11174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11175 * stdlib/strtol_l.c (__strtol_l): Likewise.
11176 * stdlib/tst-strtod.c (main): Likewise.
11177 * stdlib/tst-strtol.c (main): Likewise.
11178 * stdlib/tst-strtoll.c (main): Likewise.
11179 * string/bits/string2.h (__strcmp_cc): Likewise.
11180 (__strcmp_cg): Likewise.
11181 (__strcspn_c1): Likewise.
11182 (__strcspn_c2): Likewise.
11183 (__strcspn_c3): Likewise.
11184 (__strspn_c1): Likewise.
11185 (__strspn_c2): Likewise.
11186 (__strspn_c3): Likewise.
11187 (__strsep_1c): Likewise.
11188 (__strsep_2c): Likewise.
11189 (__strsep_3c): Likewise.
11190 * string/memccpy.c (__memccpy): Likewise.
11191 * string/stpcpy.c (__stpcpy): Likewise.
11192 * string/strcmp.c (strcmp): Likewise.
11193 * string/strrchr.c (strrchr): Likewise.
11194 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11195 Likewise.
11196 * sysdeps/mach/hurd/getcwd.c
11197 (_hurd_canonicalize_directory_name_internal): Likewise.
11198 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11199 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11200 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11201 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11202 Likewise, in both definitions.
11203 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11204 definitions.
11205 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11206 64] (__bswap_64): Likewise.
11207 * time/test_time.c (main): Likewise.
11208 * time/tzfile.c (__tzfile_read): Likewise.
11209 (__tzfile_compute): Likewise.
11210 * time/tzset.c (__tzset_parse_tz): Likewise.
11211 (tzset_internal): Likewise.
11212 (compute_change): Likewise.
11213 * wcsmbs/wcscat.c (__wcscat): Likewise.
11214 * wcsmbs/wcschr.c (wcschr): Likewise.
11215 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11216 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11217 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11218 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11219 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11220 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11221 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11222 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11223 * wcsmbs/wmemset.c (wmemset): Likewise.
11224
9e54314b
JM
112252013-06-06 Joseph Myers <joseph@codesourcery.com>
11226
11227 * scripts/config.guess: Update to version 2013-05-16.
11228 * scripts/config.sub: Update to version 2013-04-24.
11229 * scripts/install-sh: Update to version 2011-11-20.07.
11230 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11231 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11232
350635a5
OB
112332013-06-06 Ondřej Bílka <neleai@seznam.cz>
11234
11235 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11236 * elf/sln.c: Likewise.
11237 * hurd/hurd/ioctl.h: Likewise.
11238 * hurd/hurdmalloc.c: Likewise.
11239 * hurd/xattr.c: Likewise.
11240 * include/shlib-compat.h: Likewise.
11241 * inet/ruserpass.c: Likewise.
11242 * libio/iofgets_u.c: Likewise.
11243 * libio/iofgetws_u.c: Likewise.
11244 * locale/programs/ld-identification.c: Likewise.
11245 * locale/programs/ld-time.c: Likewise.
11246 * mach/msg-destroy.c: Likewise.
11247 * nss/nss_files/files-netgrp.c: Likewise.
11248 * resolv/res_data.c: Likewise.
11249 * soft-fp/op-1.h: Likewise.
11250 * soft-fp/op-2.h: Likewise.
11251 * soft-fp/op-4.h: Likewise.
11252 * soft-fp/op-common.h: Likewise.
11253 * stdio-common/printf_fphex.c: Likewise.
11254 * stdlib/strtod_l.c: Likewise.
11255 * sunrpc/rpc/clnt.h: Likewise.
11256 * sysdeps/generic/framestate.c: Likewise.
11257 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11258 * sysdeps/i386/bsd-setjmp.S: Likewise.
11259 * sysdeps/i386/__longjmp.S: Likewise.
11260 * sysdeps/i386/setjmp.S: Likewise.
11261 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11262 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11279 * sysdeps/ieee754/support.c: Likewise.
11280 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11281 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11282 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11283 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11284 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11285 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11286 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11287 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11288 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11289 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11290 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11291 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11292 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11293 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11294 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11295 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11296 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11298
44a988af
OB
112992013-06-05 Ondřej Bílka <neleai@seznam.cz>
11300
25506f09 11301 * posix/transbug.c: Remove executable mode.
44a988af 11302
9c84384c
JM
113032013-06-05 Joseph Myers <joseph@codesourcery.com>
11304
11305 * crypt/speeds.c: Remove trailing whitespace.
11306 * dlfcn/default.c: Likewise.
11307 * elf/ifuncdep2.c: Likewise.
11308 * elf/ifuncmain1.c: Likewise.
11309 * elf/ifuncmain1vis.c: Likewise.
11310 * elf/testobj.h: Likewise.
11311 * elf/tst-stackguard1.c: Likewise.
11312 * gmon/sys/gmon.h: Likewise.
11313 * hurd/hurdmsg.c: Likewise.
11314 * hurd/new-fd.c: Likewise.
11315 * hurd/ports-get.c: Likewise.
11316 * iconvdata/ibm1008_420.c: Likewise.
11317 * inet/tst-getni1.c: Likewise.
11318 * inet/tst-getni2.c: Likewise.
11319 * libio/ioungetc.c: Likewise.
11320 * libio/wfiledoalloc.c: Likewise.
11321 * manual/libm-err-tab.pl: Likewise.
11322 * math/w_dremf.c: Likewise.
11323 * misc/ftruncate.c: Likewise.
11324 * posix/bug-glob2.c: Likewise.
11325 * posix/tst-pcre.c: Likewise.
11326 * posix/wait4.c: Likewise.
11327 * resolv/README: Likewise.
11328 * resolv/res_debug.h: Likewise.
11329 * resolv/tst-inet_ntop.c: Likewise.
11330 * setjmp/bug269-setjmp.c: Likewise.
11331 * soft-fp/extended.h: Likewise.
11332 * soft-fp/op-1.h: Likewise.
11333 * soft-fp/op-2.h: Likewise.
11334 * soft-fp/op-4.h: Likewise.
11335 * soft-fp/op-8.h: Likewise.
11336 * soft-fp/testit.c: Likewise.
11337 * stdio-common/bug16.c: Likewise.
11338 * stdlib/random.c: Likewise.
11339 * sunrpc/rpcsvc/rquota.x: Likewise.
11340 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11341 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11343 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11344 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11345 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11346 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11347 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11348 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11349 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11350 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11369 * sysdeps/ieee754/s_lib_version.c: Likewise.
11370 * sysdeps/mach/hurd/check_fds.c: Likewise.
11371 * sysdeps/mach/hurd/getsockname.c: Likewise.
11372 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11373 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11374 * sysdeps/powerpc/bits/link.h: Likewise.
11375 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11376 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11377 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11378 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11379 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11380 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11381 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11382 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11383 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11384 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11385 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11386 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11387 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11388 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11389 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11390 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11391 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11392 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11394 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11396 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11397 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11399 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11401 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11402 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11403 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11404 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11405 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11407 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11409 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11410 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11413 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11415 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11416 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11417 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11422 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11423 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11424 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11425 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11427 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11429 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11430 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11431 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11432 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11433 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11434 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11435 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11438 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11439 * sysdeps/powerpc/sysdep.h: Likewise.
11440 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11441 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11442 * sysdeps/sh/dl-trampoline.S: Likewise.
11443 * sysdeps/sh/memset.S: Likewise.
11444 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11445 * sysdeps/sh/strlen.S: Likewise.
11446 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11447 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11448 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11449 * sysdeps/sparc/sparc32/rem.S: Likewise.
11450 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11451 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11452 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11453 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11454 * sysdeps/sparc/sparc32/urem.S: Likewise.
11455 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11456 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11457 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11458 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11459 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11460 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11461 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11462 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11463 * sysdeps/unix/bsd/times.c: Likewise.
11464 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11465 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11469 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11470 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11471 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11472 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11473 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11474 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11475 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11476 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11477 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11478 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11479 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11480 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11481 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11482 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11483 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11484 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11485 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11487 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11488 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11489 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11490 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11491 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11492 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11493 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11494 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11495 * sysdeps/x86_64/strcspn.S: Likewise.
11496
869378a5
RA
114972013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11498
11499 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11500 generated file. Regenerate properly from gen-translit.pl.
11501 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11502 locale/C-translit.h.
11503
840e2943
AS
115042013-06-05 Andreas Schwab <schwab@suse.de>
11505
11506 [BZ #15100]
11507 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11508 week as 6 instead of -1.
11509 * time/tst-strptime.c (day_tests): Add test case.
11510
4c60cb0c
SP
115112013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11512
11513 * sysdeps/generic/math_private.h
11514 (libc_feholdexcept_setround_53bit): Replace with
11515 libc_feholdsetround_53bit.
11516 (libc_feupdateenv_53bit): Replace with
11517 libc_feresetround_53bit.
11518 (SET_RESTORE_ROUND_53BIT): Adjust.
11519
d180203e
SP
115202013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11521
96df079a
SP
11522 * string/test-strchrnul.c: Add copyright header.
11523
d180203e
SP
11524 * posix/tst-getaddrinfo4.c: Increase test timeout.
11525
8b0ccb2d
CD
115262013-06-03 Carlos O'Donell <carlos@redhat.com>
11527
11528 [BZ #15536]
11529 * math/libm-test.inc (MAX_EXP): Remove
11530 (MIN_EXP): Define.
11531 (ulp): Use MIN_EXP - MANT_DIG.
11532 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11533
3b3c4d40
CD
115342013-05-31 Carlos O'Donell <carlos@redhat.com>
11535
11536 * po/be.po: Revert last change.
11537 * po/zh_CN.po: Likewise.
11538 * po/header.pot: Likewise.
11539
fab7ce3f
JM
115402013-05-31 Joseph Myers <joseph@codesourcery.com>
11541
11542 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11543 link-libc-deps to empty as target-specific variable.
11544 * Makerules (link-libc-args): New variable.
11545 (libc-for-link): Likewise.
11546 (link-libc-deps): Likewise.
11547 (lib%.so): Depend on $(link-libc-deps). Link with
11548 $(link-libc-args).
11549 (build-module): Link with $(link-libc-args).
11550 (build-module-asneeded): Likewise.
11551 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11552 list of objects.
11553 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11554 target-specific variable.
11555 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11556 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11557 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11558 libc.
11559 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11560 libc and ld.so.
11561 ($(objpfx)libpcprofile.so): Likewise.
11562 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11563 libc_nonshared.a.
11564 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11565 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11566 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11567 $(link-libc-deps).
11568 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11569 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11570 * login/Makefile ($(objpfx)libutil.so): Likewise.
11571 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11572 * math/Makefile ($(objpfx)libm.so): Likewise.
11573 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11574 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11575 variable instead of depending directly on libc.
11576 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11577 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11578 $(link-libc-deps).
11579 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11580 libc.
11581 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11582 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11583 ($(objpfx)libanl.so): Likewise.
11584 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11585 ld.so.
11586 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11587 $(link-libc-deps).
11588 * sysdeps/i386/fpu/Makefile: Remove file.
11589 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11590 ($(objpfx)libm.so): Remove dependency on ld.so.
11591
eca5920c
PF
115922013-05-30 Patsy Franklin <pfrankli@redhat.com>
11593
11594 [BZ # 15553]
11595 * nis/yp_xdr.c (XDRMAXNAME): Define.
11596 (XDRMAXRECORD): Define.
11597 (xdr_domainname): Use XDRMAXNAME.
11598 (xdr_mapname): Likewise.
11599 (xdr_peername): Likewise.
11600 (xdr_keydat): Use XDRMAXRECORD.
11601 (xdr_valdat): Likewise.
11602
116032013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11604
11605 [BZ #14256]
11606 * manual/errno.texi (ESTALE): Update to account for more than
11607 just NFS file systems.
11608 * sysdeps/gnu/errlist.c: Regenerated.
11609
b9375348
SP
116102013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11611
11612 [BZ #15465]
11613 * elf/Makefile (tests): Add tst-null-argv.
11614 (modules-names): Add tst-null-argv-lib.
11615 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11616 (tst-null-argv-ENV): Set environment for tst-null-argv.
11617 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11618 (RTLD_PROGNAME): New macro.
11619 * elf/tst-null-argv.c: New test case.
11620 * elf/tst-null-argv-lib.c: Library for test case.
11621 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11622 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11623 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11624 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11625 * elf/dl-init.c (call_init): Likewise.
11626 (_dl_init): Likewise.
11627 * elf/dl-load.c (print_search_path): Likewise.
11628 (_dl_map_object): Likewise.
11629 * elf/dl-lookup.c (do_lookup_x): Likewise.
11630 (add_dependency): Likewise.
11631 (_dl_lookup_symbol_x): Likewise.
11632 (_dl_debug_bindings): Likewise.
11633 * elf/dl-open.c (_dl_show_scope): Likewise.
11634 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11635 * elf/dl-version.c (match_symbol): Likewise.
11636 (_dl_check_map_versions): Likewise.
11637 * elf/rtld.c (dl_main): Likewise.
11638 (print_unresolved): Use RTLD_PROGNAME.
11639 (print_missing_version): Likewise.
11640 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11641 (elf_machine_rela): Likewise.
11642 * sysdeps/powerpc/powerpc32/dl-machine.c
11643 (__process_machine_rela): Likewise.
11644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11645 Likewise.
11646 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11647 Likewise.
11648 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11649 Likewise.
11650 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11652 Likewise.
11653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11654 Likewise.
11655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11656
8a9f20c8
CD
116572013-05-28 Carlos O'Donell <carlos@redhat.com>
11658
11659 * po/be.po: Add descriptive title.
11660 * po/zh_CN.po: Likewise.
11661 * po/header.pot: Likewise.
11662
0e60d68e
MF
116632013-05-28 Mike Frysinger <vapier@gentoo.org>
11664
11665 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11666 error message.
11667 (enlarge_archive): Likewise.
11668
56b672e9
BN
116692013-05-28 Ben North <ben@redfrontdoor.org>
11670
11671 * manual/arith.texi (frexp): It is the magnitude of the return
11672 value which lies in [0.5, 1), not the return value itself.
11673
5e056687
AZ
116742013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11675
11676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11677
2b66ef5d
TS
116782013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11679
528c2405
TS
11680 * stdio-common/bug26.c (main): Correct fscanf template.
11681
07b4c13d
TS
11682 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11683 declare _dl_skip_args.
11684
ec9dd97c
TS
11685 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11686 Don't declare.
11687
2b66ef5d
TS
11688 * manual/platform.texi: Add missing @end deftypefun.
11689
4f8dfe27
JM
116902013-05-24 Joseph Myers <joseph@codesourcery.com>
11691
0323d086
JM
11692 [BZ #15529]
11693 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11694 bit of mantissa of 2^16382.
11695 * math/libm-test.inc (hypot_test_data): Add more tests.
11696
dd4259b9
JM
11697 * math/libm-test.inc: Add drem and pow10 to list of tested
11698 functions.
11699 (pow10_test): New function.
11700 (drem_test): Likewise.
11701 (drem_test_tonearest): Likewise.
11702 (drem_test_towardzero): Likewise.
11703 (drem_test_downward): Likewise.
11704 (drem_test_upward): Likewise.
11705 (main): Call the new functions.
11706
4f8dfe27
JM
11707 * math/libm-test.inc (finite_test_data): Remove.
11708 (finite_test): Run tests from isfinite_test_data.
11709 (gamma_test_data): Remove.
11710 (gamma_test): Run tests from lgamma_test_data.
11711 * sysdeps/i386/fpu/libm-test-ulps: Update.
11712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11713
d116b7c4
AZ
117142013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11715
11716 * manual/platform.texi: Add PowerPC PPR function set documentation.
11717 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11718 implementation.
11719
e96e3767
CD
117202013-05-24 Carlos O'Donell <carlos@redhat.com>
11721
11722 * math/libm-test.inc (MAX_EXP): Define.
11723 (ULPDIFF): Define.
11724 (ulp): New function.
11725 (check_float_internal): Use ULPDIFF.
11726 (cpow_test): Disable failing test.
11727 (check_ulp): Test ulp() implemetnation.
11728 (main): Call check_ulp before starting tests.
11729
b679a606
JM
117302013-05-24 Joseph Myers <joseph@codesourcery.com>
11731
e8bdba36
JM
11732 * math/gen-libm-test.pl (generate_testfile): Do not handle
11733 START_DATA and END_DATA.
11734 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11735 END_DATA.
11736 (acos_tonearest_test_data): Likewise.
11737 (acos_towardzero_test_data): Likewise.
11738 (acos_downward_test_data): Likewise.
11739 (acos_upward_test_data): Likewise.
11740 (acosh_test_data): Likewise.
11741 (asin_test_data): Likewise.
11742 (asin_tonearest_test_data): Likewise.
11743 (asin_towardzero_test_data): Likewise.
11744 (asin_downward_test_data): Likewise.
11745 (asin_upward_test_data): Likewise.
11746 (asinh_test_data): Likewise.
11747 (atan_test_data): Likewise.
11748 (atanh_test_data): Likewise.
11749 (atan2_test_data): Likewise.
11750 (cabs_test_data): Likewise.
11751 (cacos_test_data): Likewise.
11752 (cacosh_test_data): Likewise.
11753 (carg_test_data): Likewise.
11754 (casin_test_data): Likewise.
11755 (casinh_test_data): Likewise.
11756 (catan_test_data): Likewise.
11757 (catanh_test_data): Likewise.
11758 (cbrt_test_data): Likewise.
11759 (ccos_test_data): Likewise.
11760 (ccosh_test_data): Likewise.
11761 (ceil_test_data): Likewise.
11762 (cexp_test_data): Likewise.
11763 (cimag_test_data): Likewise.
11764 (clog_test_data): Likewise.
11765 (clog10_test_data): Likewise.
11766 (conj_test_data): Likewise.
11767 (copysign_test_data): Likewise.
11768 (cos_test_data): Likewise.
11769 (cos_tonearest_test_data): Likewise.
11770 (cos_towardzero_test_data): Likewise.
11771 (cos_downward_test_data): Likewise.
11772 (cos_upward_test_data): Likewise.
11773 (cosh_test_data): Likewise.
11774 (cosh_tonearest_test_data): Likewise.
11775 (cosh_towardzero_test_data): Likewise.
11776 (cosh_downward_test_data): Likewise.
11777 (cosh_upward_test_data): Likewise.
11778 (cpow_test_data): Likewise.
11779 (cproj_test_data): Likewise.
11780 (creal_test_data): Likewise.
11781 (csin_test_data): Likewise.
11782 (csinh_test_data): Likewise.
11783 (csqrt_test_data): Likewise.
11784 (ctan_test_data): Likewise.
11785 (ctan_tonearest_test_data): Likewise.
11786 (ctan_towardzero_test_data): Likewise.
11787 (ctan_downward_test_data): Likewise.
11788 (ctan_upward_test_data): Likewise.
11789 (ctanh_test_data): Likewise.
11790 (ctanh_tonearest_test_data): Likewise.
11791 (ctanh_towardzero_test_data): Likewise.
11792 (ctanh_downward_test_data): Likewise.
11793 (ctanh_upward_test_data): Likewise.
11794 (erf_test_data): Likewise.
11795 (erfc_test_data): Likewise.
11796 (exp_test_data): Likewise.
11797 (exp_tonearest_test_data): Likewise.
11798 (exp_towardzero_test_data): Likewise.
11799 (exp_downward_test_data): Likewise.
11800 (exp_upward_test_data): Likewise.
11801 (exp10_test_data): Likewise.
11802 (exp2_test_data): Likewise.
11803 (expm1_test_data): Likewise.
11804 (fabs_test_data): Likewise.
11805 (fdim_test_data): Likewise.
11806 (finite_test_data): Likewise.
11807 (floor_test_data): Likewise.
11808 (fma_test_data): Likewise.
11809 (fma_towardzero_test_data): Likewise.
11810 (fma_downward_test_data): Likewise.
11811 (fma_upward_test_data): Likewise.
11812 (fmax_test_data): Likewise.
11813 (fmin_test_data): Likewise.
11814 (fmod_test_data): Likewise.
11815 (fpclassify_test_data): Likewise.
11816 (frexp_test_data): Likewise.
11817 (gamma_test_data): Likewise.
11818 (hypot_test_data): Likewise.
11819 (ilogb_test_data): Likewise.
11820 (isfinite_test_data): Likewise.
11821 (isgreater_test_data): Likewise.
11822 (isgreaterequal_test_data): Likewise.
11823 (isinf_test_data): Likewise.
11824 (isless_test_data): Likewise.
11825 (islessequal_test_data): Likewise.
11826 (islessgreater_test_data): Likewise.
11827 (isnan_test_data): Likewise.
11828 (isnormal_test_data): Likewise.
11829 (issignaling_test_data): Likewise.
11830 (isunordered_test_data): Likewise.
11831 (j0_test_data): Likewise.
11832 (j1_test_data): Likewise.
11833 (jn_test_data): Likewise.
11834 (ldexp_test_data): Likewise.
11835 (lgamma_test_data): Likewise.
11836 (lrint_test_data): Likewise.
11837 (lrint_tonearest_test_data): Likewise.
11838 (lrint_towardzero_test_data): Likewise.
11839 (lrint_downward_test_data): Likewise.
11840 (lrint_upward_test_data): Likewise.
11841 (llrint_test_data): Likewise.
11842 (llrint_tonearest_test_data): Likewise.
11843 (llrint_towardzero_test_data): Likewise.
11844 (llrint_downward_test_data): Likewise.
11845 (llrint_upward_test_data): Likewise.
11846 (log_test_data): Likewise.
11847 (log10_test_data): Likewise.
11848 (log1p_test_data): Likewise.
11849 (log2_test_data): Likewise.
11850 (logb_test_data): Likewise.
11851 (logb_downward_test_data): Likewise.
11852 (lround_test_data): Likewise.
11853 (llround_test_data): Likewise.
11854 (modf_test_data): Likewise.
11855 (nearbyint_test_data): Likewise.
11856 (nextafter_test_data): Likewise.
11857 (nexttoward_test_data): Likewise.
11858 (pow_test_data): Likewise.
11859 (pow_tonearest_test_data): Likewise.
11860 (pow_towardzero_test_data): Likewise.
11861 (pow_downward_test_data): Likewise.
11862 (pow_upward_test_data): Likewise.
11863 (remainder_test_data): Likewise.
11864 (remainder_tonearest_test_data): Likewise.
11865 (remainder_towardzero_test_data): Likewise.
11866 (remainder_downward_test_data): Likewise.
11867 (remainder_upward_test_data): Likewise.
11868 (remquo_test_data): Likewise.
11869 (rint_test_data): Likewise.
11870 (rint_tonearest_test_data): Likewise.
11871 (rint_towardzero_test_data): Likewise.
11872 (rint_downward_test_data): Likewise.
11873 (rint_upward_test_data): Likewise.
11874 (round_test_data): Likewise.
11875 (scalb_test_data): Likewise.
11876 (scalbn_test_data): Likewise.
11877 (scalbln_test_data): Likewise.
11878 (signbit_test_data): Likewise.
11879 (sin_test_data): Likewise.
11880 (sin_tonearest_test_data): Likewise.
11881 (sin_towardzero_test_data): Likewise.
11882 (sin_downward_test_data): Likewise.
11883 (sin_upward_test_data): Likewise.
11884 (sincos_test_data): Likewise.
11885 (sinh_test_data): Likewise.
11886 (sinh_tonearest_test_data): Likewise.
11887 (sinh_towardzero_test_data): Likewise.
11888 (sinh_downward_test_data): Likewise.
11889 (sinh_upward_test_data): Likewise.
11890 (sqrt_test_data): Likewise.
11891 (tan_test_data): Likewise.
11892 (tan_tonearest_test_data): Likewise.
11893 (tan_towardzero_test_data): Likewise.
11894 (tan_downward_test_data): Likewise.
11895 (tan_upward_test_data): Likewise.
11896 (tanh_test_data): Likewise.
11897 (tgamma_test_data): Likewise.
11898 (trunc_test_data): Likewise.
11899 (y0_test_data): Likewise.
11900 (y1_test_data): Likewise.
11901 (yn_test_data): Likewise.
11902 (significand_test_data): Likewise.
11903
b679a606
JM
11904 * math/gen-libm-test.pl (@functions): Remove variable.
11905 (generate_testfile): Don't handle START and END lines.
11906 * math/libm-test.inc (START): New macro.
11907 (END): Likewise.
11908 (END_COMPLEX): Likewise.
11909 (acos_test): Use END macro without arguments.
11910 (acos_test_tonearest): Likewise.
11911 (acos_test_towardzero): Likewise.
11912 (acos_test_downward): Likewise.
11913 (acos_test_upward): Likewise.
11914 (acosh_test): Likewise.
11915 (asin_test): Likewise.
11916 (asin_test_tonearest): Likewise.
11917 (asin_test_towardzero): Likewise.
11918 (asin_test_downward): Likewise.
11919 (asin_test_upward): Likewise.
11920 (asinh_test): Likewise.
11921 (atan_test): Likewise.
11922 (atanh_test): Likewise.
11923 (atan2_test): Likewise.
11924 (cabs_test): Likewise.
11925 (cacos_test): Use END_COMPLEX macro without arguments.
11926 (cacosh_test): Likewise.
11927 (carg_test): Use END macro without arguments.
11928 (casin_test): Use END_COMPLEX macro without arguments.
11929 (casinh_test): Likewise.
11930 (catan_test): Likewise.
11931 (catanh_test): Likewise.
11932 (cbrt_test): Use END macro without arguments.
11933 (ccos_test): Use END_COMPLEX macro without arguments.
11934 (ccosh_test): Likewise.
11935 (ceil_test): Use END macro without arguments.
11936 (cexp_test): Use END_COMPLEX macro without arguments.
11937 (cimag_test): Use END macro without arguments.
11938 (clog_test): Use END_COMPLEX macro without arguments.
11939 (clog10_test): Likewise.
11940 (conj_test): Likewise.
11941 (copysign_test): Use END macro without arguments.
11942 (cos_test): Likewise.
11943 (cos_test_tonearest): Likewise.
11944 (cos_test_towardzero): Likewise.
11945 (cos_test_downward): Likewise.
11946 (cos_test_upward): Likewise.
11947 (cosh_test): Likewise.
11948 (cosh_test_tonearest): Likewise.
11949 (cosh_test_towardzero): Likewise.
11950 (cosh_test_downward): Likewise.
11951 (cosh_test_upward): Likewise.
11952 (cpow_test): Use END_COMPLEX macro without arguments.
11953 (cproj_test): Likewise.
11954 (creal_test): Use END macro without arguments.
11955 (csin_test): Use END_COMPLEX macro without arguments.
11956 (csinh_test): Likewise.
11957 (csqrt_test): Likewise.
11958 (ctan_test): Likewise.
11959 (ctan_test_tonearest): Likewise.
11960 (ctan_test_towardzero): Likewise.
11961 (ctan_test_downward): Likewise.
11962 (ctan_test_upward): Likewise.
11963 (ctanh_test): Likewise.
11964 (ctanh_test_tonearest): Likewise.
11965 (ctanh_test_towardzero): Likewise.
11966 (ctanh_test_downward): Likewise.
11967 (ctanh_test_upward): Likewise.
11968 (erf_test): Use END macro without arguments.
11969 (erfc_test): Likewise.
11970 (exp_test): Likewise.
11971 (exp_test_tonearest): Likewise.
11972 (exp_test_towardzero): Likewise.
11973 (exp_test_downward): Likewise.
11974 (exp_test_upward): Likewise.
11975 (exp10_test): Likewise.
11976 (exp2_test): Likewise.
11977 (expm1_test): Likewise.
11978 (fabs_test): Likewise.
11979 (fdim_test): Likewise.
11980 (finite_test): Likewise.
11981 (floor_test): Likewise.
11982 (fma_test): Likewise.
11983 (fma_test_towardzero): Likewise.
11984 (fma_test_downward): Likewise.
11985 (fma_test_upward): Likewise.
11986 (fmax_test): Likewise.
11987 (fmin_test): Likewise.
11988 (fmod_test): Likewise.
11989 (fpclassify_test): Likewise.
11990 (frexp_test): Likewise.
11991 (gamma_test): Likewise.
11992 (hypot_test): Likewise.
11993 (ilogb_test): Likewise.
11994 (isfinite_test): Likewise.
11995 (isgreater_test): Likewise.
11996 (isgreaterequal_test): Likewise.
11997 (isinf_test): Likewise.
11998 (isless_test): Likewise.
11999 (islessequal_test): Likewise.
12000 (islessgreater_test): Likewise.
12001 (isnan_test): Likewise.
12002 (isnormal_test): Likewise.
12003 (issignaling_test): Likewise.
12004 (isunordered_test): Likewise.
12005 (j0_test): Likewise.
12006 (j1_test): Likewise.
12007 (jn_test): Likewise.
12008 (ldexp_test): Likewise.
12009 (lgamma_test): Likewise.
12010 (lrint_test): Likewise.
12011 (lrint_test_tonearest): Likewise.
12012 (lrint_test_towardzero): Likewise.
12013 (lrint_test_downward): Likewise.
12014 (lrint_test_upward): Likewise.
12015 (llrint_test): Likewise.
12016 (llrint_test_tonearest): Likewise.
12017 (llrint_test_towardzero): Likewise.
12018 (llrint_test_downward): Likewise.
12019 (llrint_test_upward): Likewise.
12020 (log_test): Likewise.
12021 (log10_test): Likewise.
12022 (log1p_test): Likewise.
12023 (log2_test): Likewise.
12024 (logb_test): Likewise.
12025 (logb_test_downward): Likewise.
12026 (lround_test): Likewise.
12027 (llround_test): Likewise.
12028 (modf_test): Likewise.
12029 (nearbyint_test): Likewise.
12030 (nextafter_test): Likewise.
12031 (nexttoward_test): Likewise.
12032 (pow_test): Likewise.
12033 (pow_test_tonearest): Likewise.
12034 (pow_test_towardzero): Likewise.
12035 (pow_test_downward): Likewise.
12036 (pow_test_upward): Likewise.
12037 (remainder_test): Likewise.
12038 (remainder_test_tonearest): Likewise.
12039 (remainder_test_towardzero): Likewise.
12040 (remainder_test_downward): Likewise.
12041 (remainder_test_upward): Likewise.
12042 (remquo_test): Likewise.
12043 (rint_test): Likewise.
12044 (rint_test_tonearest): Likewise.
12045 (rint_test_towardzero): Likewise.
12046 (rint_test_downward): Likewise.
12047 (rint_test_upward): Likewise.
12048 (round_test): Likewise.
12049 (scalb_test): Likewise.
12050 (scalbn_test): Likewise.
12051 (scalbln_test): Likewise.
12052 (signbit_test): Likewise.
12053 (sin_test): Likewise.
12054 (sin_test_tonearest): Likewise.
12055 (sin_test_towardzero): Likewise.
12056 (sin_test_downward): Likewise.
12057 (sin_test_upward): Likewise.
12058 (sincos_test): Likewise.
12059 (sinh_test): Likewise.
12060 (sinh_test_tonearest): Likewise.
12061 (sinh_test_towardzero): Likewise.
12062 (sinh_test_downward): Likewise.
12063 (sinh_test_upward): Likewise.
12064 (sqrt_test): Likewise.
12065 (tan_test): Likewise.
12066 (tan_test_tonearest): Likewise.
12067 (tan_test_towardzero): Likewise.
12068 (tan_test_downward): Likewise.
12069 (tan_test_upward): Likewise.
12070 (tanh_test): Likewise.
12071 (tgamma_test): Likewise.
12072 (trunc_test): Likewise.
12073 (y0_test): Likewise.
12074 (y1_test): Likewise.
12075 (yn_test): Likewise.
12076 (significand_test): Likewise.
12077
bae143d2
OB
120782013-05-24 Ondřej Bílka <neleai@seznam.cz>
12079
12080 [BZ #15381]
12081 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12082
9323d39b
EM
120832013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12084
d4ea44a0 12085 [BZ #14894]
9323d39b
EM
12086 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12087 __ppc_mdoio and __ppc_mdoom.
12088 * manual/platform.texi: Document new functions __ppc_yield,
12089 __ppc_mdoio and __ppc_mdoom.
12090
13e23af7
CD
120912013-05-22 Carlos O'Donell <carlos@redhat.com>
12092
12093 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12094 (main): Mention "tls" pseudo-hwcap is legacy.
12095 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12096
351fe550
JM
120972013-05-22 Joseph Myers <joseph@codesourcery.com>
12098
12099 * math/gen-libm-test.pl (parse_args): Output only string of
12100 arguments as text for test name, not full call or descriptions of
12101 tests for extra outputs.
12102 (generate_testfile): Do not pass function name to parse_args.
12103 Generate this_func variable from START.
12104 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12105 field to arg_str.
12106 (struct test_ff_f_data): Likewise.
12107 (test_ff_f_data_nexttoward): Likewise.
12108 (struct test_fi_f_data): Likewise.
12109 (struct test_fl_f_data): Likewise.
12110 (struct test_if_f_data): Likewise.
12111 (struct test_fff_f_data): Likewise.
12112 (struct test_c_f_data): Likewise.
12113 (struct test_f_f1_data): Likewise. Remove field extra_name.
12114 (struct test_fF_f1_data): Likewise.
12115 (struct test_ffI_f1_data): Likewise.
12116 (struct test_c_c_data): Rename test_name field to arg_str.
12117 (struct test_cc_c_data): Likewise.
12118 (struct test_f_i_data): Likewise.
12119 (struct test_ff_i_data): Likewise.
12120 (struct test_f_l_data): Likewise.
12121 (struct test_f_L_data): Likewise.
12122 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12123 and extra2_name.
12124 (COMMON_TEST_SETUP): New macro.
12125 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12126 (COMMON_TEST_CLEANUP): Likewise.
12127 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12128 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12129 macros.
12130 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12131 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12132 macros.
12133 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12134 (RUN_TEST_fff_f): Take argument string. Call new setup and
12135 cleanup macros.
12136 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12137 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12138 macros.
12139 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12140 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12141 macros.
12142 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12143 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12144 cleanup macros.
12145 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12146 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12147 cleanup macros.
12148 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12149 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12150 cleanup macros.
12151 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12152 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12153 macros.
12154 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12155 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12156 macros.
12157 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12158 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12159 macros.
12160 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12161 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12162 cleanup macros.
12163 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12164 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12165 cleanup macros.
12166 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12167 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12168 macros.
12169 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12170 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12171 cleanup macros.
12172 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12173 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12174 macros.
12175 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12176 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12177 macros.
12178 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12179 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12180 cleanup macros.
12181 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12182
85118d4d
EBM
121832013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12184
12185 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12186 to _sifields.sigfault.
12187 (si_addr_lsb): Define new macro.
12188 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12189 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12190 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12191
7a44c18f
CD
121922013-05-03 Carlos O'Donell <carlos at redhat.com>
12193
12194 [BZ #15441]
12195 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12196 returns -1.
12197 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12198 null return -1.
12199 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12200 loading the domain.
12201
b50a7181
JM
122022013-05-22 Joseph Myers <joseph@codesourcery.com>
12203
12204 * math/gen-libm-test.pl (parse_args): Do not include expected
12205 result in test name.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12207 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12208 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12209 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12210 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12212
051063c8
SP
122132013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12214
3ce9e010
SP
12215 * benchtests/Makefile: Sort function entries.
12216
051063c8
SP
12217 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12218 tanh, asinh, acosh, atanh.
12219 * benchtests/acos-inputs: New file.
12220 * benchtests/acosh-inputs: New file.
12221 * benchtests/asin-inputs: New file.
12222 * benchtests/asinh-inputs: New file.
12223 * benchtests/atanh-inputs: New file.
12224 * benchtests/cosh-inputs: New file.
12225 * benchtests/log-inputs: New file.
12226 * benchtests/sinh-inputs: New file.
12227 * benchtests/tanh-inputs: New file.
12228
47c22455
DL
122292013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12230
12231 [BZ #15339]
12232 * posix/tst-getaddrinfo4.c: New test.
12233 * posix/Makefile (tests): Add it.
12234
3d04f5db
SP
122352013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 [BZ #15339]
12238 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12239 when no services were used.
12240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12241 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12242
d5dd6189
AS
122432013-05-21 Andreas Schwab <schwab@suse.de>
12244
12245 [BZ #15014]
12246 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12247 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12248 successful.
12249 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12250 redundant variable declarations and reallocation of buffer when
12251 parsing as IPv6 address. Always set NSS status when called from
12252 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12253 buffer too small. Correct computation of needed size.
12254 * nss/Makefile (tests): Add test-digits-dots.
12255 * nss/test-digits-dots.c: New test.
12256
fef94eab
SP
122572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12258
12259 * benchtests/Makefile: Remove instructions for adding
12260 benchmark tests.
12261 * benchtests/README: New file to explain how to execute and
12262 enhance the benchmark tests.
12263
e39adf43
AS
122642013-05-21 Andreas Schwab <schwab@suse.de>
12265
12266 [BZ #15493]
12267 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12268 * setjmp/tst-sigsetjmp.c: New test.
12269
b2b671b6
OB
122702013-05-20 Ondřej Bílka <neleai@seznam.cz>
12271
12272 * sysdeps/x86_64/memset.S (memset): New implementation.
12273 (__bzero): Likewise.
12274 (__memset_tail): New function.
12275
2d48b41c
OB
122762013-05-20 Ondřej Bílka <neleai@seznam.cz>
12277
12278 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12279 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12280 __memcpy_sse2_unaligned ifunc selection.
12281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12282 Add memcpy-sse2-unaligned.S.
12283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12284 Add: __memcpy_sse2_unaligned.
12285
f16cc3eb
JM
122862013-05-19 Joseph Myers <joseph@codesourcery.com>
12287
3e694268
JM
12288 [BZ #15490]
12289 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12290 math_force_eval before restoring floating-point envrionment.
12291 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12293 Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12295 <math_private.h>.
12296 (__nearbyintl): Use math_force_eval before restoring
12297 floating-point environment.
12298 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12299
db62a907
JM
12300 * math/gen-libm-test.pl (special_functions): Remove.
12301 (parse_args): Don't handle TEST_extra. Handle functions with no
12302 return value.
12303 * math/libm-test.inc (struct test_sincos_data): Replace with
12304 struct test_fFF_11_data.
12305 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12306 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12307 (sincos_test_data): Change element type to struct
12308 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12309 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12310 RUN_TEST_LOOP_sincos.
12311 * math/README.libm-test: Don't mention special handling of
12312 individual functions.
12313 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12315 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12317 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12319
f16cc3eb
JM
12320 * math/gen-libm-test.pl (get_variable): Remove function.
12321 (parse_args): Don't show pointer parameters to call in test
12322 names. Use "extra output N" in test names for extra outputs
12323 rather than naming variables.
12324
3779b5b6
JM
123252013-05-18 Joseph Myers <joseph@codesourcery.com>
12326
2ee094ff
JM
12327 [BZ #15488]
12328 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12329 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12330 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12331 double tests.
12332 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12333 disable.
12334 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12335 check_long_double.
12336
3779b5b6
JM
12337 * math/gen-libm-test.pl (@tests): Remove variable.
12338 ($count): Likewise.
12339 (new_test): Remove function.
12340 (show_exceptions): New function.
12341 (special_functions): Use show_exceptions instead of new_test.
12342 (parse_args): Likewise.
12343 (generate_testfile): Pass only function name in generated call to
12344 print_max_error or print_complex_max_error.
12345 (get_ulps): Do not handle complex tests specially.
12346 (output_test): Rename to ...
12347 (get_all_ulps_for_test): ... this. Return a string rather than
12348 printing to a file. Require ulps to be present.
12349 (output_ulps): Generate arrays rather than #defines.
12350 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12351 (struct ulp_data): New type.
12352 (BUILD_COMPLEX_ULP): Remove macro.
12353 (compare_ulp_data): New function.
12354 (find_ulps): Likewise.
12355 (find_test_ulps): Likewise.
12356 (find_function_ulps): Likewise.
12357 (find_complex_function_ulps): Likewise.
12358 (print_max_error): Determine allowed ulps using
12359 find_function_ulps.
12360 (print_complex_max_error): Determine allowed ulps using
12361 find_complex_function_ulps.
12362 (check_float_internal): Determine max ulps using find_test_ulps.
12363 (check_float): Do not take max_ulp parameter. Update call to
12364 check_float_internal.
12365 (check_complex): Likewise.
12366 (check_int): Do not take max_ulp parameter.
12367 (check_long): Likewise.
12368 (check_bool): Likewise.
12369 (check_longlong): Likewise.
12370 (struct test_f_f_data): Remove max_ulp field.
12371 (struct test_ff_f_data): Likewise.
12372 (struct test_ff_f_data_nexttoward): Likewise.
12373 (struct test_fi_f_data): Likewise.
12374 (struct test_fl_f_data): Likewise.
12375 (struct test_if_f_data): Likewise.
12376 (struct test_fff_f_data): Likewise.
12377 (struct test_c_f_data): Likewise.
12378 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12379 (struct test_fF_f1_data): Likewise.
12380 (struct test_ffI_f1_data): Likewise.
12381 (struct test_c_c_data): Remove max_ulp field.
12382 (struct test_cc_c_data): Likewise.
12383 (struct test_f_i_data): Likewise.
12384 (struct test_ff_i_data): Likewise.
12385 (struct test_f_l_data): Likewise.
12386 (struct test_f_L_data): Likewise.
12387 (struct test_sincos_data): Likewise.
12388 (RUN_TEST_f_f): Do not handle ulps.
12389 (RUN_TEST_LOOP_f_f): Likewise.
12390 (RUN_TEST_2_f): Likewise.
12391 (RUN_TEST_LOOP_2_f): Likewise.
12392 (RUN_TEST_fff_f): Likewise.
12393 (RUN_TEST_LOOP_fff_f): Likewise.
12394 (RUN_TEST_c_f): Likewise.
12395 (RUN_TEST_LOOP_c_f): Likewise.
12396 (RUN_TEST_f_f1): Likewise.
12397 (RUN_TEST_LOOP_f_f1): Likewise.
12398 (RUN_TEST_fF_f1): Likewise.
12399 (RUN_TEST_LOOP_fF_f1): Likewise.
12400 (RUN_TEST_fI_f1): Likewise.
12401 (RUN_TEST_LOOP_fI_f1): Likewise.
12402 (RUN_TEST_ffI_f1): Likewise.
12403 (RUN_TEST_LOOP_ffI_f1): Likewise.
12404 (RUN_TEST_c_c): Likewise.
12405 (RUN_TEST_LOOP_c_c): Likewise.
12406 (RUN_TEST_cc_c): Likewise.
12407 (RUN_TEST_LOOP_cc_c): Likewise.
12408 (RUN_TEST_f_i): Likewise.
12409 (RUN_TEST_LOOP_f_i): Likewise.
12410 (RUN_TEST_f_i_tg): Likewise.
12411 (RUN_TEST_LOOP_f_i_tg): Likewise.
12412 (RUN_TEST_ff_i_tg): Likewise.
12413 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12414 (RUN_TEST_f_b): Likewise.
12415 (RUN_TEST_LOOP_f_b): Likewise.
12416 (RUN_TEST_f_b_tg): Likewise.
12417 (RUN_TEST_LOOP_f_b_tg): Likewise.
12418 (RUN_TEST_f_l): Likewise.
12419 (RUN_TEST_LOOP_f_l): Likewise.
12420 (RUN_TEST_f_L): Likewise.
12421 (RUN_TEST_LOOP_f_L): Likewise.
12422 (RUN_TEST_sincos): Likewise.
12423 (RUN_TEST_LOOP_sincos): Likewise.
12424
8269107f
JM
124252013-05-17 Joseph Myers <joseph@codesourcery.com>
12426
bb38759d
JM
12427 [BZ #15480]
12428 [BZ #15485]
12429 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12430 main case of finite arguments, set rounding mode to FE_TONEAREST
12431 and discard exceptions.
12432 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12433 exceptions.
12434 (remainder_tonearest_test_data): New variable.
12435 (remainder_test_tonearest): New function.
12436 (remainder_towardzero_test_data): New variable.
12437 (remainder_test_towardzero): New function.
12438 (remainder_downward_test_data): New variable.
12439 (remainder_test_downward): New function.
12440 (remainder_upward_test_data): New variable.
12441 (remainder_test_upward): New function.
12442 (main): Call the new test functions.
12443
a00bdcf0
JM
12444 * math/libm-test.inc (struct test_f_f1_data): Remove field
12445 extra_init.
12446 (struct test_fF_f1_data): Likewise.
12447 (struct test_ffI_f1_data): Likewise.
12448 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12449 based on value of EXTRA_EXPECTED.
12450 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12451 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12452 EXTRA_VAR based on value of EXTRA_EXPECTED.
12453 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12454 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12455 EXTRA_VAR based on value of EXTRA_EXPECTED.
12456 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12457 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12458 EXTRA_VAR based on value of EXTRA_EXPECTED.
12459 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12460 * math/gen-libm-test.pl (parse_args): Don't output initializers
12461 for extra output values.
12462
de407f79
JM
12463 * math/libm-test.inc (check_int): Expect result to be exactly
12464 equal to expected value and do not handle ulps.
12465 (check_long): Likewise.
12466 (check_longlong): Likewise.
12467
8269107f
JM
12468 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12469 exceptions.
12470 (cimag_test_data): Likewise.
12471 (conj_test_data): Likewise.
12472 (copysign_test_data): Likewise.
12473 (cproj_test_data): Likewise.
12474 (creal_test_data): Likewise.
12475 (fabs_test_data): Likewise.
12476 (fdim_test_data): Likewise.
12477 (finite_test_data): Likewise.
12478 (floor_test_data): Likewise.
12479 (fmax_test_data): Likewise.
12480 (fmin_test_data): Likewise.
12481 (fmod_test_data): Likewise.
12482 (fpclassify_test_data): Likewise.
12483 (frexp_test_data): Likewise.
12484 (ilogb_test_data): Likewise.
12485 (isfinite_test_data): Likewise.
12486 (isgreater_test_data): Likewise.
12487 (isgreaterequal_test_data): Likewise.
12488 (isinf_test_data): Likewise.
12489 (isless_test_data): Likewise.
12490 (islessequal_test_data): Likewise.
12491 (islessgreater_test_data): Likewise.
12492 (isnan_test_data): Likewise.
12493 (isnormal_test_data): Likewise.
12494 (issignaling_test_data): Likewise.
12495 (isunordered_test_data): Likewise.
12496 (ldexp_test_data): Likewise.
12497 (lrint_test_data): Likewise.
12498 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12499 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12500 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12501 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12502 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12503 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12504 test input.
12505 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12506 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12507 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12508 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12509 that test input.
12510 (lrint_downward_test_data): Test for "inexact" exceptions.
12511 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12512 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12513 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12514 test input.
12515 (lrint_upward_test_data): Test for "inexact" exceptions.
12516 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12517 test input.
12518 (llrint_test_data): Test for "inexact" exceptions.
12519 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12520 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12521 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12522 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12523 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12524 (llrint_downward_test_data): Test for "inexact" exceptions.
12525 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12526 (llrint_upward_test_data): Test for "inexact" exceptions.
12527 (logb_test_data): Likewise.
12528 (logb_downward_test_data): Likewise.
12529 (nextafter_test_data): Likewise.
12530 (nexttoward_test_data): Likewise.
12531 (remainder_test_data): Likewise.
12532 (remquo_test_data): Likewise.
12533 (scalbn_test_data): Likewise.
12534 (scalbln_test_data): Likewise.
12535 (signbit_test_data): Likewise.
12536 (sqrt_test_data): Likewise.
12537 (significand_test_data): Likewise.
12538
48a18de1
SP
125392013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12540
12541 [BZ #15424]
12542 * benchtests/bench-modf.c (struct args): Mark arg0 as
12543 volatile.
12544 * scripts/bench.pl: Mark members of struct args as volatile.
12545
13d3b41a
AZ
125462013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12547
68191c1d 12548 [BZ # 15497]
13d3b41a
AZ
12549 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12550 negative infinity on POWER6 or lower.
12551 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12552
2848b105
MR
125532013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12554
12555 [BZ #15442]
12556 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12557 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12558 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12559 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12560 (_FP_SETQNAN): New macro.
12561 (_FP_SETQNAN_SEMIRAW): Likewise.
12562 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12563 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12564 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12565 (FP_EXTEND): Use _FP_FRAC_SNANP.
12566 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12567 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12568 into account.
12569 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12570 New macro.
12571 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12572 Likewise.
12573
323e5cb7
JM
125742013-05-16 Joseph Myers <joseph@codesourcery.com>
12575
c58b274f
JM
12576 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12577 with DIVIDE_BY_ZERO_EXCEPTION.
12578 (gamma_test_data): Likewise.
12579 (lgamma_test_data): Likewise.
12580 (log_test_data): Likewise.
12581 (log10_test_data): Likewise.
12582 (log2_test_data): Likewise.
12583 (tgamma_test_data): Likewise.
12584
0ab34904
JM
12585 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12586 (acos_test_tonearest): Likewise.
12587 (acos_test_towardzero): Likewise.
12588 (acos_test_downward): Likewise.
12589 (acos_test_upward): Likewise.
12590 (acosh_test): Likewise.
12591 (asin_test): Likewise.
12592 (asin_test_tonearest): Likewise.
12593 (asin_test_towardzero): Likewise.
12594 (asin_test_downward): Likewise.
12595 (asin_test_upward): Likewise.
12596 (asinh_test): Likewise.
12597 (atan_test): Likewise.
12598 (atanh_test): Likewise.
12599 (atan2_test): Likewise.
12600 (cabs_test): Likewise.
12601 (cacos_test): Likewise.
12602 (cacosh_test): Likewise.
12603 (casin_test): Likewise.
12604 (casinh_test): Likewise.
12605 (catan_test): Likewise.
12606 (catanh_test): Likewise.
12607 (cbrt_test): Likewise.
12608 (ccos_test): Likewise.
12609 (ccosh_test): Likewise.
12610 (cexp_test): Likewise.
12611 (clog_test): Likewise.
12612 (clog10_test): Likewise.
12613 (cos_test): Likewise.
12614 (cos_test_tonearest): Likewise.
12615 (cos_test_towardzero): Likewise.
12616 (cos_test_downward): Likewise.
12617 (cos_test_upward): Likewise.
12618 (cosh_test): Likewise.
12619 (cosh_test_tonearest): Likewise.
12620 (cosh_test_towardzero): Likewise.
12621 (cosh_test_downward): Likewise.
12622 (cosh_test_upward): Likewise.
12623 (cpow_test): Likewise.
12624 (csin_test): Likewise.
12625 (csinh_test): Likewise.
12626 (csqrt_test): Likewise.
12627 (ctan_test): Likewise.
12628 (ctan_test_tonearest): Likewise.
12629 (ctan_test_towardzero): Likewise.
12630 (ctan_test_downward): Likewise.
12631 (ctan_test_upward): Likewise.
12632 (ctanh_test): Likewise.
12633 (ctanh_test_tonearest): Likewise.
12634 (ctanh_test_towardzero): Likewise.
12635 (ctanh_test_downward): Likewise.
12636 (ctanh_test_upward): Likewise.
12637 (erf_test): Likewise.
12638 (erfc_test): Likewise.
12639 (exp_test): Likewise.
12640 (exp_test_tonearest): Likewise.
12641 (exp_test_towardzero): Likewise.
12642 (exp_test_downward): Likewise.
12643 (exp_test_upward): Likewise.
12644 (exp10_test): Likewise.
12645 (exp2_test): Likewise.
12646 (expm1_test): Likewise.
12647 (fmod_test): Likewise.
12648 (gamma_test): Likewise.
12649 (hypot_test): Likewise.
12650 (j0_test): Likewise.
12651 (j1_test): Likewise.
12652 (jn_test): Likewise.
12653 (lgamma_test): Likewise.
12654 (log_test): Likewise.
12655 (log10_test): Likewise.
12656 (log1p_test): Likewise.
12657 (log2_test): Likewise.
12658 (logb_test_downward): Likewise.
12659 (pow_test): Likewise.
12660 (pow_test_tonearest): Likewise.
12661 (pow_test_towardzero): Likewise.
12662 (pow_test_downward): Likewise.
12663 (pow_test_upward): Likewise.
12664 (remainder_test): Likewise.
12665 (remquo_test): Likewise.
12666 (sin_test): Likewise.
12667 (sin_test_tonearest): Likewise.
12668 (sin_test_towardzero): Likewise.
12669 (sin_test_downward): Likewise.
12670 (sin_test_upward): Likewise.
12671 (sincos_test): Likewise.
12672 (sinh_test): Likewise.
12673 (sinh_test_tonearest): Likewise.
12674 (sinh_test_towardzero): Likewise.
12675 (sinh_test_downward): Likewise.
12676 (sinh_test_upward): Likewise.
12677 (sqrt_test): Likewise.
12678 (tan_test): Likewise.
12679 (tan_test_tonearest): Likewise.
12680 (tan_test_towardzero): Likewise.
12681 (tan_test_downward): Likewise.
12682 (tan_test_upward): Likewise.
12683 (tanh_test): Likewise.
12684 (tgamma_test): Likewise.
12685 (y0_test): Likewise.
12686 (y1_test): Likewise.
12687 (yn_test): Likewise.
12688
323e5cb7
JM
12689 * math/gen-libm-test.pl (adjust_arg): Remove function.
12690 (special_function): Remove argument $in_func. Only handle
12691 generating output for tables of tests, not inside functions.
12692 (parse_args): Likewise.
12693 (generate_testfile): Remove variable $in_func. Update call to
12694 parse_args.
12695 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12696 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12697 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12698 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12699 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12700 (MAX_VALUE_INIT): Rename macro to max_value.
12701 (MIN_VALUE_INIT): Rename macro to min_value.
12702 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12703 (plus_zero): Remove variable.
12704 (minus_zero): Likewise.
12705 (plus_infty): Likewise.
12706 (minus_infty): Likewise.
12707 (qnan_value): Likewise.
12708 (max_value): Likewise.
12709 (min_value): Likewise.
12710 (min_subnorm_value): Likewise.
12711
e054f494
RA
127122013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12713
12714 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12715 uint64_t or uint32_t usage.
12716 * crypt/sha256-block.c: Likewise.
12717 * crypt/sha256-crypt.c: Likewise.
12718 * crypt/sha256.c: Likewise.
12719 * crypt/sha512-block.c: Likewise.
12720 * crypt/sha512-crypt.c: Likewise.
12721 * crypt/sha512.c: Likewise.
12722 * debug/backtrace-tst.c: Likewise.
12723 * debug/pcprofiledump.c: Likewise.
12724 * elf/cache.c: Likewise.
12725 * elf/dl-cache.c: Likewise.
12726 * elf/dl-misc.c: Likewise.
12727 * elf/dl-profile.c: Likewise.
12728 * elf/dl-support.c: Likewise.
12729 * elf/ldconfig.c: Likewise.
12730 * elf/sprof.c: Likewise.
12731 * iconv/dummy-repertoire.c: Likewise.
12732 * iconv/iconv_charmap.c: Likewise.
12733 * iconv/skeleton.c: Likewise.
12734 * iconvdata/8bit-generic.c: Likewise.
12735 * iconvdata/cp737.h: Likewise.
12736 * iconvdata/cp775.h: Likewise.
12737 * iconvdata/ibm1008.h: Likewise.
12738 * iconvdata/ibm1025.h: Likewise.
12739 * iconvdata/ibm1046.h: Likewise.
12740 * iconvdata/ibm1097.h: Likewise.
12741 * iconvdata/ibm1112.h: Likewise.
12742 * iconvdata/ibm1122.h: Likewise.
12743 * iconvdata/ibm1123.h: Likewise.
12744 * iconvdata/ibm1124.h: Likewise.
12745 * iconvdata/ibm1129.h: Likewise.
12746 * iconvdata/ibm1130.h: Likewise.
12747 * iconvdata/ibm1132.h: Likewise.
12748 * iconvdata/ibm1133.h: Likewise.
12749 * iconvdata/ibm1137.h: Likewise.
12750 * iconvdata/ibm1140.h: Likewise.
12751 * iconvdata/ibm1141.h: Likewise.
12752 * iconvdata/ibm1142.h: Likewise.
12753 * iconvdata/ibm1143.h: Likewise.
12754 * iconvdata/ibm1144.h: Likewise.
12755 * iconvdata/ibm1145.h: Likewise.
12756 * iconvdata/ibm1146.h: Likewise.
12757 * iconvdata/ibm1147.h: Likewise.
12758 * iconvdata/ibm1148.h: Likewise.
12759 * iconvdata/ibm1149.h: Likewise.
12760 * iconvdata/ibm1153.h: Likewise.
12761 * iconvdata/ibm1154.h: Likewise.
12762 * iconvdata/ibm1155.h: Likewise.
12763 * iconvdata/ibm1156.h: Likewise.
12764 * iconvdata/ibm1157.h: Likewise.
12765 * iconvdata/ibm1158.h: Likewise.
12766 * iconvdata/ibm1160.h: Likewise.
12767 * iconvdata/ibm1161.h: Likewise.
12768 * iconvdata/ibm1162.h: Likewise.
12769 * iconvdata/ibm1163.h: Likewise.
12770 * iconvdata/ibm1164.h: Likewise.
12771 * iconvdata/ibm1166.h: Likewise.
12772 * iconvdata/ibm1167.h: Likewise.
12773 * iconvdata/ibm12712.h: Likewise.
12774 * iconvdata/ibm1390.h: Likewise.
12775 * iconvdata/ibm1399.h: Likewise.
12776 * iconvdata/ibm16804.h: Likewise.
12777 * iconvdata/ibm4517.h: Likewise.
12778 * iconvdata/ibm4899.h: Likewise.
12779 * iconvdata/ibm4909.h: Likewise.
12780 * iconvdata/ibm4971.h: Likewise.
12781 * iconvdata/ibm5347.h: Likewise.
12782 * iconvdata/ibm803.h: Likewise.
12783 * iconvdata/ibm856.h: Likewise.
12784 * iconvdata/ibm901.h: Likewise.
12785 * iconvdata/ibm902.h: Likewise.
12786 * iconvdata/ibm9030.h: Likewise.
12787 * iconvdata/ibm9066.h: Likewise.
12788 * iconvdata/ibm921.h: Likewise.
12789 * iconvdata/ibm922.h: Likewise.
12790 * iconvdata/ibm9448.h: Likewise.
12791 * iconvdata/isiri-3342.h: Likewise.
12792 * iconvdata/jis0201.h: Likewise.
12793 * include/link.h: Likewise.
12794 * include/netdb.h: Likewise.
12795 * inet/check_native.c: Likewise.
12796 * inet/check_pf.c: Likewise.
12797 * inet/getipv4sourcefilter.c: Likewise.
12798 * inet/getnameinfo.c: Likewise.
12799 * inet/getsourcefilter.c: Likewise.
12800 * inet/htonl.c: Likewise.
12801 * inet/setipv4sourcefilter.c: Likewise.
12802 * inet/setsourcefilter.c: Likewise.
12803 * inet/test-inet6_opt.c: Likewise.
12804 * inet/tst-network.c: Likewise.
12805 * locale/C-collate.c: Likewise.
12806 * locale/C-ctype.c: Likewise.
12807 * locale/C-time.c: Likewise.
12808 * locale/C-translit.h: Likewise.
12809 * locale/loadarchive.c: Likewise.
12810 * locale/programs/3level.h: Likewise.
12811 * locale/programs/charmap.c: Likewise.
12812 * locale/programs/charmap.h: Likewise.
12813 * locale/programs/ld-address.c: Likewise.
12814 * locale/programs/ld-collate.c: Likewise.
12815 * locale/programs/ld-ctype.c: Likewise.
12816 * locale/programs/ld-identification.c: Likewise.
12817 * locale/programs/ld-measurement.c: Likewise.
12818 * locale/programs/ld-messages.c: Likewise.
12819 * locale/programs/ld-monetary.c: Likewise.
12820 * locale/programs/ld-name.c: Likewise.
12821 * locale/programs/ld-numeric.c: Likewise.
12822 * locale/programs/ld-paper.c: Likewise.
12823 * locale/programs/ld-telephone.c: Likewise.
12824 * locale/programs/ld-time.c: Likewise.
12825 * locale/programs/linereader.c: Likewise.
12826 * locale/programs/locale.c: Likewise.
12827 * locale/programs/locarchive.c: Likewise.
12828 * locale/programs/locfile.h: Likewise.
12829 * locale/programs/repertoire.c: Likewise.
12830 * locale/programs/simple-hash.c: Likewise.
12831 * locale/programs/simple-hash.h: Likewise.
12832 * malloc/memusage.c: Likewise.
12833 * malloc/memusagestat.c: Likewise.
12834 * nis/nis_defaults.c: Likewise.
12835 * nis/nis_hash.c: Likewise.
12836 * nis/nis_print.c: Likewise.
12837 * nis/nis_xdr.c: Likewise.
12838 * nscd/connections.c: Likewise.
12839 * nscd/hstcache.c: Likewise.
12840 * nscd/nscd_gethst_r.c: Likewise.
12841 * nscd/nscd_getserv_r.c: Likewise.
12842 * nscd/nscd_helper.c: Likewise.
12843 * nscd/servicescache.c: Likewise.
12844 * nss/makedb.c: Likewise.
12845 * nss/nss_db/db-XXX.c: Likewise.
12846 * nss/nss_db/db-initgroups.c: Likewise.
12847 * nss/nss_db/db-netgrp.c: Likewise.
12848 * nss/nss_files/files-network.c: Likewise.
12849 * nss/nss_files/files-parse.c: Likewise.
12850 * posix/bug-regex5.c: Likewise.
12851 * posix/fnmatch_loop.c: Likewise.
12852 * posix/regcomp.c: Likewise.
12853 * posix/regexec.c: Likewise.
12854 * posix/tst-rfc3484-2.c: Likewise.
12855 * posix/tst-rfc3484-3.c: Likewise.
12856 * posix/tst-rfc3484.c: Likewise.
12857 * resolv/nss_dns/dns-canon.c: Likewise.
12858 * resolv/nss_dns/dns-network.c: Likewise.
12859 * resolv/res_init.c: Likewise.
12860 * resolv/res_mkquery.c: Likewise.
12861 * resolv/tst-aton.c: Likewise.
12862 * stdlib/cxa_atexit.c: Likewise.
12863 * stdlib/cxa_finalize.c: Likewise.
12864 * stdlib/gen-fpioconst.c: Likewise.
12865 * stdlib/strtol_l.c: Likewise.
12866 * string/tst-endian.c: Likewise.
12867 * sunrpc/auth_des.c: Likewise.
12868 * sunrpc/clnt_udp.c: Likewise.
12869 * sunrpc/rtime.c: Likewise.
12870 * sunrpc/svcauth_des.c: Likewise.
12871 * sunrpc/xdr.c: Likewise.
12872 * sunrpc/xdr_intXX_t.c: Likewise.
12873 * sunrpc/xdr_rec.c: Likewise.
12874 * sysdeps/generic/ldconfig.h: Likewise.
12875 * sysdeps/generic/ldsodefs.h: Likewise.
12876 * sysdeps/generic/memusage.h: Likewise.
12877 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12887 * sysdeps/posix/getaddrinfo.c: Likewise.
12888 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12890 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12891 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12892 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12893 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12894 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12895 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12896 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12898 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12899 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12900 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12901 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12902 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12903 * sysdeps/x86_64/dl-tls.h: Likewise.
12904 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12905 * time/alt_digit.c: Likewise.
12906 * time/era.c: Likewise.
12907 * wcsmbs/tst-c16c32-1.c: Likewise.
12908
8c75f674
JM
129092013-05-16 Joseph Myers <joseph@codesourcery.com>
12910
12911 * math/libm-test.inc (struct test_sincos_data): New type.
12912 (RUN_TEST_LOOP_sincos): New macro.
12913 (sincos_test_data): New variable.
12914 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12915
e6e49e59
RH
129162013-05-16 Richard Henderson <rth@redhat.com>
12917
12918 * math/atest-exp2.c (LIMB64): New macro.
12919 (CONSTSZ): New macro.
12920 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12921 (hexdig): Move ...
12922 (print_mpn_fp): ... to function scope.
12923 (read_mpn_hex): Remove.
12924 (get_log2): Remove.
12925 (exp2_mpn): Use mp_log2.
12926 (main): Use mp_exp1.
12927
15c7c18d
JM
129282013-05-16 Joseph Myers <joseph@codesourcery.com>
12929
105a07df
JM
12930 * math/libm-test.inc: Remove comment about not testing "inexact"
12931 exceptions.
12932 (INEXACT_EXCEPTION): New macro.
12933 (NO_INEXACT_EXCEPTION): Likewise.
12934 (INVALID_EXCEPTION_OK): Update value.
12935 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12936 (OVERFLOW_EXCEPTION_OK): Likewise.
12937 (UNDERFLOW_EXCEPTION_OK): Likewise.
12938 (IGNORE_ZERO_INF_SIGN): Likewise.
12939 (ERRNO_UNCHANGED): Likewise.
12940 (ERRNO_EDOM): Likewise.
12941 (ERRNO_ERANGE): Likewise.
12942 (test_exceptions): Handle testing "inexact" exceptions.
12943 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12944 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12945 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12946 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12947 INEXACT_EXCEPTION.
12948 (rint_towardzero_test_data): Likewise.
12949 (rint_downward_test_data): Likewise.
12950 (rint_upward_test_data): Likewise.
12951
e9eee333
JM
12952 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12953 with OVERFLOW_EXCEPTION.
12954 (exp10_test_data): Likewise.
12955 (exp2_test_data): Likewise.
12956 (expm1_test_data): Likewise.
12957 (lgamma_test_data): Likewise.
12958 (pow_test_data): Likewise.
12959 (tgamma_test_data): Likewise.
12960 (yn_test_data): Remove duplicate test of overflow.
12961
1c38ff73
JM
12962 * math/libm-test.inc (struct test_cc_c_data): New type.
12963 (RUN_TEST_LOOP_cc_c): New macro.
12964 (cpow_test_data): New variable.
12965 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12966
15c7c18d
JM
12967 * math/libm-test.inc (struct test_f_L_data): New type.
12968 (RUN_TEST_LOOP_f_L): New macro.
12969 (llrint_test_data): New variable.
12970 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12971 (llrint_tonearest_test_data): New variable.
12972 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12973 (llrint_towardzero_test_data): New variable.
12974 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12975 (llrint_downward_test_data): New variable.
12976 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12977 (llrint_upward_test_data): New variable.
12978 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12979 (llround_test_data): New variable.
12980 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12981
f137ff13
PC
129822013-05-13 Peter Collingbourne <pcc@google.com>
12983
12984 * math/atest-exp2.c (get_log2): Remove const attribute.
12985
3608cb24
JM
129862013-05-15 Joseph Myers <joseph@codesourcery.com>
12987
12988 * math/libm-test.inc (struct test_f_l_data): New type.
12989 (RUN_TEST_LOOP_f_l): New macro.
12990 (lrint_test_data): New variable.
12991 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12992 (lrint_tonearest_test_data): New variable.
12993 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12994 (lrint_towardzero_test_data): New variable.
12995 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12996 (lrint_downward_test_data): New variable.
12997 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12998 (lrint_upward_test_data): New variable.
12999 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13000 (lround_test_data): New variable.
13001 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13002
39b1f617
PC
130032013-05-15 Peter Collingbourne <pcc@google.com>
13004
1deff3dc
PC
13005 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13006 (EXTRACT_WORDS64) Use where appropriate.
13007 (INSERT_WORDS64) Likewise.
13008
791f3ba0
PC
13009 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13010 constraints with x constraints.
13011 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13012
39b1f617
PC
13013 * malloc/obstack.c (_obstack_compat): Add initializer.
13014
12fba011
EM
130152013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13016
13017 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13018 si_trapno and add si_addr_lsb to _sifields.sigfault.
13019 (si_trapno): Remove macro.
13020 (si_addr_lsb): Define new macro.
13021 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13022
d369f531
JM
130232013-05-15 Joseph Myers <joseph@codesourcery.com>
13024
b861c6c4
JM
13025 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13026 instead of TEST_f_l.
13027 (llrint_test_tonearest): Likewise.
13028 (llrint_test_towardzero): Likewise.
13029 (llrint_test_downward): Likewise.
13030 (llrint_test_upward): Likewise.
13031 (llround_test): Likewise.
13032
7abeee12
JM
13033 * math/libm-test.inc (struct test_f_i_data): Add comment.
13034 (RUN_TEST_LOOP_f_b): New macro.
13035 (RUN_TEST_LOOP_f_b_tg): Likewise.
13036 (finite_test_data): New variable.
13037 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13038 (isfinite_test_data): New variable.
13039 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13040 (isinf_test_data): New variable.
13041 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13042 (isnan_test_data): New variable.
13043 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13044 (isnormal_test_data): New variable.
13045 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13046 (issignaling_test_data): New variable.
13047 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13048 (signbit_test_data): New variable.
13049 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13050
cbe8c4d3
JM
13051 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13052 with INVALID_EXCEPTION.
13053 (acosh_test_data): Likewise.
13054 (asin_test_data): Likewise.
13055 (atanh_test_data): Likewise.
13056 (fmod_test_data): Likewise.
13057 (log_test_data): Likewise.
13058 (log10_test_data): Likewise.
13059 (log2_test_data): Likewise.
13060 (pow_test_data): Likewise.
13061 (sqrt_test_data): Likewise.
13062 (y0_test_data): Likewise.
13063 (y1_test_data): Likewise.
13064 (yn_test_data): Likewise.
13065
5575c0e5
JM
13066 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13067 function contents.
13068
d369f531
JM
13069 * math/libm-test.inc (struct test_ff_i_data): New type.
13070 (RUN_TEST_LOOP_ff_i_tg): New macro.
13071 (isgreater_test_data): New variable.
13072 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13073 (isgreaterequal_test_data): New variable.
13074 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13075 (isless_test_data): New variable.
13076 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13077 (islessequal_test_data): New variable.
13078 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13079 (islessgreater_test_data): New variable.
13080 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13081 (isunordered_test_data): New variable.
13082 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13083
781fd748
DM
130842013-05-14 David S. Miller <davem@davemloft.net>
13085
13086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13087
87aa21df
JM
130882013-05-14 Joseph Myers <joseph@codesourcery.com>
13089
5e908270
JM
13090 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13091
f71172e5
JM
13092 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13093 extra_test to int.
13094 (struct test_f_i_data): Change type of max_ulp to int.
13095
8cfa635a
JM
13096 * math/libm-test.inc (test_ffI_f1_data): New type.
13097 (RUN_TEST_LOOP_ffI_f1): New macro.
13098 (remquo_test_data): New variable.
13099 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13100
2bcb36b2
JM
13101 * setjmp/tst-setjmp-fp.c: New file.
13102 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13103 (link-libm): New variable.
13104 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13105
acbd839a
JM
13106 * math/libm-test.inc (struct test_f_i_data): New type.
13107 (RUN_TEST_LOOP_f_i): New macro.
13108 (RUN_TEST_LOOP_f_i_tg): Likewise.
13109 (fpclassify_test_data): New variable.
13110 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13111 (ilogb_test_data): New variable.
13112 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13113
e414d745
JM
13114 * math/libm-test.inc (scalbln_test): Correct function name in END
13115 call.
13116
d9c2a0fd
JM
13117 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13118 (RUN_TEST_LOOP_fI_f1): New macro.
13119 (frexp_test_data): New variable.
13120 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13121
9dc9095d
JM
13122 * math/libm-test.inc (struct test_fF_f1_data): New type.
13123 (RUN_TEST_LOOP_fF_f1): New macro.
13124 (modf_test_data): New variable.
13125 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13126
87aa21df
JM
13127 * math/libm-test.inc (struct test_f_f1_data): New type.
13128 (RUN_TEST_LOOP_f_f1): New macro.
13129 (gamma_test_data): New variable.
13130 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13131 (lgamma_test_data): New variable.
13132 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13133
141af660
CD
131342013-05-13 Carlos O'Donell <carlos@redhat.com>
13135
13136 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13137 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13138 (main): Comment "tls" pseudo-hwcap.
13139
6d33265c
JM
131402013-05-13 Joseph Myers <joseph@codesourcery.com>
13141
68fc074c
JM
13142 * math/libm-test.inc (struct test_fl_f_data): New type.
13143 (RUN_TEST_LOOP_fl_f): New variable.
13144 (scalbln_test_data): New variable.
13145 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13146
243216e1
JM
13147 * math/libm-test.inc (struct test_fi_f_data): New type.
13148 (RUN_TEST_LOOP_fi_f): New macro.
13149 (ldexp_test_data): New variable.
13150 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13151 (scalbn_test_data): New variable.
13152 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13153
6a1992e2
JM
13154 * math/libm-test.inc (struct test_c_f_data): New type.
13155 (RUN_TEST_LOOP_c_f): New macro.
13156 (cabs_test_data): New variable.
13157 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13158 (carg_test_data): New variable.
13159 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13160 (cimag_test_data): New variable.
13161 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13162 (creal_test_data): New variable.
13163 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13164
0e400df5
JM
13165 * math/libm-test.inc (struct test_if_f_data): New type.
13166 (RUN_TEST_LOOP_if_f): New macro.
13167 (jn_test_data): New variable.
13168 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13169 (yn_test_data): New variable.
13170 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13171
6d33265c
JM
13172 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13173
f98ece5f
AZ
131742013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13175
13176 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13177 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13178
0f7d347b
SP
131792013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13180
43fe811b
SP
13181 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13182 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13183 (bench-deps): Add bench-timing.h.
13184 * benchtests-bench-skeleton.c: Include bench-timing.h.
13185 (main): Use TIMING_* macros instead of clock_gettime.
13186 * benchtests/bench-timing.h: New file.
13187
0f7d347b
SP
13188 [BZ #14582]
13189 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13190 Renamed from _LIB_VERSION.
13191 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13192
601a3a5f
JM
131932013-05-12 Joseph Myers <joseph@codesourcery.com>
13194
4f184d30
JM
13195 * math/libm-test.inc (struct test_fff_f_data): New type.
13196 (RUN_TEST_LOOP_fff_f): New macro.
13197 (fma_test_data): New variable.
13198 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13199 (fma_towardzero_test_data): New variable.
13200 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13201 (fma_downward_test_data): New variable.
13202 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13203 (fma_upward_test_data): New variable.
13204 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13205
08198877
JM
13206 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13207 (struct test_c_c_data): New type.
13208 (RUN_TEST_LOOP_c_c): New macro.
13209 (cacos_test_data): New variable.
13210 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13211 (cacosh_test_data): New variable.
13212 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13213 (casin_test_data): New variable.
13214 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13215 (casinh_test_data): New variable.
13216 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13217 (catan_test_data): New variable.
13218 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13219 (catanh_test_data): New variable.
13220 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13221 (ccos_test_data): New variable.
13222 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13223 (ccosh_test_data): New variable.
13224 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13225 (cexp_test_data): New variable.
13226 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13227 (clog_test_data): New variable.
13228 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13229 (clog10_test_data): New variable.
13230 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13231 (conj_test_data): New variable.
13232 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13233 (cproj_test_data): New variable.
13234 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13235 (csin_test_data): New variable.
13236 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13237 (csinh_test_data): New variable.
13238 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13239 (csqrt_test_data): New variable.
13240 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13241 (ctan_test_data): New variable.
13242 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13243 (ctan_tonearest_test_data): New variable.
13244 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13245 (ctan_towardzero_test_data): New variable.
13246 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13247 (ctan_downward_test_data): New variable.
13248 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13249 (ctan_upward_test_data): New variable.
13250 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13251 (ctanh_test_data): New variable.
13252 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13253 (ctanh_tonearest_test_data): New variable.
13254 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13255 (ctanh_towardzero_test_data): New variable.
13256 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13257 (ctanh_downward_test_data): New variable.
13258 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13259 (ctanh_upward_test_data): New variable.
13260 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13261 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13262 of BUILD_COMPLEX.
13263
601a3a5f
JM
13264 * math/libm-test.inc (struct test_ff_f_data): New type.
13265 (struct test_ff_f_data_nexttoward): Likewise.
13266 (RUN_TEST_LOOP_2_f): New macro.
13267 (RUN_TEST_LOOP_ff_f): Likewise.
13268 (atan2_test_data): New variable.
13269 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13270 (copysign_test_data): New variable.
13271 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13272 (fdim_test_data): New variable.
13273 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13274 (fmax_test_data): New variable.
13275 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13276 (fmin_test_data): New variable.
13277 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13278 (fmod_test_data): New variable.
13279 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13280 (hypot_test_data): New variable.
13281 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13282 (nextafter_test_data): New variable.
13283 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13284 (nexttoward_test_data): New variable.
13285 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13286 (pow_test_data): New variable.
13287 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13288 (pow_tonearest_test_data): New variable.
13289 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13290 (pow_towardzero_test_data): New variable.
13291 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13292 (pow_downward_test_data): New variable.
13293 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13294 (pow_upward_test_data): New variable.
13295 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13296 (remainder_test_data): New variable.
13297 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13298 (scalb_test_data): New variable.
13299 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13300 * sysdeps/i386/fpu/libm-test-ulps: Update.
13301
74c57478
JM
133022013-05-11 Joseph Myers <joseph@codesourcery.com>
13303
8329e4da
JM
13304 * math/libm-test.inc (fma_test): Use max_value instead of local
13305 variable fltmax.
13306 (nextafter_test): Likewise.
13307
74c57478
JM
13308 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13309 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13310 (acos_downward_test_data): New variable.
13311 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13312 (acos_upward_test_data): New variable.
13313 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13314 (acosh_test_data): New variable.
13315 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13316 (asin_test_data): New variable.
13317 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13318 (asin_tonearest_test_data): New variable.
13319 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13320 (asin_towardzero_test_data): New variable.
13321 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13322 (asin_downward_test_data): New variable.
13323 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13324 (asin_upward_test_data): New variable.
13325 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13326 (asinh_test_data): New variable.
13327 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13328 (atan_test_data): New variable.
13329 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13330 (atanh_test_data): New variable.
13331 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13332 (cbrt_test_data): New variable.
13333 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13334 (ceil_test_data): New variable.
13335 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13336 (cos_test_data): New variable.
13337 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13338 (cos_tonearest_test_data): New variable.
13339 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13340 (cos_towardzero_test_data): New variable.
13341 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13342 (cos_downward_test_data): New variable.
13343 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13344 (cos_upward_test_data): New variable.
13345 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13346 (cosh_test_data): New variable.
13347 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13348 (cosh_tonearest_test_data): New variable.
13349 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13350 (cosh_towardzero_test_data): New variable.
13351 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13352 (cosh_downward_test_data): New variable.
13353 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13354 (cosh_upward_test_data): New variable.
13355 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13356 (erf_test_data): New variable.
13357 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13358 (erfc_test_data): New variable.
13359 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13360 (exp_test_data): New variable.
13361 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13362 (exp_tonearest_test_data): New variable.
13363 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13364 (exp_towardzero_test_data): New variable.
13365 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13366 (exp_downward_test_data): New variable.
13367 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13368 (exp_upward_test_data): New variable.
13369 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13370 (exp10_test_data): New variable.
13371 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13372 (exp2_test_data): New variable.
13373 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13374 (expm1_test_data): New variable.
13375 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13376 (fabs_test_data): New variable.
13377 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13378 (floor_test_data): New variable.
13379 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13380 (j0_test_data): New variable.
13381 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13382 (j1_test_data): New variable.
13383 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13384 (log_test_data): New variable.
13385 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13386 (log10_test_data): New variable.
13387 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13388 (log1p_test_data): New variable.
13389 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13390 (log2_test_data): New variable.
13391 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13392 (logb_test_data): New variable.
13393 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13394 (logb_downward_test_data): New variable.
13395 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13396 (nearbyint_test_data): New variable.
13397 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13398 (rint_test_data): New variable.
13399 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13400 (rint_tonearest_test_data): New variable.
13401 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13402 (rint_towardzero_test_data): New variable.
13403 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13404 (rint_downward_test_data): New variable.
13405 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13406 (rint_upward_test_data): New variable.
13407 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13408 (round_test_data): New variable.
13409 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13410 (sin_test_data): New variable.
13411 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13412 (sin_tonearest_test_data): New variable.
13413 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13414 (sin_towardzero_test_data): New variable.
13415 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13416 (sin_downward_test_data): New variable.
13417 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13418 (sin_upward_test_data): New variable.
13419 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13420 (sinh_test_data): New variable.
13421 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13422 (sinh_tonearest_test_data): New variable.
13423 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13424 (sinh_towardzero_test_data): New variable.
13425 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13426 (sinh_downward_test_data): New variable.
13427 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13428 (sinh_upward_test_data): New variable.
13429 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13430 (sqrt_test_data): New variable.
13431 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13432 (tan_test_data): New variable.
13433 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13434 (tan_tonearest_test_data): New variable.
13435 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13436 (tan_towardzero_test_data): New variable.
13437 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13438 (tan_downward_test_data): New variable.
13439 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13440 (tan_upward_test_data): New variable.
13441 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13442 (tanh_test_data): New variable.
13443 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13444 (tgamma_test_data): New variable.
13445 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13446 (trunc_test_data): New variable.
13447 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13448 (y0_test_data): New variable.
13449 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13450 (y1_test_data): New variable.
13451 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13452 (significand_test_data): New variable.
13453 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13454
7187d844
CG
134552013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13456
13457 [BZ #12387]
13458 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13459
f63fae73
PT
134602013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13461
13462 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13463
8a67a4b3
AJ
134642013-05-10 Andreas Jaeger <aj@suse.de>
13465
13466 [BZ #15448]
13467 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13468 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13469
51df539d
JM
134702013-05-10 Joseph Myers <joseph@codesourcery.com>
13471
13472 * math/gen-libm-test.pl (adjust_arg): New function.
13473 (special_functions): Handle generating output in both functions
13474 and arrays.
13475 (parse_args): Likewise.
13476 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13477 $in_func argument to parse_args.
13478 * math/libm-test.inc (struct test_f_f_data): New type.
13479 (IF_ROUND_INIT_): New macro.
13480 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13481 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13482 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13483 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13484 (ROUND_RESTORE_): Likewise.
13485 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13486 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13487 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13488 (ROUND_RESTORE_FE_UPWARD): Likewise.
13489 (RUN_TEST_LOOP_f_f): New macro.
13490 (acos_test_data): New variable.
13491 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13492 (acos_tonearest_test_data): New variable.
13493 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13494
5c637fe5
SP
134952013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13496
13497 * benchtests/bench-skeleton.c (startup): Fix coding style.
13498
ab2b9461
JM
134992013-05-10 Joseph Myers <joseph@codesourcery.com>
13500
13501 [BZ #6809]
13502 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13503 negative infinity argument.
13504 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13505 negative infinity argument.
13506 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13507 negative infinity argument.
13508 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13509 domain errors.
13510
4c0fe6fe
FW
135112013-05-10 Florian Weimer <fweimer@redhat.com>
13512
13513 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13514 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13515 * iconv/iconv_prog.c (main): Likewise.
13516 * locale/programs/charmap-dir.c (charmap_readdir)
13517 (fopen_uncompressed): Likewise.
13518 * locale/programs/locfile.c (siblings_uncached)
13519 (write_locale_data): Use lstat64 instead of lstat.
13520 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13521 stat.
13522
a3375d29
AJ
135232013-05-10 Andreas Jaeger <aj@suse.de>
13524
13525 [BZ #15395]
13526 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13527 localization.
13528 Include <locale.h>.
13529
36129722
CD
135302013-05-09 Carlos O'Donell <carlos@redhat.com>
13531
13532 * elf/dl-close.c (_dl_close_worker): Add comments.
13533
faa7f811
JM
135342013-05-09 Joseph Myers <joseph@codesourcery.com>
13535
ed41ffef
JM
13536 [BZ #15359]
13537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13538 high part of pi/2.
13539 (__ieee754_rem_pio2l): Update comments.
13540
d0213cd0
JM
13541 [BZ #15429]
13542 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13543 high part of pi/2.
13544 (__ieee754_rem_pio2l): Update comments.
13545
0d3e777a
JM
13546 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13547 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13548
24f56066
JM
13549 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13550 M_PI_4l.
13551
faa7f811
JM
13552 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13553 (M_PI_34_LOG10El): Likewise.
13554 (M_PI2_LOG10El): Likewise.
13555 (M_PI4_LOG10El): Likewise.
13556 (M_PI_LOG10El): Likewise.
13557
e9a5e0fd
AZ
135582013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13559
13560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13561
d8cd06db
JM
135622013-05-08 Joseph Myers <joseph@codesourcery.com>
13563
a0d9f9d7
JM
13564 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13565 (MINUS_ZERO_INIT): Likewise.
13566 (PLUS_INFTY_INIT): Likewise.
13567 (MINUS_INFTY_INIT): Likewise.
13568 (QNAN_VALUE_INIT): Likewise.
13569 (MAX_VALUE_INIT): Likewise.
13570 (MIN_VALUE_INIT): Likewise.
13571 (MIN_SUBNORM_VALUE_INIT): Likewise.
13572 (plus_zero): Initialize with PLUS_ZERO_INIT.
13573 (minus_zero): Initialize with MINUS_ZERO_INIT.
13574 (plus_infty): Initialize with PLUS_INFTY_INIT.
13575 (minus_infty): Initialize with MINUS_INFTY_INIT.
13576 (qnan_value): Initialize with QNAN_VALUE_INIT.
13577 (max_value): Initialize with MAX_VALUE_INIT.
13578 (min_value): Initialize with MIN_VALUE_INIT.
13579 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13580
ae08db3b
JM
13581 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13582 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13583 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13584 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13585
f44bf14a
JM
13586 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13587 (RUN_TEST_2_f): Likewise.
13588 (RUN_TEST_ff_f): Likewise.
13589 (RUN_TEST_fi_f): Likewise.
13590 (RUN_TEST_fl_f): Likewise.
13591 (RUN_TEST_fff_f): Likewise.
13592 (RUN_TEST_c_f): Likewise.
13593 (RUN_TEST_f_f1): Likewise.
13594 (RUN_TEST_fF_f1): Likewise.
13595 (RUN_TEST_fI_f1): Likewise.
13596 (RUN_TEST_ffI_f1): Likewise.
13597 (RUN_TEST_c_c): Likewise.
13598 (RUN_TEST_cc_c): Likewise.
13599 (RUN_TEST_f_i): Likewise.
13600 (RUN_TEST_f_i_tg): Likewise.
13601 (RUN_TEST_ff_i_tg): Likewise.
13602 (RUN_TEST_f_b): Likewise.
13603 (RUN_TEST_f_b_tg): Likewise.
13604 (RUN_TEST_f_l): Likewise.
13605 (RUN_TEST_f_L): Likewise.
13606 (RUN_TEST_sincos): Likewise.
13607 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13608 whether to show exceptions. Do not include ");\n" in return
13609 value.
13610 (special_functions): Output call to RUN_TEST_sincos instead of
13611 check_float calls. Update calls to new_test.
13612 (parse_args): Output call to single RUN_TEST_* macro instead of
13613 check_* calls and other assignments. Update calls to new_test.
13614
d8cd06db
JM
13615 [BZ #2546]
13616 [BZ #2560]
13617 [BZ #5159]
13618 [BZ #15426]
13619 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13620 input to result for tgamma overflow.
13621 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13622 (gamma_coeff): New variable.
13623 (NCOEFF): New macro.
13624 (gamma_positive): New function.
13625 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13626 underflow here. Use gamma_positive instead of exp (lgamma) for
13627 other arguments.
13628 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13629 (gamma_coeff): New variable.
13630 (NCOEFF): New macro.
13631 (gammaf_positive): New function.
13632 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13633 underflow here. Use gamma_positive instead of exp (lgamma) for
13634 other arguments.
13635 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13636 (gamma_coeff): New variable.
13637 (NCOEFF): New macro.
13638 (gammal_positive): New function.
13639 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13640 underflow here. Use gamma_positive instead of exp (lgamma) for
13641 other arguments.
13642 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13643 (gamma_coeff): New variable.
13644 (NCOEFF): New macro.
13645 (gammal_positive): New function.
13646 (__ieee754_gammal_r): Handle positive infinity, overflow and
13647 underflow here. Handle NaN the same as positive infinity. Remove
13648 check x < 0xffffffff for negative integers. Use gamma_positive
13649 instead of exp (lgamma) for other arguments.
13650 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13651 (gamma_coeff): New variable.
13652 (NCOEFF): New macro.
13653 (gammal_positive): New function.
13654 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13655 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13659 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13660 * sysdeps/generic/math_private.h (__gamma_productf): New
13661 prototype.
13662 (__gamma_product): Likewise.
13663 (__gamma_productl): Likewise.
13664 * math/Makefile (libm-calls): Add gamma_product.
13665 * math/libm-test.inc (tgamma_test): Add more tests.
13666 * sysdeps/i386/fpu/libm-test-ulps: Update.
13667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13668
bb7cf681
OB
136692013-05-08 Ondřej Bílka <neleai@seznam.cz>
13670
13671 * benchtests/bench-skeleton.c (main): Preheat CPU.
13672
ba853947
AJ
136732013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13674
13675 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13676
8347c74c
RM
136772013-05-07 Roland McGrath <roland@hack.frob.com>
13678
13679 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13680 and _dl_skip_args_internal.
13681
e8dd4791
CD
136822013-05-07 Carlos O'Donell <carlos@redhat.com>
13683
13684 * manual/message.texi (Message Translation): Talk about users.
13685 Message to key mapping impacts design.
13686
c7405830
RM
136872013-05-06 Roland McGrath <roland@hack.frob.com>
13688
a9173057
RM
13689 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13690
976e2f03
RM
13691 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13692
9723ffc5
RM
13693 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13694 * sysdeps/wordsize-64/glob64.c: ... here.
13695
962e6658
RM
13696 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13697 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13698 New macros.
13699
ee586a6d
RM
13700 * debug/getlogin_r_chk.c: Moved to ...
13701 * login/getlogin_r_chk.c: ... here.
13702 * debug/Makefile (routines): Move getlogin_r_chk to ...
13703 * login/Makefile (routines): ... here.
13704 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13705 * login/Versions (libc: GLIBC_2.4): ... here.
13706
355f9165
RM
13707 * io/poll.c (__poll): Renamed from poll.
13708 Add libc_hidden_def.
13709 (poll): Define as weak alias.
13710
bd9ffde6
RM
13711 * debug/ptsname_r_chk.c: Moved to ...
13712 * login/ptsname_r_chk.c: ... here.
13713 * debug/Makefile (routines): Move ptsname_r_chk to ...
13714 * login/Makefile (routines): ... here.
13715 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13716 * login/Versions (libc: GLIBC_2.4): ... here.
13717
8fb16a04
RM
13718 * posix/getlogin.c: Moved to ...
13719 * login/getlogin.c: ... here.
13720 * posix/getlogin_r.c: Moved to ...
13721 * login/getlogin_r.c: ... here.
13722 * posix/getlogin_r.c: Moved to ...
13723 * login/getlogin_r.c: ... here.
13724 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13725 * login/Makefile (routines): ... here.
13726 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13727 * login/Versions (libc: GLIBC_2.0): ... here.
13728
b99b892f
RM
13729 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13730 (setrlimit): Define as weak alias.
13731
c7405830
RM
13732 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13733 Call __ names for open, ftruncate, and close.
13734 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13735 (truncate): Define as weak alias.
13736
5bf96de5
JM
137372013-05-06 Joseph Myers <joseph@codesourcery.com>
13738
9ea3513c
JM
13739 * math/gen-libm-test.pl (parse_args): Initialize x before each
13740 test of frexp, modf and remquo.
13741
5bf96de5
JM
13742 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13743 test signgam value.
13744
16e616a7
AZ
137452013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13746
13747 [BZ #15418]
13748 [BZ #15419]
13749 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13750 internal tests.
13751 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13752
d5e82754
RM
137532013-05-06 Roland McGrath <roland@hack.frob.com>
13754
13755 * elf/dl-writev.h: New file.
13756 * elf/dl-misc.c: Include it.
13757 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13758 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13759
a7548d41
JM
137602013-05-04 Joseph Myers <joseph@codesourcery.com>
13761
b7dab1e4
JM
13762 * math/libm-test.inc (noXFails): Remove variable.
13763 (noXPasses): Likewise.
13764 (BUILD_COMPLEX_INT): Remove macro.
13765 (print_screen): Remove xfail argument.
13766 (print_screen_max_error): Likewise.
13767 (update_stats): Likewise.
13768 (print_max_error): Likewise. Update calls to other affected
13769 functions.
13770 (print_complex_max_error): Likewise.
13771 (test_single_exception): Update calls to print_screen.
13772 (test_single_errno): Likewise.
13773 (check_float_internal): Remove xfail argument. Update calls to
13774 other affected functions.
13775 (check_float): Likewise.
13776 (check_complex): Likewise.
13777 (check_int): Likewise.
13778 (check_long): Likewise.
13779 (check_bool): Likewise.
13780 (check_longlong): Likewise.
13781 (main): Don't print noXFails and noXPasses.
13782 * math/gen-libm-test.pl (top level): Don't mention expected
13783 failure handling in comment.
13784 (new_test): Don't handle expected failures.
13785 (parse_args): Don't mention expected failure handling in comment.
13786 (generate_testfile): Don't handle expected failures.
13787 (parse_ulps): Likewise.
13788 (print_ulps_file): Likewise.
13789 (get_failure): Remove function.
13790 (output_test): Don't handle expected failures.
13791 * make/README.libm-test: Don't mention expected failure handling.
13792
a7548d41
JM
13793 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13794 (minus_zero): Likewise.
13795 (plus_infty): Likewise.
13796 (minus_infty): Likewise.
13797 (qnan_value): Likewise.
13798 (max_value): Likewise.
13799 (min_value): Likewise.
13800 (min_subnorm_value): Likewise.
13801 (initialize): Do not initialize those variables dynamically.
13802
60bfd54c
RM
138032013-05-03 Roland McGrath <roland@hack.frob.com>
13804
cc0e6ed8
RM
13805 * io/open.c (__open_2): Moved to ...
13806 * io/open_2.c: ... this new file.
13807 * io/open64.c (__open64_2): Moved to ...
13808 * io/open64_2.c: ... this new file.
13809 * io/openat.c (__openat_2): Moved to ...
13810 * io/openat_2.c: ... this new file.
13811 * io/openat64.c (__openat64_2): Moved to ...
13812 * io/openat64_2.c: ... this new file.
13813 * io/Makefile (routines): Add them.
13814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13815 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13816 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13817 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13818 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13819 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13820 (__openat64): Add hidden_ver.
13821 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13822 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13823
60bfd54c
RM
13824 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13825 Separately conditionalize setting of GLRO(dl_sysinfo) so
13826 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13827 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13828
83e7640f
AZ
138292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13830
13831 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13832 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13833 definition.
13834 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13835 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13836 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13837 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13838 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13839
d5dc2af3
JM
138402013-05-03 Joseph Myers <joseph@codesourcery.com>
13841
c31a5b1e
JM
13842 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13843 test signgam value.
13844
d5dc2af3
JM
13845 * math/libm-test.inc (hypot_test): Do not use
13846 IGNORE_ZERO_INF_SIGN.
13847
164fd39d
AJ
138482013-05-03 Andreas Jaeger <aj@suse.de>
13849
13850 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13851 Linux 3.9.
13852 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13853 (PF_MAX): Adjust for VSOCK change.
13854
8237f48c
AZ
138552013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13856
13857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13858
9df02941
CD
138592013-05-02 Carlos O'Donell <carlos@redhat.com>
13860
13861 [BZ #15264]
13862 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13863 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13864 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13865
d422395e
DM
138662013-05-02 David S. Miller <davem@davemloft.net>
13867
13868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13869
a07c5731
OB
138702013-05-01 Ondřej Bílka <neleai@seznam.cz>
13871
13872 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13873
1324e37f
RM
138742013-05-01 Roland McGrath <roland@hack.frob.com>
13875
13876 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13877
0695940b
RS
138782013-05-01 Richard Smith <richard@metafoo.co.uk>
13879
bb5f27ad 13880 [BZ #14952]
0695940b
RS
13881 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13882 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13883 Use __attribute__ ((__gnu_inline__)).
13884 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13885 Don't use __attribute__ ((__gnu_inline__)).
13886
10de07f5
JM
138872013-05-01 Joseph Myers <joseph@codesourcery.com>
13888
13889 [BZ #15423]
13890 * math/s_catan.c (__catan): Handle small real or imaginary part of
13891 input specially to avoid spurious underflow.
13892 * math/s_catanf.c (__catanf): Likewise.
13893 * math/s_catanh.c (__catanh): Likewise.
13894 * math/s_catanhf.c (__catanhf): Likewise.
13895 * math/s_catanhl.c (__catanhl): Likewise.
13896 * math/s_catanl.c (__catanl): Likewise.
13897 * math/libm-test.inc (catan_test): Add more tests.
13898 (catanh_test): Likewise.
13899 * sysdeps/i386/fpu/libm-test-ulps: Update.
13900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13901
cb4d5414
AZ
139022013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13903
13904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13905
caf84319
JM
139062013-04-30 Joseph Myers <joseph@codesourcery.com>
13907
13908 [BZ #15416]
13909 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13910 accurately for denominator in atan2.
13911 * math/s_catanf.c (__catanf): Likewise.
13912 * math/s_catanh.c (__catanh): Likewise.
13913 * math/s_catanhf.c (__catanhf): Likewise.
13914 * math/s_catanhl.c (__catanhl): Likewise.
13915 * math/s_catanl.c (__catanl): Likewise.
13916 * math/libm-test.inc (catan_test): Add more tests.
13917 (catanh_test): Likewise.
13918 * sysdeps/i386/fpu/libm-test-ulps: Update.
13919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13920
d569c6ee
SP
139212013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13922
6dbe713d
SP
13923 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13924
f0ee064b
SP
13925 * benchtests/Makefile (bench): Remove slow benchmarks.
13926 * benchtests/atan-inputs: Add slow benchmark inputs.
13927 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13928 (BENCH_FUNC): Accept variant offset.
13929 (VARIANT): Define.
13930 * benchtests/bench-skeleton.c (main): Run benchmark for each
13931 variant.
13932 * benchtests/cos-inputs: Add slow benchmark inputs.
13933 * benchtests/exp-inputs: Likewise.
13934 * benchtests/pow-inputs: Likewise.
13935 * benchtests/sin-inputs: Likewise.
13936 * benchtests/slowatan-inputs: Remove.
13937 * benchtests/slowatan.c: Remove.
13938 * benchtests/slowcos-inputs: Remove.
13939 * benchtests/slowcos.c: Remove.
13940 * benchtests/slowexp-inputs: Remove.
13941 * benchtests/slowexp.c: Remove.
13942 * benchtests/slowpow-inputs: Remove.
13943 * benchtests/slowpow.c: Remove.
13944 * benchtests/slowsin-inputs: Remove.
13945 * benchtests/slowsin.c: Remove.
13946 * benchtests/slowtan-inputs: Remove.
13947 * benchtests/slowtan.c: Remove.
13948 * benchtests/tan-inputs: Add slow benchmark inputs.
13949 * scripts/bench.pl: Parse comments and directives.
13950
d569c6ee
SP
13951 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13952 in CPPFLAGS.
13953 ($(objpfx)bench-%.c): Remove *-ITER.
13954 * benchtests/bench-modf.c: Remove definition of ITER.
13955 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13956 (main): Loop for DURATION seconds instead of fixed number of
13957 iterations.
13958 * scripts/bench.pl: Don't expect iterations in parameters.
13959
a6a242fe
RM
139602013-04-29 Roland McGrath <roland@hack.frob.com>
13961
13962 * io/fchdir.c (__fchdir): Renamed from fchdir.
13963 (fchdir): Define as weak alias.
13964
f2da7793
JM
139652013-04-29 Joseph Myers <joseph@codesourcery.com>
13966
13967 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13968 (ERRNO_EDOM): Likewise.
13969 (ERRNO_ERANGE): Likewise.
13970 (noErrnoTests): New variable.
13971 (init_max_error): Set errno to 0.
13972 (test_single_errno): New function.
13973 (test_errno): Likewise.
13974 (check_float_internal): Call test_errno. Set errno to 0.
13975 (check_complex): Refer to errno tests in comment.
13976 (check_int): Call test_errno. Set errno to 0.
13977 (check_long): Likewise.
13978 (check_bool): Likewise.
13979 (check_longlong): Likewise.
13980 (cos_test): Use ERRNO_* flags for errno tests instead of
13981 check_int.
13982 (expm1_test): Likewise.
13983 (fmod_test): Likewise.
13984 (ilogb_test): Likewise.
13985 (lgamma_test): Likewise.
13986 (pow_test): Likewise.
13987 (remainder_test): Likewise.
13988 (sin_test): Likewise.
13989 (tan_test): Likewise.
13990 (yn_test): Likewise.
13991 (initialize): Set errno to 0.
13992 (main): Print number of errno tests.
13993 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13994
b1a36ceb
AJ
139952013-04-29 Andreas Jaeger <aj@suse.de>
13996
c3ed8088
AJ
13997 [BZ #15084]
13998 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13999 and RES_USEVC.
14000
f1a24198
AJ
14001 [BZ #15085]
14002 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14003 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14004 unimplemented.
14005
9ce3b2cb
AJ
14006 [BZ #15380]
14007 * stdlib/random.c (__initstate): Return NULL if
14008 __initstate fails.
14009
f1a24198 14010 [BZ #15086]
b1a36ceb
AJ
14011 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14012 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14013 RES_SNGLKUPREOP.
14014
7e7b6f36
AZ
140152013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14016
14017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14018
4d14f449
JM
140192013-04-29 Joseph Myers <joseph@codesourcery.com>
14020
14021 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14022 of individual tests.
14023 (casin_test): Likewise.
14024 (casinh_test): Likewise.
14025
5b4217d7
JM
140262013-04-27 Joseph Myers <joseph@codesourcery.com>
14027
14028 [BZ #15409]
14029 * math/s_catan.c (__catan): Handle arguments with large real or
14030 imaginary part separately without squaring.
14031 * math/s_catanf.c (__catanf): Likewise.
14032 * math/s_catanh.c (__catanh): Likewise.
14033 * math/s_catanhf.c (__catanhf): Likewise.
14034 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14035 and redefine.
14036 (__catanhl): Handle arguments with large real or imaginary part
14037 separately without squaring.
14038 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14039 and redefine.
14040 (__catanl): Handle arguments with large real or imaginary part
14041 separately without squaring.
14042 * math/libm-test.inc (catan_test): Add more tests.
14043 (catanh_test): Likewise.
14044 * sysdeps/i386/fpu/libm-test-ulps: Update.
14045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14046
4220c3ef
AJ
140472013-04-27 Andreas Jaeger <aj@suse.de>
14048
14049 [BZ #15007]
14050 * stdlib/stdlib.h: Update guards for qecvt.
14051 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14052 <stdlib.h>.
14053
4721b2d1
AM
140542013-04-27 Allan McRae <allan@archlinux.org>
14055
14056 * sysdeps/i386/fpu/libm-test-ulps: Update.
14057
f0302940
JM
140582013-04-26 Joseph Myers <joseph@codesourcery.com>
14059
9457fd95
JM
14060 [BZ #15406]
14061 * math/s_catan.c: Include <float.h>.
14062 (__catan): Ensure underflow exception occurs for underflowed
14063 result.
14064 * math/s_catanf.c: Include <float.h>.
14065 (__catanf): Ensure underflow exception occurs for underflowed
14066 result.
14067 * math/s_catanh.c: Include <float.h>.
14068 (__catanh): Ensure underflow exception occurs for underflowed
14069 result.
14070 * math/s_catanhf.c: Include <float.h>.
14071 (__catanhf): Ensure underflow exception occurs for underflowed
14072 result.
14073 * math/s_catanhl.c: Include <float.h>.
14074 (__catanhl): Ensure underflow exception occurs for underflowed
14075 result.
14076 * math/s_catanl.c: Include <float.h>.
14077 (__catanl): Ensure underflow exception occurs for underflowed
14078 result.
14079 * math/libm-test.inc (catan_test): Add more tests.
14080 (catanh_test): Likewise.
14081
f0302940
JM
14082 [BZ #15405]
14083 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14084 underflowed result.
14085 * math/s_ccoshf.c (__ccoshf): Likewise.
14086 * math/s_ccoshl.c (__ccoshl): Likewise.
14087 * math/s_csin.c (__csin): Likewise.
14088 * math/s_csinf.c (__csinf): Likewise.
14089 * math/s_csinh.c (__csinh): Likewise.
14090 * math/s_csinhf.c (__csinhf): Likewise.
14091 * math/s_csinhl.c (__csinhl): Likewise.
14092 * math/s_csinl.c (__csinl): Likewise.
14093 * math/libm-test.inc (ccos_test): Add more tests.
14094 (ccosh_test): Likewise.
14095 (csin_test): Likewise.
14096 (csinh_test): Likewise.
14097
aa630f59
AZ
140982013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14099
14100 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14101 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14102 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14103 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14104 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14105 powerpc/power5+/fpu folders.
14106 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14107
14108
1b835983
MT
141092013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14110
14111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14112
73709b26
JM
141132013-04-25 Joseph Myers <joseph@codesourcery.com>
14114
14115 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14116 additions to variable.
14117 [$(config-machine) = x86_64] (modules-names): Likewise.
14118 ($(objpfx)tst-audit3): Remove dependency.
14119 ($(objpfx)tst-audit3.out): Likewise.
14120 ($(objpfx)tst-audit4): Likewise.
14121 ($(objpfx)tst-audit4.out): Likewise.
14122 ($(objpfx)tst-audit5): Likewise.
14123 ($(objpfx)tst-audit5.out): Likewise.
14124 ($(objpfx)tst-audit6): Likewise.
14125 ($(objpfx)tst-audit6.out): Likewise.
14126 ($(objpfx)tst-audit7): Likewise.
14127 ($(objpfx)tst-audit7.out): Likewise.
14128 (tst-audit3-ENV): Remove variable.
14129 (tst-audit4-ENV): Likewise.
14130 (tst-audit5-ENV): Likewise.
14131 (tst-audit6-ENV): Likewise.
14132 (tst-audit7-ENV): Likewise.
14133 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14134 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14135 addition to variable.
14136 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14137 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14138 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14139 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14140 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14141 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14142 tst-audit3, tst-audit4 and tst-audit5.
14143 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14144 tst-audit6 and tst-audit7.
14145 [$(subdir) = elf] (modules-names): Add audit modules for those
14146 tests.
14147 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14148 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14149 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14150 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14151 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14152 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14153 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14154 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14155 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14156 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14157 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14158 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14159 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14160 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14161 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14162 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14163 Likewise.
14164 [$(subdir) = elf && $(config-cflags-avx) = yes]
14165 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14166 [$(subdir) = elf && $(config-cflags-avx) = yes]
14167 (CFLAGS-tst-auditmod4a.c): Likewise.
14168 [$(subdir) = elf && $(config-cflags-avx) = yes]
14169 (CFLAGS-tst-auditmod4b.c): Likewise.
14170 [$(subdir) = elf && $(config-cflags-avx) = yes]
14171 (CFLAGS-tst-auditmod6b.c): Likewise.
14172 [$(subdir) = elf && $(config-cflags-avx) = yes]
14173 (CFLAGS-tst-auditmod6c.c): Likewise.
14174 [$(subdir) = elf && $(config-cflags-avx) = yes]
14175 (CFLAGS-tst-auditmod7b.c): Likewise.
14176 * elf/tst-audit3.c: Move to ...
14177 * sysdeps/x86_64/tst-audit3.c: ... here.
14178 * elf/tst-audit4.c: Move to ...
14179 * sysdeps/x86_64/tst-audit4.c: ... here.
14180 * elf/tst-audit5.c: Move to ...
14181 * sysdeps/x86_64/tst-audit5.c: ... here.
14182 * elf/tst-audit6.c: Move to ...
14183 * sysdeps/x86_64/tst-audit6.c: ... here.
14184 * elf/tst-audit7.c: Move to ...
14185 * sysdeps/x86_64/tst-audit7.c: ... here.
14186 * elf/tst-auditmod3a.c: Move to ...
14187 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14188 * elf/tst-auditmod3b.c: Move to ...
14189 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14190 * elf/tst-auditmod4a.c: Move to ...
14191 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14192 * elf/tst-auditmod4b.c: Move to ...
14193 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14194 * elf/tst-auditmod5a.c: Move to ...
14195 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14196 * elf/tst-auditmod5b.c: Move to ...
14197 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14198 * elf/tst-auditmod6a.c: Move to ...
14199 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14200 * elf/tst-auditmod6b.c: Move to ...
14201 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14202 * elf/tst-auditmod6c.c: Move to ...
14203 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14204 * elf/tst-auditmod7a.c: Move to ...
14205 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14206 * elf/tst-auditmod7b.c: Move to ...
14207 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14208
1ef74943
PP
142092013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14210
14211 [BZ #15366]
14212 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14213 define unconditionally.
14214 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14215 define unconditionally.
14216 (INT8_C, INT16_C, etc.): Likewise.
14217
93fd48c5
MR
142182013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14219
ae9552cf
MR
14220 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14221 __ehdr_start with hidden visibility.
14222
93fd48c5
MR
14223 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14224
418601aa
CD
142252013-04-24 Carlos O'Donell <carlos@redhat.com>
14226
14227 * math/libm-test.inc (cos_test): Use accurate hex constants.
14228 (sincost_test): Likewise.
14229
2f38fbfe
JM
142302013-04-24 Joseph Myers <joseph@codesourcery.com>
14231
5e221800
JM
14232 * math/libm-test.inc (catan_test): Add more tests.
14233 (catanh_test): Likewise.
14234
77f143fd
JM
14235 * math/s_catanf.c (__catanf): Use suffixed floating-point
14236 constants.
14237 * math/s_catanhf.c (__catanhf): Likewise.
14238 * math/s_catanhl.c (__catanhl): Likewise.
14239 * math/s_catanl.c (__catanl): Likewise.
14240
2f38fbfe
JM
14241 [BZ #15394]
14242 * math/s_catan.c (__catan): Calculate imaginary part of result
14243 with log1p not log unless computing log of number close to 0.
14244 * math/s_catanf.c (__catanf): Likewise.
14245 * math/s_catanl.c (__catanl): Likewise.
14246 * math/s_catanh.c (__catanh): Calculate real part of result with
14247 log1p not log unless computing log of number close to 0.
14248 * math/s_catanhf.c (__catanhf): Likewise.
14249 * math/s_catanhl.c (__catanhl): Likewise.
14250 * math/libm-test.inc (catan_test): Add more tests.
14251 (catanh_test): Likewise.
14252 * sysdeps/i386/fpu/libm-test-ulps: Update.
14253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254
45d69176
SP
142552013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14256
14257 * benchtests/Makefile: Mention files in which fast and slow
14258 paths of math functions are implemented.
14259
87f51853
RM
142602013-04-23 Roland McGrath <roland@hack.frob.com>
14261
14262 * sysdeps/posix/timespec_get.c: New file.
14263
3c026539
AZ
142642013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14265
14266 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14267 POWER.
14268 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14269 for POWER.
14270 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14271 powerpc/power5/fpu folders.
14272 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14273 * benchtests/Makefile: Add modf testcase.
14274 * benchtests/bench-modf.c: New file: Benchmark test for mo
14275
ff491d14
SP
142762013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14277
14278 [BZ #14888]
14279 * time/Makefile (tests): Add tst-strptime-whitespace.
14280 * time/strptime_l.c (get_number): Use ISSPACE.
14281 (__strptime_internal): Likewise.
14282 * time/tst-strptime-whitespace.c: New test case.
14283
7ed3f4e8
AS
142842013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14285
14286 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14287 member.
14288 (_nss_files_init): Set it here.
14289
5c95f7b6
HC
142902013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14291
14292 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14293 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14294 unsigned.
14295
d34c9158
JBG
142962013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14297
14298 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14299
2169712d
SP
143002013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14301
14302 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14303 size just once.
14304
29c5de99
DM
143052013-04-21 David S. Miller <davem@davemloft.net>
14306
14307 * po/ru.po: Update Russion translation from translation project.
14308
ccdad15d
AC
143092013-04-17 Adam Conrad <adconrad@0c3.net>
14310
14311 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14312 and setfsgid.
14313
0f122b8d
CD
143142013-04-17 Carlos O'Donell <carlos@redhat.com>
14315
5c5b07da 14316 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14317 * configure: Regenerate.
5c5b07da 14318 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14319 Add example to error message.
14320 * sysdeps/i386/configure: Regenerate.
14321
037714dd
SP
143222013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14323
14324 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14325 slowtan.
14326 * benchtests/cos-inputs: New file.
14327 * benchtests/slowcos-inputs: New file.
14328 * benchtests/slowcos.c: New file.
14329 * benchtests/slowtan-inputs: New file.
14330 * benchtests/slowtan.c: New file.
14331 * benchtests/tan-inputs: New file.
14332
e913141d
RM
143332013-04-16 Roland McGrath <roland@hack.frob.com>
14334
14335 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14336 considered kosher.
14337
a2964074
SP
143382013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14339
4856bcd2
SP
14340 * benchtests/Makefile: Include cppflags-iterator.mk to add
14341 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14342
a2964074
SP
14343 * Makefile.in (bench-clean): New target.
14344 * benchtests/Makefile (bench-clean): Likewise.
14345
9fbf9aca
DH
143462013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14347
14348 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14349
207d1e2a
TS
143502013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14351
14352 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14353
306dfba9
AS
143542013-04-15 Andreas Schwab <schwab@suse.de>
14355
14356 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14358 * nscd/pwdcache.c (cache_addpw): Likewise.
14359 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14360 more than recsize.
14361
206a6699
SP
143622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14363
14364 * benchtests/Makefile (bench): Write all output to
14365 bench-out.tmp together.
14366
0582f6b3
AS
143672013-04-15 Andreas Schwab <schwab@suse.de>
14368
14369 * nscd/nscd.c (main): Don't fork again after closing files.
14370
acb4325f
SP
143712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14372
5cb26d0a
SP
14373 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14374
acb4325f
SP
14375 * benchtests/Rules (bench-deps): Collect dependencies into a
14376 single variable. Add Makefile to dependencies.
14377 ($(objpfx)bench-%.c): Depend on bench-deps.
14378
47792506
RM
143792013-04-12 Roland McGrath <roland@hack.frob.com>
14380 Xavier Roche <roche+kml2@exalead.com>
14381
14382 [BZ #15361]
14383 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14384 just that it's a file descriptor.
14385 * manual/llio.texi (Synchronizing AIO Operations): Update description
14386 for EBADF error from aio_fsync.
14387
8fc1bee5
SP
143882013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14389
14390 * Rules (bench): Move target definition...
14391 * benchtests/Makefile: ... here.
14392
aba5e333
CD
143932013-04-11 Carlos O'Donell <carlos@redhat.com>
14394
14395 * math/libm-test.inc (cos_test): Fix PI/2 test.
14396 (sincos_test): Likewise.
14397 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14398 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14399
273cdee8
AS
144002013-04-11 Andreas Schwab <schwab@suse.de>
14401
6ecec3b6
AS
14402 [BZ #13988]
14403 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14404 accept exponent character only when digits were seen.
14405 * stdio-common/Makefile (tests): Add bug26.
14406 * stdio-common/bug26.c: New file.
14407
273cdee8
AS
14408 [BZ #14293]
14409 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14410 non-freeable.
14411
8da491f5
SP
144122013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14413
01dc6df9
SP
14414 * Makeconfig (rtld-prefix): Define built linker prefix.
14415 * Rules (run-bench): Use it.
14416 * math/Makefile (run-regen-ulps): Likewise.
14417
8da491f5
SP
14418 * Rules (bench): Remove eval.
14419
abe7f530
SP
144202013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14421 Roland McGrath <roland@hack.frob.com>
14422 Ondrej Bilka <neleai@seznam.cz>
14423
14424 [BZ #15346]
14425 * time/getdate.c: Include ctype.h and alloca.h.
14426 (__getdate_r): Trim leading and trailing spaces of input.
14427 * time/tst-getdate.c (tests): Add tests with leading and
14428 trailing spaces.
14429
61c23e62
RM
144302013-04-08 Roland McGrath <roland@hack.frob.com>
14431
14432 [BZ #14280]
14433 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14434 when computing value.
14435
7208a313
CD
144362013-04-06 Carlos O'Donell <carlos@redhat.com>
14437
085b2d41
CD
14438 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14439 Use testrun.sh to run libm tests.
14440
7208a313
CD
14441 [BZ #15309]
14442 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14443
872c0acd
MM
144442013-04-06 Marko Myllynen <myllynen@redhat.com>
14445
14446 [BZ #15264]
14447 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14448
26510bdd
CD
144492013-04-06 Carlos O'Donell <carlos@redhat.com>
14450
14451 * Makefile.in (regen-ulps): New target.
14452 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14453 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14454 [ifneq (no,$(PERL)] (regen-ulps): New target.
14455 [ifeq (no,$(PERL)] (regen-ulps): New target.
14456 * math/libm-test.inc (ulps_file_name): Define.
14457 (output_dir): New variable.
14458 (options): Add "output-dir" option.
14459 (parse_opt): Handle 'o' case.
14460 (main): If output_dir is non-NULL use it as a prefix
14461 otherwise use "".
14462 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14463
a01f19c8
CD
144642013-04-06 Carlos O'Donell <carlos@redhat.com>
14465
14466 [BZ #10060, #10062]
14467 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14468 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14469 fail configure if __sync_val_compare_and_swap is not inlined.
14470 * sysdeps/i386/configure: Regenerate.
14471 * configure.in: Build for i686 when configured for i386.
14472 * configure: Regenerate.
14473 * README: Remove i386 reference.
14474
b7a329a5
CD
144752013-04-06 Carlos O'Donell <carlos@redhat.com>
14476
14477 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14478 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14479
bf0f50df
TS
144802013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14481
ee091edf
TS
14482 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14483 (lmsnanval): New variables.
14484 (F): Add conversion tests.
14485 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14486 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14487
a8b792d6
TS
14488 * stdio-common/tstdiomisc.c (F): Properly collect individual
14489 tests' results.
14490
a1cbf437
TS
14491 [BZ #14686, #15336]
14492 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14493 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14494 Instead, use input NaN values or generate a qNaN by arithmetic
14495 operation. Also fix bugs to comply with the standard.
14496 * math/libm-test.inc (remainder_test): Add more tests.
14497
8b43a0c9
TS
14498 [BZ #15335, #15342]
14499 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14501 input NaN values or generate a qNaN by arithmetic operation.
14502
d91da4ce
TS
14503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14504 unreachable code.
14505
bf0f50df
TS
14506 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14507 definitions.
14508
05e166c8
JM
145092013-04-03 Joseph Myers <joseph@codesourcery.com>
14510
14511 [BZ #14478]
14512 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14513 underflowed result.
14514 * math/s_cexpf.c (__cexpf): Likewise.
14515 * math/s_cexpl.c (__cexpl): Likewise.
14516 * math/libm-test.inc (cexp_test): Add more tests.
14517
1cef1b19
AS
145182013-04-03 Andreas Schwab <schwab@suse.de>
14519
14520 [BZ #15330]
14521 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14522 order arrays from heap if bigger than alloca cutoff.
14523
74d87055
TS
145242013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14525
14526 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14527 (SNAN_TESTS_double): Refer to GCC PR56831.
14528 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14529 GCC PR56828.
14530
d755bba4
SP
145312013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14532
90d5d5bb
SP
14533 * Rules (bench): Move bench.out after the run is complete.
14534
73e0cd5d
SP
14535 * Rules (bench): Echo currently running benchmark.
14536
64aabd4b
SP
14537 * benchtests/Makefile (bench): Add atan and slowatan.
14538 * benchtests/atan-inputs: New file.
14539 * benchtests/slowatan-inputs: New file.
14540 * benchtests/slowatan.c: New file.
14541
c871eccd
SP
14542 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14544 its value.
14545
d755bba4
SP
14546 [BZ #15305]
14547 * sysdeps/unix/sysv/linux/kernel-features.h
14548 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14549 __ASSUME_XFS_RESTRICTED_CHOWN.
14550 * sysdeps/unix/sysv/linux/pathconf.c
14551 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14552 Save and restore errno.
14553
52ce4860
JM
145542013-04-02 Joseph Myers <joseph@codesourcery.com>
14555
14556 [BZ #15327]
14557 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14558 arguments using __kernel_casinh.
14559 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14560 arguments using __kernel_casinhf.
14561 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14562 arguments using __kernel_casinhl.
14563 * math/libm-test.inc (cacosh_test): Add more tests.
14564 * sysdeps/i386/fpu/libm-test-ulps: Update.
14565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14566
81f311c2
SP
145672013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14568
e7906a47
SP
14569 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14571
92e3664b
SP
14572 * bench/Makefile (bench): Add sin and slowsin.
14573 * benchtests/sin-inputs: New file.
14574 * benchtests/slowsin-inputs: New file.
14575 * benchtests/slowsin.c: New file.
14576
81f311c2
SP
14577 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14578 (bench): Add slowexp and slowpow.
14579 (exp-ITER): Increase iterations.
14580 (pow-ITER): Likewise.
14581 * benchtests/exp-inputs: Change input.
14582 * benchtests/pow-inputs: Likewise.
14583 * benchtests/slowexp-inputs: New file.
14584 * benchtests/slowexp.c: New file.
14585 * benchtests/slowpow-inputs: New file.
14586 * benchtests/slowpow.c: New file.
14587
ab0f1aa9
AZ
145882013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14589
14590 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14591 instructions.
14592 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14593 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14594 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14595 * benchtests/Makefile: Add rint benchtest.
14596 * benchtests/rint-inputs: Input for rint benchtest.
14597
57267616
TS
145982013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14599
14600 * Versions.def (libm): Add GLIBC_2.18.
14601 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14602 hidden libm prototypes.
14603 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14604 * math/Makefile (libm-calls): Add s_issignaling.
14605 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14606 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14607 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14608 declaration.
14609 * math/math.h [__USE_GNU] (issignaling): New macro.
14610 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14611 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14613 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14616 * manual/arith.texi (issignaling): New section.
14617 * manual/libm-err-tab.pl (@all_functions): Update comment.
14618 * math/gen-libm-test.pl (parse_args): Apply special handling for
14619 issignaling.
14620 * math/libm-test.inc (print_float, issignaling_test): New
14621 functions.
14622 (check_float_internal): Add issignaling checks.
14623 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14624 default definition.
14625 * sysdeps/powerpc/math-tests.h: New file.
14626 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14627 tests.
14628 * math/test-snan.c (TEST_FUNC): Likewise.
14629
6142896d
DM
146302013-03-30 David S. Miller <davem@davemloft.net>
14631
14632 * po/de.po: Update from translation team.
14633
ccc8cadf
JM
146342013-03-30 Joseph Myers <joseph@codesourcery.com>
14635
14636 [BZ #10357]
14637 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14638 imaginary part less than 1.0 and real part less than 0.5
14639 specially.
14640 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14641 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14642 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14643 (cacos_test): Add more tests.
14644 (casin_test): Likewise.
14645 (casinh_test): Likewise.
14646 * sysdeps/i386/fpu/libm-test-ulps: Update.
14647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14648
0f6a8d4b
SP
146492013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14650
0d1029de
SP
14651 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14652 ONE with its value.
14653
c2d94018
SP
14654 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14655 (__pow_mp): Replace ONE and MONE with their values.
14656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14657 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14658 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14659 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14660 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14661 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14662
27ec37f1
SP
14663 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14664
a64d7e0e
SP
14665 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14666 (__pow_mp): Replace ZERO and MZERO with their values.
14667 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14668 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14669 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14671 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14672 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14673 (__sqr): Likewise.
14674
d26dd3eb
SP
14675 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14676
0f6a8d4b
SP
14677 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14678
e57b0c61
RM
146792013-03-28 Roland McGrath <roland@hack.frob.com>
14680
14681 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14682 Declare with __attribute__ ((weak)).
14683 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14684 Call __call_tls_dtors only if it's not NULL.
14685
356b3480
RM
146862013-03-28 Roland McGrath <roland@hack.frob.com>
14687
288f7d79
RM
14688 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14689 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14690 magic __ehdr_start linker symbol if it's defined.
14691 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14692 them up here if it was already done.
14693
dc0a0263
RM
14694 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14695 (_dl_aux_init): Use const in cast when setting it.
14696 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14697 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14698 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14699
3d3436ae
RM
14700 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14701 Declare them here.
14702 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14703 * csu/libc-tls.c: Nor here.
14704 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14705
356b3480
RM
14706 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14707 (__libc_message): Never call vsyslog.
14708
b0f1246a
AM
147092013-03-28 Alan Modra <amodra@gmail.com>
14710
14711 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14712 Define as empty.
14713 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14714 Likewise.
14715
fbbe2b9a
AZ
147162013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14717
14718 [BZ #15214]
14719 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14720 underflow.
14721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14722
1728ab37
SP
147232013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14724
7a86be6e
SP
14725 [BZ #15304]
14726 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14727 Don't add gid passed as argument.
14728
1728ab37
SP
14729 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14730
3a7182a1
JM
147312013-03-27 Joseph Myers <joseph@codesourcery.com>
14732
14733 [BZ #15307]
14734 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14735 imaginary part between 1.0 and 1.5 and real part less than 0.5
14736 specially.
14737 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14738 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14739 * math/libm-test.inc (cacos_test): Add more tests.
14740 (casin_test): Likewise.
14741 (casinh_test): Likewise.
14742 * sysdeps/i386/fpu/libm-test-ulps: Update.
14743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14744
6f2e90e7
SP
147452013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14746
5739f705
SP
14747 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14748 constants.
14749 (norm): Likewise.
14750 (denorm): Likewise.
14751 (__dbl_mp): Likewise.
14752 (add_magnitudes): Likewise.
14753 (sub_magnitudes): Likewise.
14754 (__add): Likewise.
14755 (__sub): Likewise.
14756 (__mul): Likewise.
14757 (__sqr): Likewise.
14758 (__inv): Likewise.
14759 (__dvd): Likewise.
14760
e375e83d
SP
14761 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14762 commented code.
14763 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14764 (__dubcos): Likewise.
14765 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14766 (__ieee754_acos): Likewise.
14767 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14768 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14769 (__exp1): Likewise.
14770 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14772 (log1): Likewise.
14773 (my_log2): Likewise.
14774 (checkint): Likewise.
14775 * sysdeps/ieee754/dbl-64/e_remainder.c
14776 (__ieee754_remainder): Likewise.
14777 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14779 (bsloww): Likewise.
14780 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14781
6f2e90e7
SP
14782 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14783 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14784 MANTISSA_STORE_T to store computations on mantissa. Use
14785 macros for rounding and division.
14786 (denorm): Likewise.
14787 (__dbl_mp): Likewise.
14788 (add_magnitudes): Likewise.
14789 (sub_magnitudes): Likewise.
14790 (__mul): Likewise.
14791 (__sqr): Likewise.
14792 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14793 powers of two in terms of TWOPOW macro.
14794 (mp_no): Make type of mantissa as MANTISSA_T.
14795 [!RADIXI]: Define RADIXI.
14796 [!TWO52]: Define TWO52.
14797 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14798
fce14d4e
AZ
147992013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14800
14801 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14802 llroundl symbol when building for PPC32.
14803
9ad027fb
MW
148042013-03-24 Mark H Weaver <mhw@netris.org>
14805
14806 * manual/arith.texi (Normalization Functions): Fix prototypes for
14807 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14808
e42a38dd
AZ
148092013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14810
14811 [BZ #13889]
14812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14813 high value to check if expl overflow.
14814 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14815 to check for underflow and overflow.
14816 * math/libm-test.inc: Add exp test.
14817
2e0fb521
DL
148182013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14819
14820 [BZ #11120]
14821 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14822 with NOT_IN_libc.
14823
b5784d95
AZ
148242013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14825
14826 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14827 symbol.
14828
5aa4a1a1
TS
148292013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14830
bdef0be7
TS
14831 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14832 wrap blocks consisting of several statements.
14833
5aa4a1a1
TS
14834 * sysdeps/generic/math-tests.h: New file.
14835 * sysdeps/i386/fpu/math-tests.h: Likewise.
14836 * math/test-snan.c: Include it.
14837 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14838
98c48fe5
JM
148392013-03-21 Joseph Myers <joseph@codesourcery.com>
14840
14841 [BZ #15285]
14842 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14843 (__ieee754_j0l): Do not improve calculations using cos of twice
14844 input for inputs above LDBL_MAX / 2.0L.
14845 (__ieee754_y0l): Likewise.
14846 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14847 (__ieee754_j1l): Do not improve calculations using cos of twice
14848 input for inputs above LDBL_MAX / 2.0L.
14849 (__ieee754_y1l): Likewise.
14850 * math/libm-test.inc (j0_test): Add another test.
14851 (j1_test): Likewise.
14852 (y0_test): Likewise.
14853 (y1_test): Likewise.
14854 * sysdeps/i386/fpu/libm-test-ulps: Update.
14855
3775a8bc
SP
148562013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14857
14858 * Rules ($(objpfx)bench-%.c): Include code from a C source
14859 file.
14860
0a1b2ae6
JM
148612013-03-21 Joseph Myers <joseph@codesourcery.com>
14862
14863 [BZ #15287]
14864 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14865 imaginary part 1.0 and real part less than 0.5 specially.
14866 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14867 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14868 * math/libm-test.inc (cacos_test): Add more tests.
14869 (casin_test): Likewise.
14870 (casinh_test): Likewise.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14873
b33d4ce4
SP
148742013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14875
14876 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14877 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14878
bef0b507
JM
148792013-03-20 Joseph Myers <joseph@codesourcery.com>
14880
14881 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14882 * config.make.in (config-cflags-sse4): Remove variable.
14883 (config-cflags-avx): Likewise.
14884 (config-cflags-sse2avx): Likewise.
14885 (config-cflags-novzeroupper): Likewise.
14886 (config-asflags-i686): Likewise.
14887 (have-mfma4): Likewise.
14888 (have-as-vis3): Likewise.
14889 (MIG): Likewise.
14890 * configure.in (MIG): Do not AC_SUBST.
14891 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14892 (libc_cv_cc_sse4): Do not AC_SUBST.
14893 (libc_cv_cc_avx): Likewise.
14894 (libc_cv_cc_sse2avx): Likewise.
14895 (libc_cv_cc_novzeroupper): Likewise.
14896 (libc_cv_cc_fma4): Likewise.
14897 (libc_cv_as_i686): Likewise.
14898 (libc_cv_sparc_as_vis3): Likewise.
14899 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14900 LIBC_CONFIG_VAR.
14901 (config-asflags-i686): Likewise.
14902 (config-cflags-avx): Likewise.
14903 (config-cflags-sse2avx): Likewise.
14904 (have-mfma4): Likewise.
14905 (config-cflags-novzeroupper): Likewise.
14906 * sysdeps/mach/configure.in (MIG): Likewise.
14907 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14908 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14909 LIBC_CONFIG_VAR.
14910 (config-cflags-avx): Likewise.
14911 (config-cflags-sse2avx): Likewise.
14912 (have-mfma4): Likewise.
14913 (config-cflags-novzeroupper): Likewise.
14914 * configure: Regenerated.
14915 * sysdeps/i386/configure: Likewise.
14916 * sysdeps/mach/configure: Likewise.
14917 * sysdeps/sparc/configure: Likewise.
14918 * sysdeps/x86_64/configure: Likewise.
14919
912cc4b3
RM
149202013-03-20 Roland McGrath <roland@hack.frob.com>
14921
14922 [BZ #14812]
14923 * locale/programs/localedef.c (options): Put N_ translation marker
14924 on argument names, not just descriptions.
14925
04eed2b0
MS
149262013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14927
14928 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14929
a065ceff
OB
149302013-03-20 Ondřej Bílka <neleai@seznam.cz>
14931
9bb2a810 14932 [BZ #14176]
a065ceff
OB
14933 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14934
a600e5ce
RM
149352013-03-19 Roland McGrath <roland@hack.frob.com>
14936
14937 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14938 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14939 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14940 [!BEFORE_ABORT] (before_abort): New function.
14941 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14942 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14943 (writev_for_fatal): New function.
14944 (WRITEV_FOR_FATAL): New macro; call that.
14945 (backtrace_and_maps): New function.
14946 (BEFORE_ABORT): New macro; call that.
14947 (struct str_list): Type removed.
14948 (__libc_message, __libc_fatal): Functions removed.
14949 Include <sysdeps/posix/libc_fatal.c> instead.
14950
6b18bea6
JM
149512013-03-19 Joseph Myers <joseph@codesourcery.com>
14952
14953 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14954 constants.
14955 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14956 double constants.
14957
aaa8cb4b
AS
149582013-03-19 Andreas Schwab <schwab@suse.de>
14959
44673770
AS
14960 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14961 * sysdeps/gnu/configure: Regenerate.
14962
aaa8cb4b
AS
14963 * configure.in: Substitute libc_cv_rtlddir.
14964 * configure: Regenerate.
14965 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14966 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14967 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14968 * elf/Makefile (install-others, CFLAGS-interp.c)
14969 (ldso_install, common-ldd-rewrite): Likewise.
14970 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14971 $(inst_slibdir)/$(rtld-installed-name).
14972 * scripts/rellns-sh: Add -p option.
14973 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14974 for source.
14975
d3cfc668
SP
149762013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14977
14978 * manual/nptl.texi: Renamed to ...
14979 * manual/threads.texi: ... this.
14980 * manual/Makefile (chapters): Update.
14981
0e2b9cdd
RM
149822013-03-18 Roland McGrath <roland@hack.frob.com>
14983
14984 [BZ #14812]
14985 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14986 on argument names, not just descriptions.
0e2b9cdd
RM
14987 * malloc/memusagestat.c (options): Likewise.
14988 * nss/getent.c (options): Likewise.
63270c24
RM
14989
149902013-03-18 Benno Schulenberg <bensberg@justemail.net>
14991
14992 [BZ #14812]
14993 * iconv/iconv_prog.c (options): Put N_ translation marker
14994 on argument names, not just descriptions.
14995 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 14996
b2e1393c
OB
149972013-03-18 Ondrej Bilka <neleai@seznam.cz>
14998
14999 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15000 implementation which is faster on all x86_64 architectures.
15001 Tested on AMD, Intel Nehalem, SNB, IVB.
15002 * sysdeps/x86_64/strnlen.S: Likewise.
15003
15004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15005 Remove all multiarch strlen and strnlen versions.
15006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15007 Remove strlen and strnlen related parts.
15008
15009 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15010 Inline strlen part.
15011 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15012
15013 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15014 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15015 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15016 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15017 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15018 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15019
ec4ff04d
CD
150202013-03-17 Carlos O'Donell <carlos@redhat.com>
15021
15022 * manual/memory.texi (Malloc Tunable Parameters):
15023 Sort parameters alphabetically. Add comments for missing entries.
15024
cd18e90a
DM
150252013-03-17 David S. Miller <davem@davemloft.net>
15026
15027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15028
2a185d32
JM
150292013-03-16 Joseph Myers <joseph@codesourcery.com>
15030
d2f9799e
JM
15031 [BZ #15283]
15032 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15033 for arguments at most half maximum finite value.
15034 * math/libm-test.inc (j0_test): Add more tests.
15035 (j1_test): Likewise.
15036 (y0_test): Likewise.
15037 (y1_test): Likewise.
15038 * sysdeps/i386/fpu/libm-test-ulps: Update.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15040
2a185d32
JM
15041 [BZ #14155]
15042 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15043 1 / x and functions P and Q for arguments above 0x1p256L.
15044 (__ieee754_y0l): Likewise.
15045 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15046 (__ieee754_y1l): Likewise.
15047 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15048 (j1_test): Likewise.
15049 (y0_test): Likewise.
15050 (y1_test): Likewise.
15051
6cbec759
TS
150522013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15053
15054 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15055 variable.
15056
bc16e260
RM
150572013-03-15 Roland McGrath <roland@hack.frob.com>
15058
aefc9b8c
RM
15059 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15060 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15061 zero since it's initialized to EXEC_PAGESIZE.
15062
bc16e260
RM
15063 * sysdeps/unix/sysv/linux/ldsodefs.h
15064 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15065 * sysdeps/generic/ldsodefs.h: ... here.
15066
a57da955
TS
150672013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15068
af00a34d
TS
15069 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15070
495ded2c
TS
15071 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15072 math/test-snan.c.
15073 * math/test-snan.c: Renamed from
15074 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15075 * math/Makefile (tests): Add test-snan.
15076 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15077 test-powerpc-snan.
15078
777b0332
TS
15079 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15080 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15081 functions.
15082 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15083 __builtin_nan family of functions.
15084 * math/libm-test.inc (initialize): Initialize qnan_value with
15085 __builtin_nan family of functions.
15086 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15087 Remove variables.
15088 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15089 Remove functions.
15090 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15091 storage class. Initialize qNaN_var and sNaN_var with
15092 __builtin_nan and __builtin_nans families of functions,
15093 respectively.
15094
64d063b8
TS
15095 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15096 (sqrt_test): Remove duplicate test with qNaN input.
15097 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15098 (round_test, signbit_test, significand_test): Note missing +/-Inf
15099 as well as qNaN tests.
15100
67e971f1
TS
15101 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15102 qNaN_var. Fix a few strings, too.
15103 * math/libm-test.inc (nan_value): Rename to qnan_value.
15104 * math/gen-libm-test.pl (%beautify): Adjust to that.
15105 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15106 * math/test-misc.c (main): Likewise.
15107 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15108 to __qnan_bytes, and __qnan_union, respectively.
15109 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15110 Likewise.
15111 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15112 and lqnanval, respectively.
15113 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15114 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15115 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15116 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15117
64487e12
TS
15118 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15119 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15120 doubles.
15121
e015e27b
TS
15122 * math/test-misc.c (main): Fix copy'n'pastos.
15123 * misc/tst-efgcvt.c (special): Likewise.
15124
a57da955
TS
15125 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15126 Remove declarations.
15127
1e380345
SP
151282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15129
15130 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15131 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15132 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15133 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15134
ef26eece
AZ
151352013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15136
15137 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15138 macro to return vdso values correctly in IFUNC implementations.
15139 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15140 Optimization by using IFUNC.
15141
8cfdb7e0
SP
151422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15143 Richard Henderson <rth@redhat.com>
15144 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15145
15146 * Makefile.in (bench): New target.
15147 * NEWS: Mention the benchmark framework.
15148 * Rules (bench): Likewise.
15149 (binaries-bench): Generate binaries for functions to
15150 benchmark.
15151 * benchtests/Makefile: New makefile for benchmark tests.
15152 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15153 programs.
15154 * benchtests/exp-inputs: New input file for EXP function.
15155 * benchtests/pow-inputs: New input file for POW function.
15156 * scripts/bench.pl: New script to generate source files for
15157 benchmark programs.
15158
bcda9880
SP
151592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15160
d22ca8cd
SP
15161 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15162 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15163 computations on mantissa. Use macros for rounding and
15164 division.
15165 (denorm): Likewise.
15166 (__dbl_mp): Likewise.
15167 (add_magnitudes): Likewise.
15168 (sub_magnitudes): Likewise.
15169 (__mul): Likewise.
15170 (__sqr): Likewise.
15171 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15172 powers of two in terms of TWOPOW macro.
15173 (mp_no): Make type of mantissa as MANTISSA_T.
15174 [!RADIXI]: Define RADIXI.
15175 [!TWO52]: Define TWO52.
15176 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15177
bcda9880
SP
15178 * manual/nptl.texi (cindex): Modify threads to pthreads.
15179
06d5adfb
JM
151802013-03-15 Joseph Myers <joseph@codesourcery.com>
15181
15182 * sysdeps/x86_64/preconfigure: Regenerated.
15183
41c7328e
JM
151842013-03-14 Joseph Myers <joseph@codesourcery.com>
15185
15186 [BZ #14155]
15187 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15188 0x1p28 and above.
15189 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15190 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15191 0x1p28 and above.
15192 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15193 * math/libm-test.inc (j0_test): Do not allow one spurious
15194 underflow exception.
15195 (y1_test): Likewise.
15196
e25cfa60
SP
151972013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
0409959c
SP
15199 * manual/Makefile (chapters): Add nptl.
15200 * manual/debug.texi (Debugging Support): Add link to Threads
15201 chapter.
15202 * manual/nptl.texi: New file.
15203
e25cfa60
SP
15204 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15205
58a1335e
PB
152062013-03-14 Petr Baudis <pasky@ucw.cz>
15207
15208 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15209 for non-NULL pointer before the memory validity test. Pointed
15210 out by Holger Brunck <holger.brunck@keymile.com>.
15211
9dc7c64f
AS
152122013-03-13 Andreas Schwab <schwab@suse.de>
15213
15214 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15215 instead of .os.
15216
54206aa6
JM
152172013-03-13 Joseph Myers <joseph@codesourcery.com>
15218
15219 * timezone/zic.c: Update from tzcode 2013b.
15220
e98cdb38
CD
152212013-03-12 Carlos O'Donell <carlos@redhat.com>
15222
15223 * manual/install.texi (Configuring and compiling):
15224 Mention i686 and i586.
15225 * INSTALL: Regenerate.
15226
9967e003
RM
152272013-03-12 Roland McGrath <roland@hack.frob.com>
15228
15229 * sysdeps/init_array/elf-init.c: New file.
15230 * csu/elf-init.c
15231 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15232 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15233
15234 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15235 __gmon_start__ as global, but as static with a .preinit_array pointer.
15236 * sysdeps/init_array/gmon-start.c: New file. Use that.
15237 * sysdeps/init_array/crti.S: New file, empty except for comments.
15238 * sysdeps/init_array/crtn.S: Likewise.
15239
e6b5a293 152402013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15241
15242 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15243 definining bcopy.
80f844c9
OB
15244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15245 Remove Prefer_SSE_for_memop.
15246 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15247 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15248 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15250 memset-x86-64.
80f844c9 15251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15252 Remove bzero, memset ifunc support.
80f844c9
OB
15253 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15254 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15255 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15256 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15257
fb6b0fcb
AS
152582013-03-11 Andreas Schwab <schwab@suse.de>
15259
15260 [BZ #15234]
15261 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15262 by SHLIB_COMPAT.
15263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15264 (GLIBC_2.16): Remove pthread_atfork.
15265
3e6bd4b1
PP
152662013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15267
15268 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15269 (ptestcases.h): Likewise.
15270
222d7f00
RM
152712013-03-08 Roland McGrath <roland@hack.frob.com>
15272
15273 * Makeconfig ($(common-objpfx)config.status): Depend on
15274 sysdeps/*/preconfigure{,.in} too.
15275
1ba4f030
JM
152762013-03-08 Joseph Myers <joseph@codesourcery.com>
15277
a222d91a
JM
15278 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15279 (__free_hook): Use void * instead of __malloc_ptr_t.
15280 (__malloc_hook): Likewise.
15281 (__realloc_hook): Likewise.
15282 (__memalign_hook): Likewise.
15283 (__after_morecore_hook): Likewise.
15284 * malloc/arena.c (save_malloc_hook): Likewise.
15285 (save_free_hook): Likewise.
15286 * malloc/hooks.c (malloc_hook_ini): Likewise.
15287 (realloc_hook_ini): Likewise.
15288 (memalign_hook_ini): Likewise.
15289 * malloc/malloc.c (malloc_hook_ini): Likewise.
15290 (realloc_hook_ini): Likewise.
15291 (memalign_hook_ini): Likewise.
15292 (__free_hook): Likewise.
15293 (__malloc_hook): Likewise.
15294 (__realloc_hook): Likewise.
15295 (__memalign_hook): Likewise.
15296 (__libc_malloc): Likewise.
15297 (__libc_free): Likewise.
15298 (__libc_realloc): Likewise.
15299 (__libc_memalign): Likewise.
15300 (__libc_valloc): Likewise.
15301 (__libc_pvalloc): Likewise.
15302 (__libc_calloc): Likewise.
15303 (__posix_memalign): Likewise.
15304 * malloc/morecore.c (__sbrk): Likewise.
15305 (__default_morecore): Likewise.
15306
5cc45e10
JM
15307 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15308
dd54b864
JM
15309 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15310 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15311 __malloc_ptrdiff_t.
15312
1ba4f030
JM
15313 * malloc/malloc.h (__malloc_size_t): Remove macro.
15314 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15315 __malloc_size_t.
15316 (old_memalign_hook): Likewise.
15317 (old_realloc_hook): Likewise.
15318 (struct hdr): Likewise.
15319 (flood): Likewise.
15320 (mallochook): Likewise.
15321 (memalignhook): Likewise.
15322 (reallochook): Likewise.
15323 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15324 (tr_old_realloc_hook): Likewise.
15325 (tr_old_memalign_hook): Likewise.
15326 (tr_mallochook): Likewise.
15327 (tr_reallochook): Likewise.
15328 (tr_memalignhook): Likewise.
15329
edf66e57
AZ
153302013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15331
15332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15333 default_ldbl_pack and using as default implementation.
15334 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15335 implementation.
15336 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15337 redundant definition.
15338 (ldbl_insert_mantissa): Likewise.
15339 (ldbl_canonicalize): Likewise.
15340 (ldbl_nearbyint): Likewise.
15341 (ldbl_pack): Rename to ldbl_pack_ppc.
15342 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15343 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15344 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15345
6d9145d8
SP
153462013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15347
15348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15349 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15350 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15351 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15353 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15354 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15355 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15356
4dd4e157
AJ
153572013-03-07 Andreas Jaeger <aj@suse.de>
15358
15359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15360 bits/mman-linux.h.
15361
adbb8027
SP
153622013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15363
ce544b5b
SP
15364 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15365 Include mpa.h and declare __MPEXP.
15366 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15368 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15370 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15371 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15372 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15373
4cc149fd
SP
15374 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15375 (__slowpow): Use long double EXPL and LOGL functions to
15376 compute POW.
15377 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15378 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15379 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15380 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15381 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15382 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15383
e6ebd4a7
SP
15384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15385 intermediate variable to calculate exponent.
15386 (__sqr): Likewise.
15387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15388 Likewise.
15389 (__sqr): Likewise.
15390
82a9811d
SP
15391 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15392 [!NO__SQR]: Define __sqr.
15393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15394 and NO__SQR. Remove all code except __mul and __sqr. Include
15395 sysdeps/ieee754/dbl-64/mpa.c.
15396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15397
adbb8027
SP
15398 [BZ #12723]
15399 * posix/Makefile (tests): Add tst-pathconf.
15400 * posix/tst-pathconf.c: New test case.
15401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15402 _PC_PIPE_BUF.
15403 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15404
39120df9
PF
154052013-03-06 Patsy Franklin <pfrankli@redhat.com>
15406
15407 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15408
67525cb8
AJ
154092013-03-06 Andreas Jaeger <aj@suse.de>
15410
664a9ce4
AJ
15411 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15412 definition via __MAP_ANONYMOUS.
15413
8e39047d
AJ
15414 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15415 it's not part of Linux headers.
15416
67525cb8
AJ
15417 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15418 (MAP_HUGE_MASK): Define.
15419
15420 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15421 Define.
15422 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15424 Define.
15425 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15426 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15427 Define.
15428 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15430 Define.
15431 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15432
15433 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15434 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15435 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15436 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15437 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15438 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15439
15440 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15441 Handle f2fs.
15442
15443 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15444 Handle f2fs and efivarfs.
15445
15446 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15447 f2fs.
15448
15449 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15450 (EFIVARFS_MAGIC): Add.
15451 (F2FS_LINK_MAX): Add.
15452
e1b42695
PP
154532013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15454
15455 * stdio-common/vfprintf.c: Replace __builtin_expect with
15456 __glibc_unlikely.
15457
2d67d91a
JM
154582013-03-06 Joseph Myers <joseph@codesourcery.com>
15459
15460 [BZ #13550]
15461 * sysdeps/generic/bp-sym.h: Remove file.
15462 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15463 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15464 <bp-sym.h> and <bp-asm.h>.
15465 (__longjmp): Don't use BP_SYM.
15466 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15467 and <bp-asm.h>.
15468 (memcpy): Don't use BP_SYM.
15469 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15470 <bp-sym.h> and <bp-asm.h>.
15471 (memcpy): Don't use BP_SYM.
15472 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15473 <bp-asm.h>.
15474 (memcpy): Don't use BP_SYM.
15475 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15476 <bp-asm.h>.
15477 (memset): Don't use BP_SYM.
15478 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15479 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15480 (__bzero): Don't use BP_SYM.
15481 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15482 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15483 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15484 <bp-sym.h> and <bp-asm.h>.
15485 (memcmp): Don't use BP_SYM. Remove comment about bounded
15486 pointers.
15487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15488 <bp-sym.h> and <bp-asm.h>.
15489 (memcpy): Don't use BP_SYM.
15490 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15491 <bp-sym.h> and <bp-asm.h>.
15492 (memset): Don't use BP_SYM.
15493 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15494 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15495 (__bzero): Don't use BP_SYM.
15496 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15497 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15498 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15499 <bp-sym.h> and <bp-asm.h>.
15500 (strncmp): Don't use BP_SYM. Remove comment about bounded
15501 pointers.
15502 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15503 <bp-sym.h> and <bp-asm.h>.
15504 (memcpy): Don't use BP_SYM.
15505 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15506 <bp-sym.h> and <bp-asm.h>.
15507 (memset): Don't use BP_SYM.
15508 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15509 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15510 (__bzero): Don't use BP_SYM.
15511 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15512 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15513 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15514 <bp-sym.h> and <bp-asm.h>.
15515 (__memchr): Don't use BP_SYM.
15516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15517 <bp-sym.h> and <bp-asm.h>.
15518 (memcmp): Don't use BP_SYM. Remove comment about bounded
15519 pointers.
15520 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15521 <bp-sym.h> and <bp-asm.h>.
15522 (memcpy): Don't use BP_SYM.
15523 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15524 <bp-sym.h> and <bp-asm.h>.
15525 (__mempcpy): Don't use BP_SYM.
15526 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15527 <bp-sym.h> and <bp-asm.h>.
15528 (__memrchr): Don't use BP_SYM.
15529 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15530 <bp-sym.h> and <bp-asm.h>.
15531 (memset): Don't use BP_SYM.
15532 (__bzero): Likewise.
15533 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15534 <bp-sym.h> and <bp-asm.h>.
15535 (__rawmemchr): Don't use BP_SYM.
15536 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15537 <bp-sym.h> and <bp-asm.h>.
15538 (__STRCMP): Don't use BP_SYM.
15539 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15540 <bp-sym.h> and <bp-asm.h>.
15541 (strchr): Don't use BP_SYM.
15542 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15543 <bp-sym.h> and <bp-asm.h>.
15544 (__strchrnul): Don't use BP_SYM.
15545 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15546 <bp-sym.h> and <bp-asm.h>.
15547 (strlen): Don't use BP_SYM.
15548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15549 <bp-sym.h> and <bp-asm.h>.
15550 (strncmp): Don't use BP_SYM. Remove comment about bounded
15551 pointers.
15552 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15553 <bp-sym.h> and <bp-asm.h>.
15554 (__strnlen): Don't use BP_SYM.
15555 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15556 <bp-sym.h> and <bp-asm.h>.
15557 (__GI__setjmp): Don't use BP_SYM.
15558 (_setjmp): Likewise.
15559 (__sigsetjmp): Likewise.
15560 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15561 (L(start_addresses)): Don't use BP_SYM.
15562 (_start): Likewise.
15563 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15564 <bp-asm.h>.
15565 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15566 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15567 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15568 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15569 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15570 <bp-asm.h>.
15571 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15572 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15573 about bounded pointers.
15574 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15575 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15576 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15577 <bp-asm.h>.
15578 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15579 about bounded pointers. Remove GKM FIXME comments.
15580 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15581 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15582 <bp-asm.h>.
15583 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15584 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15585 Remove GKM FIXME comments.
15586 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15587 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15588 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15589 <bp-asm.h>.
15590 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15591 about bounded pointers. Remove GKM FIXME comment.
15592 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15593 and <bp-asm.h>.
15594 (strncmp): Don't use BP_SYM. Remove comment about bounded
15595 pointers.
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15597 <bp-sym.h> and <bp-asm.h>.
15598 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15600 <bp-sym.h> and <bp-asm.h>.
15601 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15602 comment.
15603
cdcf361f
PP
156042013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15605
15606 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15607 call free(NULL).
15608
3c4a2b15
DM
156092013-03-05 David S. Miller <davem@davemloft.net>
15610
15611 * po/es.po: Update from translation team.
15612
cdcf361f 156132013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15614
15615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15616 <bits/mman-linux.h>.
15617 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15618 is fine.
15619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15620 <bits/mman-linux.h> to end of file.
15621 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15622 is fine.
15623 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15624 <bits/mman-linux.h> to end of file.
15625 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15626 is fine.
15627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15628 <bits/mman-linux.h> to end of file.
15629
15630 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15631 (MCL_CURRENT, MCL_FUTURE): Define here.
15632
5f67c04f
AK
156332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15634
8a4473cc 15635 [BZ #15232]
5f67c04f
AK
15636 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15637 attribute_hidden.
15638 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15639
c3e94a95
AK
156402013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15641
15642 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15643 fourth parameter needed for rt_sigprocmask syscall.
15644 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15645 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15646 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15647 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15648 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15649 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15650
cfb6382a
JM
156512013-03-04 Joseph Myers <joseph@codesourcery.com>
15652
15653 [BZ #13550]
15654 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15655 comment about bounded pointers.
15656 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15657 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15658
539d8e01
AJ
156592013-03-04 Andreas Jaeger <aj@suse.de>
15660
15661 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15662 common definitions.
15663
15664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15665 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15666 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15670
2e167a70 156712013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15672
15673 [BZ #15055]
15674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15675 __ieee754_sqrl instead of __sqrl.
15676
68508633
JM
156772013-03-01 Joseph Myers <joseph@codesourcery.com>
15678
15679 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15680 * sysdeps/powerpc/fpu_control.h: ... here.
15681 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15682 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15683 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15684 * sysdeps/powerpc/bits/mathinline.h: ... here.
15685
7775448e
RM
156862013-03-01 Roland McGrath <roland@hack.frob.com>
15687
15688 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15689 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15690 to just [NEED_DL_SYSINFO_DSO].
15691 * elf/dl-support.c: Likewise.
15692 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15693 * elf/rtld.c (dl_main): Likewise.
15694 * elf/setup-vdso.h (setup_vdso): Likewise.
15695 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15696 * sysdeps/unix/sysv/linux/dl-sysdep.c
15697 (_dl_discover_osversion): Likewise.
15698
4e9b5995
CD
156992013-03-01 Carlos O'Donell <carlos@redhat.com>
15700
15701 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15702 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15703
e23872c8
SP
157042013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15705
e5c74c63
SP
15706 * NEWS: Mention libm performance improvements and non-x86 PI
15707 futex support.
15708
e23872c8
SP
15709 * csu/libc-start.c (__pthread_initialize_minimal): Change
15710 function arguments.
15711 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15712
b5510883
JM
157132013-02-28 Joseph Myers <joseph@codesourcery.com>
15714
15715 [BZ #13550]
15716 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15717 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15718 <bp-sym.h> and <bp-asm.h>.
15719 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15720 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15721 and <bp-asm.h>.
15722 (memcpy): Don't use BP_SYM.
15723 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15724 <bp-asm.h>.
15725 (__mpn_add_n): Don't use BP_SYM.
15726 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15727 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15728 and <bp-asm.h>.
15729 (__mpn_addmul_1): Don't use BP_SYM.
15730 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15731 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15732 <bp-sym.h>.
15733 (_setjmp): Don't use BP_SYM.
15734 (__novmx_setjmp): Likewise.
15735 (__GI__setjmp): Likewise.
15736 (__vmx_setjmp): Likewise.
15737 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15738 <bp-sym.h>.
15739 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15740 (__bzero): Don't use BP_SYM.
15741 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15742 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15743 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15744 <bp-sym.h> and <bp-asm.h>.
15745 (memcpy): Don't use BP_SYM.
15746 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15747 <bp-sym.h> and <bp-asm.h>.
15748 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15749 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15750 <bp-sym.h> and <bp-asm.h>.
15751 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15752 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15753 <bp-asm.h>.
15754 (__mpn_lshift): Don't use BP_SYM.
15755 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15756 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15757 <bp-asm.h>.
15758 (memset): Don't use BP_SYM.
15759 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15760 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15761 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15762 <bp-asm.h>.
15763 (__mpn_mul_1): Don't use BP_SYM.
15764 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15765 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15766 <bp-sym.h> and <bp-asm.h>.
15767 (memcmp): Don't use BP_SYM.
15768 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15769 <bp-sym.h> and <bp-asm.h>.
15770 (memcpy): Don't use BP_SYM.
15771 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15772 <bp-sym.h> and <bp-asm.h>.
15773 (memset): Don't use BP_SYM.
15774 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15775 <bp-sym.h> and <bp-asm.h>.
15776 (strncmp): Don't use BP_SYM.
15777 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15778 <bp-sym.h> and <bp-asm.h>.
15779 (memcpy): Don't use BP_SYM.
15780 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15781 <bp-sym.h> and <bp-asm.h>.
15782 (memset): Don't use BP_SYM.
15783 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15784 <bp-sym.h> and <bp-asm.h>.
15785 (__memchr): Don't use BP_SYM.
15786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15787 <bp-sym.h> and <bp-asm.h>.
15788 (memcmp): Don't use BP_SYM.
15789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15790 <bp-sym.h> and <bp-asm.h>.
15791 (memcpy): Don't use BP_SYM.
15792 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15793 <bp-sym.h> and <bp-asm.h>.
15794 (__mempcpy): Don't use BP_SYM.
15795 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15796 <bp-sym.h> and <bp-asm.h>.
15797 (__memrchr): Don't use BP_SYM.
15798 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15799 <bp-sym.h> and <bp-asm.h>.
15800 (memset): Don't use BP_SYM.
15801 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15802 <bp-sym.h> and <bp-asm.h>.
15803 (__rawmemchr): Don't use BP_SYM.
15804 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15805 <bp-sym.h> and <bp-asm.h>.
15806 (__STRCMP): Don't use BP_SYM.
15807 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15808 <bp-sym.h> and <bp-asm.h>.
15809 (strchr): Don't use BP_SYM.
15810 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15811 <bp-sym.h> and <bp-asm.h>.
15812 (__strchrnul): Don't use BP_SYM.
15813 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15814 <bp-sym.h> and <bp-asm.h>.
15815 (strlen): Don't use BP_SYM.
15816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15817 <bp-sym.h> and <bp-asm.h>.
15818 (strncmp): Don't use BP_SYM.
15819 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15820 <bp-sym.h> and <bp-asm.h>.
15821 (__strnlen): Don't use BP_SYM.
15822 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15823 <bp-asm.h>.
15824 (__mpn_rshift): Don't use BP_SYM.
15825 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15826 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15827 <bp-sym.h> and <bp-asm.h>.
15828 (__sigsetjmp): Don't use BP_SYM.
15829 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15830 (L(start_addresses)): Don't use BP_SYM.
15831 (_start): Likewise.
15832 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15833 <bp-asm.h>.
15834 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15835 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15836 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15837 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15838 <bp-asm.h>.
15839 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15840 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15841 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15842 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15843 <bp-asm.h>.
15844 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15845 comments.
15846 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15847 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15848 <bp-asm.h>.
15849 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15850 FIXME comments.
15851 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15852 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15853 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15854 <bp-asm.h>.
15855 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15856 comment.
15857 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15858 and <bp-asm.h>.
15859 (strncmp): Don't use BP_SYM,
15860 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15861 <bp-asm.h>.
15862 (__mpn_sub_n): Don't use BP_SYM.
15863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15864 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15865 and <bp-asm.h>.
15866 (__mpn_submul_1): Don't use BP_SYM.
15867 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15869 <bp-sym.h> and <bp-asm.h>.
15870 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15872 <bp-sym.h> and <bp-asm.h>.
15873 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15874 comment.
15875
8d19fe64
SP
158762013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15877
15878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15879 Use ZK to minimize writes to Z.
15880 (sub_magnitudes): Simplify code a bit.
15881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15882 Use ZK to minimize writes to Z.
15883 (sub_magnitudes): Simplify code a bit.
15884
85bd816a
RM
158852013-02-27 Roland McGrath <roland@hack.frob.com>
15886
15887 * csu/gmon-start.c: Add special exception to license text.
15888
b5977bf2
RH
158892013-02-27 Richard Henderson <rth@redhat.com>
15890
15891 * scripts/config.guess: Update from config.git.
15892 * scripts/config.sub: Likewise.
15893
11d6e2f2
SP
158942013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15895
09c14ed2
SP
15896 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15897
a688864e
SP
15898 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15899
6295157a
SP
15900 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15901
b8de2202
SP
15902 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15903
11d6e2f2
SP
15904 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15905
7e80ddb8
RM
159062013-02-26 Roland McGrath <roland@hack.frob.com>
15907
15908 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15909 [$(build-shared = yes].
7e80ddb8 15910
7da6d9ed
SP
159112013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15912
45f05884
SP
15913 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15914 (__mul): Reduce iterations for calculating mantissa.
15915
2236d359
SP
15916 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15917 MPTWO.
15918 (__mpranred): Likewise.
15919
7da6d9ed
SP
15920 [BZ #15160]
15921 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15922 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15923
b7688c42
PE
159242013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15925
15926 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15927 Define __attribute__.
15928
53a5c423
SP
159292013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15930
15931 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15932 unused.
15933 * posix/regex_internal.h (__attribute): Remove.
15934 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15935 (re_string_context_at): Likewise.
15936 (bitset_not): Use __attribute__ and mark function as possibly
15937 unused.
15938 (bitset_merge): Likewise.
15939 (bitset_mask): Likewise.
15940 (re_string_char_size_at): Likewise.
15941 (re_string_wchar_at): Likewise.
15942 (re_string_elem_size_at): Likewise.
15943
60f5a8b5
SP
159442013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15945
2a983a2e
SP
15946 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15947 code.
15948 (cc32): Likewise.
15949
e69804d1
SP
15950 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15951 (__acr): Likewise.
15952 (__cpy): Likewise.
15953 (norm): Likewise.
15954 (denorm): Likewise.
15955 (__dbl_mp): Likewise.
15956 (add_magnitudes): Likewise.
15957 (sub_magnitudes): Likewise.
15958 (__mul): Likewise.
15959 (__inv): Likewise.
15960
2f22a1e8
SP
15961 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15962 style.
15963
8930ddc7
SP
15964 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15965 style.
15966
dc60cb11
SP
15967 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15968 code.
15969
60f5a8b5
SP
15970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15971 up changes with default code.
15972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15973 Likewise.
15974
b4d1fd33
AM
159752013-02-24 Allan McRae <allan@archlinux.org>
15976
faf6f8bc
AM
15977 * manual/socket.texi (The Internet Namespace): Order menu items
15978 to match that in the file.
15979
b4d1fd33
AM
15980 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15981 node listing of the info page menu.
15982
2366713d
JM
159832013-02-21 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #13550]
15986 * sysdeps/i386/bp-asm.h: Remove file.
15987 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15988 (PARMS): Do not use macros from bp-asm.h.
15989 (S1): Likewise.
15990 (S2): Likewise.
15991 (SIZE): Likewise.
15992 (__mpn_add_n): Do not use BP_SYM
15993 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15994 "bp-asm.h".
15995 (PARMS): Do not use macros from bp-asm.h.
15996 (S1): Likewise.
15997 (SIZE): Likewise.
15998 (__mpn_addmul_1): Do not use BP_SYM
15999 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16000 "bp-asm.h".
16001 (PARMS): Do not use macros from bp-asm.h.
16002 (SIGMSK): Likewise.
16003 (_setjmp): Likewise. Do not use BP_SYM.
16004 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16005 "bp-asm.h".
16006 (PARMS): Do not use macros from bp-asm.h.
16007 (SIGMSK): Likewise.
16008 (setjmp): Likewise. Do not use BP_SYM.
16009 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16010 "bp-asm.h".
16011 (PARMS): Do not use macros from bp-asm.h.
16012 (__frexp): Do not use BP_SYM.
16013 (frexp): Likewise.
16014 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16015 "bp-asm.h".
16016 (PARMS): Do not use macros from bp-asm.h.
16017 (__frexpf): Do not use BP_SYM.
16018 (frexpf): Likewise.
16019 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16020 "bp-asm.h".
16021 (PARMS): Do not use macros from bp-asm.h.
16022 (__frexpl): Do not use BP_SYM.
16023 (frexpl): Likewise.
16024 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16025 "bp-asm.h".
16026 (PARMS): Do not use macros from bp-asm.h.
16027 (__remquo): Do not use BP_SYM.
16028 (remquo): Likewise.
16029 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16030 "bp-asm.h".
16031 (PARMS): Do not use macros from bp-asm.h.
16032 (__remquof): Do not use BP_SYM.
16033 (remquof): Likewise.
16034 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16035 "bp-asm.h".
16036 (PARMS): Do not use macros from bp-asm.h.
16037 (__remquol): Do not use BP_SYM.
16038 (remquol): Likewise.
16039 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16040 "bp-asm.h".
16041 (PARMS): Do not use macros from bp-asm.h.
16042 (DEST): Likewise.
16043 (SRC): Likewise.
16044 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16045 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16046 "bp-asm.h".
16047 (PARMS): Do not use macros from bp-asm.h.
16048 (strlen): Do not use BP_SYM.
16049 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16050 "bp-asm.h".
16051 (PARMS): Do not use macros from bp-asm.h.
16052 (S1): Likewise.
16053 (S2): Likewise.
16054 (SIZE): Likewise.
16055 (__mpn_add_n): Do not use BP_SYM.
16056 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16057 "bp-asm.h".
16058 (PARMS): Do not use macros from bp-asm.h.
16059 (S1): Likewise.
16060 (SIZE): Likewise.
16061 (__mpn_addmul_1): Do not use BP_SYM.
16062 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16063 weak_alias.
16064 (bzero): Likewise.
16065 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16066 "bp-asm.h".
16067 (PARMS): Do not use macros from bp-asm.h.
16068 (S): Likewise.
16069 (SIZE): Likewise.
16070 (__mpn_lshift): Do not use BP_SYM.
16071 * sysdeps/i386/i586/memcpy.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 (SRC): Likewise.
16076 (LEN): Likewise.
16077 (memcpy): Likewise. Do not use BP_SYM.
16078 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16079 libc_hidden_def and weak_alias.
16080 (mempcpy): Do not use BP_SYM in weak_alias.
16081 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16082 "bp-asm.h".
16083 (PARMS): Do not use macros from bp-asm.h.
16084 (DEST): Likewise.
16085 (LEN): Likewise.
16086 [!BZERO_P] (CHR): Likewise.
16087 (memset): Likewise. Do not use BP_SYM.
16088 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16089 "bp-asm.h".
16090 (PARMS): Do not use macros from bp-asm.h.
16091 (S1): Likewise.
16092 (SIZE): Likewise.
16093 (__mpn_mul_1): Do not use BP_SYM.
16094 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16095 "bp-asm.h".
16096 (PARMS): Do not use macros from bp-asm.h.
16097 (S): Likewise.
16098 (SIZE): Likewise.
16099 (__mpn_rshift): Do not use BP_SYM.
16100 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16101 "bp-asm.h".
16102 (PARMS): Do not use macros from bp-asm.h.
16103 (STR): Likewise.
16104 (CHR): Likewise.
16105 (strchr): Likewise. Do not use BP_SYM.
16106 (index): Do not use BP_SYM in weak_alias.
16107 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16108 "bp-asm.h".
16109 (PARMS): Do not use macros from bp-asm.h.
16110 (DEST): Likewise.
16111 (SRC): Likewise.
16112 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16113 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16114 "bp-asm.h".
16115 (PARMS): Do not use macros from bp-asm.h.
16116 (strlen): Do not use BP_SYM.
16117 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16118 "bp-asm.h".
16119 (PARMS): Do not use macros from bp-asm.h.
16120 (S1): Likewise.
16121 (S2): Likewise.
16122 (SIZE): Likewise.
16123 (__mpn_sub_n): Do not use BP_SYM.
16124 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16125 "bp-asm.h".
16126 (PARMS): Do not use macros from bp-asm.h.
16127 (S1): Likewise.
16128 (SIZE): Likewise.
16129 (__mpn_submul_1): Do not use BP_SYM.
16130 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16131 "bp-asm.h".
16132 (PARMS): Do not use macros from bp-asm.h.
16133 (S1): Likewise.
16134 (S2): Likewise.
16135 (SIZE): Likewise.
16136 (__mpn_add_n): Do not use BP_SYM.
16137 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16138 weak_alias.
16139 (bzero): Likewise.
16140 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16141 "bp-asm.h".
16142 (PARMS): Do not use macros from bp-asm.h.
16143 (BLK2): Likewise.
16144 (LEN): Likewise.
16145 (memcmp): Do not use BP_SYM.
16146 (bcmp): Do not use BP_SYM in weak_alias.
16147 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16148 "bp-asm.h".
16149 (PARMS): Do not use macros from bp-asm.h.
16150 (DEST): Likewise.
16151 (SRC): Likewise.
16152 (LEN): Likewise.
16153 (memcpy): Likewise. Do not use BP_SYM.
16154 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16155 "bp-asm.h".
16156 (PARMS): Do not use macros from bp-asm.h.
16157 (DEST): Likewise.
16158 (SRC): Likewise.
16159 (LEN): Likewise.
16160 (memmove): Likewise. Do not use BP_SYM.
16161 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16162 "bp-asm.h".
16163 (PARMS): Do not use macros from bp-asm.h.
16164 (DEST): Likewise.
16165 (SRC): Likewise.
16166 (LEN): Likewise.
16167 (__mempcpy): Likewise. Do not use BP_SYM.
16168 (mempcpy): Do not use BP_SYM in weak_alias.
16169 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16170 "bp-asm.h".
16171 (PARMS): Do not use macros from bp-asm.h.
16172 (DEST): Likewise.
16173 (LEN): Likewise.
16174 [!BZERO_P] (CHR): Likewise.
16175 (memset): Likewise. Do not use BP_SYM.
16176 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16177 "bp-asm.h".
16178 (PARMS): Do not use macros from bp-asm.h.
16179 (STR2): Likewise.
16180 (strcmp): Do not use BP_SYM.
16181 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16182 "bp-asm.h".
16183 (PARMS): Do not use macros from bp-asm.h.
16184 (STR): Likewise.
16185 (DELIM): Likewise.
16186 [USE_AS_STRTOK_R] (SAVE): Likewise.
16187 (FUNCTION): Likewise. Do not use BP_SYM.
16188 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16189 aliases.
16190 (strtok_r): Likewise.
16191 (__GI___strtok_r): Likewise.
16192 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16193 (PARMS): Do not use macros from bp-asm.h.
16194 (S): Likewise.
16195 (SIZE): Likewise.
16196 (__mpn_lshift): Do not use BP_SYM.
16197 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16198 (PARMS): Do not use macros from bp-asm.h.
16199 (STR): Likewise.
16200 (CHR): Likewise.
16201 (__memchr): Do not use BP_SYM.
16202 (memchr): Do not use BP_SYM in weak_alias.
16203 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16204 (PARMS): Do not use macros from bp-asm.h.
16205 (BLK2): Likewise.
16206 (LEN): Likewise.
16207 (memcmp): Do not use BP_SYM.
16208 (bcmp): Do not use BP_SYM in weak_alias.
16209 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16210 (PARMS): Do not use macros from bp-asm.h.
16211 (S1): Likewise.
16212 (SIZE): Likewise.
16213 (__mpn_mul_1): Do not use BP_SYM.
16214 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16215 "bp-asm.h".
16216 (PARMS): Do not use macros from bp-asm.h.
16217 (STR): Likewise.
16218 (CHR): Likewise.
16219 (__rawmemchr): Do not use BP_SYM.
16220 (rawmemchr): Do not use BP_SYM in weak_alias.
16221 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16222 (PARMS): Do not use macros from bp-asm.h.
16223 (S): Likewise.
16224 (SIZE): Likewise.
16225 (__mpn_rshift): Do not use BP_SYM.
16226 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16227 (PARMS): Do not use macros from bp-asm.h.
16228 (SIGMSK): Likewise.
16229 (__sigsetjmp): Likewise. Do not use BP_SYM.
16230 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16231 (_start): Do not use BP_SYM.
16232 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16233 (PARMS): Do not use macros from bp-asm.h.
16234 (DEST): Likewise.
16235 (SRC): Likewise.
16236 (__stpcpy): Likewise. Do not use BP_SYM.
16237 (stpcpy): Do not use BP_SYM in weak_alias.
16238 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16239 "bp-asm.h".
16240 (PARMS): Do not use macros from bp-asm.h.
16241 (DEST): Likewise.
16242 (SRC): Likewise.
16243 (LEN): Likewise.
16244 (__stpncpy): Likewise. Do not use BP_SYM.
16245 (stpncpy): Do not use BP_SYM in weak_alias.
16246 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16247 (PARMS): Do not use macros from bp-asm.h.
16248 (STR): Likewise.
16249 (CHR): Likewise.
16250 (strchr): Likewise. Do not use BP_SYM.
16251 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16252 "bp-asm.h".
16253 (PARMS): Do not use macros from bp-asm.h.
16254 (STR): Likewise.
16255 (CHR): Likewise.
16256 (__strchrnul): Likewise. Do not use BP_SYM.
16257 (strchrnul): Do not use BP_SYM in weak_alias.
16258 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16259 "bp-asm.h".
16260 (PARMS): Do not use macros from bp-asm.h.
16261 (STOP): Likewise.
16262 (strcspn): Do not use BP_SYM.
16263 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16264 "bp-asm.h".
16265 (PARMS): Do not use macros from bp-asm.h.
16266 (STR): Likewise.
16267 (STOP): Likewise.
16268 (strpbrk): Likewise. Do not use BP_SYM.
16269 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16270 "bp-asm.h".
16271 (PARMS): Do not use macros from bp-asm.h.
16272 (STR): Likewise.
16273 (CHR): Likewise.
16274 (strrchr): Likewise. Do not use BP_SYM.
16275 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16276 (PARMS): Do not use macros from bp-asm.h.
16277 (SKIP): Likewise.
16278 (strspn): Do not use BP_SYM.
16279 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16280 (PARMS): Do not use macros from bp-asm.h.
16281 (STR): Likewise.
16282 (DELIM): Likewise.
16283 (SAVE): Likewise.
16284 (FUNCTION): Likewise. Do not use BP_SYM.
16285 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16286 aliases.
16287 (strtok_r): Likewise.
16288 (__GI___strtok_r): Likewise.
16289 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16290 (PARMS): Do not use macros from bp-asm.h.
16291 (S1): Likewise.
16292 (S2): Likewise.
16293 (SIZE): Likewise.
16294 (__mpn_sub_n): Do not use BP_SYM.
16295 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16296 "bp-asm.h".
16297 (PARMS): Do not use macros from bp-asm.h.
16298 (S1): Likewise.
16299 (SIZE): Likewise.
16300 (__mpn_submul_1): Do not use BP_SYM.
16301 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16302 <bp-sym.h>.
16303 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16304 and <bp-asm.h>.
16305 (PARMS): Do not use macros from bp-asm.h.
16306 (FLAGS): Likewise.
16307 (PTID): Likewise.
16308 (TLS): Likewise.
16309 (CTID): Likewise.
16310 (__clone): Do not use BP_SYM.
16311 (clone): Do not use BP_SYM in weak_alias.
16312 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16313 and <bp-asm.h>.
16314 (PARMS): Do not use macros from bp-asm.h.
16315 (LEN): Likewise.
16316 (__mmap64): Do not use BP_SYM.
16317 (mmap64): Do not use BP_SYM in weak_alias.
16318 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16319 <bp-sym.h> and <bp-asm.h>.
16320 (PARMS): Do not use macros from bp-asm.h.
16321 (__posix_fadvise64_l64): Do not use BP_SYM.
16322 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16323 (PARMS): Do not use macros from bp-asm.h.
16324 (NSOPS): Likewise.
16325 (semtimedop): Do not use BP_SYM.
16326 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16327 and <bp-asm.h>.
16328
582a3cff
AM
163292013-02-21 Allan McRae <allan@archlinux.org>
16330
16331 * manual/message.texi (Charset conversion in gettext):
16332 Move @end statement to beginning of line.
16333
bab8a695
SP
163342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16335
80945231
SP
16336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16337 static.
16338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16339 Likewise.
16340
bab8a695
SP
16341 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16342 (denorm): Likewise.
16343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16345
e21d7aa7
AK
163462013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16347
16348 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16349 tail-call to the resolved function if pltexit isn't needed.
16350
4c7a4263
SP
163512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16352
16353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16354 or Y being zero as being unlikely.
16355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16356 Likewise.
16357
41f49342
CD
163582013-02-20 Carlos O'Donell <carlos@redhat.com>
16359
16360 * manual/nss.texi (System Databases and Name Service Switch):
16361 Remove frobnicate @pxref.
16362
50022a93
TS
163632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16364
16365 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16366 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16367
08cbd996
PM
163682013-02-20 Petr Machata <pmachata@redhat.com>
16369
16370 * elf/elf.h (R_ARM_TARGET1): New macro.
16371 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16372 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16373 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16374 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16375 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16376 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16377 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16378 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16379 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16380 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16381 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16382 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16383 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16384 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16385 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16386 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16387 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16388 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16389 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16390 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16391 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16392 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16393 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16394 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16395 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16396 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16397 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16398 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16399 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16400 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16401 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16402 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16403 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16404 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16405 (R_ARM_THM_GOT_BREL12): Likewise.
16406 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16407 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16408 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16409 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16410 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16411 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16412 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16413 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16414 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16415
c7b275d6
TS
164162013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16417
16418 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16419 __attribute_used__ to __attribute__ ((unused)).
16420
20cd7fb3
SP
164212013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
16423 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16424 powerpc mpa.c.
16425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16426 comment formatting.
16427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16428
92945b52
JM
164292013-02-19 Joseph Myers <joseph@codesourcery.com>
16430
16431 [BZ #13550]
16432 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16433 Remove macro.
16434 (ENTER): Remove both macro definitions.
16435 (LEAVE): Likewise.
16436 (CHECK_BOUNDS_LOW): Likewise.
16437 (CHECK_BOUNDS_HIGH): Likewise.
16438 (CHECK_BOUNDS_BOTH): Likewise.
16439 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16440 (RETURN_BOUNDED_POINTER): Likewise.
16441 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16442 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16443 (POP_ERRNO_LOCATION_RETURN): Likewise.
16444 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16445 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16446 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16447 macros.
16448 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16449 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16450 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16451 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16452 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16453 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16454 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16455 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16456 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16457 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16458 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16459 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16460 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16461 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16462 removed macros.
16463 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16464 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16465 macros.
16466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16467 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16468 * sysdeps/i386/i586/memset.S (memset): Likewise.
16469 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16470 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16471 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16472 macros.
16473 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16474 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16475 Change uses of L(2) to L(out).
16476 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16477 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16478 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16479 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16480 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16481 removed macros.
16482 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16483 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16484 macros.
16485 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16486 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16487 (RETURN): Do not use macro LEAVE.
16488 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16489 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16490 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16491 * sysdeps/i386/i686/memset.S (memset): Likewise.
16492 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16493 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16494 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16495 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16496 Likewise.
16497 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16498 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16499 L(1_2) and L(1_3) into L(1).
16500 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16501 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16502 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16503 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16504 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16505 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16506 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16507 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16508 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16509 macros.
16510 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16511 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16512 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16513 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16514 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16515 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16516 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16517 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16518 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16519 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16520 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16521 * sysdeps/i386/strspn.S (strspn): Likewise.
16522 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16523 conditional code.
16524 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16525 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16526 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16527 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16528 L(1_3) into L(1_1).
16529 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16530 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16531 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16532 macros.
16533 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16534
2389741a
JJ
165352013-02-19 Jakub Jelinek <jakub@redhat.com>
16536
16537 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16538 macro.
16539
2016b3cd
SP
165402013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16541
e4f22324
SP
16542 * math/atest-exp.c (exp_mpn): Remove ROUND.
16543 * math/atest-exp2.c (exp_mpn): Likewise.
16544 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16545
2016b3cd
SP
16546 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16547 * stdlib/tst-tls-atexit-lib.c: Likewise.
16548 * stdlib/tst-tls-atexit.c: Likewise.
16549
4be9b544
MF
165502013-02-18 Mike Frysinger <vapier@gentoo.org>
16551
16552 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16553 and __attribute_alloc_size__.
16554
2f62b9ee
MF
165552013-02-18 Mike Frysinger <vapier@gentoo.org>
16556
16557 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16558 __attribute_alloc_size__.
16559 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16560 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16561
6ff444c4
MF
165622013-02-18 Mike Frysinger <vapier@gentoo.org>
16563
16564 * include/programs/xmalloc.h: New file.
16565 * catgets/gencat.c: Include it.
16566 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16567 * elf/pldd.c: Likewise.
16568 * iconv/iconv_charmap.c: Likewise.
16569 * iconv/iconvconfig.c: Likewise.
16570 * iconv/strtab.c: Likewise.
16571 * locale/programs/locale.c: Likewise.
16572 * locale/programs/localedef.h: Likewise.
16573 * locale/programs/simple-hash.c: Likewise.
16574 * nscd/nscd.h: Likewise.
16575 * nss/makedb.c: Likewise.
16576 * sysdeps/generic/ldconfig.h: Likewise.
16577
be179c8a
SP
165782013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16579
ba384f6e
SP
16580 * Versions.def: Add GLIBC_2.18.
16581 * include/link.h (struct link_map): New member l_tls_dtor_count.
16582 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16583 (__call_tls_dtors): Likewise.
16584 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16585 __cxa_thread_atexit_impl.
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16587 Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16589 Likewise.
16590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16591 Likewise.
16592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16593 Likewise.
16594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16596 Likewise.
16597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16598 Likewise.
16599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16601 Likewise.
16602 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16603 (tests): Add test case tst-tls-atexit.
16604 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16605 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16606 (GLIBC_PRIVATE): Add __call_tls_dtors.
16607 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16608 for libstdc++.
16609 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16610 * stdlib/tst-tls-atexit.c: New test case.
16611 * stdlib/tst-tls-atexit-lib.c: New test case.
16612
ffaa74cf 16613 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16614
be179c8a
SP
16615 * elf/Versions (ld): Add _dl_find_dso_for_object.
16616 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16617 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16618 (dl_open_worker): Use _dl_find_dso_for_object.
16619 * elf/dl-sym.c (do_sym): Likewise.
16620 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16621
f78b5caa
AK
166222013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16623
16624 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16625 Syntactic changes only.
16626 (_dl_runtime_profile): Do a tail-call to the resolved function.
16627
29691210
JM
166282013-02-17 Joseph Myers <joseph@codesourcery.com>
16629
16630 [BZ #13550]
16631 * sysdeps/x86_64/bp-asm.h: Remove file.
16632 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16633 <bp-sym.h> and <bp-asm.h>.
16634 (__clone): Do not use BP_SYM.
16635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16636 <bp-sym.h> and <bp-asm.h>.
16637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16638 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16639 "bp-asm.h".
16640 (_setjmp): Do not use BP_SYM.
16641 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16642 "bp-asm.h".
16643 (setjmp): Do not use BP_SYM.
16644 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16645 libc_hidden_def.
16646 (mempcpy): Do not use BP_SYM in weak_alias.
16647 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16648 "bp-asm.h".
16649 (strchr): Do not use BP_SYM.
16650 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16653 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16654 (_start): Do not use BP_SYM.
16655 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16656 "bp-asm.h".
16657 (strcat): Do not use BP_SYM.
16658 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16659 "bp-asm.h".
16660 (STRCMP): Do not use BP_SYM.
16661 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16662 "bp-asm.h".
16663 (STRCPY): Do not use BP_SYM.
16664 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16665 "bp-asm.h".
16666 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16667 "bp-asm.h".
16668 (FUNCTION): Do not use BP_SYM.
16669 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16670 weak_alias.
16671 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16672
f238fd19
AJ
166732013-02-17 Andreas Jaeger <aj@suse.de>
16674
16675 * time/Versions: Sort entries.
16676 * string/Versions: Likewise.
16677 * resolv/Versions: Likewise.
16678 * posix/Versions: Likewise.
16679 * iconv/Versions: Likewise.
16680 * elf/Versions: Likewise.
16681 * wcsmbs/Versions: Likewise.
16682
bd07f23c 166832013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16684
22af19f9
SP
16685 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16686 loop termination condition.
16687
4709fe76
SP
16688 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16689 variable to calculate EZ.
16690 (__sqr): Likewise.
2d0e0f29
SP
16691
16692 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16693 the lower precision input.
16694
daaa7713
JM
166952013-02-15 Joseph Myers <joseph@codesourcery.com>
16696
16697 [BZ #13550]
16698 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16699 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16700 (run-via-rtld-prefix): Do not handle %-bp tests.
16701 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16702 (all-object-suffixes): Remove .ob.
16703 (bppfx): Remove variable.
16704 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16705 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16706 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16707 [$(build-bounded) = yes] (libtype.ob): Likewise.
16708 * Makerules (elide-routines.ob): Remove variable.
16709 (do-tests-clean): Do not handle *-bp.out.
16710 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16711 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16712 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16713 (tests): Do not include $(tests-bp.out).
16714 (xtests): Do not include $(xtests-bp.out).
16715 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16716 [$(build-bounded) = yes] ($(addprefix
16717 $(objpfx),$(binaries-bounded))): Remove rule.
16718 ($(objpfx)%-bp.out): Remove rule.
16719 * config.make.in (build-bounded): Remove variable.
16720 * crypt/Makefile [$(build-bounded) = yes]
16721 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16722 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16723 append to variable.
16724 [$(build-bounded) = yes] (install-lib): Likewise.
16725 [$(build-bounded) = yes] (generated): Likewise.
16726 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16727 Remove rule.
16728 * intl/Makefile [$(build-bounded) = yes]
16729 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16730 * math/Makefile [$(build-bounded) = yes]
16731 ($(tests:%=$(objpfx)%-bp): Likewise.
16732 * misc/Makefile [$(build-bounded) = yes]
16733 ($(objpfx)tst-tsearch-bp): Likewise.
16734 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16735 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16736 Remove dependency.
16737 * string/Makefile (o-objects.ob): Remove variable.
16738 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16739 (CFLAGS-.ob): Remove variable.
16740 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16741 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16742 both definitions of variable.
16743 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16744 (ASFLAGS-.ob): Remove variable.
16745
e97ed6dd
JM
167462013-02-14 Joseph Myers <joseph@codesourcery.com>
16747
2bdd4ca6
JM
16748 [BZ #13550]
16749 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16750 Remove __BOUNDED_POINTERS__ from condition.
16751 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16752 * string/bits/string2.h [!__NO_STRING_INLINES &&
16753 !__BOUNDED_POINTERS__]: Likewise.
16754 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16755 Likewise.
16756 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16757 Remove conditional code.
16758 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16759 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16760 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16761 condition.
16762
e97ed6dd
JM
16763 [BZ #13550]
16764 * csu/libc-start.c: Do not include <bp-sym.h>.
16765 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16766 * elf/dl-open.c: Do not include <bp-sym.h>.
16767 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16768 * math/fegetenv.c: Do not include <bp-sym.h>.
16769 (fegetenv): Do not use BP_SYM in versioned symbols.
16770 * nptl/sysdeps/pthread/bits/libc-lockP.h
16771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16772 <bp-sym.h>.
16773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16774 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16776 (__pthread_mutex_destroy): Likewise.
16777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16778 (__pthread_mutex_lock): Likewise.
16779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16780 (__pthread_mutex_trylock): Likewise.
16781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16782 (__pthread_mutex_unlock): Likewise.
16783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16784 (__pthread_mutexattr_init): Likewise.
16785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16786 (__pthread_mutexattr_destroy): Likewise.
16787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16788 (__pthread_mutexattr_settype): Likewise.
16789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16790 (__pthread_rwlock_init): Likewise.
16791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16792 (__pthread_rwlock_destroy): Likewise.
16793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16794 (__pthread_rwlock_rdlock): Likewise.
16795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16796 (__pthread_rwlock_tryrdlock): Likewise.
16797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16798 (__pthread_rwlock_wrlock): Likewise.
16799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16800 (__pthread_rwlock_trywrlock): Likewise.
16801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16802 (__pthread_rwlock_unlock): Likewise.
16803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16804 (__pthread_key_create): Likewise.
16805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16806 (__pthread_setspecific): Likewise.
16807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16808 (__pthread_getspecific): Likewise.
16809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16810 Likewise.
16811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16812 (_pthread_cleanup_push_defer): Likewise.
16813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16814 (_pthread_cleanup_pop_restore): Likewise.
16815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16816 (pthread_setcancelstate): Likewise.
16817 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16818 <bp-sym.h>.
16819 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16820 (memchr): Do not use BP_SYM in weak_alias.
16821 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16822 (fegetenv): Do not use BP_SYM in versioned symbols.
16823 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16824 (fesetenv): Do not use BP_SYM in versioned symbols.
16825 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16826 (feupdateenv): Do not use BP_SYM in versioned symbols.
16827 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16828 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16829 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16830 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16831 (open64): Do not use BP_SYM in weak_alias.
16832 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16833 (fegetenv): Do not use BP_SYM in versioned symbols.
16834 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16835 (fesetenv): Do not use BP_SYM in versioned symbols.
16836 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16837 (feupdateenv): Do not use BP_SYM in versioned symbols.
16838 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16839 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16840 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16841 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16842 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16843 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16844 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16845 <bp-sym.h>.
16846 (__libc_start_main): Do not use BP_SYM.
16847
d6752ccd
SP
168482013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16849
cb57ce60
SP
16850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16851 redundant return line.
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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16862 (norm): Likewise.
16863 (denorm): Likewise.
16864 (dbl_mp): Likewise.
16865 (sub_magnitudes): Likewise.
16866 (__add): Likewise.
16867 (__sub): Likewise.
16868 (__mul): Likewise.
16869 (__inv): Likewise.
16870 (__dvd): Likewise.
16871
f414520d
SP
16872 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16873 instead of __mul.
16874 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16875 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16876 (cc32): Likewise.
16877
d6752ccd
SP
16878 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16879 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16881 of __mul for squares.
16882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16883 function
16884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16885 Likewise.
16886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16888
70d9946a
JM
168892013-02-13 Joseph Myers <joseph@codesourcery.com>
16890
16891 [BZ #13550]
16892 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16893 code.
16894 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16895 prototype or function definition. Rename ubp_* variables and
16896 parameters. Remove argv definitions conditional on
16897 [__BOUNDED_POINTERS__].
16898 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16899 * elf/dl-runtime.c (_dl_fixup): Likewise.
16900 * include/set-hooks.h (RUN_HOOK): Likewise.
16901 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16902 definition.
16903 * string/strcpy.c (strcpy): Do not use __unbounded.
16904 * sysdeps/generic/frame.h (struct layout): Likewise.
16905 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16906 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16907 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16908 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16909 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16910 (__backtrace): Likewise.
16911 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16912 use __ptrvalue.
16913 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16914 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16915 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16916 Likewise.
16917 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16918 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16920 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16921 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16922 Do not use __unbounded.
16923 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16924 Rename __unboundedrlimits parameter to rlimits in prototype.
16925 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16926 Do not use __unbounded.
16927 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16928 not use __ptrvalue.
16929 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16930 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16931 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16932 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16933 __ptrvalue or __unbounded.
16934 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16935 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16936 use __unbounded.
16937 (__new_msgctl): Do not use __ptrvalue.
16938 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16939 __unbounded.
16940 (__libc_msgrcv): Do not use __ptrvalue.
16941 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16942 startup_info): Do not use __unbounded.
16943 (__libc_start_main): Likewise. Rename ubp_* variables and
16944 parameters. Remove argv definitions conditional on
16945 [__BOUNDED_POINTERS__].
16946 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16947 __ptrvalue.
16948 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16949 use __unbounded.
16950 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16951 or __ptrvalue.
16952 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16953 use __unbounded.
16954 (__new_shmctl): Do not use __ptrvalue.
16955 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16956 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16957 Likewise.
16958 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16959 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16960 (__libc_sigaction): Likewise.
16961 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16962 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16963 Likewise.
16964 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16965
cc7834d6
OB
169662013-02-13 Ondřej Bílka <neleai@seznam.cz>
16967
ffb1ec7b 16968 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
16969
16970 * string/mempcpy.c: Implement by calling memcpy.
16971
bdf02814
SP
169722013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16973
c2af38aa
SP
16974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16975
4e92d59e
SP
16976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16977 evaluation.
16978
909279a5
SP
16979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16980 values in the mantissa.
16981
bdf02814
SP
16982 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16983 minimize writes to Z.
16984 (sub_magnitudes): Simplify code a bit.
16985
cd525923
RM
169862013-02-12 Roland McGrath <roland@hack.frob.com>
16987
16988 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16989 from the message. The linker prefixes all warnings with that already.
16990
7e2f0d2d
AS
169912013-02-12 Andreas Schwab <schwab@suse.de>
16992
a445af0b
AS
16993 [BZ #15078]
16994 * posix/regexec.c (extend_buffers): Add parameter min_len.
16995 (check_matching): Pass minimum needed length.
16996 (clean_state_log_if_needed): Likewise.
16997 (get_subexp): Likewise.
16998 * posix/Makefile (tests): Add bug-regex34.
16999 (bug-regex34-ENV): Define.
17000 * posix/bug-regex34.c: New file.
17001
7e2f0d2d
AS
17002 [BZ #11561]
17003 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17004 elements compare against the byte sequence of it, not its name.
17005 * posix/Makefile (tests): Add bug-regex35.
17006 (bug-regex35-ENV): Define.
17007 * posix/bug-regex35.c: New file.
17008
a175b684
TV
170092013-02-11 Tom de Vries <tom@codesourcery.com>
17010
17011 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17012 comment.
17013 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17014 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17015 (CHECK_EOL): Add undef.
17016
310998fe 170172013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17018
17019 * bits/stdlib-bsearch.h: New file.
17020 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17021 * stdlib/stdlib.h: Likewise.
41eda41d 17022
8ded91fb
RM
170232013-02-11 Roland McGrath <roland@hack.frob.com>
17024
17025 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17026 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17027 declaration.
17028 * manual/search.texi (Array Search Function): Add missing const in
17029 lfind prototype.
17030 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17031 declaration to use rlim_t.
17032 (Basic Scheduling Functions): Remove erroneous const from
17033 sched_getparam prototype. Remove erroneous * from
17034 sched_get_priority_max and sched_get_priority_min prototypes.
17035 (Resource Usage): Fix summary @comment on vtimes to refer to
17036 sys/vtimes.h rather than vtimes.h.
17037 Add missing *s in vtimes prototype.
17038 (Limits on Resources): Fix ulimit prototype to return long int.
17039 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17040 prototypes to use long int rather than double.
17041 (BSD Random): Fix initstate and setstate to use char *, not void *.
17042 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17043 prototype to make second argument 'struct aiocb64 *const[]'.
17044 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17045 (Status of AIO Operations): Remove erroneous const in aio_return and
17046 aio_return64 prototypes.
17047 (Synchronizing I/O): Fix sync prototype to return void.
17048 * manual/startup.texi (Suboptions): Remove an erroneous const in
17049 getsubopt prototype.
17050 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17051 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17052 use size_t rather than int.
17053 (Scanning All Users): Likewise for getpwent_r.
17054 (Setting Groups): Add missing const to setgroups prototype.
17055 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17056 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17057 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17058 'const void *' rather than 'const char *'.
17059 (Host Address Functions): Likewise for inet_ntop.
17060 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17061 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17062 ssize_t for return value.
17063 (Sending Data): Likewise for send, sendto, sendmsg.
17064 (Socket Option Functions): Add a missing const in setsockopt prototype.
17065 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17066 use wchar_t for the argument.
17067 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17068 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17069 take no arguments.
17070 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17071 double/float/long double for second argument.
17072 Fix return types of significand, significandf, significandl.
17073 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17074 argument in fchmod prototype.
17075 (File Owner): Use uid_t and gid_t in fchown prototype.
17076 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17077 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17078 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17079 use 'const struct dirent **' as argument types to CMP function pointer
17080 argument.
17081 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17082 (File Times): Fix summary magic @comment for struct utimbuf and utime
17083 to refer to utime.h, not time.h.
17084 * manual/string.texi (Argz Functions): Add missing const in
17085 argz_extract and argz_next prototypes.
17086 (Finding Tokens in a String): Likewise for basename.
17087 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17088 (Copying and Concatenation): Fix typo in wmemmove prototype.
17089 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17090 (Signal Stack): Remove erroneous const in sigstack prototype.
17091 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17092 prototype.
17093 (Simple Calendar Time): Likewise for stime.
17094 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17095 prototype.
17096 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17097 say sys/sysctl.h instead.
17098 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17099 and vsyslog prototypes.
17100
fe77fe6d
TV
171012013-02-11 Tom de Vries <tom@codesourcery.com>
17102
17103 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17104 Remove.
17105
3a09b620
RM
171062013-02-11 Roland McGrath <roland@hack.frob.com>
17107
17108 * misc/sys/mman.h: Fix typo in mremap comment.
17109
550a0b89
RM
171102013-02-08 Roland McGrath <roland@hack.frob.com>
17111
17112 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17113 the '\0' terminator.
17114
a2da1673
JM
171152013-02-08 Joseph Myers <joseph@codesourcery.com>
17116
17117 [BZ #13550]
17118 * debug/segfault.c: Don't include <bp-checks.h>.
17119 * sysdeps/generic/bp-checks.h: Remove file.
17120 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17121 (__GETDENTS): Don't use CHECK_N.
17122 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17123 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17124 (__getgroups): Don't use CHECK_N.
17125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17126 (setgroups): Don't use CHECK_N.
17127 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17128 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17129 (__libc_msgrcv): Don't use CHECK_N.
17130 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17131 (__libc_msgsnd): Don't use CHECK_N.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17133 <bp-checks.h>.
17134 (__libc_pread): Don't use CHECK_N.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17136 include <bp-checks.h>.
17137 (__libc_pread64): Don't use CHECK_N.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17139 include <bp-checks.h>.
17140 (__libc_pwrite): Don't use CHECK_N.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17142 include <bp-checks.h>.
17143 (__libc_pwrite64): Don't use CHECK_N.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17145 <bp-checks.h>.
17146 (__libc_pread): Don't use CHECK_N.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17148 include <bp-checks.h>.
17149 (__libc_pread64): Don't use CHECK_N.
17150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17151 include <bp-checks.h>.
17152 (__libc_pwrite): Don't use CHECK_N.
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17154 include <bp-checks.h>.
17155 (__libc_pwrite64): Don't use CHECK_N.
17156 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17157 (do_pread): Don't use CHECK_N.
17158 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17159 (do_pread64): Don't use CHECK_N.
17160 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17161 (do_pwrite): Don't use CHECK_N.
17162 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17163 (do_pwrite64): Don't use CHECK_N.
17164 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17165 (__libc_readv): Don't use CHECK_N.
17166 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17167 (semop): Don't use CHECK_N.
17168 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17169 <bp-checks.h>.
17170 (semtimedop): Don't use CHECK_N.
17171 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17172 (__libc_pread): Don't use CHECK_N.
17173 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17174 <bp-checks.h>.
17175 (__libc_pread64): Don't use CHECK_N.
17176 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17177 <bp-checks.h>.
17178 (__libc_pwrite): Don't use CHECK_N.
17179 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17180 <bp-checks.h>.
17181 (__libc_pwrite64): Don't use CHECK_N.
17182 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17183 <bp-checks.h>.
17184 (__libc_msgrcv): Don't use CHECK_N.
17185 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17186 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17187 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17188 (__libc_writev): Don't use CHECK_N.
17189
b84660a8
RM
171902013-02-08 Roland McGrath <roland@hack.frob.com>
17191
7f3e75f8
RM
17192 * string/strcpy.c: Removed unused variable.
17193
b84660a8
RM
17194 * Makeconfig (+sysdep-includes): Define with := rather than =.
17195 Use an existing include/ subdir of each sysdeps dir before it.
17196
471514d3
CD
171972013-02-08 Carlos O'Donell <carlos@redhat.com>
17198
17199 * nscd/connection.c (register_traced_file): Comment function.
17200 [HAVE_INOTIFY] (union __inev): Define.
17201 [HAVE_INOTIFY] (inotify_check_files): New function.
17202 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17203 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17204 clear_db_cache.
17205 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17206
b2d3c3be
CD
172072013-02-08 Carlos O'Donell <carlos@redhat.com>
17208
17209 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17210 loaded if not already and that a failure is permanent.
17211
b39949d2
CD
172122013-02-08 Carlos O'Donell <carlos@redhat.com>
17213
ddacd1db 17214 [BZ #15006]
b39949d2
CD
17215 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17216 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17217
b2c9eff4
JM
172182013-02-08 Joseph Myers <joseph@codesourcery.com>
17219
f3aae3f3
JM
17220 [BZ #13550]
17221 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17222 (CHECK_1_NULL_OK): Likewise.
17223 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17224 (__fxstat): Do not use CHECK_1.
17225 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17226 <bp-checks.h>.
17227 (___fxstat64): Do not use CHECK_1.
17228 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17229 <bp-checks.h>.
17230 (__fxstatat): Do not use CHECK_1.
17231 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17232 <bp-checks.h>.
17233 (__fxstatat64): Do not use CHECK_1.
17234 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17235 <bp-checks.h>.
17236 (__fxstat): Do not use CHECK_1.
17237 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17238 <bp-checks.h>.
17239 (__fxstatat): Do not use CHECK_1.
17240 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17241 <bp-checks.h>.
17242 (__getresgid): Do not use CHECK_1.
17243 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17244 <bp-checks.h>.
17245 (__getresuid): Do not use CHECK_1.
17246 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17247 <bp-checks.h>.
17248 (__lxstat): Do not use CHECK_1.
17249 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17250 <bp-checks.h>.
17251 (__old_msgctl): Do not use CHECK_1.
17252 (__new_msgctl): Likewise.
17253 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17254 <bp-checks.h>.
17255 (__new_setrlimit): Do not use CHECK_1.
17256 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17257 <bp-checks.h>.
17258 (__old_shmctl): Do not use CHECK_1.
17259 (__new_shmctl): Likewise.
17260 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17261 <bp-checks.h>.
17262 (__xstat): Do not use CHECK_1.
17263 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17264 (__lxstat): Do not use CHECK_1.
17265 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17266 <bp-checks.h>.
17267 (___lxstat64): Do not use CHECK_1.
17268 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17269 (__old_msgctl): Do not use CHECK_1.
17270 (__new_msgctl): Likewise.
17271 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17272 <bp-checks.h>.
17273 (__gettimeofday): Do not use CHECK_1.
17274 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17275 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17276 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17277 <bp-checks.h>.
17278 (__gettimeofday): Do not use CHECK_1.
17279 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17280 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17281 (__new_shmctl): Do not use CHECK_1.
17282 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17283 <bp-checks.h>.
17284 (do_sigtimedwait): Do not use CHECK_1.
17285 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17286 <bp-checks.h>.
17287 (do_sigwaitinfo): Do not use CHECK_1.
17288 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17289 <bp-checks.h>.
17290 (msgctl): Do not use CHECK_1.
17291 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17292 <bp-checks.h>.
17293 (shmctl): Do not use CHECK_1.
17294 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17295 (ustat): Do not use CHECK_1.
17296 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17297 <bp-checks.h>.
17298 (__fxstat): Do not use CHECK_1.
17299 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17300 <bp-checks.h>.
17301 (__fxstatat): Do not use CHECK_1.
17302 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17303 <bp-checks.h>.
17304 (__lxstat): Do not use CHECK_1.
17305 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17306 <bp-checks.h>.
17307 (__xstat): Do not use CHECK_1.
17308 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17309 (__xstat): Do not use CHECK_1.
17310 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17311 (___xstat64): Do not use CHECK_1.
17312
b2c9eff4
JM
17313 [BZ #13550]
17314 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17315 definitions.
17316 (CHECK_BOUNDS_HIGH): Likewise.
17317 * string/strcpy.c: Do not include <bp-checks.h>.
17318 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17319
f1d70dad
RM
173202013-02-07 Roland McGrath <roland@hack.frob.com>
17321
17322 * nscd/nscd-client.h (__nscd_drop_map_ref):
17323 Add __attribute__ ((unused)).
17324 * nis/nss-nisplus.h (niserr2nss): Likewise.
17325
17326 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17327 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17328
17329 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17330 Remove inline keyword.
17331 * include/rounding-mode.h (round_away): Likewise.
17332 * libio/wfileops.c (adjust_wide_data): Likewise.
17333 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17334 (__m128i_strloadu_tolower): Likewise.
17335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17336 (__m128i_strloadu_tolower): Likewise.
17337 * time/mktime.c (ydhms_diff): Likewise.
17338 * locale/elem-hash.h (elem_hash): Likewise.
17339 * locale/setlocale.c (setdata): Likewise.
17340 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17341 (re_string_wchar_at): Likewise.
17342 (bitset_not, bitset_merge, bitset_mask): Likewise.
17343 [!(__GNUC__ > 3)] (inline): Remove macro.
17344 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17345 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17346 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17347 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17348 * string/memcmp.c (memcmp_bytes): Likewise.
17349 * locale/programs/locarchive.c (compute_hashval): Likewise.
17350 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17351 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17352 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17353 * nss/getent.c (print_rpc, print_protocols): Likewise.
17354 (print_passwd, print_group, print_aliases): Likewise.
17355 * nis/nss-nisplus.h (niserr2nss): Likewise.
17356 * nscd/connections.c (restart_p): Likewise.
17357 Change return type to bool.
17358
eab55bfb
RM
173592013-02-05 Roland McGrath <roland@hack.frob.com>
17360
7bd642f5
RM
17361 * Makeconfig (all-Depend-files): Add existing
17362 $(sorted-subdirs:=/Depend) files.
17363 (all-subdirs): Remove nss.
17364 * sysdeps/unix/inet/Subdirs: Add it here instead.
17365 * hesiod/Depend: New file.
17366
573c29b2
RM
17367 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17368 instead of calling alloca.
17369
b2e25af0
RM
17370 * io/lseek.c (__lseek): Rename to __libc_lseek.
17371 Define __lseek as an alias.
17372
eab55bfb
RM
17373 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17374
9a0d1941
CD
173752013-02-04 Carlos O'Donell <carlos@redhat.com>
17376
17377 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17378 else clause and remove check for non-standard endianness.
17379
b83bbec4
DM
173802013-02-04 David S. Miller <davem@davemloft.net>
17381
17382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17383
6277fdab
JM
173842013-02-04 Joseph Myers <joseph@codesourcery.com>
17385
17386 [BZ #13550]
17387 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17388 (__ubp_memchr): Remove prototype.
17389 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17390 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17391 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17392 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17393 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17394 Remove alias.
17395 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17396 (__ubp_memchr): Likewise.
17397 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17398 (__ubp_memchr): Likewise.
17399 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17400 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17401 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17402 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17403 CHECK_STRING.
17404 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17405 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17406 (__getcwd): Do not use CHECK_STRING.
17407 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17408 <bp-checks.h>.
17409 (__real_chown): Do not use CHECK_STRING.
17410 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17411 <bp-checks.h>.
17412 (fchownat): Do not use CHECK_STRING.
17413 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17414 CHECK_STRING.
17415 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17416 <bp-checks.h>.
17417 (__lchown): Do not use CHECK_STRING.
17418 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17419 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17420 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17421 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17423 include <bp-checks.h>.
17424 (truncate64): Do not use CHECK_STRING.
17425 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17426 <bp-checks.h>.
17427 (__real_chown): Do not use CHECK_STRING.
17428 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17429 <bp-checks.h>.
17430 (__lchown): Do not use CHECK_STRING.
17431 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17432 <bp-checks.h>.
17433 (__chown): Do not use CHECK_STRING.
17434 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17435 <bp-checks.h>.
17436 (truncate64): Do not use CHECK_STRING.
17437 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17438 Likewise.
17439 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17440 (__xmknod): Do not use CHECK_STRING.
17441 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17442 <bp-checks.h>.
17443 (__xmknodat): Do not use CHECK_STRING.
17444 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17445 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17446
903ae060
AS
174472013-02-04 Andreas Schwab <schwab@suse.de>
17448
17449 [BZ #14142]
17450 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17451 * include/netdb.h: Likewise for h_errno.
17452 * elf/tst-stackguard1.c: Include <tls.h>.
17453
542f9466
JK
174542013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17455
17456 * elf/link.h (struct link_map): Extend the l_addr comment.
17457 * include/link.h (struct link_map): Likewise.
17458
e782a927
JM
174592013-02-01 Joseph Myers <joseph@codesourcery.com>
17460
17461 [BZ #13550]
17462 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17463 (BOUNDED_1): Remove macro.
17464 * debug/backtrace.c: Don't include <bp-checks.h>.
17465 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17466 (__backtrace): Likewise.
17467 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17468 <bp-checks.h>.
17469 (__backtrace): Don't use BOUNDED_1.
17470 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17471 <bp-checks.h>.
17472 (__backtrace): Don't use BOUNDED_1.
17473 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17474 (__backtrace): Don't use BOUNDED_1.
17475 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17476 (shmat): Don't use BOUNDED_N.
17477
8cf28c5e
JM
174782013-01-31 Joseph Myers <joseph@codesourcery.com>
17479
3a7ac8a0
JM
17480 [BZ #13550]
17481 * sysdeps/generic/bp-start.h: Remove file.
17482 * csu/libc-start.c: Don't include <bp-start.h>.
17483 (LIBC_START_MAIN): Set up __environ directly instead of using
17484 INIT_ARGV_and_ENVIRON.
17485 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17486 <bp-start.h>.
17487
f3499f95
JM
17488 [BZ #13550]
17489 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17490 definitions.
17491 (CHECK_FCNTL): Likewise.
17492 (CHECK_N_PAGES): Likewise.
17493
32a45bea
JM
17494 [BZ #13550]
17495 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17496 definitions.
17497 (CHECK_SIGSET_NULL_OK): Likewise.
17498 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17499 <bp-checks.h>.
17500 (sigpending): Don't use CHECK_SIGSET.
17501 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17502 <bp-checks.h>.
17503 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17504 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17505 <bp-checks.h>.
17506 (do_sigsuspend): Don't use CHECK_SIGSET.
17507 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17508 use CHECK_SIGSET.
17509 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17510 (do_sigwait): Don't use CHECK_SIGSET.
17511 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17512 use CHECK_SIGSET.
17513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17514 include <bp-checks.h>.
17515 (sigpending): Don't use CHECK_SIGSET.
17516 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17517 include <bp-checks.h>.
17518 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17519 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17520 <bp-checks.h>.
17521 (sigpending): Don't use CHECK_SIGSET.
17522 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17523 <bp-checks.h>.
17524 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17525
2e8a5c8c
JM
17526 [BZ #13550]
17527 * sysdeps/generic/bp-semctl.h: Remove file.
17528 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17529 <bp-checks.h> and <bp-semctl.h>.
17530 (__old_semctl): Don't use CHECK_SEMCTL.
17531 (__new_semctl): Likewise.
17532 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17533 and <bp-semctl.h>.
17534 (__old_semctl): Don't use CHECK_SEMCTL.
17535 (__new_semctl): Likewise.
17536 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17537 <bp-checks.h> and <bp-semctl.h>.
17538 (__old_semctl): Don't use CHECK_SEMCTL.
17539 (__new_semctl): Likewise.
17540 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17541 <bp-checks.h> and <bp-semctl.h>.
17542 (semctl): Don't use CHECK_SEMCTL.
17543
c2d54929
JM
17544 [BZ #13550]
17545 * Makerules (elide-bp-thunks): Remove variable.
17546 (elide-routines.oS): Don't use $(elide-bp-thunks).
17547 (elide-routines.os): Likewise.
17548 (elide-routines.o): Likewise.
17549 (elide-routines.op): Likewise.
17550 (elide-routines.og): Likewise.
17551 (objects): Don't use $(bp-thunks).
17552 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17553 include.
17554 (common-generated): Do not add s-proto-bp.d.
17555 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17556 (int): Likewise.
17557 (typ): Likewise.
17558 Do not generate makefile rules for bounded-pointer thunks.
17559 * sysdeps/generic/bp-thunks.h: Remove file.
17560 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17561 * sysdeps/unix/s-proto-bp.S: Likewise.
17562
8cf28c5e
JM
17563 [BZ #15062]
17564 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17565 parts of result separately when argument is not close to line from
17566 -i to i and one part of argument is small.
17567 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17568 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17569 * math/libm-test.inc (cacos_test): Add more tests.
17570 (casin_test): Likewise.
17571 (casinh_test): Likewise.
17572 * sysdeps/i386/fpu/libm-test-ulps: Update.
17573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17574
c4e33b8d
DM
175752013-01-31 David S. Miller <davem@davemloft.net>
17576
17577 * po/de.po: Update from translation team.
17578
3b60b421
MK
175792013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17580
17581 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17582
bb931195
TS
175832013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17584
b5a5da23
TS
17585 * configure.in (_AC_PROG_CC_C89): New definition.
17586 * configure: Regenerate.
17587
bb931195
TS
17588 * configure.in (AC_PROG_CPP): New definition.
17589 * configure: Regenerate.
17590
8c53a12c
JM
175912013-01-23 Joseph Myers <joseph@codesourcery.com>
17592
17593 * debug/tst-backtrace.h: New file.
17594 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17595 (ret): Remove variable.
17596 (x): Likewise.
17597 (FAIL): Remove macro.
17598 (NO_INLINE): Likewise.
17599 (fn1): Use match function instead of strstr.
17600 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17601 (ret): Remove variable.
17602 (x): Likewise.
17603 (FAIL): Remove macro.
17604 (NO_INLINE): Likewise.
17605 (fn): Use match function instead of strstr.
17606 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17607 (ret): Remove variable.
17608 (x): Likewise.
17609 (FAIL): Remove macro.
17610 (NO_INLINE): Likewise.
17611 (handle_signal): Use match function instead of strstr.
17612 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17613 (ret): Remove variable.
17614 (x): Likewise.
17615 (FAIL): Remove macro.
17616 (NO_INLINE): Likewise.
17617 (handle_signal): Use match function instead of strstr.
17618
4858fa2a
RM
176192013-01-23 Roland McGrath <roland@hack.frob.com>
17620
17621 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17622
bae8e7f5
DM
176232013-01-23 David S. Miller <davem@davemloft.net>
17624
17625 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17626 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17627 argument of CAS if possible.
17628 * sysdeps/sparc/sparc64/bits/atomic.h
17629 (__arch_compare_and_exchange_val_32_acq): Likewise.
17630 (__arch_compare_and_exchange_val_64_acq): Likewise.
17631
9cbbc4ae
PT
176322013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17633
17634 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17635 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17636 Include <limits.h>.
67b3f58c 17637 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17638
5655a0b5
AC
176392013-01-23 Adam Conrad <adconrad@0c3.net>
17640
17641 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17642 (LDFLAGS-tst-array5): Likewise.
17643
052aff95
JM
176442013-01-23 Joseph Myers <joseph@codesourcery.com>
17645
17646 [BZ #15036]
17647 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17648 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17649 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17650 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17651
7c1e01aa
DM
176522013-01-21 David S. Miller <davem@davemloft.net>
17653
17654 * sysdeps/sparc/backtrace.c: New file.
17655 * sysdeps/sparc/sparc32/backtrace.h: New file.
17656 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17657 * sysdeps/sparc/sparc64/backtrace.h: New file.
17658 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17659 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17660 -funwind-tables.
17661
ab087e0a
AS
176622013-01-21 Andreas Schwab <schwab@suse.de>
17663
17664 [BZ #15020]
17665 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17666 closed its stdout.
17667
ed689c2f
AS
176682013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17669
17670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17671 "mpa2.h".
17672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17673
31d470ac
JM
176742013-01-18 Joseph Myers <joseph@codesourcery.com>
17675 Mark Mitchell <mark@codesourcery.com>
17676 Tom de Vries <tom@codesourcery.com>
17677 Paul Pluzhnikov <ppluzhnikov@google.com>
17678
17679 * debug/tst-backtrace2.c: New file.
17680 * debug/tst-backtrace3.c: Likewise.
17681 * debug/tst-backtrace4.c: Likewise.
17682 * debug/tst-backtrace5.c: Likewise.
17683 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17684 (CFLAGS-tst-backtrace3.c): Likewise.
17685 (CFLAGS-tst-backtrace4.c): Likewise.
17686 (CFLAGS-tst-backtrace5.c): Likewise.
17687 (LDFLAGS-tst-backtrace2): Likewise.
17688 (LDFLAGS-tst-backtrace3): Likewise.
17689 (LDFLAGS-tst-backtrace4): Likewise.
17690 (LDFLAGS-tst-backtrace5): Likewise.
17691 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17692 tst-backtrace4 and tst-backtrace5.
17693
90567f30 176942013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17695 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17696
17697 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17698 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17699 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17700 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17702 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17703 "+r" and remove output regs list as redundant. Add explicit inline
17704 asm to specify register of return val to work around compiler codegen
17705 bug. Remove (int) cast on return value. Add return type parameter to
17706 use in macro so that this macro does not truncate return value for
17707 64-bit values.
17708 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17709 pass to INTERNAL_VSYSCALL_NCS.
17710 (INLINE_VSYSCALL): Add 'long int' as return type to
17711 INTERNAL_VSYSCALL_NCS macro invocation.
17712 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17713 INTERNAL_VSYSCALL_NCS macro invocation.
17714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17715
d3b9ea61
SP
177162013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17717
0b57daeb
SP
17718 [BZ #14496]
17719 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17720 Fix application of SIMD FP exception mask.
17721
caa99d06
SP
17722 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17723 mp_no from a power of two.
17724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17725 __mpexp_twomm1. Use __pow_mp.
17726
d3b9ea61
SP
17727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17728 multiplication.
17729
1dbaee3c
DM
177302013-01-17 David S. Miller <davem@davemloft.net>
17731
17732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17733
728d7b43
JM
177342013-01-17 Joseph Myers <joseph@codesourcery.com>
17735
17736 [BZ #15023]
17737 * include/complex.h: Condition contents on [!_COMPLEX_H].
17738 (__kernel_casinhf): New prototype.
17739 (__kernel_casinh): Likewise.
17740 (__kernel_casinhl): Likewise.
17741 * math/Makefile (libm_calls): Add k_casinh.
17742 * math/k_casinh.c: New file.
17743 * math/k_casinhf.c: Likewise.
17744 * math/k_casinhl.c: Likewise.
17745 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17746 finite nonzero arguments.
17747 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17748 finite nonzero arguments.
17749 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17750 finite nonzero arguments.
17751 * math/s_casinh.c: Do not include <float.h>.
17752 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17753 * math/s_casinhf.c: Do not include <float.h>.
17754 (__casinhf): Move code for finite nonzero arguments to
17755 k_casinhf.c.
17756 * math/s_casinhl.c: Do not include <float.h>.
17757 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17758 redefine.
17759 (__casinhl): Move code for finite nonzero arguments to
17760 k_casinhl.c.
17761 * math/libm-test.inc (cacos_test): Add more tests.
17762 * sysdeps/i386/fpu/libm-test-ulps: Update.
17763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17764
2a26ef3a
PT
177652013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17766
17767 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17768 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17769 [!HAVE_MREMAP]: Remove [defined linux] case.
17770 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17771
a897655d
SP
177722013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17773
17774 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17775
881ebe89 177762013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17777
17778 * elf/elf.h (R_386_SIZE32): New relocation.
17779 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17780 R_386_SIZE32.
17781 (elf_machine_rela): Likewise.
17782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17783 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17784
59981e9b
JM
177852013-01-17 Joseph Myers <joseph@codesourcery.com>
17786
17787 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17788 (FP_FAST_FMA): Do not define.
17789 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17790 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17791 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17792 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17793 !_SOFT_FLOAT]: Likewise.
17794 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17795 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17796 value.
17797 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17798 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17799 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17800 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17801 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17802 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17803 file.
17804
cfa8054f
AS
178052013-01-16 Andreas Schwab <schwab@suse.de>
17806
17807 [BZ #14327]
17808 * include/stdlib.h (__mktemp): Add declaration.
17809 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17810 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17811
dd930cc5
SP
178122013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17813
881ebe89
SP
17814 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17815 definitions.
17816 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17817 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17818 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17819 definitions here.
17820 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17821 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17822 definitions.
17823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17824 and ONE.
17825 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17826 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17827 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17828 definitions.
17829 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17830 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17831 definitions.
17832 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17833
dd930cc5
SP
17834 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17835
c19a9f89
DM
178362013-01-15 David S. Miller <davem@davemloft.net>
17837
1aa61767
DM
17838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17839 trunc{,f} to libm-sysdep_routes.
17840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17842 file.
17843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17845 file.
17846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17847 file.
17848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17850 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17851 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17852 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17853 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17854 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17856
c42d5e98
DM
17857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17858 nearbyint{,f} to libm-sysdep_routes.
17859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17861 New file.
17862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17863 file.
17864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17865 New file.
17866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17867 file.
17868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17870 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17871 file.
17872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17873 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17874 file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17876 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17877 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17878
c19a9f89
DM
17879 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17880 libc_feholdexcept and libc_fesetenv.
17881
357679d2
MF
178822013-01-15 Mike Frysinger <vapier@gentoo.org>
17883
17884 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17885
65a82e3d
DM
178862013-01-14 David S. Miller <davem@davemloft.net>
17887
8b954ab9
DM
17888 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17889 (SPARC_ASM_VIS2_IFUNC): Likewise.
17890 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17892 use of 'siam' instruction.
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17894 Likewise.
17895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17896 Likewise.
17897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17898 Likewise.
17899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17904 file.
17905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17906 file.
17907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17908 file.
17909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17910 file.
17911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17916 new VIS2 routines.
17917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17920 Likewise.
17921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17926 routines to libm-sysdep_routines.
17927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17928
65a82e3d
DM
17929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17930 fdim/fdimf to libm-sysdep_routines.
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17932 file.
17933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17935 file.
17936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17939 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17940 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17941 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17942 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17943
e34ab705
SP
179442013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17945
2a91b573
SP
17946 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17947 to optimize copies.
17948
1066a534
SP
17949 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17952
e34ab705
SP
17953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17954 local variable MPTWO.
17955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17956 Likewise.
17957
aba5e596
MF
179582013-01-13 Mike Frysinger <vapier@gentoo.org>
17959
17960 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17961 GLOB_NOESCAPE.
17962
e557e9e5
MF
179632013-01-13 Mike Frysinger <vapier@gentoo.org>
17964
17965 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17966
0428cec9
MF
179672013-01-13 Mike Frysinger <vapier@gentoo.org>
17968
17969 * manual/pattern.texi (glob_t): Document gl_flags.
17970 (glob64_t): Likewise.
17971
8794a964
DM
179722013-01-11 David S. Miller <davem@davemloft.net>
17973
66438c3f
RM
17974 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17975 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17976 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
17977 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17978 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17979 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17980 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17981 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17982 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17983 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17984 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17985 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17986 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17987
4ae4244d
DM
17988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17989 sparc V9 rather than using V8 code.
17990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17992
8794a964
DM
17993 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17994 Move to...
17995 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17996 Here.
17997
6270516e
RM
179982013-01-11 Roland McGrath <roland@hack.frob.com>
17999
18000 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18001 not in the main loop.
18002 * configure: Regenerated.
18003
6a57d931
JM
180042013-01-11 Joseph Myers <joseph@codesourcery.com>
18005
18006 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18007 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18008 to just #else.
18009 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18010 [!__GLIBC_HAVE_LONG_LONG] case.
18011 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18012 condition to just #else.
18013 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18014 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18015 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18016 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18017 unconditional.
18018 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18019 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18020 #elif condition to just #else.
18021 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18022 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18023 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18024 #elif condition to just #else.
18025
0e8529e9
SE
180262013-01-11 Steve Ellcey <sellcey@mips.com>
18027
18028 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18029 (EF_MIPS_ARCH_64): Fix value.
18030 (EF_MIPS_ARCH_32R2): New.
18031 (EF_MIPS_ARCH_64R2): New.
18032
740b3dbe
L
180332013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18034
18035 * Makeconfig (+link-pie-before-libc): New.
18036 (+link-pie-after-libc): Likewise.
18037 (+link-pie-tests): Likewise.
18038 (+link-pie): Rewritten.
18039 (link-before-libc): Remove $(config-LDFLAGS).
18040 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18041 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18042 (config-LDFLAGS): Renamed to ...
18043 (rtld-LDFLAGS): This.
18044 (rtld-tests-LDFLAGS): New macro.
18045 (link-libc-rpath-link): Likewise.
18046 (link-libc-tests-rpath-link): Likewise.
18047 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18048 (link-libc): Prepand $(link-libc-rpath-link).
18049 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18050 (test-program-prefix): New macro.
18051 (test-via-rtld-prefix): Likewise.
18052 (test-program-cmd): Likewise.
18053 (host-test-program-cmd): Likewise.
18054 * Makefile ($(common-objpfx)testrun.sh): Replace
18055 $(run-program-prefix) with $(test-program-prefix).
18056 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18057 $(rtld-LDFLAGS).
18058 ($(common-objpfx)shlib.lds): Likewise.
18059 (build-module-helper): Likewise.
18060 ($(common-objpfx)format.lds): Likewise.
18061 * Rules (binaries-pie-tests): New.
18062 (binaries-pie-notests): Likewise.
18063 (binaries-pie): Rewritten.
18064 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18065 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18066 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18067 (make-test-out): Replace $(host-built-program-cmd) with
18068 $(host-test-program-cmd).
18069 * config.make.in (build-hardcoded-path-in-tests): New variable.
18070 * configure.in (--enable-hardcoded-path-in-tests): New configure
18071 option.
18072 (hardcoded_path_in_tests): New AC_SUBST.
18073 * configure: Regenerated.
18074 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18075 $(built-program-cmd) with $(test-program-cmd).
18076 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18077 (test_program_cmd): This.
18078 * elf/Makefile ($(objpfx)order.out): Run test with
18079 $(test-program-prefix).
18080 ($(objpfx)order2.out): Likewise.
18081 ($(objpfx)tst-initorder.out): Likewise.
18082 ($(objpfx)tst-initorder2.out): Likewise.
18083 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18084 $(test-program-cmd).
18085 ($(objpfx)tst-array1-static.out): Likewise.
18086 ($(objpfx)tst-array2.out): Likewise.
18087 ($(objpfx)tst-array3.out): Likewise.
18088 ($(objpfx)tst-array4.out): Likewise.
18089 ($(objpfx)tst-array5.out): Likewise.
18090 ($(objpfx)tst-array5-static.out): Likewise.
18091 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18092 $(test-program-cmd).
18093 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18094 $(run-program-prefix) with $(test-program-prefix).
18095 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18096 (test_program_prefix): This.
18097 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18098 $(run-program-prefix) with $(test-program-prefix).
18099 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18100 (test_program_prefix): This.
18101 * iconvdata/tst-tables.sh: Likewise.
18102 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18103 $(run-program-prefix) with $(test-program-prefix).
18104 ($(objpfx)tst-translit.out): Likewise.
18105 ($(objpfx)tst-gettext2.out): Likewise.
18106 ($(objpfx)tst-gettext4.out): Likewise.
18107 ($(objpfx)tst-gettext6.out): Likewise.
18108 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18109 (test_program_prefix): This.
18110 * intl/tst-gettext2.sh: Likewise.
18111 * intl/tst-gettext4.sh Likewise.
18112 * intl/tst-gettext6.sh: Likewise.
18113 * intl/tst-translit.sh: Likewise.
18114 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18115 with $(test-program-cmd).
18116 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18117 $(run-program-prefix) with $(test-program-prefix).
18118 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18119 (test_program_prefix): This.
18120 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18121 $(run-program-prefix) with $(test-program-prefix).
18122 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18123 (test_program_prefix): This.
18124 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18125 * posix/Makefile ($(objpfx)globtest.out): Replace
18126 $(run-via-rtld-prefix) and $(test-wrapper) with
18127 $(test-program-prefix) and $(test-via-rtld-prefix).
18128 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18129 $(test-program-prefix).
18130 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18131 $(host-test-program-cmd).
18132 (tst-spawn-ARGS): Likewise.
18133 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18134 $(test-program-prefix).
18135 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18136 (test_via_rtld_prefix): This.
18137 (test_wrapper): Renamed to ...
18138 (test_program_prefix): This.
18139 (run_program_prefix): Replaced by test_program_prefix.
18140 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18141 (test_program_prefix): This.
18142 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18143 with $(host-test-program-cmd).
18144 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18145 $(run-program-prefix) with $(test-program-prefix).
18146 ($(objpfx)tst-printf.out): Likewise.
18147 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18148 $(test-program-cmd).
18149 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18150 (test_program_prefix): This.
18151 * stdio-common/tst-unbputc.sh: Likewise.
18152 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18153 $(run-program-prefix) with $(test-program-prefix).
18154 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18155 (test_program_prefix): This.
18156 * string/Makefile ($(objpfx)tst-svc.out): Replace
18157 $(built-program-cmd) with $(test-program-cmd).
18158
c6fe55cf
AJ
181592013-01-11 Andreas Jaeger <aj@suse.de>
18160
18161 [BZ #15003]
18162 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18163 value. Sync with Linux 3.7.
18164
9e6919c8
DM
181652013-01-10 David S. Miller <davem@davemloft.net>
18166
18167 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18170
1c9f1a02
RM
181712013-01-10 Roland McGrath <roland@hack.frob.com>
18172
18173 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18174 never set.
18175 * configure: Regenerated.
18176
b9de2dde
DM
181772013-01-10 David S. Miller <davem@davemloft.net>
18178
18179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18180 sparc V9 rather than using V8 code.
18181 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18182 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18183
e7f68ef4
RM
181842013-01-10 Roland McGrath <roland@hack.frob.com>
18185
18186 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18187 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18188 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18189 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18190 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18191 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18192 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18193 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18194 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18195 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18196 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18197 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18198 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18199 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18200 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18201 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18202 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18203 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18204 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18205 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18206 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18207 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18208 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18209 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18210 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18211 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18212 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18213
5a47cc9c
DM
182142013-01-10 David S. Miller <davem@davemloft.net>
18215
18216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18217
4cf8f209
L
182182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18219
18220 * posix/Makefile (tests-static): New variable.
18221 (tests): Add $(tests-static).
18222 (tst-exec-static-ARGS): New variable.
18223 (tst-spawn-static-ARGS): Likewise.
18224 * posix/tst-exec-static.c: New file.
18225 * posix/tst-spawn-static.c: Likewise.
18226 * posix/tst-exec.c: Support run directly.
18227 * posix/tst-spawn.c: Likewise.
18228
fed0faa1
JM
182292013-01-10 Joseph Myers <joseph@codesourcery.com>
18230
828beb13
JM
18231 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18232 long.
18233 * math/bits/mathcalls.h (llrint): Likewise.
18234 (llround): Likewise.
18235 * stdlib/stdlib.h (struct drand48_data): Likewise.
18236 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18237 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18238 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18239 Likewise.
18240 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18241 Likewise.
18242 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18243 (elf_greg_t): Likewise.
18244 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18245 (__jmp_buf): Likewise.
18246 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18247 definitions.
18248 (llrint): Likewise, for all definitions.
18249 (llrintl): Likewise.
18250
fed0faa1
JM
18251 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18252 Remove [__GNUC__] condition.
18253 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18254 condition to just [__USE_ISOC99].
18255 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18256
1a20cb20
L
182572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18258
18259 [BZ #14200]
18260 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18261 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18262 defined.
18263 (_POSIX_V6_ILP32_OFF32): Likewise.
18264 (_XBS5_ILP32_OFF32): Likewise.
18265 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18266 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18267
751b85f7
SP
182682013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18269
7490eb81
SP
18270 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18271
751b85f7
SP
18272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18273 doubles __mpexp_twomm1. Adjust usage.
18274 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18275 Remove.
18276
988197f0
AS
182772013-01-10 Andreas Schwab <schwab@suse.de>
18278
18279 [BZ #14964]
18280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18281 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18282
e83d7298
DM
182832013-01-09 David S. Miller <davem@davemloft.net>
18284
034ed64b 18285 [BZ #15003]
e83d7298
DM
18286 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18287 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18288 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18289 TCP_FASTOPEN): Define.
18290 (tcp_repair_opt): New structure.
18291 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18292 enum values.
18293 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18294 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18295 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18296 (tcp_cookie_transactions): New structure.
18297
d5e0b9bd
AB
182982013-01-09 Anton Blanchard <anton@samba.org>
18299
18300 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18301 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18302 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18303 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18304
0c07e3ea
JM
183052013-01-09 Joseph Myers <joseph@codesourcery.com>
18306
18307 * include/features.h (__USE_ANSI): Remove.
18308
232f7002
RM
183092013-01-09 Roland McGrath <roland@hack.frob.com>
18310
ad98e30c
RM
18311 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18312
232f7002
RM
18313 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18314
950c99ca
SP
183152013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18316
b5792741
SP
18317 * sysdeps/s390/fpu/libm-test-ulps: Update.
18318
47cf2278
SP
18319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18320
950c99ca
SP
18321 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18322 (__acr): Likewise.
18323 (__cpy): Likewise.
18324 (norm): Likewise.
18325 (denorm): Likewise.
18326 (__mp_dbl): Likewise.
18327 (__dbl_mp): Likewise.
18328 (add_magnitudes): Likewise.
18329 (sub_magnitudes): Likewise.
18330 (__add): Likewise.
18331 (__sub): Likewise.
18332 (__mul): Likewise.
18333 (__inv): Likewise.
18334 (__dvd): Likewise.
18335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18336 (__acr): Likewise.
18337 (__cpy): Likewise.
18338 (norm): Likewise.
18339 (denorm): Likewise.
18340 (__mp_dbl): Likewise.
18341 (__dbl_mp): Likewise.
18342 (add_magnitudes): Likewise.
18343 (sub_magnitudes): Likewise.
18344 (__add): Likewise.
18345 (__sub): Likewise.
18346 (__mul): Likewise.
18347 (__inv): Likewise.
18348 (__dvd): Likewise.
18349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18350 (__acr): Likewise.
18351 (__cpy): Likewise.
18352 (norm): Likewise.
18353 (denorm): Likewise.
18354 (__mp_dbl): Likewise.
18355 (__dbl_mp): Likewise.
18356 (add_magnitudes): Likewise.
18357 (sub_magnitudes): Likewise.
18358 (__add): Likewise.
18359 (__sub): Likewise.
18360 (__mul): Likewise.
18361 (__inv): Likewise.
18362 (__dvd): Likewise.
18363
eede9df9
JM
183642013-01-08 Joseph Myers <joseph@codesourcery.com>
18365
18366 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18367 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18368 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18369 2 && __USE_EXTERN_INLINES]: Likewise.
18370
c40ea3d9
AJ
183712013-01-08 Andreas Jaeger <aj@suse.de>
18372
18373 [BZ# 14985]
18374 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18375 Remove.
18376 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18377 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18378
2ccdea26
AB
183792013-01-07 Anton Blanchard <anton@samba.org>
18380
18381 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18382 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18383 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18384 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18385 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18386 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18387 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18388 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18390 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18391 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18392 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18393 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18394 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18396 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18397 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18398 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18399 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18400 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18401 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18402 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18404 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18405 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18406 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18407 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18408 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18409 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18410 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18411 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18413 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18414 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18415 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18416 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18417 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18419 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18421 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18422 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18423 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18424
a9708fed
JM
184252013-01-07 Joseph Myers <joseph@codesourcery.com>
18426
375607b9
JM
18427 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18428 (__MALLOC_PMT): Likewise.
18429 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18430 [__GNUC__], only on [_LIBC].
18431 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18432 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18433 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18434 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18435 forward declaration.
18436 (realloc_hook_ini): Likewise.
18437 (memalign_hook_ini): Likewise.
18438 (__libc_memalign): Do not use __MALLOC_PMT in variable
18439 declaration.
18440 (__libc_valloc): Likewise.
18441 (__libc_pvalloc): Likewise.
18442 (__libc_calloc): Likewise.
18443 (__posix_memalign): Likewise.
18444
a9708fed
JM
18445 [BZ #14996]
18446 * math/s_casinh.c: Include <float.h>.
18447 (__casinh): Do not do computation with squaring and square root
18448 for large arguments.
18449 * math/s_casinhf.c: Include <float.h>.
18450 (__casinhf): Do not do computation with squaring and square root
18451 for large arguments.
18452 * math/s_casinhl.c: Include <float.h>.
18453 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18454 (__casinhl): Do not do computation with squaring and square root
18455 for large arguments.
18456 * math/libm-test.inc (casin_test): Add more tests.
18457 (casinh_test): Likewise.
18458 * sysdeps/i386/fpu/libm-test-ulps: Update.
18459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18460
afec409a
L
184612013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18462
18463 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18464 (__x86_64_raw_data_cache_size): Likewise.
18465 (__x86_64_data_cache_size_half): Likewise.
18466 (__x86_64_raw_data_cache_size_half): Likewise.
18467 (__x86_64_shared_cache_size): Likewise.
18468 (__x86_64_raw_shared_cache_size): Likewise.
18469 (__x86_64_shared_cache_size_half): Likewise.
18470 (__x86_64_raw_shared_cache_size_half): Likewise.
18471 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18472 to ...
18473 (__x86_data_cache_size): This.
18474 (__x86_64_raw_data_cache_size): Renamed to ...
18475 (__x86_raw_data_cache_size): This.
18476 (__x86_64_data_cache_size_half): Renamed to ...
18477 (__x86_data_cache_size_half): This.
18478 (__x86_64_raw_data_cache_size_half): Renamed to ...
18479 (__x86_raw_data_cache_size_half): This.
18480 (__x86_64_shared_cache_size): Renamed to ...
18481 (__x86_shared_cache_size): This.
18482 (__x86_64_raw_shared_cache_size): Renamed to ...
18483 (__x86_raw_shared_cache_size): This.
18484 (__x86_64_shared_cache_size_half): Renamed to ...
18485 (__x86_shared_cache_size_half): This.
18486 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18487 (__x86_raw_shared_cache_size_half): This.
18488 * sysdeps/x86_64/memcpy.S: Updated.
18489 * sysdeps/x86_64/memset.S: Likewise.
18490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18491 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18492 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18493
0b3986d0
DM
184942013-01-04 David S. Miller <davem@davemloft.net>
18495
18496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18497
e47686e9
AS
184982013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18499
d643bac1
AS
18500 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18501 1 to avoid redefinition warning.
18502 (__USE_GNU): Don't define.
18503 (init_signaling_nan): Protoize.
18504
e47686e9
AS
18505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18506
b18decba
SP
185072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18508
fffb407f
SP
18509 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18511 (__cpymn): Likewise.
18512 (norm): Remove commented code.
18513 (denorm): Likewise.
18514 (__mp_dbl): Likewise.
18515 (__inv): Likewise.
18516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18517 (__cpymn): Likewise.
18518 (norm): Remove commented code.
18519 (denorm): Likewise.
18520 (__mp_dbl): Likewise.
18521 (__inv): Likewise.
18522
b18decba
SP
18523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18524 mp_no value for 1.0 and 2.0.
18525 (norm): Use RADIXI instead of radixi.d.
18526 (denorm): Likewise.
18527 (__mul): Use 0.0 instead of zero.d.
18528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18529 mp_no value for 1.0 and 2.0.
18530 (norm): Use RADIXI instead of radixi.d.
18531 (denorm): Likewise.
18532 (__mul): Use 0.0 instead of zero.d.
18533
cdc1c96f
JM
185342013-01-04 Joseph Myers <joseph@codesourcery.com>
18535
18536 [BZ #14994]
18537 * math/s_casinh.c (__casinh): Reduce finite argument to first
18538 quadrant then set signs of results at the end.
18539 * math/s_casinhf.c (__casinhf): Likewise.
18540 * math/s_casinhl.c (__casinhl): Likewise.
18541 * math/libm-test.inc (casin_test): Add more tests.
18542 (casinh_test): Likewise.
18543 * sysdeps/i386/fpu/libm-test-ulps: Update.
18544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18545
302913e1
SP
185462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18547
6420d207
SP
18548 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18549
a9e48ab4
SP
18550 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18551
b7837264
SP
18552 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18553 declarations.
18554 (denorm): Likewise.
18555 (__mp_dbl): Likewise.
18556 (__inv): Likewise.
18557
f8af25d2
SP
18558 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18559 and adjust the header comment.
18560
302913e1
SP
18561 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18562 variable name from declaration.
18563
5d7dd1ca
L
185642013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18565
18566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18567 Initialize COMMON_CPUID_INDEX_7 element.
18568 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18569 (CPUID_RTM): Likewise.
18570 (HAS_RTM): Likewise.
18571 (COMMON_CPUID_INDEX_7): New enum.
18572
2f5f40f4
AS
185732013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18574
18575 [BZ #14981]
18576 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18577 size is zero, record memory as freed.
18578
4056f4a0
AJ
185792013-01-03 Andreas Jaeger <aj@suse.de>
18580
18581 * po/ia.po: Add new Interlingua translation.
18582
ab15736f 185832012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18584
18585 * locale/programs/localedef.c: Fix description of '--posix' flag.
18586
568035b7
JM
185872013-01-02 Joseph Myers <joseph@codesourcery.com>
18588
e6898b8d
JM
18589 * NEWS: Update dates in second copyright notice.
18590 * README: Update copyright dates in example.
18591 * manual/libc.texinfo: Update copyright dates.
18592 * scripts/test-installation.pl: Update copyright date in --version
18593 output.
18594
0e2f9562
JM
18595 * hurd/ctty-input.c: Fix copyright notice formatting.
18596 * hurd/ctty-output.c: Likewise.
18597 * hurd/dtable.c: Likewise.
18598 * hurd/hurd-raise.c: Likewise.
18599 * hurd/hurdprio.c: Likewise.
18600 * hurd/msgportdemux.c: Likewise.
18601 * misc/sys/file.h: Likewise.
18602 * misc/sys/ioctl.h: Likewise.
18603 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18604 * sysdeps/mach/hurd/chdir.c: Likewise.
18605 * sysdeps/mach/hurd/fchdir.c: Likewise.
18606 * sysdeps/mach/hurd/rename.c: Likewise.
18607 * sysdeps/mach/hurd/rmdir.c: Likewise.
18608 * sysdeps/mach/hurd/seekdir.c: Likewise.
18609 * sysdeps/mach/hurd/setsid.c: Likewise.
18610 * sysdeps/posix/wait3.c: Likewise.
18611
568035b7
JM
18612 * All files with FSF copyright notices: Update copyright dates
18613 using scripts/update-copyrights.
18614 * intl/plural.c: Regenerated.
18615 * locale/programs/charmap-kw.h: Likewise.
18616 * locale/programs/locfile-kw.h: Likewise.
18617
da08f647
SP
186182013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18619
0f5477af
SP
18620 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18621 four values.
18622
44e0d4c2
SP
18623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18624 calculation loop and add branch prediction.
18625
4d55b4e5
SP
18626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18627 check access beyond bounds of m1np.
18628
da08f647
SP
18629 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18630 MPTWO.
18631 (__inv): Remove local variable MPTWO to use the global
18632 constant.
18633 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18635 variable MPTWO.
18636 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18637 MP3HALFS static const.
18638
8e051029
DM
186392013-01-01 David S. Miller <davem@davemloft.net>
18640
18641 * po/ca.po: Update from translation team.
18642
f4cf5f2d
JM
186432013-01-01 Joseph Myers <joseph@codesourcery.com>
18644
18645 * scripts/update-copyrights: New file.
18646 * Makeconfig: Reformat copyright notice.
18647 * ctype/ctype.h: Likewise.
18648 * debug/swprintf_chk.c: Likewise.
18649 * elf/dl-cache.c: Likewise.
18650 * elf/dl-debug.c: Likewise.
18651 * elf/dl-object.c: Likewise.
18652 * grp/initgroups.c: Likewise.
18653 * hurd/Makefile: Likewise.
18654 * hurd/hurd/signal.h: Likewise.
18655 * hurd/hurdfault.c: Likewise.
18656 * hurd/hurdioctl.c: Likewise.
18657 * hurd/hurdlookup.c: Likewise.
18658 * hurd/intr-msg.c: Likewise.
18659 * iconv/gconv_open.c: Likewise.
18660 * libio/swprintf.c: Likewise.
18661 * locale/lc-ctype.c: Likewise.
18662 * locale/nl_langinfo.c: Likewise.
18663 * mach/Machrules: Likewise.
18664 * mach/Makefile: Likewise.
18665 * malloc/obstack.h: Likewise.
18666 * manual/Makefile: Likewise.
18667 * manual/tsort.awk: Likewise.
18668 * misc/bits/stab.def: Likewise.
18669 * nis/nis_print_group_entry.c: Likewise.
18670 * nis/nis_table.c: Likewise.
18671 * nis/nss_compat/compat-pwd.c: Likewise.
18672 * nis/nss_compat/compat-spwd.c: Likewise.
18673 * po/Makefile: Likewise.
18674 * posix/fnmatch.c: Likewise.
18675 * posix/regex.h: Likewise.
18676 * resolv/Makefile: Likewise.
18677 * resolv/nss_dns/dns-network.c: Likewise.
18678 * resolv/res_hconf.c: Likewise.
18679 * scripts/gen-sorted.awk: Likewise.
18680 * soft-fp/soft-fp.h: Likewise.
18681 * stdio-common/printf.h: Likewise.
18682 * stdlib/monetary.h: Likewise.
18683 * stdlib/random.c: Likewise.
18684 * stdlib/random_r.c: Likewise.
18685 * sysdeps/generic/Makefile: Likewise.
18686 * sysdeps/gnu/Makefile: Likewise.
18687 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18703 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18707 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18708 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18709 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18715 * sysdeps/mach/hurd/errnos.awk: Likewise.
18716 * sysdeps/mach/hurd/fork.c: Likewise.
18717 * sysdeps/mach/hurd/getcwd.c: Likewise.
18718 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18719 * sysdeps/mach/hurd/mmap.c: Likewise.
18720 * sysdeps/mach/hurd/utimes.c: Likewise.
18721 * sysdeps/mach/hurd/xmknod.c: Likewise.
18722 * sysdeps/posix/profil.c: Likewise.
18723 * sysdeps/posix/readdir_r.c: Likewise.
18724 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18725 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18726 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18727 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18729 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18730 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18731 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18733 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18735 * sysdeps/pthread/lio_listio.c: Likewise.
18736 * sysdeps/sparc/dl-procinfo.h: Likewise.
18737 * sysdeps/unix/i386/sysdep.S: Likewise.
18738 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18739 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18740 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18741 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18743 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18744 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18745 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18746 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18747 * sysdeps/wordsize-32/divdi3.c: Likewise.
18748 * time/sys/time.h: Likewise.
18749 * wcsmbs/Makefile: Likewise.
18750
0549fbba
DM
187512013-01-01 David S. Miller <davem@davemloft.net>
18752
a141f1a7
DM
18753 * po/fr.po: Update from translation team.
18754
0549fbba
DM
18755 * catgets/gencat.c: Update copyright year.
18756 * csu/version.c: Likewise.
18757 * debug/catchsegv.sh: Likewise.
18758 * debug/pcprofiledump.c: Likewise.
18759 * debug/xtrace.sh: Likewise.
18760 * elf/ldconfig.c: Likewise.
18761 * elf/ldd.bash.in: Likewise.
18762 * elf/pldd.c: Likewise.
18763 * elf/sotruss.ksh: Likewise.
18764 * elf/sprof.c: Likewise.
18765 * iconv/iconv_prog.c: Likewise.
18766 * iconv/iconvconfig.c: Likewise.
18767 * locale/programs/locale.c: Likewise.
18768 * locale/programs/localedef.c: Likewise.
18769 * login/programs/pt_chown.c: Likewise.
18770 * malloc/memusage.sh: Likewise.
18771 * malloc/memusagestat.c: Likewise.
18772 * malloc/mtrace.pl: Likewise.
18773 * nscd/nscd.c: Likewise.
18774 * nss/getent.c: Likewise.
18775 * nss/makedb.c: Likewise.
18776 * posix/getconf.c: Likewise.
18777
18ea052c
SP
187782012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18779
18780 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18781 numbers.
18782
9c89fca6
MF
187832012-12-30 Mike Frysinger <vapier@gentoo.org>
18784
18785 * math/bits/mathcalls.h (modf): Use __nonnull.
18786
085ec079
SP
187872012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18788
18789 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18790 (split): Use macro CN instead of the bare value.
18791 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18792 could be used.
18793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18794 instead of the bare value.
18795 (power1): Likewise.
18796
6d9f97e1
SP
187972012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18798
d63f73be
SP
18799 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18800 __ATAN_TWOM.
18801 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18802
6d9f97e1
SP
18803 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18804 their values.
18805 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18807 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18808 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18809
4c4febf5
AJ
188102012-12-28 Andreas Jaeger <aj@suse.de>
18811
af5843ef
AJ
18812 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18813 values are from Linux 3.7.
18814
4c4febf5
AJ
18815 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18816 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18817
99136f82
SP
188182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18819
2f216c3c 18820 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18821 TRUE case.
18822
99136f82
SP
18823 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18824 (norm): Likewise.
18825 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18826 variables with preprocessor constants.
18827 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18828 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18829 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18830
7fffbdff
BH
188312012-12-27 Bruno Haible <bruno@clisp.org>
18832
18833 [BZ #14317]
18834 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18835 only if needed.
18836
b76eb5f0
SP
188372012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18838
31a7fe5c
SP
18839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18840 and use variable directly.
18841 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18842
b76eb5f0
SP
18843 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18844 MPONE.
18845 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18846 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18847 variable MPONE.
18848 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18850 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18851 include directive. Remove local variable MPONE.
18852 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18853 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18854 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18855
2c8bfe7d
DM
188562012-12-25 David S. Miller <davem@davemloft.net>
18857
18858 * version.h (RELEASE): Set to "development".
18859 (VERSION): Set to "2.17.90".
18860 * NEWS: Add 2.18 section.
18861
147d03b0
DM
188622012-12-21 David S. Miller <davem@davemloft.net>
18863
18864 * po/hr.po: Update from translation team.
18865
a8ebb2b9
AK
188662012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18867
18868 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18869
95b4f1b6
SE
188702012-12-19 Steve Ellcey <sellcey@mips.com>
18871
b2d94007 18872 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18873
cedb2a90
MS
188742012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18875
18876 * manual/contrib.texi (Contributors): Spelling correction.
18877
bbf527d6
DM
188782012-12-15 David S. Miller <davem@davemloft.net>
18879
18880 * po/ru.po: Update from translation team.
18881
bc38c906
DM
188822012-12-13 David S. Miller <davem@davemloft.net>
18883
85429b1a
DM
18884 * NEWS: Mention IFUNC testsuite enhancements.
18885
d283e353
DM
18886 * po/pl.po: Update from translation team.
18887 * po/bg.po: Likewise.
18888
bc38c906
DM
18889 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18890 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18891
a181b0d7
DM
188922012-12-11 David S. Miller <davem@davemloft.net>
18893
4641d57e
DM
18894 * po/sv.po: Update from translation team.
18895
f7bc6495
DM
18896 * po/vi.po: Update from translation team.
18897
6fc9048f
DM
18898 * po/cs.po: Update from translation team.
18899
a181b0d7
DM
18900 * po/de.po: Update from translation team.
18901 * po/eo.po: Likewise.
18902 * po/nl.po: Likewise.
18903
f70bfe80
SP
189042012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18905
3c8b4190
SP
18906 [BZ #14246]
18907 * manual/argp.texi (Argp Helper Functions): Move node to follow
18908 Argp Parsing State.
18909
f70bfe80
SP
18910 [BZ #14872]
18911 * manual/conf.texi (Limits on File System Capacity): Mention if
18912 terminating null is included in the max size.
18913
188f0adf
AJ
189142012-12-10 Andreas Jaeger <aj@suse.de>
18915
18916 * po/cs.po: Update from translation team.
18917
56e7d3ad
SP
189182012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18919
18920 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18921 void pointer and cast to uintptr_t.
18922 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18923 path.
18924 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18925 * sysdeps/s390/s390-64/memset.S: Likewise.
18926
76f2d2ea 189272012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
18928
18929 [BZ #14833]
18930 * menual/message.texi (Message Translation): Fix typos.
18931 (Helper programs for gettext): Likewise.
18932
67cbf9a2
AS
189332012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18934
18935 [BZ #14898]
18936 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18937 Change to -1.
18938
682d0e9a
DM
189392012-12-07 David S. Miller <davem@davemloft.net>
18940
18941 * po/libc.pot: Update.
18942
573cd484
RH
189432012-12-07 Richard Henderson <rth@redhat.com>
18944
7e9da188 18945 [BZ #10114]
573cd484
RH
18946 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18947 normal/normal case to before the switch.
18948 (_FP_DIV): Likewise.
18949
e933a943
MF
189502012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18951 Mike Frysinger <vapier@gentoo.org>
18952
18953 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18954 check for __NR_fadvise64_64.
18955
82123268
CM
189562012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18957
18958 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18959 0, not just to plain "0" as a statement.
18960 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18961 with cw.
18962
d9814526
JM
189632012-12-06 Joseph Myers <joseph@codesourcery.com>
18964
18965 * NEWS: Use sourceware.org in Bugzilla URL.
18966
7728c574
SP
189672012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18968
f16946dd
SP
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18970 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18971
5704bbcb
SP
18972 * stdio-common/tst-put-error.c (do_test): Add newline to the
18973 padded test to ensure flush.
18974
17aa0516
JL
189752012-12-05 Jeff Law <law@redhat.com>
18976
18977 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18978
363313b5
JM
189792012-12-05 Joseph Myers <joseph@codesourcery.com>
18980
effbd42a
JM
18981 * README: Don't refer to ports add-on as distributed separately.
18982 Mention AArch64 in list of systems supported in the ports add-on.
18983
87600365
JM
18984 * LICENSES: Add more non-FSF copyright and license notices.
18985
a0d7066a
JM
18986 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18987 ((unused)).
18988
66ca5a5b
JM
18989 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18990
363313b5
JM
18991 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18992 10000 as width of padded output.
18993
b37984ad
JM
189942012-12-04 Joseph Myers <joseph@codesourcery.com>
18995
9003570a
JM
18996 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18997
b37984ad
JM
18998 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18999 variable LX with __attribute__ ((unused)).
19000 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19001 Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19005 with __attribute__ ((unused)).
19006
c8df52ec
DM
190072012-12-04 David S. Miller <davem@abraco.davemloft.net>
19008
19009 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19010
b3b099af
JM
190112012-12-04 Joseph Myers <joseph@codesourcery.com>
19012
c33aa6e3
JM
19013 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19014 (CFLAGS-nldbl-acos.c): New variable.
19015 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19016 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19017 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19018 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19019 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19020 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19021 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19022 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19023 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19024 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19025 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19026 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19027 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19028 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19029 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19030 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19031 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19032 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19033 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19034 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19035 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19036 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19037 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19038 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19039 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19040 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19041 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19042 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19043 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19044 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19045 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19046 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19047 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19048 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19049 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19050 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19051 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19052 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19053 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19054 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19055 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19056 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19057 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19058 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19059 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19060 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19061 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19062 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19063 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19064 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19065 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19066 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19067 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19068 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19069 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19070 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19071 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19072 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19073 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19074 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19075 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19076 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19077 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19078 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19079 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19080 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19081 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19082 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19083 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19084 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19085 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19086 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19087 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19088 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19089 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19090 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19091 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19092 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19093 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19094 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19095 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19096 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19097 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19098 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19099 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19100 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19101 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19102 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19103 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19104 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19105 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19106 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19107 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19108 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19109 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19110 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19111 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19112
20f0018d
JM
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19114 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19115
b3b099af
JM
19116 [BZ #14914]
19117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19118 whole low double instead of just low 47 bits when splitting values
19119 into two parts.
19120
029264d1
AM
191212012-12-03 Allan McRae <allan@archlinux.org>
19122
19123 * manual/stdio.texi (Predefined Printf Handlers): Remove
19124 @hsep and @vsep usage.
19125
c9d6789e
MF
191262012-12-03 Mike Frysinger <vapier@gentoo.org>
19127
19128 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19129 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19130
4b7634a5
JL
191312012-12-03 Jeff Law <law@redhat.com>
19132
19133 * time/sys/time.h (settimeofday): Do not mark TV argument
19134 as __nonnull.
19135
eb6cbd24
MF
191362012-12-01 Mike Frysinger <vapier@gentoo.org>
19137
19138 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19139 when currently writing and seek to current position when not.
19140 * libio/Makefile (tests): Remove bug-fclose1.
19141 * libio/bug-fclose1.c: Delete.
19142
f638872a
JM
191432012-12-01 Joseph Myers <joseph@codesourcery.com>
19144
19145 * manual/arith.texi (feenableexcept): Fix typo.
19146 (fedisableexcept): Likewise.
19147
48085d14
RM
191482012-11-30 Roland McGrath <roland@hack.frob.com>
19149
19150 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19151 second, differently-typed declaration, rather than a cast.
19152
1a538b9f
SP
191532012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19154
19155 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19156 * include/rpc/svc.h: ... here.
19157
d07f2ff1 191582012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19159
19160 [BZ #13013]
19161 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19162 depending n and resplen2 to catch cases where answer
19163 equals answerp2.
19164
c93ec1f0
CD
191652012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19166
19167 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19168 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19169
37db69de
MF
191702012-11-29 Mike Frysinger <vapier@gentoo.org>
19171
19172 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19173
e10c4e4f
RM
191742012-11-29 Roland McGrath <roland@hack.frob.com>
19175
19176 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19177
2af1b328
JL
191782012-11-28 Jeff Law <law@redhat.com>
19179
19180 [BZ #13761]
19181 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19182 dataset_temporary. Track alloca usage into alloca_used.
19183 If dataset is large allocate and release it via malloc/free.
19184
111db5b1
FW
191852012-06-04 Florian Weimer <fweimer@redhat.com>
19186
f06cc227 19187 [BZ #14197]
111db5b1
FW
19188 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19189
dd694abd
DM
191902012-11-28 David S. Miller <davem@davemloft.net>
19191
19192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19193
9984dd01
JM
191942012-11-28 Joseph Myers <joseph@codesourcery.com>
19195
19196 [BZ #14803]
19197 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19198 of pi/2 rounded to nearest to 64 bits.
19199 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19200 nearest to 64 bits.
19201 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19202 bits.
19203
14bc93a9
JL
192042012-11-28 Jeff Law <law@redhat.com>
19205 Martin Osvald <mosvald@redhat.com>
19206
19207 [BZ #14889]
19208 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19209 * sunrpc/svc.c: Include time.h.
19210 (__svc_accept_failed): New function.
19211 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19212 any reason other than EINTR, call __svc_accept_failed.
19213 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19214 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19215
e3c6aa3a
AS
192162012-11-28 Andreas Schwab <schwab@suse.de>
19217
19218 * scripts/abilist.awk: Also handle indirect functions in .opd
19219 section.
19220
1bead169
JM
192212012-11-28 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #13881]
19224 * sysdeps/x86/fpu/powl_helper.c: New file.
19225 * sysdeps/x86/fpu/Makefile: Likewise.
19226 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19227 (p3): New object.
19228 (__ieee754_powl): Use __powl_helper for finite arguments except
19229 integer exponents below 8.
19230 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19231 (p3): New object.
19232 (__ieee754_powl): Use __powl_helper for finite arguments except
19233 integer exponents below 8.
19234 * math/libm-test.inc (pow_test): Add more tests and enable some
19235 previously disabled tests.
19236 * sysdeps/i386/fpu/libm-test-ulps: Update.
19237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238
0817d63d
SP
192392012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19240 Carlos O'Donell <carlos_odonell@mentor.com>
19241
19242 * nss/makedb.c (is_prime): Assert that input is odd and greater
19243 than 4. Note that fact in a comment too.
19244 (next_prime): Add 4 to input.
19245
de2fd463
SP
192462012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19247
19248 [BZ #11741]
19249 * libio/Makefile (tests): Add test case tst-fwrite-error.
19250 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19251 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19252 * libio/tst-fwrite-error.c: New test case.
19253
c515fb51
L
192542012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19255
19256 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19257 before casting to void *.
19258 * include/libc-internal.h (__pointer_type): New macro.
19259 (__integer_if_pointer_type_sub): Likewise.
19260 (__integer_if_pointer_type): Likewise.
19261 (cast_to_integer): Likewise.
19262 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19263 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19264 before casting to atomic64_t.
19265 (atomic_exchange_acq): Likewise.
19266 (__arch_exchange_and_add_body): Likewise.
19267 (__arch_add_body): Likewise.
19268 (atomic_add_negative): Likewise.
19269 (atomic_add_zero): Likewise.
19270
4cf77aa9
JM
192712012-11-26 Joseph Myers <joseph@codesourcery.com>
19272
19273 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19274 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19275 (add_fdes): Likewise.
19276 (linear_search_fdes): Likewise.
19277 (binary_search_unencoded_fdes): Likewise.
19278
d260b3b4
AS
192792012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19280
19281 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19282
67060746
AC
192832012-11-24 Adam Conrad <adconrad@0c3.net>
19284
19285 * configure.in: Autodetect C++ header directories.
19286 * configure: Regenerated.
19287
800938a1
MF
192882012-11-23 Mike Frysinger <vapier@gentoo.org>
19289
19290 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19291
4e6e34e6
AS
192922012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19293
19294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19295
7c7feb47
JM
192962012-11-22 Joseph Myers <joseph@codesourcery.com>
19297
7184dcdf
JM
19298 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19299 LDBL_MANT_DIG == 106]: Disable some tests.
19300 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19301 Likewise.
19302 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19303 Likewise.
19304
0a42601f
JM
19305 [BZ #14871]
19306 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19307 input for small inputs. Return +/- pi/2 for large inputs.
19308 * math/libm-test.inc (atan_test): Add more tests.
19309
79c9b9fe
JM
19310 * sysdeps/generic/unwind-dw2-fde-glibc.c
19311 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19312 __attribute__ ((unused)).
19313
c60d3bf2
JM
19314 [BZ #14645]
19315 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19316 x * y if x and y are nonzero and z is zero.
19317
ef1e0867
JM
19318 [BZ #14811]
19319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19320 nonzero exponents with absolute value below 0x1p-117 to +/-
19321 0x1p-117.
19322
1468ded3
JM
19323 [BZ #14869]
19324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19325 up arguments below 2**-450, not just those below 2**-500.
19326 * math/libm-test.inc (hypot_test): Add another test.
19327
8e27e3cc
JM
19328 [BZ #14868]
19329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19330 Return a+b for ratio over 2**120, not 2**60.
19331 * math/libm-test.inc (hypot_test): Add another test.
19332
c9c0279b
JM
19333 * math/libm-test.inc (clog_test): Use
19334 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19335 (clog10_test): Likewise.
19336
7c7feb47
JM
19337 [BZ #6778]
19338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19339
fff1530e
AS
193402012-11-22 Andreas Schwab <schwab@suse.de>
19341
19342 * sysdeps/i386/fpu/libm-test-ulps: Update.
19343
94558d30
PT
193442012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19345
19346 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19347 printf output with newline.
19348
7e1be741
L
193492012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19350
6bfea974
L
19351 [BZ #14865]
19352 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19353 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19354 -z nodlopen, -z initfirst and -z execstack support.
19355 * configure: Regenerated.
19356
7e1be741
L
19357 * elf/elf.h (DF_1_NODIRECT): New macro.
19358 (DF_1_IGNMULDEF): Likewise.
19359 (DF_1_NOKSYMS): Likewise.
19360 (DF_1_NOHDR): Likewise.
19361 (DF_1_EDITED): Likewise.
19362 (DF_1_NORELOC): Likewise.
19363 (DF_1_SYMINTPOSE): Likewise.
19364 (DF_1_GLOBAUDIT): Likewise.
19365 (DF_1_SINGLETON): Likewise.
19366 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19367 DT_1_SUPPORTED_MASK bits.
19368 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19369
105ce2ce
CD
193702012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19371
19372 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19373
123be9de
TS
193742012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19375
d072f3f7
TS
19376 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19377 macro.
19378
123be9de
TS
19379 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19380 (sendmmsg): Move declarations...
19381 * socket/sys/socket.h: ... here.
19382 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19383 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19384 include it from...
19385 * socket/recvmmsg.c: ... this new file.
19386 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19387 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19388 definition of __sendmmsg hidden.
19389 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19390 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19391 Move ENOSYS stub into and include it from...
19392 * socket/sendmmsg.c: ... this new file.
19393 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19394 (sysdep_routines): Move recvmmsg and sendmmsg...
19395 * socket/Makefile (routines): ... here.
19396 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19397 (GLIBC_PRIVATE): Add __sendmmsg.
19398 * include/sys/socket.h (__sendmmsg): Add declarations.
19399 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19400 sendmmsg.
19401
cf9a5d18
JM
194022012-11-20 Joseph Myers <joseph@codesourcery.com>
19403
19404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19405 variable I1 with __attribute__ ((unused)).
19406 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19407
ecd4caf9
JM
194082012-11-19 Joseph Myers <joseph@codesourcery.com>
19409
be14d48f
JM
19410 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19411 DUMMY variables with __attribute__ ((unused)).
19412
ecd4caf9
JM
19413 * bits/byteswap.h: Include <bits/types.h>.
19414 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19415
986cab95
PT
194162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19417
19418 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19419 string_t. Do not manually set errno.
19420 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19421 length with __strnlen. Make sure to both set errno and return it on
19422 failure.
19423
6d33cc9d
DM
194242012-11-19 David S. Miller <davem@davemloft.net>
19425
19426 With help from Joseph Myers.
19427 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19428 very large arguments properly.
19429 * math/libm-test.inc (atan_test): New tests.
19430 (atan2_test): New tests.
19431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19433
ee663277
JM
194342012-11-19 Joseph Myers <joseph@codesourcery.com>
19435
877f2d8e
JM
19436 [BZ #14856]
19437 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19438 Define to 3.
19439
116fc08a
JM
19440 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19441 [POSIX] (EADDRNOTAVAIL): Likewise.
19442 [POSIX] (EAFNOSUPPORT): Likewise.
19443 [POSIX] (EALREADY): Likewise.
19444 [POSIX] (ECONNABORTED): Likewise.
19445 [POSIX] (ECONNREFUSED): Likewise.
19446 [POSIX] (ECONNRESET): Likewise.
19447 [POSIX] (EDESTADDRREQ): Likewise.
19448 [POSIX] (EDQUOT): Likewise.
19449 [POSIX] (EHOSTUNREACH): Likewise.
19450 [POSIX] (EIDRM): Likewise.
19451 [POSIX] (EISCONN): Likewise.
19452 [POSIX] (ELOOP): Likewise.
19453 [POSIX] (EMULTIHOP): Likewise.
19454 [POSIX] (ENETDOWN): Likewise.
19455 [POSIX] (ENETUNREACH): Likewise.
19456 [POSIX] (ENOBUFS): Likewise.
19457 [POSIX] (ENODATA): Likewise.
19458 [POSIX] (ENOLINK): Likewise.
19459 [POSIX] (ENOMSG): Likewise.
19460 [POSIX] (ENOPROTOOPT): Likewise.
19461 [POSIX] (ENOSR): Likewise.
19462 [POSIX] (ENOSTR): Likewise.
19463 [POSIX] (ENOTCONN): Likewise.
19464 [POSIX] (ENOTSOCK): Likewise.
19465 [POSIX] (EOPNOTSUPP): Likewise.
19466 [POSIX] (EOVERFLOW): Likewise.
19467 [POSIX] (EPROTO): Likewise.
19468 [POSIX] (EPROTONOSUPPORT): Likewise.
19469 [POSIX] (EPROTOTYPE): Likewise.
19470 [POSIX] (ESTALE): Likewise.
19471 [POSIX] (ETIME): Likewise.
19472 [POSIX] (ETXTBSY): Likewise.
19473 [POSIX] (EWOULDBLOCK): Likewise.
19474 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19475 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19476 [POSIX] (SEEK_CUR): Likewise.
19477 [POSIX] (SEEK_END): Likewise.
19478 [POSIX || UNIX98] (mode_t): Do not require.
19479 [POSIX] (off_t): Likewise.
19480 [POSIX] (pid_t): Likewise.
19481 [POSIX] (sys/stat.h): Do not allow header.
19482 [POSIX] (unistd.h): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19484 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19486 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19487 require.
19488 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19489 sigevent): Specify elements.
19490 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19491 entry.
19492 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19493 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19494
a483863f
JM
19495 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19496 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19497 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19498 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19499 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19500 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19501 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19502 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19504 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19505 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19506 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19507 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19508 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19509 Likewise.
19510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19511 Likewise.
19512 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19513 Likewise.
19514 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19515 Likewise.
19516 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19517 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19518 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19519 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19521 Specify lower bound on value.
19522 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19528 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19529 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19530 value.
19531 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19532 as optional.
19533 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19549 entry.
19550 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19551 optional.
19552 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19557 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19558 Likewise.
19559 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19564 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19565 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19566 as optional.
19567 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19571 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19572 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19573 specify as optional.
19574 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19577 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19578 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19579 [XPG3] (NL_LANGMAX): Likewise.
19580 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19581 [POSIX || XPG3] (NL_NMAX): Likewise.
19582 [POSIX || XPG3] (NL_SETMAX): Likewise.
19583 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19584 [XPG3] (NZERO): Likewise.
19585 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19586 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19587 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19588 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19589 (REG_ERANGE): Expect.
19590 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19591 optional-constant.
19592 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19593 Use (void) in prototype.
19594 [POSIX] (*_t): Allow.
19595 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19596 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19597 (WRDE_BADVAL): Expect.
19598
5ba924e3
JM
19599 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19600 expect.
19601 [XPG3 || XPG4] (O_RSYNC): Likewise.
19602 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19603 Likewise.
19604 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19605 [XPG3 || XPG4] (sigqueue): Likewise.
19606 [XPG3 || XPG4] (sigtimedwait): Likewise.
19607 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19608 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19609 [XPG3 || XPG4] (vsnprintf): Likewise.
19610 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19611 Likewise.
19612 [XPG3 || XPG4] (blksize_t): Likewise.
19613 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19614 Likewise.
19615 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19616 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19617 [XPG3 || XPG4] (struct itimerspec): Likewise.
19618 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19619 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19620 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19621 [XPG3 || XPG4] (clockid_t): Likewise.
19622 [XPG3 || XPG4] (timer_t): Likewise.
19623 [XPG3 || XPG4] (clock_getres): Likewise.
19624 [XPG3 || XPG4] (clock_gettime): Likewise.
19625 [XPG3 || XPG4] (clock_settime): Likewise.
19626 [XPG3 || XPG4] (nanosleep): Likewise.
19627 [XPG3 || XPG4] (timer_create): Likewise.
19628 [XPG3 || XPG4] (timer_delete): Likewise.
19629 [XPG3 || XPG4] (timer_gettime): Likewise.
19630 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19631 [XPG3 || XPG4] (timer_settime): Likewise.
19632 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19633 [XPG3 || XPG4] (getlogin_r): Likewise.
19634 [XPG3 || XPG4] (pread): Likewise.
19635 [XPG3 || XPG4] (pthread_atfork): Likewise.
19636 [XPG3 || XPG4] (pwrite): Likewise.
19637
ee663277
JM
19638 [BZ #14835]
19639 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19640 <bits/siginfo.h>.
19641
942caa16
PT
196422012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19643
e19af380
PT
19644 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19645 finalizing MALLSTREAM.
19646
942caa16
PT
19647 * sysdeps/mach/hurd/syncfs.c: New file.
19648
cfde9b46
SP
196492012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19650
19651 [BZ #14719]
19652 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19653 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19655 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19656 (_nss_dns_gethostbyname4_r): Likewise.
19657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19658 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19659
f6da27e5
PH
196602012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19661
19662 [BZ #13763]
19663 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19664
6665d4a2
SM
196652012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19666
1f51ee92
SM
19667 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19668 * elf/cache.c (print_entry): Print ",AArch64" for
19669 FLAG_AARCH64_LIB64
19670
6665d4a2
SM
19671 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19672 * elf/cache.c (print_entry): Print ",hard-float" for
19673 FLAG_ARM_LIBHF.
19674
05b227bd
DM
196752012-11-18 David S. Miller <davem@davemloft.net>
19676
19677 With help from Joseph Myers.
19678 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19679 cutoff to 2**-13.
19680 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19681 cutoff to 2**-25.
19682 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19683 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19684 small.
19685 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19686 * math/libm-test.inc (y0_test): New tests.
19687 (y1_test): New tests.
19688 * sysdeps/i386/fpu/libm-test-ulps: Update.
19689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19691
786b0b67
AS
196922012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19693
19694 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19695 64-bit targets.
19696 * configure: Regenerated.
19697
8e18b86d
DM
196982012-11-17 David S. Miller <davem@davemloft.net>
19699
19700 [BZ #14811]
19701 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19702 nonzero exponents with absolute value below 0x1p-128 to +/-
19703 0x1p-128.
19704
531f1ae0
JM
197052012-11-17 Joseph Myers <joseph@codesourcery.com>
19706
12df29e2
JM
19707 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19708
150dc1a0
JM
19709 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19710
531f1ae0
JM
19711 * posix/getconf-speclist.c: New file.
19712 * posix/posix-envs.def: Likewise.
19713 * posix/confstr.c (START_ENV_GROUP): New macro.
19714 (END_ENV_GROUP): Likewise.
19715 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19716 (KNOWN_PRESENT_ENV_STRING): Likewise.
19717 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19718 (UNKNOWN_ENVIRONMENT): Likewise.
19719 (confstr): Include posix-envs.def instead of handling
19720 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19721 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19722 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19723 (END_ENV_GROUP): Likewise.
19724 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19725 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19726 (UNKNOWN_ENVIRONMENT): Likewise.
19727 (__sysconf): Include posix-envs.def instead of handling associated
19728 cases directly here.
19729 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19730 preprocessing getconf-speclist.c rather than running getconf or
19731 generating empty file.
19732
a93f9cbc
PT
197332012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19734
19735 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19736
d64d9f87
AL
197372012-11-16 Andrej Lajovic <natrij@gmail.com>
19738
19739 [BZ #14672]
19740 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19741
447885eb
DM
197422012-11-16 David S. Miller <davem@davemloft.net>
19743
19744 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19745 smaller than LDBL_EPSILON/2.0L, just return xm1.
19746
bcbf9830
L
197472012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19748
19749 * elf/tst-array1.c (init): Set constructor priority to 1000.
19750 (fini): Set destructor priority to 1000.
19751 * elf/tst-array2dep.c: Likewise.
19752
2b766585
SP
197532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19754
19755 [BZ #11741]
19756 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19757 (_IO_new_file_xsputn): Also return EOF if none of the input
19758 data was written when overflow failed.
19759 * libio/iopadn.c (_IO_padn): Likewise.
19760 * libio/iowpadn.c (_IO_wpadn): Likewise.
19761 * stdio-common/tst-put-error.c: Add copyright notice.
19762 (do_test): Add case for printing padded string.
19763 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19764 _IO_padn returned error.
19765 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19766 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19767 return EOF.
19768
b1848fde
SP
197692012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19770
19771 * libio/libioP.h: Add comment note that the references to C++
19772 bits are now obsolete.
19773
2fd89785
MS
197742012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19775
19776 * math/libm-test.inc (check_complex): Use asprintf.
19777
e3ea5409
JM
197782012-11-14 Joseph Myers <joseph@codesourcery.com>
19779
19780 * debug/pcprofiledump.c (print_version): Update copyright year.
19781 * malloc/memusagestat.c (print_version): Likewise.
19782
2e64d265
L
197832012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19784
19785 [BZ #14831]
19786 * elf/Makefile (tests): Add tst-audit8.
19787 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19788 ($(objpfx)tst-audit8.out): New target.
19789 (tst-audit8-ENV): New variable.
19790 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19791 audit if l_reloc_result is NULL.
19792 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19793 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19794 * elf/tst-audit8.c: New file.
19795
c485e4d2
MS
197962012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19797
19798 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19799 * misc/Makefile (CFLAGS-select.c): Define.
19800 * posix/Makefile (CFLAGS-pause.c): Define.
19801
3a0d900a
DM
198022012-11-13 David S. Miller <davem@davemloft.net>
19803
19804 * crypt/Makefile: Move test targets after toplevel Rules
19805 inclusion. Grab any necessary sysdep routines when linking.
19806 * crypt/md5.c (md5_process_block): Remove define, we will always
19807 name it __md5_process_block.
19808 (md5_finish_ctx): Update md5_process_block call.
19809 (md5_stream): Likewise.
19810 (md5_process_bytes): Likewise.
19811 (md5_process_block): Rename to __md5_process_block and move to ...
19812 * crypt/md5-block.c: ... here.
19813 * crypt/sha256.c (sha256_process_block): Move to ...
19814 * crypt/sha256-block.c: ... here.
19815 * crypt/sha512.c (sha512_process_block): Move to ...
19816 * crypt/sha512-block.c: ... here.
19817 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19818 path.
19819 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19820 * sysdeps/sparc/sparc64/multiarch/Makefile
19821 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19822 crypt subdir.
19823 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19824 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19825 multiarch changes.
19826 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19827 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19828 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19829 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19830 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19831 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19832 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19833 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19834 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19835 file.
19836 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19837 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19838 file.
19839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19840
8ca89318
JM
198412012-11-13 Joseph Myers <joseph@codesourcery.com>
19842
e27d476a
JM
19843 * timezone/tzselect.ksh: Update from tzcode git revision
19844 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19845 * timezone/zdump.c: Likewise.
19846 * timezone/zic.c: Likewise.
19847 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19848 in TZVERSION setting, not $(PKGVERSION).
19849 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19850 REPORT_BUGS_TO settings.
19851
8ca89318
JM
19852 [BZ #14838]
19853 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19854 macro.
19855
47594329
MS
198562012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19857
19858 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19859 detection to immediately after _FP_ROUND().
19860 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19861 bits are 0.
19862
640ac3f1
DM
198632012-11-11 David S. Miller <davem@davemloft.net>
19864
19865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19866 inttypes.h
19867 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19868 __close rather than their public counterparts.
19869
3d2577bb
JM
198702012-11-10 Joseph Myers <joseph@codesourcery.com>
19871
19872 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19873 file.
19874 [UNIX98] (sem_timedwait): Do not expect.
19875 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19876 [XPG4 || UNIX98] (sockatmark): Do not expect.
19877 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19878 (clock_getcpuclockid): Do not expect.
19879 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19880 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19881 Do not expect.
19882 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19883 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19884 [UNIX98] (vwscanf): Likewise.
19885 [UNIX98] (vswscanf): Likewise.
19886
fb1ae1ee
JM
198872012-11-09 Joseph Myers <joseph@codesourcery.com>
19888
9ec6f8bd
JM
19889 * timezone/version.h: Remove file.
19890 * timezone/README: Do not refer to version.h.
19891 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19892 $(objpfx)version.h.
19893 ($(objpfx)zdump.o): Likewise.
c3f81911 19894 ($(objpfx)version.h): New target.
9ec6f8bd 19895
0aa8f8a1
JM
19896 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19897 2012i.
19898 * timezone/README: Don't mention modification to tzselect.ksh.
19899 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19900 work on unmodified tzselect.ksh. Substitute version numbers in
19901 tzselect.ksh.
19902
4e87147f
JM
19903 * Makefile (format-me): Remove.
19904 (INSTALL): Adjust indentation. Use commands directly instead of
19905 using $(format-me).
19906
8b748aed
JM
19907 * aclocal.m4 (ACX_PKGVERSION): New macro.
19908 (ACX_BUGURL): Likewise.
19909 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19910 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19911 (REPORT_BUGS_TO): Likewise.
19912 * configure: Regenerated.
19913 * config.h.in (PKGVERSION): New macro.
19914 (REPORT_BUGS_TO): Likewise.
19915 * config.make.in (PKGVERSION): New variable.
19916 (PKGVERSION_TEXI): Likewise.
19917 (REPORT_BUGS_TO): Likewise.
19918 (REPORT_BUGS_TEXI): Likewise.
19919 * Makefile (format-me): Use -I$(common-objpfx)manual.
19920 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19921 ($(common-objpfx)manual/%): New target.
19922 (manual/%): Remove target.
19923 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19924 (print_version): Use PKGVERSION.
19925 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19926 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19927 and REPORT_BUGS_TO.
19928 ($(objpfx)xtrace): Likewise.
19929 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19930 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19931 (print_version): Use PKGVERSION.
19932 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19933 (do_version): Use PKGVERSION.
19934 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19935 REPORT_BUGS_TO.
19936 (common-ldd-rewrite): Likewise.
19937 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19938 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19939 (print_version): Use PKGVERSION.
19940 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19941 * elf/pldd.c (argp_program_bug_address): Remove variable.
19942 (more_help): New function.
19943 (argp): Use more_help.
19944 (print_version): Use PKGVERSION.
19945 * elf/sln.c (main): Use PKGVERSION.
19946 (usage): Use REPORT_BUGS_TO.
19947 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19948 (top level): Use PKGVERSION.
19949 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19950 (print_version): Use PKGVERSION.
19951 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19952 (print_version): Use PKGVERSION.
19953 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19954 (print_version): Use PKGVERSION.
19955 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19956 (print_version): Use PKGVERSION.
19957 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19958 (print_version): Use PKGVERSION.
19959 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19960 (print_version): Use PKGVERSION.
19961 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19962 and BUGURL.
19963 ($(objpfx)memusage): Likewise.
19964 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19965 (do_version): Use PKGVERSION.
19966 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19967 (print_version): Use PKGVERSION.
19968 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19969 ($PKGVERSION): New variable.
19970 ($REPORT_BUGS_TO): Likewise.
19971 (usage): Use $REPORT_BUGS_TO.
19972 (top level): Use $PKGVERSION.
19973 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19974 ($(objpfx)pkgvers.texi): New rule.
19975 ($(objpfx)stamp-pkgvers): Likewise.
19976 * manual/install.texi: Include pkgvers.texi.
19977 (--with-pkgversion): Document new configure option.
19978 (--with-bugurl): Likewise.
19979 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19980 than necessarily for this particular distribution. Use
19981 REPORT_BUGS_TO for where to report bugs.
19982 * INSTALL: Regenerated.
19983 * manual/libc.texinfo: Include pkgvers.texi.
19984 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19985 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19986 (print_version): Use PKGVERSION.
19987 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19988 (print_version): Use PKGVERSION.
19989 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19990 (print_version): Use PKGVERSION.
19991 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19992 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19993 macro.
19994 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19995 (print_version): Use PKGVERSION.
19996 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19997 (print_version): Use PKGVERSION.
19998 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19999 and PKGVERSION.
20000
92e4b6a9
JM
20001 * timezone/checktab.awk: Update from tzcode 2012i.
20002 * timezone/ialloc.c: Likewise.
20003 * timezone/private.h: Likewise.
20004 * timezone/scheck.c: Likewise.
20005 * timezone/tzfile.h: Likewise.
20006 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20007 (TZVERSION): Hardcode tzcode version number.
20008 * timezone/zdump.c: Update from tzcode 2012i.
20009 * timezone/zic.c: Likewise.
20010 * timezone/version.h: New file.
20011 * timezone/README: Describe version.h. Update upstream location.
20012
9bde902c
JM
20013 [BZ #14824]
20014 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20015 (mktemp): Enable declaration.
20016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20020 Likewise.
20021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20022 Likewise.
20023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20024 Likewise.
20025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20026 Likewise.
20027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20028 Likewise.
20029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20030 Likewise.
20031
fb1ae1ee
JM
20032 [BZ #14821]
20033 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20034 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20035 for copies of such integer values.
20036 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20037 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20038
2c1adbcb
AJ
200392012-11-09 Andreas Jaeger <aj@suse.de>
20040
20041 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20042 definitions and declarations that are provided by
20043 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20044
d0f8457e
AK
200452012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20046
3a235abb 20047 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20048 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20049 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20050 definition.
20051
57241e26
MS
200522012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20053
20054 * elf/elf.h: Update comment before AArch64 relocations.
20055
60e8270d
DM
200562012-11-07 David S. Miller <davem@davemloft.net>
20057
20058 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20059 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20060 (__start_context): Declare.
20061 (__makecontext_ret): Delete.
20062 (__makecontext): Hook up __start_context instead of
20063 __makecontext_ret.
20064 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20065 (sysdep_routines): Add __start_context when in stdlib.
20066
0fbb0fbc
JM
200672012-11-07 Joseph Myers <joseph@codesourcery.com>
20068
20069 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20070 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20071 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20072 hardcoded "nm".
20073 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20074 (READELF): New variable. Use it instead of hardcoded "readelf".
20075
eb48db7e
L
200762012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20077
20078 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20079 * sysdeps/x86/Makefile: Here.
20080 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20081 * sysdeps/x86/tst-xmmymm.sh: This.
20082
05bcf62a
JM
200832012-11-07 Joseph Myers <joseph@codesourcery.com>
20084
c4b6cf53
JM
20085 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20086 expectations.
20087 [UNIX98] (pthread_barrier_t): Do not expect.
20088 [UNIX98] (pthread_barrierattr_t): Likewise.
20089 [UNIX98] (pthread_spinlock_t): Likewise.
20090 [UNIX98] (pthread_barrier_destroy): Likewise.
20091 [UNIX98] (pthread_barrier_init): Likewise.
20092 [UNIX98] (pthread_barrier_wait): Likewise.
20093 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20094 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20095 [UNIX98] (pthread_barrierattr_init): Likewise.
20096 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20097 [UNIX98] (pthread_getcpuclockid): Likewise.
20098 [UNIX98] (pthread_mutex_timedlock): Likewise.
20099 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20100 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20101 [UNIX98] (pthread_sigmask): Likewise.
20102 [UNIX98] (pthread_spin_destroy): Likewise.
20103 [UNIX98] (pthread_spin_init): Likewise.
20104 [UNIX98] (pthread_spin_lock): Likewise.
20105 [UNIX98] (pthread_spin_trylock): Likewise.
20106 [UNIX98] (pthread_spin_unlock): Likewise.
20107 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20108 Do not expect.
20109 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20110 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20111 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20112 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20113 [XPG3 || XPG4] (pthread_key_t): Likewise.
20114 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20115 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20116 [XPG3 || XPG4] (pthread_once_t): Likewise.
20117 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20118 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20119 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20120 [XPG3 || XPG4] (pthread_t): Likewise.
20121
cbe6e120
JM
20122 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20123 not expect.
20124 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20125
1b126443
JM
20126 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20127 Change function return type to int.
20128
b961a573
JM
20129 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20130 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20131 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20132 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20133 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20134 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20135 [!POSIX] (posix_madvise): Likewise.
20136 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20137 && !UNIX98].
20138 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20139 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20140 (mode_t): Likewise.
20141 (posix_mem_offset): Likewise.
20142 (posix_typed_mem_get_info): Likewise.
20143 (posix_typed_mem_open): Likewise.
20144
9e188909
JM
20145 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20146 Change condition to [XOPEN2K8].
20147
05bcf62a
JM
20148 * conform/conformtest.pl: Preprocess allow-header data with -x c
20149 instead of from stdin.
20150 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20151 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20152 [C99-based standards] (cerfc): Likewise.
20153 [C99-based standards] (cexp2): Likewise.
20154 [C99-based standards] (cexpm1): Likewise.
20155 [C99-based standards] (clog10): Likewise.
20156 [C99-based standards] (clog1p): Likewise.
20157 [C99-based standards] (clog2): Likewise.
20158 [C99-based standards] (clgamma): Likewise.
20159 [C99-based standards] (ctgamma): Likewise.
20160 [C99-based standards] (cerff): Likewise.
20161 [C99-based standards] (cerfcf): Likewise.
20162 [C99-based standards] (cexp2f): Likewise.
20163 [C99-based standards] (cexpm1f): Likewise.
20164 [C99-based standards] (clog10f): Likewise.
20165 [C99-based standards] (clog1pf): Likewise.
20166 [C99-based standards] (clog2f): Likewise.
20167 [C99-based standards] (clgammaf): Likewise.
20168 [C99-based standards] (ctgammaf): Likewise.
20169 [C99-based standards] (cerfl): Likewise.
20170 [C99-based standards] (cerfcl): Likewise.
20171 [C99-based standards] (cexp2l): Likewise.
20172 [C99-based standards] (cexpm1l): Likewise.
20173 [C99-based standards] (clog10l): Likewise.
20174 [C99-based standards] (clog1pl): Likewise.
20175 [C99-based standards] (clog2l): Likewise.
20176 [C99-based standards] (clgammal): Likewise.
20177 [C99-based standards] (ctgammal): Likewise.
20178 * conform/data/inttypes.h-data [C99-based standards]: Include
20179 stdint.h-data. Remove all expectations for stdint.h contents.
20180 [C99-based standards] (PRI*): Do not allow.
20181 [C99-based standards] (SCN*): Likewise.
20182 [C99-based standards] (*_t): Likewise.
20183 [C99-based-standards] (PRId8): Expect macro.
20184 [C99-based-standards] (PRIi8): Likewise.
20185 [C99-based-standards] (PRIo8): Likewise.
20186 [C99-based-standards] (PRIu8): Likewise.
20187 [C99-based-standards] (PRIx8): Likewise.
20188 [C99-based-standards] (PRIX8): Likewise.
20189 [C99-based-standards] (SCNd8): Likewise.
20190 [C99-based-standards] (SCNi8): Likewise.
20191 [C99-based-standards] (SCNo8): Likewise.
20192 [C99-based-standards] (SCNu8): Likewise.
20193 [C99-based-standards] (SCNx8): Likewise.
20194 [C99-based-standards] (PRIdLEAST8): Likewise.
20195 [C99-based-standards] (PRIiLEAST8): Likewise.
20196 [C99-based-standards] (PRIoLEAST8): Likewise.
20197 [C99-based-standards] (PRIuLEAST8): Likewise.
20198 [C99-based-standards] (PRIxLEAST8): Likewise.
20199 [C99-based-standards] (PRIXLEAST8): Likewise.
20200 [C99-based-standards] (SCNdLEAST8): Likewise.
20201 [C99-based-standards] (SCNiLEAST8): Likewise.
20202 [C99-based-standards] (SCNoLEAST8): Likewise.
20203 [C99-based-standards] (SCNuLEAST8): Likewise.
20204 [C99-based-standards] (SCNxLEAST8): Likewise.
20205 [C99-based-standards] (PRIdFAST8): Likewise.
20206 [C99-based-standards] (PRIiFAST8): Likewise.
20207 [C99-based-standards] (PRIoFAST8): Likewise.
20208 [C99-based-standards] (PRIuFAST8): Likewise.
20209 [C99-based-standards] (PRIxFAST8): Likewise.
20210 [C99-based-standards] (PRIXFAST8): Likewise.
20211 [C99-based-standards] (SCNdFAST8): Likewise.
20212 [C99-based-standards] (SCNiFAST8): Likewise.
20213 [C99-based-standards] (SCNoFAST8): Likewise.
20214 [C99-based-standards] (SCNuFAST8): Likewise.
20215 [C99-based-standards] (SCNxFAST8): Likewise.
20216 [C99-based-standards] (PRId16): Likewise.
20217 [C99-based-standards] (PRIi16): Likewise.
20218 [C99-based-standards] (PRIo16): Likewise.
20219 [C99-based-standards] (PRIu16): Likewise.
20220 [C99-based-standards] (PRIx16): Likewise.
20221 [C99-based-standards] (PRIX16): Likewise.
20222 [C99-based-standards] (SCNd16): Likewise.
20223 [C99-based-standards] (SCNi16): Likewise.
20224 [C99-based-standards] (SCNo16): Likewise.
20225 [C99-based-standards] (SCNu16): Likewise.
20226 [C99-based-standards] (SCNx16): Likewise.
20227 [C99-based-standards] (PRIdLEAST16): Likewise.
20228 [C99-based-standards] (PRIiLEAST16): Likewise.
20229 [C99-based-standards] (PRIoLEAST16): Likewise.
20230 [C99-based-standards] (PRIuLEAST16): Likewise.
20231 [C99-based-standards] (PRIxLEAST16): Likewise.
20232 [C99-based-standards] (PRIXLEAST16): Likewise.
20233 [C99-based-standards] (SCNdLEAST16): Likewise.
20234 [C99-based-standards] (SCNiLEAST16): Likewise.
20235 [C99-based-standards] (SCNoLEAST16): Likewise.
20236 [C99-based-standards] (SCNuLEAST16): Likewise.
20237 [C99-based-standards] (SCNxLEAST16): Likewise.
20238 [C99-based-standards] (PRIdFAST16): Likewise.
20239 [C99-based-standards] (PRIiFAST16): Likewise.
20240 [C99-based-standards] (PRIoFAST16): Likewise.
20241 [C99-based-standards] (PRIuFAST16): Likewise.
20242 [C99-based-standards] (PRIxFAST16): Likewise.
20243 [C99-based-standards] (PRIXFAST16): Likewise.
20244 [C99-based-standards] (SCNdFAST16): Likewise.
20245 [C99-based-standards] (SCNiFAST16): Likewise.
20246 [C99-based-standards] (SCNoFAST16): Likewise.
20247 [C99-based-standards] (SCNuFAST16): Likewise.
20248 [C99-based-standards] (SCNxFAST16): Likewise.
20249 [C99-based-standards] (PRId32): Likewise.
20250 [C99-based-standards] (PRIi32): Likewise.
20251 [C99-based-standards] (PRIo32): Likewise.
20252 [C99-based-standards] (PRIu32): Likewise.
20253 [C99-based-standards] (PRIx32): Likewise.
20254 [C99-based-standards] (PRIX32): Likewise.
20255 [C99-based-standards] (SCNd32): Likewise.
20256 [C99-based-standards] (SCNi32): Likewise.
20257 [C99-based-standards] (SCNo32): Likewise.
20258 [C99-based-standards] (SCNu32): Likewise.
20259 [C99-based-standards] (SCNx32): Likewise.
20260 [C99-based-standards] (PRIdLEAST32): Likewise.
20261 [C99-based-standards] (PRIiLEAST32): Likewise.
20262 [C99-based-standards] (PRIoLEAST32): Likewise.
20263 [C99-based-standards] (PRIuLEAST32): Likewise.
20264 [C99-based-standards] (PRIxLEAST32): Likewise.
20265 [C99-based-standards] (PRIXLEAST32): Likewise.
20266 [C99-based-standards] (SCNdLEAST32): Likewise.
20267 [C99-based-standards] (SCNiLEAST32): Likewise.
20268 [C99-based-standards] (SCNoLEAST32): Likewise.
20269 [C99-based-standards] (SCNuLEAST32): Likewise.
20270 [C99-based-standards] (SCNxLEAST32): Likewise.
20271 [C99-based-standards] (PRIdFAST32): Likewise.
20272 [C99-based-standards] (PRIiFAST32): Likewise.
20273 [C99-based-standards] (PRIoFAST32): Likewise.
20274 [C99-based-standards] (PRIuFAST32): Likewise.
20275 [C99-based-standards] (PRIxFAST32): Likewise.
20276 [C99-based-standards] (PRIXFAST32): Likewise.
20277 [C99-based-standards] (SCNdFAST32): Likewise.
20278 [C99-based-standards] (SCNiFAST32): Likewise.
20279 [C99-based-standards] (SCNoFAST32): Likewise.
20280 [C99-based-standards] (SCNuFAST32): Likewise.
20281 [C99-based-standards] (SCNxFAST32): Likewise.
20282 [C99-based-standards] (PRId64): Likewise.
20283 [C99-based-standards] (PRIi64): Likewise.
20284 [C99-based-standards] (PRIo64): Likewise.
20285 [C99-based-standards] (PRIu64): Likewise.
20286 [C99-based-standards] (PRIx64): Likewise.
20287 [C99-based-standards] (PRIX64): Likewise.
20288 [C99-based-standards] (SCNd64): Likewise.
20289 [C99-based-standards] (SCNi64): Likewise.
20290 [C99-based-standards] (SCNo64): Likewise.
20291 [C99-based-standards] (SCNu64): Likewise.
20292 [C99-based-standards] (SCNx64): Likewise.
20293 [C99-based-standards] (PRIdLEAST64): Likewise.
20294 [C99-based-standards] (PRIiLEAST64): Likewise.
20295 [C99-based-standards] (PRIoLEAST64): Likewise.
20296 [C99-based-standards] (PRIuLEAST64): Likewise.
20297 [C99-based-standards] (PRIxLEAST64): Likewise.
20298 [C99-based-standards] (PRIXLEAST64): Likewise.
20299 [C99-based-standards] (SCNdLEAST64): Likewise.
20300 [C99-based-standards] (SCNiLEAST64): Likewise.
20301 [C99-based-standards] (SCNoLEAST64): Likewise.
20302 [C99-based-standards] (SCNuLEAST64): Likewise.
20303 [C99-based-standards] (SCNxLEAST64): Likewise.
20304 [C99-based-standards] (PRIdFAST64): Likewise.
20305 [C99-based-standards] (PRIiFAST64): Likewise.
20306 [C99-based-standards] (PRIoFAST64): Likewise.
20307 [C99-based-standards] (PRIuFAST64): Likewise.
20308 [C99-based-standards] (PRIxFAST64): Likewise.
20309 [C99-based-standards] (PRIXFAST64): Likewise.
20310 [C99-based-standards] (SCNdFAST64): Likewise.
20311 [C99-based-standards] (SCNiFAST64): Likewise.
20312 [C99-based-standards] (SCNoFAST64): Likewise.
20313 [C99-based-standards] (SCNuFAST64): Likewise.
20314 [C99-based-standards] (SCNxFAST64): Likewise.
20315 [C99-based-standards] (PRIdMAX): Likewise.
20316 [C99-based-standards] (PRIiMAX): Likewise.
20317 [C99-based-standards] (PRIoMAX): Likewise.
20318 [C99-based-standards] (PRIuMAX): Likewise.
20319 [C99-based-standards] (PRIxMAX): Likewise.
20320 [C99-based-standards] (PRIXMAX): Likewise.
20321 [C99-based-standards] (SCNdMAX): Likewise.
20322 [C99-based-standards] (SCNiMAX): Likewise.
20323 [C99-based-standards] (SCNoMAX): Likewise.
20324 [C99-based-standards] (SCNuMAX): Likewise.
20325 [C99-based-standards] (SCNxMAX): Likewise.
20326 [C99-based-standards] (PRIdPTR): Likewise.
20327 [C99-based-standards] (PRIiPTR): Likewise.
20328 [C99-based-standards] (PRIoPTR): Likewise.
20329 [C99-based-standards] (PRIuPTR): Likewise.
20330 [C99-based-standards] (PRIxPTR): Likewise.
20331 [C99-based-standards] (PRIXPTR): Likewise.
20332 [C99-based-standards] (SCNdPTR): Likewise.
20333 [C99-based-standards] (SCNiPTR): Likewise.
20334 [C99-based-standards] (SCNoPTR): Likewise.
20335 [C99-based-standards] (SCNuPTR): Likewise.
20336 [C99-based-standards] (SCNxPTR): Likewise.
20337 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20338 allow.
20339 * conform/data/stdint.h-data: Update comments to clarify
20340 requirements.
20341 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20342 type.
20343 [C99-based standards] (INT8_MAX): Likewise.
20344 [C99-based standards] (INT16_MIN): Likewise.
20345 [C99-based standards] (INT16_MAX): Likewise.
20346 [C99-based standards] (INT32_MIN): Likewise.
20347 [C99-based standards] (INT32_MAX): Likewise.
20348 [C99-based standards] (INT64_MIN): Likewise.
20349 [C99-based standards] (INT64_MAX): Likewise.
20350 [C99-based standards] (UINT8_MAX): Likewise.
20351 [C99-based standards] (UINT16_MAX): Likewise.
20352 [C99-based standards] (UINT32_MAX): Likewise.
20353 [C99-based standards] (UINT64_MAX): Likewise.
20354 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20355 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20356 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20357 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20358 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20359 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20360 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20361 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20362 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20363 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20364 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20365 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20366 [C99-based standards] (INT_FAST8_MIN): Likewise.
20367 [C99-based standards] (INT_FAST8_MAX): Likewise.
20368 [C99-based standards] (INT_FAST16_MIN): Likewise.
20369 [C99-based standards] (INT_FAST16_MAX): Likewise.
20370 [C99-based standards] (INT_FAST32_MIN): Likewise.
20371 [C99-based standards] (INT_FAST32_MAX): Likewise.
20372 [C99-based standards] (INT_FAST64_MIN): Likewise.
20373 [C99-based standards] (INT_FAST64_MAX): Likewise.
20374 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20375 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20376 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20377 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20378 [C99-based standards] (INTPTR_MIN): Likewise.
20379 [C99-based standards] (INTPTR_MAX): Likewise.
20380 [C99-based standards] (UINTPTR_MAX): Likewise.
20381 [C99-based standards] (INTMAX_MIN): Likewise.
20382 [C99-based standards] (INTMAX_MAX): Likewise.
20383 [C99-based standards] (UINTMAX_MAX): Likewise.
20384 [C99-based standards] (PTRDIFF_MIN): Likewise.
20385 [C99-based standards] (PTRDIFF_MAX): Likewise.
20386 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20387 [C99-based standards] (SIZE_MAX): Likewise.
20388 [C99-based standards] (WCHAR_MAX): Likewise.
20389 [C99-based standards] (WINT_MAX): Likewise.
20390 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20391 constraint on value.
20392 [C99-based standards] (WCHAR_MIN): Likewise.
20393 [C99-based standards] (WINT_MIN): Likewise.
20394 [C99-based standards] (*_t): Allow.
20395 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20396 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20397 Include math.h-data and complex.h-data. Remove all expectations
20398 of math.h and complex.h contents.
20399 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20400 at end of line.
20401 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20402 (struct tm): Expect tag.
20403 [C99-based-standards] (wcstof): Expect function.
20404 [C99-based-standards] (wcstold): Likewise.
20405 [C99-based-standards] (wcstoll): Likewise.
20406 [C99-based-standards] (wcstoull): Likewise.
20407 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20408 macro-int-constant. Specify type.
20409 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20410 constraint on value.
20411 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20412 Specify type.
20413 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20414 Specify value.
20415 [ISO C standards]: Do not allow headers.
20416 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20417 wcs[abcdefghijklmnopqrstuvwxyz]*.
20418 [ISO C standards] (*_t): Do not allow.
20419 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20420 Expect function.
20421 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20422 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20423 Specify type.
20424 [ISO C standards]: Do not allow headers.
20425 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20426 is[abcdefghijklmnopqrstuvwxyz]*.
20427 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20428 to[abcdefghijklmnopqrstuvwxyz]*.
20429 [ISO C standards] (*_t): Do not allow.
20430 * conform/data/stdalign.h-data: New file.
20431 * conform/data/stdbool.h-data: Likewise.
20432 * conform/data/stdnoreturn.h-data: Likewise.
20433
7514feb8
RM
204342012-11-07 Roland McGrath <roland@hack.frob.com>
20435
20436 [BZ #14815]
20437 * manual/filesys.texi (Directory Entries): Typo fix.
20438 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20439
19b2ecfc
MS
204402012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20441
20442 * elf/elf.h (EM_AARCH64): New macro.
20443 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20444 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20445 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20446 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20447 (R_AARCH64_TLSDESC): Likewise.
20448 (NT_ARM_TLS): Likewise.
20449 (NT_ARM_HW_BREAK): Likewise.
20450 (NT_ARM_HW_WATCH): Likewise.
20451
60e235ee
JM
204522012-11-07 Joseph Myers <joseph@codesourcery.com>
20453
20454 [BZ #14811]
20455 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20456 (__ieee754_powl): Saturate nonzero exponents with absolute value
20457 below 0x1p-79 to +/- 0x1p-79.
20458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20459 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20460 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20461 nonzero exponents with absolute value below 0x1p-32 to +/-
20462 0x1p-32.
20463 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20464 (__ieee754_powl): Saturate nonzero exponents with absolute value
20465 below 0x1p-79 to +/- 0x1p-79.
20466 * math/libm-test.inc (pow_test): Add more tests.
20467
0ab234b7
AK
204682012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20469
20470 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20471 _dl_s390_cap_flags with kernel. Increase string length.
20472 (_dl_s390_platforms): Add z196 and zEC12.
20473
45832f74
JM
204742012-11-07 Joseph Myers <joseph@codesourcery.com>
20475
20476 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20477 Change XOPEN21K to XOPEN2K.
20478
19218757
MK
204792012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20480
20481 * string/memmove.c: Use memcpy when possible.
20482
c5f45721
AJ
204832012-11-06 Andreas Jaeger <aj@suse.de>
20484
20485 * po/eo.po: Update from translation team.
20486
82477c28
JM
204872012-11-06 Joseph Myers <joseph@codesourcery.com>
20488
20489 [BZ #14793]
20490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20491 exponent and small x and y exponents, scale x or y up. Increase
20492 by 2 the exponent used in scaling up.
20493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20495 * math/libm-test.inc (fma_test): Add more tests.
20496 (fma_test_towardzero): Likewise.
20497 (fma_test_downward): Likewise.
20498 (fma_test_upward): Likewise.
20499
99252c8c
JM
205002012-11-05 Joseph Myers <joseph@codesourcery.com>
20501
acfa885f
JM
20502 [BZ #14805]
20503 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20504 fenv_t *.
20505
99252c8c
JM
20506 [BZ #14801]
20507 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20508 namespace for names of struct fields.
20509 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20510 fenv_t fields.
20511 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20512 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20513
d6d98dea
ST
205142012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20515
20516 [BZ #3665]
20517 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20518
e10bb107
TS
205192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20520
20521 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20522 PTR_DEMANGLE.
20523
20524 [BZ #5246]
20525 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20526 PTR_DEMANGLE.
20527
a0c2940d
JM
205282012-11-04 Joseph Myers <joseph@codesourcery.com>
20529
20530 [BZ #14797]
20531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20532 definitely overflow as x * y not x * y + z.
20533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20535 * math/libm-test.inc (fma_test): Add more tests.
20536 (fma_test_towardzero): Likewise.
20537 (fma_test_downward): Likewise.
20538 (fma_test_upward): Likewise.
20539
b830319d
TS
205402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20541
20542 [BZ #157]
20543
20544 * include/stub-tag.h: Remove file.
20545 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20546 '#include' of it.
20547 * manual/maint.texi (Porting): Don't reference it.
20548 * Makerules ($(objpfx)stubs): Likewise.
20549 * dirent/closedir.c: Don't include <stub-tag.h>.
20550 * dirent/dirfd.c: Likewise.
20551 * dirent/fdopendir.c: Likewise.
20552 * dirent/getdents.c: Likewise.
20553 * dirent/getdents64.c: Likewise.
20554 * dirent/opendir.c: Likewise.
20555 * dirent/readdir.c: Likewise.
20556 * dirent/readdir64.c: Likewise.
20557 * dirent/readdir64_r.c: Likewise.
20558 * dirent/readdir_r.c: Likewise.
20559 * dirent/rewinddir.c: Likewise.
20560 * dirent/seekdir.c: Likewise.
20561 * dirent/telldir.c: Likewise.
20562 * gmon/profil.c: Likewise.
20563 * grp/setgroups.c: Likewise.
20564 * inet/if_index.c: Likewise.
20565 * io/access.c: Likewise.
20566 * io/chdir.c: Likewise.
20567 * io/chmod.c: Likewise.
20568 * io/chown.c: Likewise.
20569 * io/close.c: Likewise.
20570 * io/dup.c: Likewise.
20571 * io/dup2.c: Likewise.
20572 * io/dup3.c: Likewise.
20573 * io/euidaccess.c: Likewise.
20574 * io/faccessat.c: Likewise.
20575 * io/fchdir.c: Likewise.
20576 * io/fchmod.c: Likewise.
20577 * io/fchmodat.c: Likewise.
20578 * io/fchown.c: Likewise.
20579 * io/fchownat.c: Likewise.
20580 * io/fcntl.c: Likewise.
20581 * io/flock.c: Likewise.
20582 * io/fstatfs.c: Likewise.
20583 * io/fstatfs64.c: Likewise.
20584 * io/fstatvfs.c: Likewise.
20585 * io/fstatvfs64.c: Likewise.
20586 * io/futimens.c: Likewise.
20587 * io/fxstat.c: Likewise.
20588 * io/fxstat64.c: Likewise.
20589 * io/fxstatat.c: Likewise.
20590 * io/fxstatat64.c: Likewise.
20591 * io/getcwd.c: Likewise.
20592 * io/isatty.c: Likewise.
20593 * io/lchmod.c: Likewise.
20594 * io/lchown.c: Likewise.
20595 * io/link.c: Likewise.
20596 * io/linkat.c: Likewise.
20597 * io/lseek.c: Likewise.
20598 * io/lseek64.c: Likewise.
20599 * io/lxstat64.c: Likewise.
20600 * io/mkdir.c: Likewise.
20601 * io/mkdirat.c: Likewise.
20602 * io/mkfifo.c: Likewise.
20603 * io/mkfifoat.c: Likewise.
20604 * io/open.c: Likewise.
20605 * io/open64.c: Likewise.
20606 * io/openat.c: Likewise.
20607 * io/openat64.c: Likewise.
20608 * io/pipe.c: Likewise.
20609 * io/pipe2.c: Likewise.
20610 * io/poll.c: Likewise.
20611 * io/posix_fadvise.c: Likewise.
20612 * io/posix_fadvise64.c: Likewise.
20613 * io/posix_fallocate.c: Likewise.
20614 * io/posix_fallocate64.c: Likewise.
20615 * io/read.c: Likewise.
20616 * io/readlink.c: Likewise.
20617 * io/readlinkat.c: Likewise.
20618 * io/rmdir.c: Likewise.
20619 * io/sendfile.c: Likewise.
20620 * io/sendfile64.c: Likewise.
20621 * io/statfs.c: Likewise.
20622 * io/statfs64.c: Likewise.
20623 * io/statvfs.c: Likewise.
20624 * io/statvfs64.c: Likewise.
20625 * io/symlink.c: Likewise.
20626 * io/symlinkat.c: Likewise.
20627 * io/ttyname.c: Likewise.
20628 * io/ttyname_r.c: Likewise.
20629 * io/umask.c: Likewise.
20630 * io/unlink.c: Likewise.
20631 * io/unlinkat.c: Likewise.
20632 * io/utime.c: Likewise.
20633 * io/utimensat.c: Likewise.
20634 * io/write.c: Likewise.
20635 * io/xmknod.c: Likewise.
20636 * io/xmknodat.c: Likewise.
20637 * io/xstat.c: Likewise.
20638 * io/xstat64.c: Likewise.
20639 * login/getpt.c: Likewise.
20640 * login/grantpt.c: Likewise.
20641 * login/unlockpt.c: Likewise.
20642 * math/e_acoshl.c: Likewise.
20643 * math/e_acosl.c: Likewise.
20644 * math/e_asinl.c: Likewise.
20645 * math/e_atan2l.c: Likewise.
20646 * math/e_atanhl.c: Likewise.
20647 * math/e_coshl.c: Likewise.
20648 * math/e_expl.c: Likewise.
20649 * math/e_fmodl.c: Likewise.
20650 * math/e_gammal_r.c: Likewise.
20651 * math/e_hypotl.c: Likewise.
20652 * math/e_j0l.c: Likewise.
20653 * math/e_j1l.c: Likewise.
20654 * math/e_jnl.c: Likewise.
20655 * math/e_lgammal_r.c: Likewise.
20656 * math/e_log10l.c: Likewise.
20657 * math/e_log2l.c: Likewise.
20658 * math/e_logl.c: Likewise.
20659 * math/e_powl.c: Likewise.
20660 * math/e_rem_pio2l.c: Likewise.
20661 * math/e_sinhl.c: Likewise.
20662 * math/e_sqrtl.c: Likewise.
20663 * math/fclrexcpt.c: Likewise.
20664 * math/fedisblxcpt.c: Likewise.
20665 * math/feenablxcpt.c: Likewise.
20666 * math/fegetenv.c: Likewise.
20667 * math/fegetexcept.c: Likewise.
20668 * math/fegetround.c: Likewise.
20669 * math/feholdexcpt.c: Likewise.
20670 * math/fesetenv.c: Likewise.
20671 * math/fesetround.c: Likewise.
20672 * math/feupdateenv.c: Likewise.
20673 * math/fgetexcptflg.c: Likewise.
20674 * math/fraiseexcpt.c: Likewise.
20675 * math/fsetexcptflg.c: Likewise.
20676 * math/ftestexcept.c: Likewise.
20677 * math/k_cosl.c: Likewise.
20678 * math/k_rem_pio2l.c: Likewise.
20679 * math/k_sinl.c: Likewise.
20680 * math/k_tanl.c: Likewise.
20681 * math/s_asinhl.c: Likewise.
20682 * math/s_atanl.c: Likewise.
20683 * math/s_cbrtl.c: Likewise.
20684 * math/s_erfl.c: Likewise.
20685 * math/s_expm1l.c: Likewise.
20686 * math/s_log1pl.c: Likewise.
20687 * math/s_tanhl.c: Likewise.
20688 * misc/acct.c: Likewise.
20689 * misc/brk.c: Likewise.
20690 * misc/chflags.c: Likewise.
20691 * misc/chroot.c: Likewise.
20692 * misc/fchflags.c: Likewise.
20693 * misc/fgetxattr.c: Likewise.
20694 * misc/flistxattr.c: Likewise.
20695 * misc/fremovexattr.c: Likewise.
20696 * misc/fsetxattr.c: Likewise.
20697 * misc/fsync.c: Likewise.
20698 * misc/ftruncate.c: Likewise.
20699 * misc/futimes.c: Likewise.
20700 * misc/futimesat.c: Likewise.
20701 * misc/getdomain.c: Likewise.
20702 * misc/getdtsz.c: Likewise.
20703 * misc/gethostid.c: Likewise.
20704 * misc/gethostname.c: Likewise.
20705 * misc/getloadavg.c: Likewise.
20706 * misc/getpagesize.c: Likewise.
20707 * misc/getsysstats.c: Likewise.
20708 * misc/getxattr.c: Likewise.
20709 * misc/gtty.c: Likewise.
20710 * misc/ioctl.c: Likewise.
20711 * misc/lgetxattr.c: Likewise.
20712 * misc/listxattr.c: Likewise.
20713 * misc/llistxattr.c: Likewise.
20714 * misc/lremovexattr.c: Likewise.
20715 * misc/lsetxattr.c: Likewise.
20716 * misc/lutimes.c: Likewise.
20717 * misc/madvise.c: Likewise.
20718 * misc/mincore.c: Likewise.
20719 * misc/mlock.c: Likewise.
20720 * misc/mlockall.c: Likewise.
20721 * misc/mmap.c: Likewise.
20722 * misc/mprotect.c: Likewise.
20723 * misc/msync.c: Likewise.
20724 * misc/munlock.c: Likewise.
20725 * misc/munlockall.c: Likewise.
20726 * misc/munmap.c: Likewise.
20727 * misc/preadv.c: Likewise.
20728 * misc/preadv64.c: Likewise.
20729 * misc/ptrace.c: Likewise.
20730 * misc/pwritev.c: Likewise.
20731 * misc/pwritev64.c: Likewise.
20732 * misc/readv.c: Likewise.
20733 * misc/reboot.c: Likewise.
20734 * misc/remap_file_pages.c: Likewise.
20735 * misc/removexattr.c: Likewise.
20736 * misc/revoke.c: Likewise.
20737 * misc/select.c: Likewise.
20738 * misc/setdomain.c: Likewise.
20739 * misc/setegid.c: Likewise.
20740 * misc/seteuid.c: Likewise.
20741 * misc/sethostid.c: Likewise.
20742 * misc/sethostname.c: Likewise.
20743 * misc/setregid.c: Likewise.
20744 * misc/setreuid.c: Likewise.
20745 * misc/setxattr.c: Likewise.
20746 * misc/sstk.c: Likewise.
20747 * misc/stty.c: Likewise.
20748 * misc/swapoff.c: Likewise.
20749 * misc/swapon.c: Likewise.
20750 * misc/sync.c: Likewise.
20751 * misc/syncfs.c: Likewise.
20752 * misc/syscall.c: Likewise.
20753 * misc/truncate.c: Likewise.
20754 * misc/ualarm.c: Likewise.
20755 * misc/usleep.c: Likewise.
20756 * misc/ustat.c: Likewise.
20757 * misc/utimes.c: Likewise.
20758 * misc/vhangup.c: Likewise.
20759 * misc/writev.c: Likewise.
20760 * posix/_exit.c: Likewise.
20761 * posix/alarm.c: Likewise.
20762 * posix/execve.c: Likewise.
20763 * posix/fexecve.c: Likewise.
20764 * posix/fork.c: Likewise.
20765 * posix/fpathconf.c: Likewise.
20766 * posix/getaddrinfo.c: Likewise.
20767 * posix/getegid.c: Likewise.
20768 * posix/geteuid.c: Likewise.
20769 * posix/getgid.c: Likewise.
20770 * posix/getgroups.c: Likewise.
20771 * posix/getlogin.c: Likewise.
20772 * posix/getlogin_r.c: Likewise.
20773 * posix/getpgid.c: Likewise.
20774 * posix/getpid.c: Likewise.
20775 * posix/getppid.c: Likewise.
20776 * posix/getresgid.c: Likewise.
20777 * posix/getresuid.c: Likewise.
20778 * posix/getsid.c: Likewise.
20779 * posix/getuid.c: Likewise.
20780 * posix/glob64.c: Likewise.
20781 * posix/nanosleep.c: Likewise.
20782 * posix/pathconf.c: Likewise.
20783 * posix/pause.c: Likewise.
20784 * posix/posix_madvise.c: Likewise.
20785 * posix/pread.c: Likewise.
20786 * posix/pread64.c: Likewise.
20787 * posix/pwrite.c: Likewise.
20788 * posix/pwrite64.c: Likewise.
20789 * posix/sched_getaffinity.c: Likewise.
20790 * posix/sched_getp.c: Likewise.
20791 * posix/sched_gets.c: Likewise.
20792 * posix/sched_primax.c: Likewise.
20793 * posix/sched_primin.c: Likewise.
20794 * posix/sched_rr_gi.c: Likewise.
20795 * posix/sched_setaffinity.c: Likewise.
20796 * posix/sched_setp.c: Likewise.
20797 * posix/sched_sets.c: Likewise.
20798 * posix/sched_yield.c: Likewise.
20799 * posix/setgid.c: Likewise.
20800 * posix/setlogin.c: Likewise.
20801 * posix/setpgid.c: Likewise.
20802 * posix/setresgid.c: Likewise.
20803 * posix/setresuid.c: Likewise.
20804 * posix/setsid.c: Likewise.
20805 * posix/setuid.c: Likewise.
20806 * posix/sleep.c: Likewise.
20807 * posix/spawni.c: Likewise.
20808 * posix/sysconf.c: Likewise.
20809 * posix/times.c: Likewise.
20810 * posix/wait.c: Likewise.
20811 * posix/wait3.c: Likewise.
20812 * posix/wait4.c: Likewise.
20813 * posix/waitpid.c: Likewise.
20814 * resolv/gai_sigqueue.c: Likewise.
20815 * resource/getpriority.c: Likewise.
20816 * resource/getrlimit.c: Likewise.
20817 * resource/getrusage.c: Likewise.
20818 * resource/nice.c: Likewise.
20819 * resource/setpriority.c: Likewise.
20820 * resource/setrlimit.c: Likewise.
20821 * resource/ulimit.c: Likewise.
20822 * rt/aio_cancel.c: Likewise.
20823 * rt/aio_fsync.c: Likewise.
20824 * rt/aio_read.c: Likewise.
20825 * rt/aio_sigqueue.c: Likewise.
20826 * rt/aio_suspend.c: Likewise.
20827 * rt/aio_write.c: Likewise.
20828 * rt/clock_getres.c: Likewise.
20829 * rt/clock_gettime.c: Likewise.
20830 * rt/clock_nanosleep.c: Likewise.
20831 * rt/clock_settime.c: Likewise.
20832 * rt/lio_listio.c: Likewise.
20833 * rt/mq_close.c: Likewise.
20834 * rt/mq_getattr.c: Likewise.
20835 * rt/mq_notify.c: Likewise.
20836 * rt/mq_open.c: Likewise.
20837 * rt/mq_receive.c: Likewise.
20838 * rt/mq_send.c: Likewise.
20839 * rt/mq_setattr.c: Likewise.
20840 * rt/mq_timedreceive.c: Likewise.
20841 * rt/mq_timedsend.c: Likewise.
20842 * rt/mq_unlink.c: Likewise.
20843 * rt/shm_open.c: Likewise.
20844 * rt/shm_unlink.c: Likewise.
20845 * rt/timer_create.c: Likewise.
20846 * rt/timer_delete.c: Likewise.
20847 * rt/timer_getoverr.c: Likewise.
20848 * rt/timer_gettime.c: Likewise.
20849 * rt/timer_settime.c: Likewise.
20850 * setjmp/__longjmp.c: Likewise.
20851 * setjmp/setjmp.c: Likewise.
20852 * signal/kill.c: Likewise.
20853 * signal/killpg.c: Likewise.
20854 * signal/raise.c: Likewise.
20855 * signal/sigaction.c: Likewise.
20856 * signal/sigaltstack.c: Likewise.
20857 * signal/sigblock.c: Likewise.
20858 * signal/sigignore.c: Likewise.
20859 * signal/sigintr.c: Likewise.
20860 * signal/signal.c: Likewise.
20861 * signal/sigpause.c: Likewise.
20862 * signal/sigpending.c: Likewise.
20863 * signal/sigqueue.c: Likewise.
20864 * signal/sigreturn.c: Likewise.
20865 * signal/sigset.c: Likewise.
20866 * signal/sigsetmask.c: Likewise.
20867 * signal/sigstack.c: Likewise.
20868 * signal/sigsuspend.c: Likewise.
20869 * signal/sigtimedwait.c: Likewise.
20870 * signal/sigvec.c: Likewise.
20871 * signal/sigwait.c: Likewise.
20872 * signal/sigwaitinfo.c: Likewise.
20873 * signal/sysv_signal.c: Likewise.
20874 * socket/accept.c: Likewise.
20875 * socket/accept4.c: Likewise.
20876 * socket/bind.c: Likewise.
20877 * socket/connect.c: Likewise.
20878 * socket/getpeername.c: Likewise.
20879 * socket/getsockname.c: Likewise.
20880 * socket/getsockopt.c: Likewise.
20881 * socket/isfdtype.c: Likewise.
20882 * socket/listen.c: Likewise.
20883 * socket/recv.c: Likewise.
20884 * socket/recvfrom.c: Likewise.
20885 * socket/recvmsg.c: Likewise.
20886 * socket/send.c: Likewise.
20887 * socket/sendmsg.c: Likewise.
20888 * socket/sendto.c: Likewise.
20889 * socket/setsockopt.c: Likewise.
20890 * socket/shutdown.c: Likewise.
20891 * socket/sockatmark.c: Likewise.
20892 * socket/socket.c: Likewise.
20893 * socket/socketpair.c: Likewise.
20894 * stdio-common/ctermid.c: Likewise.
20895 * stdio-common/cuserid.c: Likewise.
20896 * stdio-common/remove.c: Likewise.
20897 * stdio-common/rename.c: Likewise.
20898 * stdio-common/renameat.c: Likewise.
20899 * stdio-common/tempname.c: Likewise.
20900 * stdlib/getcontext.c: Likewise.
20901 * stdlib/makecontext.c: Likewise.
20902 * stdlib/setcontext.c: Likewise.
20903 * stdlib/swapcontext.c: Likewise.
20904 * stdlib/system.c: Likewise.
20905 * streams/fattach.c: Likewise.
20906 * streams/fdetach.c: Likewise.
20907 * streams/getmsg.c: Likewise.
20908 * streams/getpmsg.c: Likewise.
20909 * streams/putmsg.c: Likewise.
20910 * streams/putpmsg.c: Likewise.
20911 * sysdeps/unix/bsd/getpt.c: Likewise.
20912 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20913 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20914 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20916 Likewise.
20917 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20918 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20919 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20920 * sysvipc/msgctl.c: Likewise.
20921 * sysvipc/msgget.c: Likewise.
20922 * sysvipc/msgrcv.c: Likewise.
20923 * sysvipc/msgsnd.c: Likewise.
20924 * sysvipc/semctl.c: Likewise.
20925 * sysvipc/semget.c: Likewise.
20926 * sysvipc/semop.c: Likewise.
20927 * sysvipc/semtimedop.c: Likewise.
20928 * sysvipc/shmat.c: Likewise.
20929 * sysvipc/shmctl.c: Likewise.
20930 * sysvipc/shmdt.c: Likewise.
20931 * sysvipc/shmget.c: Likewise.
20932 * termios/tcdrain.c: Likewise.
20933 * termios/tcflow.c: Likewise.
20934 * termios/tcflush.c: Likewise.
20935 * termios/tcgetattr.c: Likewise.
20936 * termios/tcgetpgrp.c: Likewise.
20937 * termios/tcsendbrk.c: Likewise.
20938 * termios/tcsetattr.c: Likewise.
20939 * termios/tcsetpgrp.c: Likewise.
20940 * time/adjtime.c: Likewise.
20941 * time/clock.c: Likewise.
20942 * time/getitimer.c: Likewise.
20943 * time/gettimeofday.c: Likewise.
20944 * time/setitimer.c: Likewise.
20945 * time/settimeofday.c: Likewise.
20946 * time/stime.c: Likewise.
20947 * time/time.c: Likewise.
20948
209492012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 20950
a20492cf
PT
20951 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20952 /usr/old/bin.
20953
72e182e3
PT
20954 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20955 instead of spaces.
20956 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20957
fbeafede
JM
209582012-11-03 Joseph Myers <joseph@codesourcery.com>
20959
5b5b04d6
JM
20960 [BZ #14796]
20961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20962 FE_TONEAREST before applying Dekker multiplication and Knuth
20963 addition. Clear inexact exceptions and check for exact zero
20964 results afterwards.
20965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20966 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20968 * math/libm-test.inc (fma_test): Add more tests.
20969 (fma_test_towardzero): Likewise.
20970 (fma_test_downward): Likewise.
20971 (fma_test_upward): Likewise.
20972 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20973 function.
20974 (libc_fesetround): New macro.
20975 (libc_fesetroundf): Likewise.
20976 (libc_fesetroundl): Likewise.
20977 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20978 function.
20979 (libc_fesetround_387): Likewise.
20980 (libc_fesetroundf): New macro.
20981 (libc_fesetround): Likewise.
20982 (libc_fesetroundl): Likewise.
20983 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20984 function.
20985 (libc_fesetroundf): New macro.
20986 (libc_fesetround): Likewise.
20987 (libc_fesetroundl): Likewise.
20988 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20989 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20990 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20991 libm_hidden_ver.
20992 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20993 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20994 libm_hidden_def.
20995 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20996 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20997 libm_hidden_ver.
20998 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20999 libm_hidden_def.
21000
fbeafede
JM
21001 [BZ #3439]
21002 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21003 integer constant usable in #if and use that to give value to enum
21004 constant.
21005 (FE_DIVBYZERO): Likewise.
21006 (FE_UNDERFLOW): Likewise.
21007 (FE_OVERFLOW): Likewise.
21008 (FE_INVALID): Likewise.
21009 (FE_INVALID_SNAN): Likewise.
21010 (FE_INVALID_ISI): Likewise.
21011 (FE_INVALID_IDI): Likewise.
21012 (FE_INVALID_ZDZ): Likewise.
21013 (FE_INVALID_IMZ): Likewise.
21014 (FE_INVALID_COMPARE): Likewise.
21015 (FE_INVALID_SOFTWARE): Likewise.
21016 (FE_INVALID_SQRT): Likewise.
21017 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21018 (FE_TONEAREST): Likewise.
21019 (FE_TOWARDZERO): Likewise.
21020 (FE_UPWARD): Likewise.
21021 (FE_DOWNWARD): Likewise.
21022 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21023 (FE_DIVBYZERO): Likewise.
21024 (FE_OVERFLOW): Likewise.
21025 (FE_UNDERFLOW): Likewise.
21026 (FE_INEXACT): Likewise.
21027 (FE_TONEAREST): Likewise.
21028 (FE_DOWNWARD): Likewise.
21029 (FE_UPWARD): Likewise.
21030 (FE_TOWARDZERO): Likewise.
21031 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21032 (FE_UNDERFLOW): Likewise.
21033 (FE_OVERFLOW): Likewise.
21034 (FE_DIVBYZERO): Likewise.
21035 (FE_INVALID): Likewise.
21036 (FE_TONEAREST): Likewise.
21037 (FE_TOWARDZERO): Likewise.
21038 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21039 (FE_OVERFLOW): Likewise.
21040 (FE_UNDERFLOW): Likewise.
21041 (FE_DIVBYZERO): Likewise.
21042 (FE_INEXACT): Likewise.
21043 (FE_TONEAREST): Likewise.
21044 (FE_TOWARDZERO): Likewise.
21045 (FE_UPWARD): Likewise.
21046 (FE_DOWNWARD): Likewise.
21047 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21048 (FE_DIVBYZERO): Likewise.
21049 (FE_OVERFLOW): Likewise.
21050 (FE_UNDERFLOW): Likewise.
21051 (FE_INEXACT): Likewise.
21052 (FE_TONEAREST): Likewise.
21053 (FE_DOWNWARD): Likewise.
21054 (FE_UPWARD): Likewise.
21055 (FE_TOWARDZERO): Likewise.
21056
105ca950
CM
210572012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21058
21059 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21060
a542b389
AS
210612012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21062
21063 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21064 commands. Quote $PWD.
21065 (blacklist_exports): Don't use remove_newlines. Replace "declare
21066 -x" by "export".
21067 (remove_newlines): Remove.
21068
f62c8abc
L
210692012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21070
21071 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21072 * stdlib/stdlib.h (atof): Moved to ...
21073 * include/bits/stdlib-float.h: Here. New file.
21074 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21075 * stdlib/bits/stdlib-float.h: New file.
21076 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21077 -mno-sse -mno-mmx.
21078 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21079 <xmmintrin.h>.
21080
0155d5b2
JM
210812012-11-02 Joseph Myers <joseph@codesourcery.com>
21082
a68d0680
JM
21083 * conform/conformtest.pl (@headers): Add fenv.h.
21084 * conform/data/fenv.h-data: New file.
21085 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21086 include of <math/fenv.h>.
21087
caf7f573
JM
21088 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21089 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21090 && !UNIX98]. Enables tests for XOPEN2K8.
21091 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21092 POSIX2008]: Likewise.
21093
6c073ad6
JM
21094 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21095 (struct rusage): Do not expect type or its members.
21096
0155d5b2
JM
21097 [BZ #3439]
21098 * math/math.h (FP_NAN): Define macro to integer constant usable in
21099 #if and use that to give value to enum constant.
21100 (FP_INFINITE): Likewise.
21101 (FP_ZERO): Likewise.
21102 (FP_SUBNORMAL): Likewise.
21103 (FP_NORMAL): Likewise.
21104
b5dcacb4
AS
211052012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21106
21107 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21108 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21109 arguments.
21110
f7934be8
RM
211112012-11-02 Roland McGrath <roland@hack.frob.com>
21112
21113 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21114 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21115 autoconf-time if not.
21116 * configure.in: Remove AC_PREREQ.
21117
d7d08bde
TMQMF
211182012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21119
21120 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21121 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21122 of the internal implementation.
21123
dcdae19a
JM
211242012-11-02 Joseph Myers <joseph@codesourcery.com>
21125
21126 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21127 except include of <misc/sys/syslog.h>.
21128
d6cffd3e
AS
211292012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21130
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21132 function returns with a NULL context exit with zero.
21133
b3563932
TMQMF
211342012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21135
21136 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21137
b288a93d
L
211382012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21139
21140 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21141 (run_program_cmd): This.
21142 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21143 (tst_langinfo): New variable. Use it.
21144
a2421a68
SAS
211452012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21146
21147 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21148 floating point opcodes.
21149
6f796e1b
TS
211502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21151
7402596b
TS
21152 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21153 variable.
21154
d0d4f868
TS
21155 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21156
6f796e1b
TS
21157 * sysdeps/mach/hurd/powerpc: Remove directory.
21158 * sysdeps/mach/powerpc: Likewise.
21159
4da224a2
AS
211602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21161
21162 * scripts/check-local-headers.sh: Ignore c++ headers.
21163
341dd673
TS
211642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21165
21166 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21167 __libc_cleanup_region_start argument.
21168
473611b2
JM
211692012-11-01 Joseph Myers <joseph@codesourcery.com>
21170
21171 [BZ #14784]
21172 [BZ #14785]
21173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21174 x * y using scaling, not as x * y + z.
21175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21177 * math/libm-test.inc (fma_test): Add more tests.
21178 (fma_test_towardzero): Likewise.
21179 (fma_test_downward): Likewise.
21180 (fma_test_upward): Likewise.
21181
4078da3d
TS
211822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21183
21184 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21185
903252aa
JM
211862012-10-31 Joseph Myers <joseph@codesourcery.com>
21187
21188 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21189 New variable.
21190
cbc818d0
TS
211912012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21192
21193 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21194
5a03cb1e
AS
211952012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21196
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21198 Fix sort order.
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21200 Likewise.
21201
90aff2ff
TMQMF
212022012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21203
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21205 Fix the order of the list for glibc 2.17.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21207 Likewise.
21208
1818fcb7
AS
212092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21210
21211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21212
ef82f4da
JM
212132012-10-31 Joseph Myers <joseph@codesourcery.com>
21214
16a0e2ec
JM
21215 [BZ #14610]
21216 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21217 for low part of x being zero before using __atanl (y).
21218 * math/libm-test.inc (atan2_test): Add another test.
21219
0eb69512
JM
21220 * manual/install.texi (Configuring and compiling): Document
21221 general use of test-wrapper and test-wrapper-env.
21222 * INSTALL: Regenerated.
21223
ef82f4da
JM
21224 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21225 (__fma): Do not extract and scale down low bits on after-rounding
21226 systems when result rounded to normal precision would have normal
21227 exponent.
21228 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21229 (__fmal): Do not extract and scale down low bits on after-rounding
21230 systems when result rounded to normal precision would have normal
21231 exponent.
21232 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21233 (__fmal): Do not extract and scale down low bits on after-rounding
21234 systems when result rounded to normal precision would have normal
21235 exponent.
21236 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21237 macro.
21238 (fma_test): Add more tests.
21239 (fma_test_towardzero): Likewise.
21240 (fma_test_downward): Likewise.
21241 (fma_test_upward): Likewise.
21242
954ef0d9
L
212432012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 * sysdeps/i386/tininess.h: Renamed to ...
21246 * sysdeps/x86/tininess.h: This.
21247 * sysdeps/x86_64/tininess.h: Removed.
21248
df61ffb2
JM
212492012-10-30 Joseph Myers <joseph@codesourcery.com>
21250
21251 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21252 input. Use $(build-program-cmd).
21253 ($(objpfx)tst-array1-static.out): Likewise.
21254 ($(objpfx)tst-array2.out): Likewise.
21255 ($(objpfx)tst-array3.out): Likewise.
21256 ($(objpfx)tst-array4.out): Likewise.
21257 ($(objpfx)tst-array5.out): Likewise.
21258 ($(objpfx)tst-array5-static.out): Likewise.
21259
01767843
CM
212602012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21261
47cc1490
CM
21262 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21263 if defined.
21264
01767843
CM
21265 * nss/nsswitch.h (nss_interface_function): Provide new
21266 macro for use with NSS functions.
21267 * grp/initgroups.c: Use new macro.
21268 * nss/getXXbyYY.c: Likewise.
21269 * nss/getXXbyYY_r.c: Likewise.
21270 * nss/getXXent.c: Likewise.
21271 * nss/getXXent_r.c: Likewise.
21272 * sysdeps/posix/getaddrinfo.c: Likewise.
21273
8321aa97
AJ
212742012-10-30 Andreas Jaeger <aj@suse.de>
21275
21276 * po/ru.po: Update Russion translation from translation project.
21277
2a27fd6d
JM
212782012-10-30 Joseph Myers <joseph@codesourcery.com>
21279
8627a232
JM
21280 [BZ #14152]
21281 [BZ #14783]
21282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21283 result and shift together with sticky bit instead of replicating
21284 round-to-nearest rounding.
21285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21287 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21288 missing underflow exceptions.
21289 (fma_test_towardzero): Add more tests.
21290 (fma_test_downward): Likewise.
21291 (fma_test_upward): Likewise.
21292
2a27fd6d
JM
21293 [BZ #14047]
21294 * sysdeps/generic/tininess.h: New file.
21295 * sysdeps/i386/tininess.h: Likewise.
21296 * sysdeps/sh/tininess.h: Likewise.
21297 * sysdeps/x86_64/tininess.h: Likewise.
21298 * stdlib/tst-strtod-underflow.c: Likewise.
21299 * stdlib/tst-tininess.c: Likewise.
21300 * stdlib/strtod_l.c: Include <tininess.h>.
21301 (round_and_return): Do not set errno for exact underflow cases.
21302 Force an underflow exception when setting errno for underflow.
21303 Determine underflow based on rounding to normal precision if
21304 TININESS_AFTER_ROUNDING.
21305 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21306 ERANGE for exact underflow cases.
21307 * stdlib/Makefile (tests): Add tst-tininess and
21308 tst-strtod-underflow.
21309 ($(objpfx)tst-tininess): Use $(link-libm).
21310 ($(objpfx)tst-strtod-underflow): Likewise.
21311
e7170363
AJ
213122012-10-30 Andreas Jaeger <aj@suse.de>
21313
e5088dc6
AJ
21314 [BZ#14767]
21315 * elf/Makefile (tests): Remove conditional for have-initfini-array
21316 since this is now always required and the variable does not exist
21317 anymore.
21318 (tests-static): Likewise.
21319 (modules-names): Likewise.
21320
e7170363 21321 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21322
21323 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21324 merged with constructor/destructor.
21325 (init_array): Likewise.
21326 * elf/tst-array2dep.c (fini_array): Likewise.
21327 (init_array): Likewise.
21328
60457d8a
MF
213292012-10-29 Mike Frysinger <vapier@gentoo.org>
21330
21331 * manual/message.texi: Delete @cartouche tags.
21332
8bece752
PT
213332012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21334
94ce799f
PT
21335 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21336 EOPNOTSUPP.
21337 * sysdeps/mach/hurd/fsync.c: Likewise.
21338
8bece752
PT
21339 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21340 [_POSIX_REALTIME_SIGNALS]: Change condition to
21341 [_POSIX_REALTIME_SIGNALS > 0].
21342
86ebe6b1
AJ
213432012-10-27 Andreas Jaeger <aj@suse.de>
21344
21345 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21346 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21348 [__WORDSIZE != 64]: Likewise.
21349
54399c08
L
213502012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21351
21352 * iconvdata/tst-table.sh: Remove ${SHELL}.
21353 * iconvdata/tst-tables.sh: Likewise.
21354
e2211bed
DM
213552012-10-25 David S. Miller <davem@davemloft.net>
21356
21357 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21358 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21359 of strtoull.
21360
f303f97c
DM
21361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21362 ifunc-impl-list.c
21363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21364 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21365 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21366 file.
21367
1e9d84cd
RM
213682012-10-25 Roland McGrath <roland@hack.frob.com>
21369
21370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21371 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21372 __getdirentries.
21373
df381762
JM
213742012-10-25 Joseph Myers <joseph@codesourcery.com>
21375 Jim Blandy <jimb@codesourcery.com>
21376
21377 * scripts/cross-test-ssh.sh: New file.
21378 * manual/install.texi (Configuring and compiling): Document use of
21379 cross-test-ssh.sh.
21380 * INSTALL: Regenerated.
21381
bff64913
PT
213822012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21383
21384 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21385 EOPNOTSUPP.
21386
25fe8932
JM
213872012-10-25 Joseph Myers <joseph@codesourcery.com>
21388
21389 * Makeconfig (run-program-prefix): Fix comment.
21390
cc1290d0
JM
213912012-10-24 Joseph Myers <joseph@codesourcery.com>
21392 Jim Blandy <jimb@codesourcery.com>
21393
21394 * Makeconfig (test-wrapper): New variable,
21395 (test-wrapper-env): Likewise.
21396 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21397 (run-built-tests): Define to yes.
21398 (run-program-prefix): Use $(test-wrapper).
21399 (built-program-cmd): Likewise.
21400 * Rules (make-test-out): Use $(test-wrapper-env) and
21401 $(host-built-program-cmd).
21402 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21403 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21404 tst-pathopt.sh.
21405 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21406 $(test-wrapper-env) to tst-rtld-load-self.sh.
21407 ($(objpfx)order2.out): Use $(test-wrapper).
21408 ($(objpfx)tst-initorder.out): Likewise.
21409 ($(objpfx)tst-initorder2.out): Likewise.
21410 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21411 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21412 (test_wrapper_env): New variable. Use it to run ld.so.
21413 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21414 Use it to run ld.so.
21415 (test_wrapper_env): Likewise.
21416 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21417 $(test-wrapper) to run-iconv-test.sh.
21418 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21419 (ICONV): Use $test_wrapper.
21420 * posix/Makefile ($(objpfx)globtest.out): Pass
21421 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21422 globtest.sh, not $(run-program-prefix).
21423 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21424 (test_wrapper): Likewise.
21425 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21426 set together with run_via_rtld_prefix.
21427 (run_program_prefix): Define in terms of test_wrapper and
21428 run_via_rtld_prefix.
21429
6e6249d0
RM
214302012-10-24 Roland McGrath <roland@hack.frob.com>
21431
21432 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21433 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21434 Targets removed.
21435
21436 [BZ #14743]
21437 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21438 Declare __clock_getres, __clock_gettime, __clock_settime,
21439 __clock_nanosleep, and __clock_getcpuclockid.
21440 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21441 Remove librt_hidden_def (clock_gettime).
21442 * sysdeps/unix/clock_gettime.c: Likewise.
21443 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21445 * rt/clock_getres.c: Define __clock_getres as an alias.
21446 * sysdeps/posix/clock_getres.c: Likewise.
21447 * rt/clock_settime.c: Define __clock_settime as an alias.
21448 * sysdeps/unix/clock_settime.c: Likewise.
21449 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21450 * sysdeps/unix/clock_nanosleep.c: Likewise.
21451 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21452 * rt/clock-compat.c: New file.
21453 * rt/Makefile (librt-routines): Add clock-compat and move
21454 $(clock-routines) to ...
21455 (routines): ... here, new variable.
21456 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21457 Don't add get_clockfreq here.
21458 * rt/Versions (libc: GLIBC_2.17): New version set.
21459 Add clock_* symbols here.
21460 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21461 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21462 (GLIBC_2.17): Add clock_* symbols.
21463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21467 Likewise.
21468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21469 Likewise.
21470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21474 * NEWS: Mention the move.
21475
21476 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21477 Use __open, __read, __close rather than their public counterparts.
21478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21479 (__get_clockfreq_via_cpuinfo): Likewise.
21480 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21481 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21482
21483 * config.h.in (HAVE_IFUNC): New #undef.
21484 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21485 was successful.
21486 * configure: Regenerated.
21487
0cae3f4b
MF
214882012-10-24 Mike Frysinger <vapier@gentoo.org>
21489
21490 * configure.in: Move READELF check to start of file.
21491 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21492 libc_cv_asm_gnu_indirect_function in the process.
21493 * configure: Regenerated.
21494
8175a253
MF
214952012-10-24 Mike Frysinger <vapier@gentoo.org>
21496
21497 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21498 send the output to /dev/null.
21499 (libc_cv_cc_with_libunwind): Likewise.
21500 (libc_cv_as_noexecstack): Likewise.
21501 * configure: Regenerate.
21502
0708a7d1
JM
215032012-10-24 Joseph Myers <joseph@codesourcery.com>
21504
10b40d85
JM
21505 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21506
0708a7d1
JM
21507 * posix/globtest.sh (TMPDIR): Do not set.
21508 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21509 (testout): Likewise.
21510
9fddec1a
AJ
215112012-10-24 Andreas Jaeger <aj@suse.de>
21512
3a8db22f
AJ
21513 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21514 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21515 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21516 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21517 posix_fadvise64, posix_fallocate64.
21518
9fddec1a
AJ
21519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21520 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21521 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21522 Likewise.
21523 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21524 Likewise.
21525 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21526
21527 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21528 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21529 <bits/fcntl-linux.h>.
21530 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21531
21532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21533 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21534 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21535 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21536 [__WORDSIZE != 64]: Likewise.
21537
ebfd1bbd
JM
215382012-10-23 Joseph Myers <joseph@codesourcery.com>
21539
03ac099f
JM
21540 * Makeconfig (run-built-tests): New variable.
21541 * Rules [$(cross-compiling) = yes]: Change condition to
21542 [$(run-built-tests) = no].
21543 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21544 to [$(run-built-tests) = yes].
21545 * elf/Makefile [$(cross-compiling) = no]: Likewise
21546 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21547 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21548 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21549 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21550 * io/Makefile [$(cross-compiling) = no]: Likewise.
21551 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21552 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21553 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21554 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21555 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21556 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21557 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21558 * string/Makefile [$(cross-compiling) = no]: Likewise.
21559
ebfd1bbd
JM
21560 * posix/Makefile ($(objpfx)globtest.out): Pass
21561 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21562 $(rtld-installed-name).
21563 * posix/globtest.sh (elf_objpfx): Remove variable.
21564 (rtld_installed_name): Likewise.
21565 (library_path): Likewise.
21566 (run_program_prefix): New variable. Use for running globtest
21567 binary.
21568
166bca24
JB
215692012-10-23 Jim Blandy <jimb@codesourcery.com>
21570 Joseph Myers <joseph@codesourcery.com>
21571
21572 * Makeconfig (host-built-program-cmd): New variable.
21573 * elf/Makefile (tst-stackguard1-ARGS): Use
21574 $(host-built-program-cmd).
21575 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21576 (tst-spawn-ARGS): Likewise.
21577 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21578
88866099
JM
215792012-10-23 Joseph Myers <joseph@codesourcery.com>
21580 Jim Blandy <jimb@codesourcery.com>
21581
21582 * Makeconfig (run-via-rtld-prefix): New variable.
21583 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21584 (built-program-cmd): Likewise.
21585
b4b4c296
AJ
215862012-10-22 Andreas Jaeger <aj@suse.de>
21587
21588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21589 __O_RSYNC if it exists, otherwise to O_SYNC.
21590
6fb54a22
JB
215912012-10-22 Jim Blandy <jimb@codesourcery.com>
21592 Joseph Myers <joseph@codesourcery.com>
21593
21594 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21595 /dev/null.
21596 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21597 from /dev/null
21598 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21599 /dev/null.
21600
481b90b9
AJ
216012012-10-22 Andreas Jaeger <aj@suse.de>
21602
2a0e2669
AJ
21603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21604 Define always.
21605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21606
76e38f9a
AJ
21607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21608 bits/fcntl-linux.h.
21609
7cd37b43
AJ
21610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21611 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21612
481b90b9
AJ
21613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21614 to __O_LARGEFILE.
21615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21616 to __O_LARGEFILE.
21617
aba75984
JB
216182012-10-21 Jim Blandy <jimb@codesourcery.com>
21619 Joseph Myers <joseph@codesourcery.com>
21620
21621 * config.make.in (NM): New variable.
21622
88d4247f
AJ
216232012-10-21 Andreas Jaeger <aj@suse.de>
21624
21625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21626 definitions and declarations that are provided by
21627 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21628
f2eed205
L
216292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21630
21631 [BZ #14683]
21632 * elf/Makefile (tests-static): Add tst-leaks1-static.
21633 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21634 ($(objpfx)tst-leaks1-static): New rule.
21635 ($(objpfx)tst-leaks1-static-mem): Likewise.
21636 (tst-leaks1-static-ENV): New macro.
21637 * elf/dl-open.c (dl_open_worker): Check the main application
21638 only if SHARED is defined.
21639 * elf/tst-leaks1-static.c: New file.
21640
335e6931
AJ
216412012-10-20 Andreas Jaeger <aj@suse.de>
21642
21643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21644 generic values for Linux.
21645 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21646 and declarations that are provided by <bits/fcntl-linux.h> and
21647 include <bits/fcntl-linux.h>.
21648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21650
ac5c94d3
RM
216512012-10-20 Roland McGrath <roland@hack.frob.com>
21652
21653 * io/fcntl.h: Move include of <bits/types.h> to the top and
21654 include it unconditionally.
21655
de54b33a
L
216562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21657
228cfb01
L
21658 * wcsmbs/Makefile (tests-ifunc): New variable.
21659 (tests): Add $(tests-ifunc).
21660 * wcsmbs/test-wcschr-ifunc.c: New file.
21661 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21662 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21663 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21664 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21665 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21666
69f07e5f
L
21667 * string/Makefile (tests-ifunc): New variable.
21668 (tests): Add $(tests-ifunc).
21669 * string/test-memccpy.c (TEST_NAME): New macro.
21670 * string/test-memchr.c (TEST_NAME): Likewise.
21671 * string/test-memcmp.c (TEST_NAME): Likewise.
21672 * string/test-memcpy.c (TEST_NAME): Likewise.
21673 * string/test-memmem.c (TEST_NAME): Likewise.
21674 * string/test-memmove.c (TEST_NAME): Likewise.
21675 * string/test-memset.c (TEST_NAME): Likewise.
21676 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21677 * string/test-stpcpy.c (TEST_NAME): Likewise.
21678 * string/test-stpncpy.c (TEST_NAME): Likewise.
21679 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21680 * string/test-strcasestr.c (TEST_NAME): Likewise.
21681 * string/test-strcat.c (TEST_NAME): Likewise.
21682 * string/test-strchr.c (TEST_NAME): Likewise.
21683 * string/test-strcmp.c(TEST_NAME): Likewise.
21684 * string/test-strcpy.c (TEST_NAME): Likewise.
21685 * string/test-strcspn.c (TEST_NAME): Likewise.
21686 * string/test-strlen.c (TEST_NAME): Likewise.
21687 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21688 * string/test-strncmp.c (TEST_NAME): Likewise.
21689 * string/test-strncpy.c (TEST_NAME): Likewise.
21690 * string/test-strnlen.c (TEST_NAME): Likewise.
21691 * string/test-strpbrk.c (TEST_NAME): Likewise.
21692 * string/test-strrchr.c (TEST_NAME): Likewise.
21693 * string/test-strspn.c (TEST_NAME): Likewise.
21694 * string/test-strstr.c (TEST_NAME): Likewise.
21695 * string/test-bcopy-ifunc.c: New file.
21696 * string/test-bzero-ifunc.c: Likewise.
21697 * string/test-memccpy-ifunc.c: Likewise.
21698 * string/test-memchr-ifunc.c: Likewise.
21699 * string/test-memcmp-ifunc.c: Likewise.
21700 * string/test-memcpy-ifunc.c: Likewise.
21701 * string/test-memmem-ifunc.c: Likewise.
21702 * string/test-memmove-ifunc.c: Likewise.
21703 * string/test-mempcpy-ifunc.c: Likewise.
21704 * string/test-memset-ifunc.c: Likewise.
21705 * string/test-rawmemchr-ifunc.c: Likewise.
21706 * string/test-stpcpy-ifunc.c: Likewise.
21707 * string/test-stpncpy-ifunc.c: Likewise.
21708 * string/test-strcasecmp-ifunc.c: Likewise.
21709 * string/test-strcasestr-ifunc.c: Likewise.
21710 * string/test-strcat-ifunc.c: Likewise.
21711 * string/test-strchr-ifunc.c: Likewise.
21712 * string/test-strchrnul-ifunc.c: Likewise.
21713 * string/test-strcmp-ifunc.c: Likewise.
21714 * string/test-strcpy-ifunc.c: Likewise.
21715 * string/test-strcspn-ifunc.c: Likewise.
21716 * string/test-strlen-ifunc.c: Likewise.
21717 * string/test-strncasecmp-ifunc.c: Likewise.
21718 * string/test-strncat-ifunc.c: Likewise.
21719 * string/test-strncmp-ifunc.c: Likewise.
21720 * string/test-strncpy-ifunc.c: Likewise.
21721 * string/test-strnlen-ifunc.c: Likewise.
21722 * string/test-strpbrk-ifunc.c: Likewise.
21723 * string/test-strrchr-ifunc.c: Likewise.
21724 * string/test-strspn-ifunc.c: Likewise.
21725 * string/test-strstr-ifunc.c: Likewise.
21726
de54b33a
L
21727 * debug/Makefile (tests-ifunc): New variable.
21728 (tests): Add $(tests-ifunc).
21729 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21730 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21731 * debug/test-stpcpy_chk-ifunc.c: New file.
21732 * debug/test-strcpy_chk-ifunc.c: Likewise.
21733
88481c16
SP
217342012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21735
21736 [BZ #13601]
21737 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21738 header is not read in.
21739
135948bd
JM
217402012-10-19 Joseph Myers <joseph@codesourcery.com>
21741
89f1c388
JM
21742 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21743 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21744 directly. Pass built executable to script as
21745 $(built-program-cmd).
21746 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21747 $testprogram without using LD_LIBRARY_PATH and $ldso.
21748
e40a0d21
JM
21749 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21750 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21751 $(rtld-installed-name).
21752 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21753 (rtld_installed_name): Likewise.
21754 (library_path): Likewise.
21755 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21756 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21757 $(run-program-prefix) to tst-tables.sh.
21758 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21759 it to run tst-table-from and tst-table-to.
21760 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21761 Pass it to tst-table.sh.
21762 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21763 $(run-program-prefix) to tst-gettext.sh.
21764 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21765 tst-translit.sh.
21766 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21767 tst-gettext2.sh.
21768 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21769 to run tst-gettext.
21770 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21771 to run tst-gettext2.
21772 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21773 to run tst-translit.
21774 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21775 $(run-program-prefix) to tst-mtrace.sh.
21776 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21777 to run tst-mtrace.
21778 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21779 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21780 $(rtld-installed-name).
21781 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21782 (rtld_installed_name): Likewise.
21783 (run_program_prefix): New variable. Use it to run wordexp-test.
21784
728e272a
JM
21785 * Makeconfig (ARCH): Remove all definitions.
21786 (machine): Likewise.
21787 [ARCH]: Remove conditional code.
21788 [!objdir]: Give error.
21789 [!objdir] (objpfx): Remove.
21790 [!objdir] (common-objpfx): Likewise.
21791 [!objdir] (common-objdir): Likewise.
21792 * configure.in (config_makefile): Remove. Hardcode Makefile in
21793 AC_CONFIG_FILES call.
21794 * configure: Regenerated.
21795
d528cdcf
JM
21796 [BZ #13888]
21797 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21798 or TMPDIR.
21799 (testout): Likewise.
21800
135948bd
JM
21801 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21802 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21803 $(rtld-installed-name).
21804 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21805 (rtld_installed_name): Likwise.
21806 (runit): Remove function.
21807 (run_getconf): New variable, Use it for running getconf binary.
21808
38c78296
L
218092012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 [BZ #14716]
21812 * string/test-memmem.c (check_result): New function.
21813 (do_one_test): Use it.
21814 (check1): New function.
21815 (test_main): Use it.
21816
d077f65f
MT
218172012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21818
21819 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21820
ced52c71
JM
218212012-10-18 Joseph Myers <joseph@codesourcery.com>
21822
21823 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21824 (_G_LSEEK64): Likewise.
21825 (_G_MMAP64): Likewise.
21826 (_G_FSTAT64): Likewise.
21827 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21828 (_G_LSEEK64): Likewise.
21829 (_G_MMAP64): Likewise.
21830 (_G_FSTAT64): Likewise.
21831 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21832 unconditional. Call __mmap64 directly.
21833 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21834 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21835 __lseek64 directly.
21836 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21837 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21838 __mmap64 directly.
21839 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21840 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21841 __lseek64 directly.
21842 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21843 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21844 __lseek64 directly.
21845 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21846 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21847 __lseek64 directly.
21848 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21849 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21850 __fxstat64 directly.
21851 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21852 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21853 unconditional.
21854 (freopen64) [!_G_OPEN64]: Remove conditional code.
21855 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21856 unconditional.
21857 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21858 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21859 unconditional.
21860 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21861 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21862 unconditional.
21863 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21864 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21865 unconditional.
21866 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21867 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21868 unconditional.
21869 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21870 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21871 unconditional.
21872 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21873 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21874 unconditional.
21875 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21876
b741de23
SP
218772012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21878
21879 [BZ #12140]
21880 * manual/memory.texi (Malloc Tunable Parameters): Add note
21881 about free list pointers overwriting some perturb bytes.
21882 Wording suggested by Roland McGrath.
21883
f9b9d9c9
JM
218842012-10-17 Joseph Myers <joseph@codesourcery.com>
21885
21886 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21887 (lgamma_test): Likewise.
21888 (tgamma_test): Likewise.
21889
172a631a
FW
218902012-10-16 Florian Weimer <fweimer@redhat.com>
21891
21892 [BZ #14700]
21893 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21894 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21895
e9f37252
MK
218962012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21897
21898 * NEWS: Mention BZ #14716.
21899 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21900 when removing AVAILABLE1_USES_J macro.
21901
d394eb74
L
219022012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21905 (__bswap_64): __uint64_t for unsigned 64-bit int.
21906
ca38dc17
AS
219072012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21908
21909 * include/string.h (memmem): Declare libc hidden alias.
21910 * string/memmem.c (memmem): Define libc hidden alias.
21911 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21912 __read, __close instead of open, read, close.
21913
9a387d1f
L
219142012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21915
ac49ecaf
L
21916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21917 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21918 global and hidden.
21919 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21920 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21921 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21922 Likewise.
21923 (__rawmemchr_sse2): Likewise.
21924 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21925 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21926 (__strchr_sse2): Likewise.
21927 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21928 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21929 (__strcasecmp_sse2): Likewise.
21930 (__strncasecmp_sse2): Likewise.
21931 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21932 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21933 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21934 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21935 (__strrchr_sse2): Likewise.
21936 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21937 ifunc-impl-list.c.
21938 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21939 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21940 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21941 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21942 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21943 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21944 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21945 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21946 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21947 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21948 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21949 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21950 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21951 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21952 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21953 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21954 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21955 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21956 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21957 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21958 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21959 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21960 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21961 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21962 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21963 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21964 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21965 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21966 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21967 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21968
b090e8ea
L
21969 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21970 global and hidden.
21971 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21972 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21973 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21974 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21975 Likewise.
21976 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21977 Likewise.
21978 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21979 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21980 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21981 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21982 ifunc-impl-list.c.
21983 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21984 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21985 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21986 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21987 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21988 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21989 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21990 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21991 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21992 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21993 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21994 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21995 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21996 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21997 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21998 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21999 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22000 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22001 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22002 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22003 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22004 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22005 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22006 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22008 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22009 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22010 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22011 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22012 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22013 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22014 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22015 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22016 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22017 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22018 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22019 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22020 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22021 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22022 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22023 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22024
11dd4af6
L
22025 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22026 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22027 * include/ifunc-impl-list.h: New file.
22028 * misc/ifunc-impl-list.c: Likewise.
22029 * misc/Makefile (routines): Add ifunc-impl-list.
22030 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22031 * string/test-string.h: Include <ifunc-impl-list.h>.
22032 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22033 impl_array): New variables.
22034 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22035 are defined.
22036 (test_init): Call __libc_ifunc_impl_list to initialize
22037 func_list if TEST_IFUNC and TEST_NAME are defined.
22038
9a387d1f
L
22039 * string/Makefile (strop-tests): Add bcopy and bzero.
22040 * string/test-bcopy.c: New file.
22041 * string/test-bzero.c: Likewise.
22042 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22043 defined.
22044 * string/test-memset.c: Support bzero test if TEST_BZERO is
22045 defined.
22046 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22047 __libc_memmove.
22048 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22049 __libc_memset.
22050 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22051 of memset.
22052
472371b9
JM
220532012-10-10 Joseph Myers <joseph@codesourcery.com>
22054
1e4a9536
JM
22055 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22056 * configure: Regenerated.
22057
d173d12e
JM
22058 * Makeconfig (+link-static-before-libc): Don't include
22059 $(link-static-libc).
22060
472371b9
JM
22061 * libio/libio.h (_IO_pos_t): Remove.
22062
89a3ad0b
AO
220632012-10-10 Alexandre Oliva <aoliva@redhat.com>
22064
22065 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22066 McGrath.
22067
e7451425
AO
220682012-10-10 Alexandre Oliva <aoliva@redhat.com>
22069
22070 * crypt/crypt-entry.c: Include fips-private.h.
22071 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22072 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22073 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22074 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22075
4ba74a35
AO
220762012-10-10 Alexandre Oliva <aoliva@redhat.com>
22077
22078 * crypt/crypt-private.h: Include stdbool.h.
22079 (_ufc_setup_salt_r): Return bool.
22080 * crypt/crypt-entry.c: Include errno.h.
22081 (__crypt_r): Return NULL with EINVAL for bad salt.
22082 * crypt/crypt_util.c (bad_for_salt): New.
22083 (_ufc_setup_salt_r): Check that salt is long enough and within
22084 the specified alphabet.
22085 * crypt/badsalttest.c: New file.
22086 * crypt/Makefile (tests): Add it.
22087 ($(objpfx)badsalttest): New.
22088
f96f1242
MK
220892012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22090
22091 * NEWS: Add entry for BZ #14602.
22092
0e8e0c1c
JM
220932012-10-09 Joseph Myers <joseph@codesourcery.com>
22094
22095 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22096 type-generic.
22097 * math/libm-test.inc: Update comment listing what functions and
22098 macros are tested.
22099 (isgreater_test): New function.
22100 (isgreaterequal_test): Likewise.
22101 (isless_test): Likewise.
22102 (islessequal_test): Likewise.
22103 (islessgreater_test): Likewise.
22104 (isunordered_test): Likewise.
22105 (main): Call the new functions.
22106
273edc5e
RM
221072012-10-09 Roland McGrath <roland@hack.frob.com>
22108
b8493de0
RM
22109 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22110 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22111 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22112 * sysdeps/i386/configure: Regenerated.
22113 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22114 * sysdeps/mach/configure: Regenerated.
22115 * sysdeps/mach/hurd/configure: Regenerated.
22116 * sysdeps/powerpc/configure: Regenerated.
22117 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22118 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22119 * sysdeps/s390/s390-32/configure: Regenerated.
22120 * sysdeps/s390/s390-64/configure: Regenerated.
22121 * sysdeps/sh/configure: Regenerated.
22122 * sysdeps/sparc/configure: Regenerated.
22123 * sysdeps/unix/sysv/linux/configure: Regenerated.
22124 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22125 * sysdeps/x86_64/configure: Regenerated.
22126
273edc5e
RM
22127 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22128 defined. Don't check if MAP is NULL.
22129
c8450f70
JM
221302012-10-09 Joseph Myers <joseph@codesourcery.com>
22131
22132 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22133 (_G_stat64): Likewise.
22134 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22135 (_G_stat64): Likewise.
22136 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22137 instead of struct _G_stat64.
22138 * libio/fileops.c (mmap_remap_check): Likewise.
22139 (decide_maybe_mmap): Likewise.
22140 (_IO_new_file_seekoff): Likewise.
22141 (_IO_file_stat): Likewise.
22142 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22143 _G_off64_t.
22144 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22145 instead of struct _G_stat64.
22146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22147
57e605ba
MK
221482012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22149
22150 [BZ #14602]
22151 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22152 Replace with ...
22153 (CHECK_EOL): New macro.
22154 (two_way_short_needle): Check beginning of haystack for EOL. Use
22155 CHECK_EOL.
22156 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22157 Replace with CHECK_EOL.
22158 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22159 Replace with CHECK_EOL.
22160
ef1bb361
JM
221612012-10-08 Joseph Myers <joseph@codesourcery.com>
22162
22163 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22164 type-generic.
22165 * math/libm-test.inc: Update comment listing what functions and
22166 macros are tested.
22167 (finite_test): New function.
22168 (isinf_test): Likewise.
22169 (isnan_test): Likewise.
22170 (fpclassify_test): Test subnormal input.
22171 (isfinite_test): Likewise.
22172 (isnormal_test): Likewise.
22173 (main): Call the new functions.
22174
55f11534
JN
221752012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22176
22177 [BZ #14660]
22178 * Makerules (%.dynsym): Force C locale when running
22179 $(OBJDUMP) --dynamic-syms.
22180
1ab29350
AS
221812012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22182
22183 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22184 <stdint.h>.
22185
f1ecb7ef
DM
221862012-10-06 David S. Miller <davem@davemloft.net>
22187
22188 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22189 upper 32-bits of the length value in %o2 since we use branch-on-register
22190 tests which consider the entire 64-bit register.
22191
5d41d91a
L
221922012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22193
22194 * string/test-strstr.c (check2): Add a test for page boundary.
22195
3baddb72
DM
221962012-10-05 David S. Miller <davem@davemloft.net>
22197
22198 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22200 file.
22201 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22202 sysdep_routines.
22203 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22204 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22205 and bzero when HWCAP_SPARC_CRYPTO is present.
22206
9cee5585
L
222072012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22208
d7e0dab9
L
22209 [BZ #14602]
22210 * string/test-strstr.c (check2): New function.
22211 (test_main): Call check2.
22212
03759f47
L
22213 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22214 and bug-strchr1.
22215 * string/bug-strcasestr1.c (do_test): Moved to ...
22216 * string/test-strcasestr.c (check1): Here. New function.
22217 (do_one_test): Break out result checking code into ...
22218 (check_result): This. New function.
22219 (do_one_test): Call check_result.
22220 (test_main): Call check1.
22221 * string/bug-strchr1.c (do_test): Moved to ...
22222 * string/test-strchr.c (check1): Here. New function.
22223 (do_one_test): Break out result checking code into ...
22224 (check_result): This. New function.
22225 (do_one_test): Call check_result.
22226 (test_main): Call check1.
22227 * string/bug-strstr1.c (main): Moved to ...
046f153e 22228 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22229 (do_one_test): Break out result checking code into ...
22230 (check_result): This. New function.
22231 (do_one_test): Call check_result.
22232 (test_main): Call check1.
22233 * string/bug-strcasestr1.c: Removed.
22234 * string/bug-strchr1.c: Likewise.
22235 * string/bug-strstr1.c: Likewise.
22236
53cea63e
L
22237 * elf/Makefile (dl-routines): Add hwcaps.
22238 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22239 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22240 (_dl_important_hwcaps): Moved to ...
22241 * elf/dl-hwcaps.c: Here. New file.
22242 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22243
9cee5585 22244 [BZ #14557]
bb859b06
L
22245 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22246 if IS_IN_rtld isn't defined.
22247
9cee5585
L
22248 * elf/dl-support.c (_dl_sysinfo_map): New.
22249 Include "get-dynamic-info.h" and "setup-vdso.h".
22250 (_dl_non_dynamic_init): Call setup_vdso.
22251 * elf/dynamic-link.h: Don't include <assert.h>.
22252 (elf_get_dynamic_info): Moved to ...
22253 * elf/get-dynamic-info.h: Here. New file.
22254 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22255 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22256 * elf/setup-vdso.h: Here. New file.
22257 * elf/rtld.c: Include "setup-vdso.h".
22258 (dl_main): Call setup_vdso.
22259
23c31b76
JM
222602012-10-05 Joseph Myers <joseph@codesourcery.com>
22261
28234b07
JM
22262 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22263 creal in comment listing functions tested. List finite, isinf,
22264 isnan, isless, islessequal, isgreater, isgreaterequal,
22265 islessgreater, isunordered, lgamma_r and pow10 as functions and
22266 macros not tested. Mention which functions not tested are aliases
22267 for other functions. Fix typo. Note that signs of NaNs are not
22268 tested.
22269
23c31b76
JM
22270 * scripts/config.guess: Update from config.git.
22271 * scripts/config.sub: Likewise.
22272
9043e228
RM
222732012-10-04 Roland McGrath <roland@hack.frob.com>
22274
22275 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22276 * misc/madvise.c (madvise): Renamed to __madvise.
22277 Make madvise a weak alias.
22278 * include/sys/mman.h: Declare __madvise.
22279 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22280 * sysdeps/unix/syscalls.list
22281 (madvise): Make __madvise the strong name, and madvise a weak alias.
22282 * sysdeps/unix/sysv/linux/syscalls.list
22283 (madvise, mmap): Remove redundant entries.
22284 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22285 * malloc/malloc.c (mtrim): Likewise.
22286 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22287
f57f8055
RM
222882012-10-03 Roland McGrath <roland@hack.frob.com>
22289
22290 * sysdeps/mach/hurd/dl-cache.c: File removed.
22291 * config.h.in (USE_LDCONFIG): New #undef.
22292 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22293 * configure: Regenerated.
22294 * elf/Makefile (dl-routines): Add dl-cache only under
22295 [$(use-ldconfig) = yes].
22296 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22297 cache on [USE_LDCONFIG].
22298 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22299 [USE_LDCONFIG].
22300 * elf/rtld.c (dl_main): Likewise.
22301
5bb0c10a
PT
223022012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22303
22304 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22305 _SC_LEVEL4_CACHE_LINESIZE.
22306
010188c6
RM
223072012-10-03 Roland McGrath <roland@hack.frob.com>
22308
22309 * sysdeps/unix/bsd/confstr.h: File removed.
22310
b6c5ec07
AO
223112012-10-02 Alexandre Oliva <aoliva@redhat.com>
22312
22313 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22314 sys/sdt-config.h.
22315
408223d4
RM
223162012-10-02 Roland McGrath <roland@hack.frob.com>
22317
22318 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22319 Make 'mapoff' field ElfW(Off) rather than off_t.
22320
bb9510dc
DL
223212012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22322
fc997c6e
DL
22323 * nscd/Makefile: Remove nscd-cflags and all its users.
22324 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22325 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22326
bb9510dc
DL
22327 [BZ #10631]
22328 * malloc.c (malloc_printerr): Clarify error message.
22329
05699367
L
223302012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22331
22332 [BZ #14648]
22333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22334 Set bit_FMA_Usable if FMA is supported.
22335 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22336 macro.
22337 (bit_FMA4_Usable): Updated.
22338 (index_FMA_Usable): New macro.
22339 (CPUID_FMA): Likewise
22340 (HAS_FMA): Defined with bit_FMA_Usable.
22341
51367701
RM
223422012-10-01 Roland McGrath <roland@hack.frob.com>
22343
22344 * bits/types.h (__swblk_t): Type removed.
22345 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22346 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22348 (__SWBLK_T_TYPE): Likewise.
22349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22350 (__SWBLK_T_TYPE): Likewise.
22351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22352 (__SWBLK_T_TYPE): Likewise.
22353 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22354 (__SWBLK_T_TYPE): Likewise.
22355
4d57bf63 223562012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22357 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22358
22359 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22360 (xdr_mapname): Use YPMAXMAP as maxsize.
22361 (xdr_peername): Use YPMAXPEER as maxsize.
22362 (xdr_keydat): Use YPAXRECORD as maxsize.
22363 (xdr_valdat): Use YPMAXRECORD as maxsize.
22364
93c65d43
RM
223652012-10-01 Roland McGrath <roland@hack.frob.com>
22366
497a03d6
RM
22367 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22368
93c65d43
RM
22369 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22370 * csu/init-first.c: ... here.
22371 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22372 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22373 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22374 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22375 * sysdeps/i386/init-first.c: File removed.
22376 * sysdeps/sh/init-first.c: File removed.
22377
bec749fd
JM
223782012-10-01 Joseph Myers <joseph@codesourcery.com>
22379
22380 [BZ #14645]
22381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22382 if x * y might underflow to zero and z is zero.
22383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22385 * math/libm-test.inc (min_subnorm_value): New variable.
22386 (fma_test): Add more tests.
22387 (fma_test_towardzero): Likewise.
22388 (fma_test_downward): Likewise
22389 (fma_test_upward): Likewise.
22390 (initialize): Set min_subnorm_value.
22391
8ec5b013
JM
223922012-09-29 Joseph Myers <joseph@codesourcery.com>
22393
22394 [BZ #14638]
22395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22396 0 + 0.
22397 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22398 mode for addition resulting in exact zero.
22399 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22401 exact 0 + 0.
22402 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22404 * math/libm-test.inc (fma_test): Add more tests.
22405 (fma_test_towardzero): New function.
22406 (fma_test_downward): Likewise.
22407 (fma_test_upward): Likewise.
22408 (main): Call the new functions.
22409
b1fa802e
DM
224102012-09-28 David S. Miller <davem@davemloft.net>
22411
22412 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22413
d3b9fd9e
RM
224142012-09-28 Roland McGrath <roland@hack.frob.com>
22415
ea4d37b3
RM
22416 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22417 instead of SIGALRM.
22418
ac51c949
RM
22419 * sysdeps/gnu/_G_config.h: Moved to ...
22420 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22421 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22422 * sysdeps/generic/_G_config.h: ... here.
22423
28c195f7
RM
22424 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22425
848917f9
RM
22426 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22427
6bacf05b
RM
22428 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22429 Conditionalize target on [libnss_test1.so-version].
22430
91363dbb
RM
22431 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22432
cc87f7d8
RM
22433 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22434 (elfobjdir): Move out of conditionals.
22435
b1c608fe
RM
22436 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22437 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22438 (__nss_lookup_function): Conditionalize label remove_from_tree on
22439 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22440
1d9a6d96
DM
224412012-09-28 David S. Miller <davem@davemloft.net>
22442
22443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22444 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22445 file.
22446 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22447 sysdep_routines.
22448 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22450 when HWCAP_SPARC_CRYPTO is present.
22451
72581615
PT
224522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22453
22454 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22455
715a900c
JL
224562012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22457
22458 [BZ #6530]
22459 * stdio-common/vfprintf.c (process_string_arg): Revert
22460 2000-07-22 change.
22461
224622011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22463
22464 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22465 for testcase.
22466 * stdio-common/tst-sprintf.c: Include <locale.h>
22467 (main): Test sprintf's handling of incomplete multibyte
22468 characters.
22469
9bac1d86
L
224702012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22471
22472 * elf/dl-runtime.c (VERSYMIDX): Removed.
22473 * elf/dl-version.c (VERSYMIDX): Likewise.
22474 * elf/do-rel.h (VERSYMIDX): Likewise.
22475 (VALIDX): Likewise.
22476 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22477 * elf/rtld.c (VALIDX): Likewise.
22478 (ADDRIDX): Likewise.
9bac1d86
L
22479 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22480 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22481 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22482 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22483 (VALIDX): Likewise.
22484 (ADDRIDX): Likewise.
9bac1d86 22485
b31606c0
PT
224862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22487
22488 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22489
11541177
JL
224902012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22491
22492 [BZ #11438]
22493 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22494 to global scope.
22495 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22496 addresses are in the same scope as 192.0.2/24.
22497 * posix/gai.conf: Document new scope table defaults.
22498
adb26fae
SP
224992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22500
22501 [BZ #5298]
22502 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22503 for ftell. Compute offsets from write pointers instead.
22504 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22505
4573c6b0
SP
225062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22507
22508 [BZ #14543]
22509 * libio/Makefile (tests): New test case tst-fseek.
22510 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22511 combination works in wide mode.
22512 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22513 state when the external buffer state changes.
22514
aa9bbfe6
DM
225152012-09-27 David S. Miller <davem@davemloft.net>
22516
22517 [BZ #14376]
22518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22519 pass reloc->r_addend in as the 'high' argument to
22520 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22521
784421e7
DM
22522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22523
c39bc8b8
PT
225242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22525
22526 * rt/tst-aio2.c: Include <pthread.h>.
22527 * rt/tst-aio3.c: Likewise.
22528
1ccc2399
SE
225292012-09-27 Steve Ellcey <sellcey@mips.com>
22530
22531 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22532
31ed4153
L
225332012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22534
25f5f885
L
22535 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22536 contents on [SHARED].
31ed4153 22537
b7bfe116
MP
225382012-09-26 Marek Polacek <polacek@redhat.com>
22539
22540 [BZ #14530]
22541 [BZ #13741]
22542 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22543 for C++ and GCC <4.3 as well as for non GCC compilers.
22544
43c4edba
MT
225452012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22546
22547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22548
6a1bf82f
RM
225492012-09-25 Roland McGrath <roland@hack.frob.com>
22550
22551 * Makefile.in (all, install): Declare with .PHONY.
22552 Reported by Michael Hope <michael.hope@linaro.org>.
22553
8ad11b9a
TMQMF
225542012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22555
22556 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22557 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22558 system header.
22559 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22560 Likewise.
22561 (sydep_routines): Add the new and the internal functions.
22562 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22563 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22565 (GLIBC_2.17): Add the new function.
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22567 (GLIBC_2.17): Likewise.
22568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22569 (GLIBC_2.17): Likewise.
22570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22571 (GLIBC_2.17): Likewise.
22572 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22573
7e2fca8d
AM
225742012-09-25 Alan Modra <amodra@gmail.com>
22575
22576 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22577 Add release barrier before setting once_control to say
22578 initialisation is done. Add hints on lwarx. Use macro in
22579 place of isync.
22580 (clear_once_control): Add release barrier.
22581
b87c4b24
JM
225822012-09-25 Joseph Myers <joseph@codesourcery.com>
22583
d032e0d2
JM
22584 [BZ #13629]
22585 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22586 specially.
22587 * math/s_clog10.c (__clog10): Likewise.
22588 * math/s_clog10f.c (__clog10f): Likewise.
22589 * math/s_clog10l.c (__clog10l): Likewise.
22590 * math/s_clogf.c (__clogf): Likewise.
22591 * math/s_clogl.c (__clogl): Likewise.
22592 * math/Makefile (libm-calls): Add x2y2m1.
22593 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22594 (__x2y2m1): Likewise.
22595 (__x2y2m1l): Likewise.
22596 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22597 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22600 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22601 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22602 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22603 * sysdeps/i386/fpu/libm-test-ulps: Update.
22604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22605
b87c4b24
JM
22606 [BZ #14621]
22607 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22608 int as type of variable DEPTH.
22609 (glob): Use size_t instead of int as type of variables NEWCOUNT
22610 and OLD_PATHC.
22611
6d3bf199
LD
226122012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22613
22bf5c17
LD
22614 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22615 Add s_sincosf-sse2.
22616 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22617 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22618 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22619 macros for using routine as __sincosf_ia32.
22620 Use macro for function declaration and weak_alias.
22621 * sysdeps/i386/fpu/libm-test-ulps: Update.
22622
22623 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22625
22626 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22627 subnormal argument.
22628 * math/s_cexpf.c (__cexpf): Likewise.
22629 * math/s_csinf.c (__csinf): Likewise.
22630 * math/s_csinhf.c (__csinhf): Likewise.
22631 * math/s_ctanf.c (__ctanf): Likewise.
22632 * math/s_ctanhf.c (__ctanhf): Likewise.
22633 * math/s_ccosh.c (__ccoshf): Likewise.
22634 * math/s_cexp.c (__cexpl): Likewise.
22635 * math/s_csin.c (__csin): Likewise.
22636 * math/s_csinh.c (__csinh): Likewise.
22637 * math/s_ctan.c (__ctan): Likewise.
22638 * math/s_ctanh.c (ctanh): Likewise.
22639 * math/s_ccoshl.c (__ccoshl): Likewise.
22640 * math/s_cexpl.c (__cexpl): Likewise.
22641 * math/s_csinl.c (__csinl): Likewise.
22642 * math/s_csinhl.c (__csinhl): Likewise.
22643 * math/s_ctanl.c (__ctanl): Likewise.
22644 * math/s_ctanhl.c (__ctanhl): Likewise.
22645
203e5603
JM
226462012-09-25 Joseph Myers <joseph@codesourcery.com>
22647
22648 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22649 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22650 (_IO_off_t): Define to __off_t, not _G_off_t.
22651 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22652 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22653 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22654 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22655 type of __dummy and __dummy2 fields.
22656 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22657 (_G_ssize_t): Likewise.
22658 (_G_off_t): Likewise.
22659 (_G_pid_t): Likewise.
22660 (_G_uid_t): Likewise.
22661 (_G_wchar_t): Likewise.
22662 (_G_wint_t): Likewise.
22663 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22664 (_G_ssize_t): Likewise.
22665 (_G_off_t): Likewise.
22666 (_G_pid_t): Likewise.
22667 (_G_uid_t): Likewise.
22668 (_G_wchar_t): Likewise.
22669 (_G_wint_t): Likewise.
22670 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22671 (_G_ssize_t): Likewise.
22672 (_G_off_t): Likewise.
22673 (_G_pid_t): Likewise.
22674 (_G_uid_t): Likewise.
22675 (_G_wchar_t): Likewise.
22676 (_G_wint_t): Likewise.
22677
9fab36eb
SP
226782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22679
22680 * malloc/arena.c: Include malloc-sysdep.h.
22681 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22682 is sufficient to shrink the heap or an unmap is needed.
22683 * sysdeps/generic/malloc-sysdep.h: New file. Define
22684 new function check_may_shrink_heap.
22685 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22686 new function check_may_shrink_heap.
22687
2b4f00d1
SP
226882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
22690 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22691 comments.
22692
9a9028b1
DL
226932012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22694
57c69bef
DL
22695 * catgets/test-gencat.sh: Add "set -e".
22696 * elf/tst-pathopt.sh: Likewise.
22697 * grp/tst_fgetgrent.sh: Likewise.
22698 * iconvdata/run-iconv-test.sh: Likewise.
22699 * intl/tst-gettext.sh: Likewise.
22700 * intl/tst-gettext2.sh: Likewise.
22701 * intl/tst-gettext4.sh: Likewise.
22702 * intl/tst-gettext6.sh: Likewise.
22703 * intl/tst-translit.sh: Likewise.
22704 * io/ftwtest-sh: Likewise.
22705 * libio/test-freopen.sh: Likewise.
22706 * malloc/tst-mtrace.sh: Likewise.
22707 * posix/globtest.sh: Likewise.
22708 * posix/tst-getconf.sh: Likewise.
22709 * posix/wordexp-tst.sh: Likewise.
22710 * stdio-common/tst-printf.sh: Likewise.
22711 * stdio-common/tst-unbputc.sh: Likewise.
22712 * stdlib/tst-fmtmsg.sh: Likewise.
22713 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22714 * catgets/Makefile: Do not specify -e option when running
22715 testsuite shell scripts.
22716 * elf/Makefile: Likewise.
22717 * grp/Makefile: Likewise.
22718 * iconvdata/Makefile: Likewise.
22719 * intl/Makefile: Likewise.
22720 * io/Makefile: Likewise.
22721 * libio/Makefile: Likewise.
22722 * malloc/Makefile: Likewise.
22723 * posix/Makefile: Likewise.
22724 * stdio-common/Makefile: Likewise.
22725 * stdlib/Makefile: Likewise.
22726 * sysdeps/x86_64/Makefile: Likewise.
22727
9a9028b1
DL
22728 * io/ftwtest-sh: Add copyright header.
22729 * posix/globtest.sh: Likewise.
22730 * posix/tst-getconf.sh: Likewise.
22731 * posix/wordexp-tst.sh: Likewise.
22732 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22733
ced6f16e
L
227342012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22735
94b32c39
L
22736 [BZ #13679]
22737 * Makeconfig (+link): Defined as $(+link-static) if
22738 $(build-shared) isn't yes.
22739 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22740 isn't yes.
22741 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22742
189e935b
L
22743 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22744
ced6f16e
L
22745 [BZ #14562]
22746 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22747 new chunk size with MALLOC_ALIGN_MASK.
22748
a9f8e53a
JM
227492012-09-24 Joseph Myers <joseph@codesourcery.com>
22750
22751 [BZ #5044]
22752 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22753 <rounding-mode.h>.
22754 (__printf_fphex): Determine rounding using get_rounding_mode and
22755 round_away.
22756 * stdio-common/tst-printf-round.c (struct hex_test): New
22757 structure.
22758 (hex_tests): New variable.
22759 (test_hex_in_one_mode): New function.
22760 (do_test): Also run tests for hex float output.
22761
43153109
JM
227622012-09-21 Joseph Myers <joseph@codesourcery.com>
22763
22764 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22765 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22766 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22767 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22768 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22769 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22770 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22771 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22772
8a26625d
JM
227732012-09-20 Joseph Myers <joseph@codesourcery.com>
22774
22775 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22776 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22777 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22778 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22779
f3fd569c
DL
227802012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22781
22782 [BZ #14579]
22783 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22784 mode only.
22785 * elf/tst-rtld-load-self.sh: New test.
22786 * elf/Makefile: Run it.
22787
63bbedd4
JM
227882012-09-18 Joseph Myers <joseph@codesourcery.com>
22789
22790 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22791 (tst-writev-ENV): Remove.
22792 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22793
626f8b6a
CM
227942012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22795
22796 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22797
b7aaa4d6
JM
227982012-09-17 Joseph Myers <joseph@codesourcery.com>
22799
22800 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22801 unconditional.
22802 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22803 Likewise.
22804 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22805 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22806 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22807 Likewise.
22808
65513990
L
228092012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22810
22811 [BZ #14587]
22812 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22813 * config.make.in (have-cpp-asm-debuginfo): Removed.
22814 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22815 * configure: Regenerated.
22816
784761be
JM
228172012-09-14 Joseph Myers <joseph@codesourcery.com>
22818
22819 [BZ #5044]
22820 * stdio-common/printf_fp.c: Include <stdbool.h> and
22821 <rounding-mode.h>.
22822 (___printf_fp): Determine rounding using get_rounding_mode and
22823 round_away.
22824 * stdio-common/tst-printf-round.c: New file.
22825 * stdio-common/Makefile (tests): Add tst-printf-round.
22826 (link-libm): New variable.
22827 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22828
9503345f
L
228292012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22830
22831 [BZ #14576]
22832 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22833 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22834 Likewise.
22835 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22836 Likewise.
22837
ad35fc00
JM
228382012-09-13 Joseph Myers <joseph@codesourcery.com>
22839
22840 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22841 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22842 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22844
6c9b0f68
JM
228452012-09-12 Joseph Myers <joseph@codesourcery.com>
22846
22847 [BZ #14518]
22848 * include/rounding-mode.h: New file.
22849 * sysdeps/generic/get-rounding-mode.h: Likewise.
22850 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22851 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22852 (MAX_VALUE): New macro.
22853 (MIN_VALUE): Likewise.
22854 (overflow_value): New function.
22855 (underflow_value): Likewise.
22856 (round_and_return): Use overflow_value and underflow_value to
22857 determine return values in overflow and underflow cases. Use
22858 round_away to determine rounding depending on rounding mode.
22859 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22860 determine return values in overflow and underflow cases.
22861 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22862 (struct test_results): New structure.
22863 (struct test): Use struct test_results to store expected results
22864 for all rounding modes.
22865 (TEST): Include expected results for all rounding modes.
22866 (test_in_one_mode): New function.
22867 (do_test): Use test_in_one_mode to compute and check results.
22868 Check results for all rounding modes.
22869 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22870 $(link-libm).
22871
19fcedd5
AM
228722012-12-09 Allan McRae <allan@archlinux.org>
22873
1e9d84cd 22874 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22875
8bbfd2f1
JM
228762012-09-11 Joseph Myers <joseph@codesourcery.com>
22877
22878 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22879 (_G_int32_t): Likewise.
22880 (_G_uint16_t): Likewise.
22881 (_G_uint32_t): Likewise.
22882 (_G_HAVE_BOOL): Likewise.
22883 (_G_HAVE_ATEXIT): Likewise.
22884 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22885 (_G_HAVE_IO_FILE_OPEN): Likewise.
22886 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22887 (_G_int32_t): Likewise.
22888 (_G_uint16_t): Likewise.
22889 (_G_uint32_t): Likewise.
22890 (_G_HAVE_BOOL): Likewise.
22891 (_G_HAVE_ATEXIT): Likewise.
22892 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22893 (_G_HAVE_IO_FILE_OPEN): Likewise.
22894 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22895 (_G_int32_t): Likewise.
22896 (_G_uint16_t): Likewise.
22897 (_G_uint32_t): Likewise.
22898 (_G_HAVE_BOOL): Likewise.
22899 (_G_HAVE_ATEXIT): Likewise.
22900 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22901 (_G_HAVE_IO_FILE_OPEN): Likewise.
22902
b1dc5912
L
229032012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22904
22905 * csu/libc-tls.c: Update copyright years.
22906
0e886ef9
JM
229072012-09-10 Joseph Myers <joseph@codesourcery.com>
22908
28361c5e
JM
22909 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22910 [!_G_USING_THUNKS]: Remove conditional code.
22911 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22912 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22913
0e886ef9
JM
22914 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22915 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22916 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22917 (_G_VTABLE_LABEL_PREFIX): Likewise.
22918 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22919 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22921 (_G_VTABLE_LABEL_PREFIX): Likewise.
22922 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22923 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22924 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22925 (_G_VTABLE_LABEL_PREFIX): Likewise.
22926 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22927
bcba7aa2
L
229282012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 * libio/Makefile: Include ../Makeconfig before tests.
22931 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22932 only if $(build-shared) is yes.
22933
06585ee8
L
22934 * iconv/gconv_db.c: Update copyright years.
22935
80ccd52c
LD
229362012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22937
22938 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22939 unwind info if defined PIC. Fix special cases description.
22940 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22941
22942 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22943 DP_HI_MASK entry.
22944 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22945
691bc9c1
L
229462012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22947
3d9b46b3
L
22948 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22949
de2139a9
L
22950 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22951 is NULL.
22952
5ca78dd0
L
22953 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22954 (LDLIBS-tst-chk4): This.
22955 (LDFLAGS-tst-chk5): Renamed to ...
22956 (LDLIBS-tst-chk5): This.
22957 (LDFLAGS-tst-chk6): Renamed to ...
22958 (LDLIBS-tst-chk6): This.
22959 (LDFLAGS-tst-lfschk4): Renamed to ...
22960 (LDLIBS-tst-lfschk4): This.
22961 (LDFLAGS-tst-lfschk5): Renamed to ...
22962 (LDLIBS-tst-lfschk5): This.
22963 (LDFLAGS-tst-lfschk6): Renamed to ...
22964 (LDLIBS-tst-lfschk6): This.
22965
691bc9c1
L
22966 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22967 on $(common-objpfx)soversions.mk.
22968
65cafb1c
JM
229692012-09-07 Joseph Myers <joseph@codesourcery.com>
22970
22971 [BZ #10014]
22972 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22973 example host name.
22974
c78ab094
SP
229752012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22976
22977 * malloc/arena.c (arena_get_retry): New function that gets
22978 another arena for the caller to try its request on.
22979 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22980 current arena cannot fulfill the request.
22981 (__libc_memalign): Likewise.
22982 (__libc_memalign): Likewise.
22983 (__libc_pvalloc): Likewise.
22984 (__libc_calloc): Likewise.
22985
01f49f59
JT
229862012-09-05 John Tobey <john.tobey@gmail.com>
22987
22988 [BZ #13542]
22989 * manual/arith.texi (Operations on Complex): Fix description
22990 of carg branch cut.
22991
4c23fed5
JM
229922012-09-06 Joseph Myers <joseph@codesourcery.com>
22993
1d3c8572
JM
22994 [BZ #10014]
22995 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22996 host name.
22997
4c23fed5
JM
22998 [BZ #10038]
22999 * manual/memory.texi (Memory): Make order of menu items match
23000 order of sections.
23001
04570aaa
L
230022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23003
23004 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23005 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23006 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23007
b80af2f4
L
230082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23009
23010 * csu/libc-tls.c (static_dtv): Renamed to ...
23011 (_dl_static_dtv): This. Make it global.
23012 (_dl_initial_dtv): Removed.
23013 (__libc_setup_tls): Updated.
23014 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23015 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23016 DL_INITIAL_DTV.
23017
2abe9f15
PM
230182012-09-06 Petr Machata <pmachata@redhat.com>
23019
23020 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23021 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23022 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23023 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23024
0948c3af
L
230252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23026
23027 [BZ #14545]
23028 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23029 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23030 freeing dtv[-1].
23031
a5055ad1
L
230322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23033
23034 [BZ #14544]
23035 * Makeconfig (link-static-before-libc): Replace $(+prector)
23036 with $(+prectorT).
23037 (link-static-after-libc): Replace $(+postctor) with
23038 $(+postctorT).
23039 (link-bounded): Replace $(+prector)/$(+postctor) with
23040 $(+prectorT)/$(+postctorT).
23041 (+prectorT): New macro.
23042 (+postctorT): Likewise.
23043
ed8c2ecd
JM
230442012-09-06 Joseph Myers <joseph@codesourcery.com>
23045
23046 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23047 (round_str): Handle values above the maximum for IBM long double
23048 as inexact.
23049 * stdlib/tst-strtod-round.c (tests): Regenerated.
23050
14c996c8
AK
230512012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23052
23053 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23054 assembler flag.
23055 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23056 zarch_nohighgprs around the zarch optimized routines.
23057 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23058 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23059 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23060 for zarch.
23061
430d6ce6
DM
230622012-09-05 David S. Miller <davem@davemloft.net>
23063
23064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23065
ff04dda4
DM
23066 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23067 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23068 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23069 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23070 entries.
23071
24d4e01b
AO
230722012-09-05 Alexandre Oliva <aoliva@redhat.com>
23073
23074 * malloc/arena.c: Fold copyright years.
23075 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23076
61d58174
AO
230772012-09-05 Alexandre Oliva <aoliva@redhat.com>
23078
23079 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23080
20196a5e
AO
230812012-09-05 Alexandre Oliva <aoliva@redhat.com>
23082
23083 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23084
5c447383
AO
230852012-09-05 Alexandre Oliva <aoliva@redhat.com>
23086
23087 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23088 change internal state upon failure.
23089
fad64255
AO
230902012-09-05 Alexandre Oliva <aoliva@redhat.com>
23091
23092 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23093 * malloc/memusage.c (mmap): Likewise.
23094 (mmap64, mremap): Likewise. Adjust name in comment.
23095
1ffb8c90
SP
230962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23097
23098 * libio/fileops.c: Fix typos in comments.
23099 * libio/oldfileops.c: Likewise.
23100 * libio/wfileops.c: Likewise.
23101
6ef9cc37
SP
231022012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23103
23104 [BZ #1349]
23105 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23106 (tst-malloc-usable-ENV): Set environment for test case.
23107 * malloc/hooks.c (malloc_check_get_size): New function to get
23108 requested size.
23109 * malloc/malloc.c (musable): Use malloc_check_get_size.
23110 * malloc/tst-malloc-usable.c: New test case.
23111
4d038ae3
AS
231122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23113
23114 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23115
c4e85184
AM
231162012-09-05 Allan McRae <allan@archlinux.org>
23117
b9dafc56 23118 [BZ #13966]
c4e85184
AM
23119 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23120 determine header location.
23121 * configure: Regenerated.
23122
e1343020
AS
231232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23124
23125 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23126 float format.
23127 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23128 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23129 format.
e1343020
AS
23130 (test): Regenerate.
23131
0a9f1987
DM
231322012-09-04 David S. Miller <davem@davemloft.net>
23133
23134 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23135 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23136 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23137
29237804
FW
231382012-09-04 Florian Weimer <fweimer@redhat.com>
23139
23140 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23141 failures.
23142
edb3cb88
FW
23143 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23144
60160d83
JM
231452012-09-04 Joseph Myers <joseph@codesourcery.com>
23146
23147 [BZ #9914]
23148 * libio/iogetdelim.c: Include <limits.h>.
23149 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23150 + len + 1 would overflow.
23151
bcd6c8dc
AJ
231522012-09-03 Andreas Jaeger <aj@suse.de>
23153
23154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23155 * sysdeps/i386/fpu/libm-test-ulps: Update.
23156
4ffffbd2
LD
231572012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23158
23159 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23160 Add s_sinf-sse2, s_conf-sse2.
23161
23162 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23163 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23164 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23165 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23166
23167 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23168 for using routine as __sinf_ia32.
23169 Use macro for function declaration and weak_alias.
23170 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23171 for using routine as __cosf_ia32.
23172 Use macro for function declaration and weak_alias.
23173
23174 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23175 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23176
23177 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23178 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23180
23181 * math/libm-test.inc (cos_test): Add more test cases.
23182 (sin_test): Likewise.
23183 (sincos_test): Likewise.
23184
511fa286
AK
231852012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23186
23187 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23188 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23189 hidden.
23190 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23191
5f30cfec
L
231922012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23193
23194 [BZ #14538]
23195 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23196 first element of the GOT.
23197 (elf_machine_load_address): Return the difference between
23198 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23199
0786794f
AM
232002012-09-01 Allan McRae <allan@archlinux.org>
23201
5f30cfec
L
23202 [BZ #13412]
23203 * configure.in (AWK): Require gawk version 3.0 or later.
23204 * configure: Regenerated.
0786794f 23205
26889eac
JM
232062012-09-01 Joseph Myers <joseph@codesourcery.com>
23207
23208 * sysdeps/unix/sysv/linux/kernel-features.h
23209 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23210 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23211 [__NR_clock_getres]: Make code unconditional.
23212 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23213 (clock_getcpuclockid): Remove code left unreachable by removal of
23214 conditionals.
23215 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23216 code unconditional.
23217 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23218 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23219 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23220 Make code unconditional.
23221 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23222 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23223 * sysdeps/unix/sysv/linux/clock_settime.c
23224 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23225 conditional code.
23226 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23227 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23228
d22e28b0
L
232292012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 [BZ #14476]
23232 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23233 scripts/test-installation.pl.
23234
23235 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23236 and $ld_so_version if it is set.
23237
050af9c4
SP
232382012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23239
23240 [BZ #14516]
23241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23242 failure if reading from procfs failed.
23243 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23244
ad845c0b
JM
232452012-08-27 Joseph Myers <joseph@codesourcery.com>
23246
23247 * sysdeps/unix/sysv/linux/kernel-features.h
23248 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23249 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23250 Remove conditional code.
23251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23252 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23253 Remove conditional code.
23254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23255 * sysdeps/unix/sysv/linux/i386/fxstat.c
23256 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23257 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23258 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23259 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23261 * sysdeps/unix/sysv/linux/i386/lxstat.c
23262 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23264 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23265 Remove conditional code.
23266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23267 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23268 Remove conditional code.
23269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23270 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23271 <kernel-features.h>.
23272 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23273 Remove.
23274 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23275 Remove conditional code.
23276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23277 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23278 Remove conditional.
23279
5dbf56af
MF
232802012-08-27 Mike Frysinger <vapier@gentoo.org>
23281
23282 [BZ #5400]
23283 * NEWS: Add fixed bug number.
23284
d6e70f43
JM
232852012-08-27 Joseph Myers <joseph@codesourcery.com>
23286
7efb4737
JM
23287 [BZ #14519]
23288 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23289 underflowing exponent in case of negative sign.
23290 * stdlib/tst-strtod-round-data: Add more tests.
23291 * stdlib/tst-strtod-round.c (tests): Regenerated.
23292
af92131a
JM
23293 [BZ #3479]
23294 * stdlib/strtod_l.c (NDIG): Remove.
23295 (HEXNDIG): Likewise.
23296 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23297 smallest representable value.
23298 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23299 lie within an exact representation of 1/2 ulp of the result.
23300 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23301 unconditionally.
23302 (TENS_P9_IDX): Define unconditionally.
23303 (TENS_P9_SIZE): Likewise.
23304 (TENS_P10_IDX): Likewise.
23305 (TENS_P10_SIZE): Likewise.
23306 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23307 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23308 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23309 entries for 10^2^13 and 10^2^14.
23310 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23311 (TENS_P13_IDX): Define.
23312 (TENS_P13_SIZE): Likewise.
23313 (TENS_P14_IDX): Likewise.
23314 (TENS_P14_SIZE): Likewise.
23315 (_fpioconst_pow10): Change array size to
23316 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23317 unconditional.
23318 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23319 1024]: Add entries for 10^2^13 and 10^2^14.
23320 [LAST_POW10 > _LAST_POW10]: Remove #error.
23321 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23322 (_fpioconst_pow10): Change array size to
23323 FPIOCONST_POW10_ARRAY_SIZE.
23324 * stdlib/gen-fpioconst.c: New file.
23325 * stdlib/gen-tst-strtod-round.c: Likewise.
23326 * stdlib/tst-strtod-round-data: Likewise.
23327 * stdlib/tst-strtod-round.c: Likewise.
23328 * stdlib/Makefile (tests): Add tst-strtod-round.
23329
d6e70f43
JM
23330 [BZ #14459]
23331 * stdlib/strtod_l.c: Include <stdint.h>.
23332 (NDEBUG): Do not define.
23333 (round_and_return): Change EXPONENT parameter to type intmax_t.
23334 Rearrange calculations to avoid internal overflow possibilities.
23335 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23336 Rearrange calculations to avoid internal overflow possibilities.
23337 Assert that number fits inside MPNSIZE limbs.
23338 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23339 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23340 calculations and add assertions to avoid internal overflow
23341 possibilities. Add casts to avoid signed/unsigned operations.
23342 * stdlib/tst-strtod-overflow.c: New file.
23343 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23344
1f529f7d
MP
233452012-08-25 Marek Polacek <polacek@redhat.com>
23346
23347 * time/time.h: Fix some typos in comments.
23348
59a629f1
RM
233492012-08-23 Roland McGrath <roland@hack.frob.com>
23350
23351 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23352 * posix/tst-rfc3484-2.c: Likewise.
23353 * posix/tst-rfc3484-3.c: Likewise.
23354
d3bafbc9
SM
233552012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23356
23357 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23358 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23359
4efcc022
JM
233602012-08-23 Joseph Myers <joseph@codesourcery.com>
23361
23362 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23363 #include of fxstatat64.c.
23364
3cc3ef96
RM
233652012-08-22 Roland McGrath <roland@hack.frob.com>
23366
f04e2132
RM
23367 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23368 * shadow/getspent_r.c: Likewise.
23369 * shadow/getspnam.c: Likewise.
23370 * shadow/getspnam_r.c: Likewise.
23371 * gshadow/getsgent.c: Likewise.
23372 * gshadow/getsgent_r.c: Likewise.
23373 * gshadow/getsgnam.c: Likewise.
23374 * gshadow/getsgnam_r.c: Likewise.
23375 * inet/getnetbyad.c: Likewise.
23376 * inet/getnetbyad_r.c: Likewise.
23377 * inet/getnetbynm.c: Likewise.
23378 * inet/getnetbynm_r.c: Likewise.
23379 * inet/getnetent.c: Likewise.
23380 * inet/getnetent_r.c: Likewise.
23381 * inet/getproto.c: Likewise.
23382 * inet/getproto_r.c: Likewise.
23383 * inet/getprtent.c: Likewise.
23384 * inet/getprtent_r.c: Likewise.
23385 * inet/getprtname.c: Likewise.
23386 * inet/getprtname_r.c: Likewise.
23387 * inet/getrpcbyname.c: Likewise.
23388 * inet/getrpcbyname_r.c: Likewise.
23389 * inet/getrpcbynumber.c: Likewise.
23390 * inet/getrpcbynumber_r.c: Likewise.
23391 * inet/getrpcent.c: Likewise.
23392 * inet/getrpcent_r.c: Likewise.
23393 * inet/getaliasent.c: Likewise.
23394 * inet/getaliasent_r.c: Likewise.
23395 * inet/getaliasname.c: Likewise.
23396 * inet/getaliasname_r.c: Likewise.
23397 * nscd/getgrgid_r.c: Likewise.
23398 * nscd/getgrnam_r.c: Likewise.
23399 * nscd/gethstbyad_r.c: Likewise.
23400 * nscd/gethstbynm3_r.c: Likewise.
23401 * nscd/getpwnam_r.c: Likewise.
23402 * nscd/getpwuid_r.c: Likewise.
23403 * nscd/getsrvbynm_r.c: Likewise.
23404 * nscd/getsrvbypt_r.c: Likewise.
23405 * nscd/gai.c: Likewise.
23406
c53d909c
RM
23407 * configure.in (build_nscd): New substituted variable, set
23408 by --disable-build-nscd and defaults to $use_nscd.
23409 * configure: Regenerated.
23410 * config.make.in (build-nscd): New substituted variable.
23411 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23412 Change conditional to require [$(build-nscd) = yes] as well.
23413 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23414
3cc3ef96
RM
23415 [BZ# 13696]
23416 * configure.in (use_nscd): New substituted variable, set by
23417 --disable-nscd. If enabled, define USE_NSCD.
23418 * configure: Regenerated.
23419 * config.h.in: Add USE_NSCD.
23420 * config.make.in (use-nscd): New substituted variable.
23421 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23422 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23423 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23424 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23425 (CFLAGS-getgrnam_r.c): Likewise.
23426 (CFLAGS-initgroups.c): Likewise.
23427 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23428 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23429 Variables removed.
23430 * inet/getnetgrent_r.c
23431 (nscd_setnetgrent): New function, broken out of ...
23432 (setnetgrent): ... here. Call it.
23433 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23434 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23435 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23436 * nscd/Makefile (routines, aux): Move definitions after include of
23437 Makeconfig. Conditionalize on [$(use-nscd) != no].
23438 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23439 Conditionalize on [USE_NSCD].
23440 (is_nscd, nscd_init_cb): Likewise.
23441 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23442 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23443 * nss/nss_db/db-init.c: Likewise.
23444 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23445 [USE_NSCD].
23446 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23447 (make_request): Use it.
23448 (cache_valid_p): New function.
23449 (__check_pf): Use it.
23450 * NEWS: Add item for --disable-nscd.
23451
07e51550
DL
234522012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23453
23454 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23455 to support sed >= 4.2.1-20-ga9bf076.
23456 * configure: Regenerated.
23457
35a5b08b
RM
234582012-08-22 Roland McGrath <roland@hack.frob.com>
23459
23460 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23461 Conditionalize whole body on [IREL].
23462
8479f23a
JL
234632012-08-22 Jeff Law <law@redhat.com>
23464
23465 [BZ #14505]
23466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23467 if the family is PF_UNSPEC.
23468
48da0b21
MF
234692012-08-22 Mike Frysinger <vapier@gentoo.org>
23470
23471 * Makerules (lib-version): Rename from V.
23472 (install-lib-nosubdir): Change V to lib-version.
23473
15d0da8c
WS
234742012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23475
23476 [BZ #14252]
23477 * powerpc32/power6/wcschr.c: New file.
23478 * powerpc32/power6/wcscpy.c: New file.
23479 * powerpc32/power6/wcsrchr.c: New file.
23480 * powerpc64/power6/wcschr.c: New file.
23481 * powerpc64/power6/wcscpy.c: New file.
23482 * powerpc64/power6/wcsrchr.c: New file.
23483
bcca0895
MK
234842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23485
23486 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23487 (two_way_short_needle): Use it.
5a4aaa33
RM
23488 * string/strstr.c (AVAILABLE1_USES_J): Define.
23489 * string/strcasestr.c: Likewise.
99677e57
MK
23490
23491 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23492 array references.
23493 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23494
400726de
MK
23495 [BZ #11607]
23496 * NEWS: Add an entry.
23497 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23498 define their defaults.
23499 (two_way_short_needle): Detect end-of-string on-the-fly.
23500 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23501 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23502 * string/bug-strcasestr1.c: New test.
23503 * string/Makefile: Run it.
23504
20a71f2c
MK
235052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23506
23507 [BZ #11607]
23508 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23509 the first character.
23510
21ad0558
RM
235112012-08-21 Roland McGrath <roland@hack.frob.com>
23512
23513 * csu/elf-init.c (__libc_csu_irel): Function removed.
23514 * csu/libc-start.c (apply_irel): New function.
23515 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23516
0e1d9911
JM
235172012-08-21 Joseph Myers <joseph@codesourcery.com>
23518
23519 * sysdeps/unix/sysv/linux/kernel-features.h
23520 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23521 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23522 <kernel-features.h>.
23523 [__NR_fadvise64_64]: Make code unconditional.
23524 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23525 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23526 !__NR_fadvise64_64)]: Likewise.
23527 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23528 !__NR_fadvise64_64))]: Likewise.
23529 [__NR_fadvise64]: Make code unconditional.
23530 [!__NR_fadvise64]: Remove conditional code.
23531 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23532 <kernel-features.h>.
23533 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23534 unconditional.
23535 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23536 conditional code.
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23538 not include <kernel-features.h>.
23539 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23540 unconditional.
23541 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23542 conditional code.
23543 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23544 include <kernel-features.h>.
23545 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23546 unconditional.
23547 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23548 conditional code.
23549
14a50c9d
WS
235502012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23551
23552 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23553 slight instruction rearrangements per scrollpipe analysis.
23554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23555
c0f4faf0
RM
235562012-08-20 Roland McGrath <roland@hack.frob.com>
23557
696da859
RM
23558 * manual/syslog.texi (syslog; vsyslog, closelog):
23559 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23560 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23561
c0f4faf0
RM
23562 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23563 DSOCAPS to match condition on defining it.
23564
348363b2
JM
235652012-08-20 Joseph Myers <joseph@codesourcery.com>
23566
a35cbf28
JM
23567 * sysdeps/unix/sysv/linux/kernel-features.h
23568 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23570 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23571 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23573 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23574 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23576 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23577 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23578
445f7ecd
JM
23579 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23580 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23581
348363b2
JM
23582 * sysdeps/unix/sysv/linux/kernel-features.h
23583 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23584 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23585 unconditional.
23586 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23587 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23588 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23589 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23590 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23591 Make code unconditional.
23592 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23593 (__mmap64) [!__NR_mmap2]: Likewise.
23594 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23595 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23596 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23597 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23598 [__NR_mmap2]: Make code unconditional.
23599 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23600 (__mmap64) [!__NR_mmap2]: Likewise.
23601
bc5bc0e5
AK
236022012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23603
23604 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23605
88d506de
AJ
236062012-08-18 Andreas Jaeger <aj@suse.de>
23607
23608 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23609
493387d2
MF
236102012-08-18 Mike Frysinger <vapier@gentoo.org>
23611
23612 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23613 * include/unistd.h (__have_sock_cloexec): Likewise.
23614 (__have_pipe2): Likewise.
23615 (__have_dup3): Likewise.
23616
a277af22
MF
236172012-08-18 Mike Frysinger <vapier@gentoo.org>
23618
23619 [BZ #9685]
23620 * include/unistd.h (__have_pipe2): Change define into an extern int.
23621 (__have_dup3): Likewise.
23622 * socket/have_sock_cloexec.c: Include fcntl.h.
23623 (__have_pipe2): New variable.
23624 (__have_dup3): Likewise.
23625
fdab8fd3
MF
236262012-08-17 Mike Frysinger <vapier@gentoo.org>
23627
23628 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23629
31035e80
MP
236302012-08-17 Marek Polacek <polacek@redhat.com>
23631
23632 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23633 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23634
3bd9e993
RM
236352012-08-17 Roland McGrath <roland@hack.frob.com>
23636
c91c505f
RM
23637 * configure.in: Add AC_SUBST for sysheaders.
23638 * configure: Regenerated.
23639 * config.make.in (sysheaders): New substituted variable.
23640
7c6f9d53
RM
23641 * sysdeps/unix/mkfifo.c: Moved ...
23642 * sysdeps/posix/mkfifo.c: ... here.
23643 * sysdeps/unix/mkfifoat.c: Moved ...
23644 * sysdeps/posix/mkfifoat.c: ... here.
23645
23646 * sysdeps/unix/utime.c: Moved ...
23647 * sysdeps/posix/utime.c: ... here.
23648
23649 * sysdeps/unix/time.c: Moved ...
23650 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23651 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23652 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23653
23654 * sysdeps/unix/nice.c: Moved ...
23655 * sysdeps/posix/nice.c: ... here.
23656
23657 * sysdeps/unix/alarm.c: Moved ...
23658 * sysdeps/posix/alarm.c: ... here.
23659
3bd9e993
RM
23660 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23661
d1f09384
JL
236622012-08-17 Jeff Law <law@redhat.com>
23663
23664 * intl/Makefile (codeset_mo): New variable.
23665 ($(codeset_mo)): New target.
23666 (tst-codeset.out): Depend on that. Remove explicit rule.
23667 (tst-gettext3.out, tst-gettext5.out): Likewise.
23668 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23669 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23670 * intl/tst-codeset.sh: Remove.
23671 * intl/tst-gettext3.sh: Likewise.
23672 * intl/tst-gettext5.sh: Likewise.
23673
2ae1ae5c
RM
236742012-08-17 Roland McGrath <roland@hack.frob.com>
23675
c31fdb83
RM
23676 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23677 * sysdeps/unix/syscalls.list: ... here.
23678
a0844057
RM
23679 * sysdeps/posix/getaddrinfo.c
23680 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23681 (gaiconf_init, gaiconf_reload): Use them.
23682 [!_STATBUF_ST_NSEC]
23683 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23684 Define using time_t rather than struct timespec.
23685
750c1f2a
RM
23686 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23687 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23688 Macros removed.
23689 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23690 [!NO_THREADS].
23691 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23692 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23693 Likewise.
23694
2ae1ae5c
RM
23695 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23696 __libc_cleanup_push argument.
23697
e66a42f5
RM
23698 * bits/param.h: New file.
23699 * misc/sys/param.h: New file.
23700 * include/sys/param.h: New file.
23701 * misc/Makefile (headers): Add bits/param.h.
23702 * sysdeps/generic/sys/param.h: File removed.
23703 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23704 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23705 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23706 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23707
b7c08a66
RM
23708 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23709 last change.
23710
b2e1c562
RM
23711 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23712 [_IO_MTSAFE_IO].
23713 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23714 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23715 New macros.
23716
c75ccd4c
RM
23717 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23718 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23719 rather than -D_IO_MTSAFE_IO conditionally.
23720 * stdio-common/Makefile (CPPFLAGS): Likewise.
23721 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23722 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23723 Use $(libio-mtsafe).
23724 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23725 of -D_IO_MTSAFE_IO.
23726 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23727 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23728 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23729 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23730 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23731 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23732 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23733 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23734 (CFLAGS-fread_u_chk.c): Likewise.
23735 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23736 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23737 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23738 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23739 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23740 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23741 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23742 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23743 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23744
23745 * libio/Makefile: Test [$(libc-reentrant) = yes]
23746 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23747
23748 * Makeconfig
23749 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23750 * sysdeps/pthread/configure: File removed.
23751 * sysdeps/pthread/Makeconfig: New file.
23752 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23753 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23754
d9195db8
GB
237552012-08-16 Gary Benson <gbenson@redhat.com>
23756
23757 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23758 unmapping the first object in a namespace.
23759
86466cd9
RM
237602012-08-16 Roland McGrath <roland@hack.frob.com>
23761
23762 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23763 (__internal_setnetgrent): ... this. Add internal_function to
23764 definition. Add libc_hidden_def.
23765 (setnetgrent): Update caller.
23766 (internal_endnetgrent): Renamed to ...
23767 (__internal_endnetgrent): ... this. Add internal_function to
23768 definition. Add libc_hidden_def.
23769 (endnetgrent): Update caller.
23770 (internal_getnetgrent_r): Renamed to ...
23771 (__internal_getnetgrent_r): ... this. Add internal_function to
23772 definition. Add libc_hidden_def.
23773 (__getnetgrent_r): Update caller.
23774 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23775
c3c8283c
JM
237762012-08-16 Joseph Myers <joseph@codesourcery.com>
23777
23778 * stdlib/longlong.h: Update from GCC.
23779
db1ee0a8
RM
237802012-08-16 Roland McGrath <roland@hack.frob.com>
23781
23782 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23783 on _QL, which is set by umul_ppmm but never used.
23784 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23785 variables, which are set by GMP macros but never used.
23786 * stdio-common/_itowa.c (_itowa): Likewise.
23787 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23788 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23789
30f69637
CD
237902012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23791
23792 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23793 struct La_sh_regs is not constant.
23794 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23795 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23796 and struct La_sparc64_regs are not constant.
23797
93a78ac4
JM
237982012-08-16 Joseph Myers <joseph@codesourcery.com>
23799
23800 * sysdeps/unix/sysv/linux/kernel-features.h
23801 (__ASSUME_POSIX_TIMERS): Remove.
23802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23803 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23804 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23805 Make code unconditional.
23806 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23807 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23808 Make code unconditional.
23809 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23810 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23811 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23812 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23813 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23814 Make code unconditional.
23815 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23816 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23817 (__libc_missing_posix_timers): Remove.
23818
dd924cd7
RM
238192012-08-15 Roland McGrath <roland@hack.frob.com>
23820
4b4f2771
RM
23821 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23822 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23823
601c888b
RM
23824 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23825
176790a7
RM
23826 * elf/dl-sym.c: Include <stdlib.h>.
23827
329bc018
RM
23828 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23829 constants, which avoids warnings in 32-bit builds.
23830
e04e272d
RM
23831 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23832 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23833
952bf94a
RM
23834 * misc/lseek.c: File moved to ...
23835 * io/lseek.c: ... here.
23836
7c99b50a
RM
23837 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23838
dd924cd7
RM
23839 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23840 shifting LEN more than 31 bits at once.
23841
b3f479a8
LD
238422012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23843
23844 [BZ #14195]
8c4ae0d4
RM
23845 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23846 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23847 * string/test-strncasecmp.c (check1): Renamed to...
23848 (bz12205): ...this.
23849 (bz14195): Add new testcase for two empty input strings and N > 0.
23850 (test_main): Call new testcase, adapt for renamed function.
23851
9c55864e
AJ
238522012-08-15 Andreas Jaeger <aj@suse.de>
23853
23854 [BZ #14090]
23855 * crypt/md5test2.c: New test, based on test supplied by Serge
23856 Belyshev <belyshev@depni.sinp.msu.ru>.
23857 * crypt/Makefile (xtests): Add md5test-giant..
23858 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23859
02dcb6c5
PE
238602012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23861
23862 [BZ #14090]
23863 * crypt/md5.c (md5_process_block): Don't assume the buffer
23864 length is less than 2**32.
23865 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23866 length is less than 2**64.
23867
a3f95dcc
RM
238682012-08-15 Roland McGrath <roland@hack.frob.com>
23869
be75d758
RM
23870 * string/str-two-way.h: Include <sys/param.h>.
23871 (MAX): Macro removed.
23872
7312ca90
RM
23873 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23874 Move #define and #undef of memmove to just before and after
23875 including <string.h>.
23876
9a0a5486
RM
23877 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23878 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23879 and after including <string.h>. Move declarations of
23880 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23881 to before #include "string/memmove.c".
23882
67cc348d
RM
23883 * include/dirent.h: Declare __getdirentries.
23884
a3f95dcc
RM
23885 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23886 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23887
ca98e171
MF
238882012-08-14 Mike Frysinger <vapier@gentoo.org>
23889
23890 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23891 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23892 * sysdeps/i386/configure: Regenerated.
23893 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23894 STABS_CURRENT_FILE, and STABS_FUN.
23895 (END): Remove call to STABS_FUN_END.
23896 (STABS_CURRENT_FILE1): Delete.
23897 (STABS_CURRENT_FILE): Likewise.
23898 (STABS_FUN): Likewise.
23899 (STABS_FUN_END): Likewise.
23900 (STABS_FUN2): Likewise.
23901 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23902 * sysdeps/x86_64/configure: Regenerated.
23903
5908bf46
RM
239042012-08-14 Roland McGrath <roland@hack.frob.com>
23905
23906 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23907 * elf/dl-lookup.c: Likewise.
5908bf46 23908
f2c05b9e
JM
239092012-08-14 Joseph Myers <joseph@codesourcery.com>
23910
23911 * sysdeps/unix/sysv/linux/kernel-features.h
23912 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23913 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23914 unconditionally.
23915 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23916 unconditionally.
23917 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23918 condition on __ASSUME_CLONE_THREAD_FLAGS.
23919
e11f5155
AJ
239202012-08-14 Andreas Jaeger <aj@suse.de>
23921
23922 * sysdeps/i386/fpu/libm-test-ulps: Update.
23923
51a9ba86
MK
239242012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23925
2fdd4f78
AJ
23926 * include/atomic.h (atomic_exchange_and_add): Split into ...
23927 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23928 New atomic macros.
51a9ba86 23929
ba6cba9e
MT
239302012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23931
23932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23933
42443a47
JL
239342012-08-13 Jeff Law <law@redhat.com>
23935
23936 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23937 null byte in the output string.
23938
121dce05
JM
239392012-08-10 Joseph Myers <joseph@codesourcery.com>
23940
23941 * sysdeps/unix/sysv/linux/kernel-features.h
23942 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23943 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23944 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23945 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23946 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23947 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23948 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23949
bf51f568
JL
239502012-08-09 Jeff Law <law@redhat.com>
23951
23952 [BZ #13939]
23953 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23954 When avoid_arena is set, don't retry in the that arena. Pick the
23955 next one, whatever it might be.
23956 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23957 (arena_lock): Pass in new parameter to arena_get2.
23958 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23959 arena_get2.
23960 (__libc_malloc): Unify retrying after main arena failure with
23961 __libc_memalign version.
23962 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23963
f85fa270
L
239642012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23965
23966 [BZ #14166]
23967 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23968 to __redirect_strstr.
23969 (__strstr_sse42): Use typeof __redirect_strstr.
23970 (__strstr_ia32): Likewise.
23971 (__libc_strstr): New prototype.
23972 (strstr): Renamed to ...
23973 (__libc_strstr): This.
23974 (strstr): New strong alias of __libc_strstr.
23975 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23976 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23977 __redirect_time.
23978 Include <time.h>.
23979 (__libc_time): New prototype.
23980 (time_ifunc): Replace time with __libc_time.
23981 (time): New strong alias and hidden definition of __libc_time.
23982 (__GI_time): Remove strong alias.
23983 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23984 Include <stddef.h>.
23985 (memmove): Redefined to __redirect_memmove.
23986 (__memmove_sse2): Use typeof __redirect_memmove.
23987 (__memmove_ssse3): Likewise.
23988 (__memmove_ssse3_back): Likewise.
23989 (__libc_memmove): New prototype.
23990 (memmove): Renamed to ...
23991 (__libc_memmove): This.
23992 (memmove): New strong alias of __libc_memmove.
23993
33b4a91e
MS
239942012-08-08 Mark Salter <msalter@redhat.com>
23995
23996 * elf/elf.h
23997 (R_MN10300_TLS_GD): Define.
23998 (R_MN10300_TLS_LD): Likewise.
23999 (R_MN10300_TLS_LDO): Likewise.
24000 (R_MN10300_TLS_GOTIE): Likewise.
24001 (R_MN10300_TLS_IE): Likewise.
24002 (R_MN10300_TLS_LE): Likewise.
24003 (R_MN10300_TLS_DTPMOD): Likewise.
24004 (R_MN10300_TLS_DTPOFF): Likewise.
24005 (R_MN10300_TLS_TPOFF): Likewise.
24006 (R_MN10300_SYM_DIFF): Likewise.
24007 (R_MN10300_ALIGN): Likewise.
24008 (R_MN10300_NUM): Update.
24009
b36137f1
JM
240102012-08-08 Joseph Myers <joseph@codesourcery.com>
24011
24012 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24013 Remove.
24014
cdd915fd
RM
240152012-08-08 Roland McGrath <roland@hack.frob.com>
24016
a2433aac
RM
24017 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24018
cdd915fd
RM
24019 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24020 sysdeps/unix -> sysdeps/posix move.
24021 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24022
bf9b740a
AM
240232012-08-07 Allan McRae <allan@archlinux.org>
24024
24025 [BZ #14303]
24026 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24027 (SUNOS_CPP): Likewise.
24028 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24029 not found.
24030 (open_input): Call CPP using execvp.
24031
93df14ee
JM
240322012-08-07 Joseph Myers <joseph@codesourcery.com>
24033
24034 * sysdeps/unix/sysv/linux/kernel-features.h
24035 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24036 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24037 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24038 (__ASSUME_WAITID_SYSCALL): Likewise.
24039 * sysdeps/unix/sysv/linux/dl-execstack.c
24040 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24041 code unconditional.
24042 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24043 conditional code.
24044 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24045 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24046 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24047 code.
24048 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24049 unconditional.
24050 [__ASSUME_WAITID_SYSCALL]: Likewise.
24051 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24052
d34689de
RM
240532012-08-07 Roland McGrath <roland@hack.frob.com>
24054
a281decc
RM
24055 * sysdeps/unix/closedir.c: Renamed to ...
24056 * sysdeps/posix/closedir.c: ... here.
24057 * sysdeps/unix/dirfd.c: Renamed to ...
24058 * sysdeps/posix/dirfd.c: ... here.
24059 * sysdeps/unix/dirstream.h: Renamed to ...
24060 * sysdeps/posix/dirstream.h: ... here.
24061 * sysdeps/unix/fdopendir.c: Renamed to ...
24062 * sysdeps/posix/fdopendir.c: ... here.
24063 * sysdeps/unix/opendir.c: Renamed to ...
24064 * sysdeps/posix/opendir.c: ... here.
24065 * sysdeps/unix/readdir.c: Renamed to ...
24066 * sysdeps/posix/readdir.c: ... here.
24067 * sysdeps/unix/readdir_r.c: Renamed to ...
24068 * sysdeps/posix/readdir_r.c: ... here.
24069 * sysdeps/unix/rewinddir.c: Renamed to ...
24070 * sysdeps/posix/rewinddir.c: ... here.
24071 * sysdeps/unix/seekdir.c: Renamed to ...
24072 * sysdeps/posix/seekdir.c: ... here.
24073 * sysdeps/unix/telldir.c: Renamed to ...
24074 * sysdeps/posix/telldir.c: ... here.
24075 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24076 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24077 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24078 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24079
22895b47
RM
24080 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24081 * bits/fcntl.h: ... here.
24082
707a53b6
RM
24083 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24084 not 0.
24085 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24086 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24087 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24088 (struct flock): Move l_start, l_len to the beginning.
24089 Use __pid_t for l_pid.
24090 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24091 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24092 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24093 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24094 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24095 [__USE_LARGEFILE64] (struct flock64): New type.
24096 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24097
f0bd3e25
RM
24098 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24099 * bits/dirent.h: ... here.
24100
d34689de
RM
24101 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24102 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24103
6dad2c06
JM
241042012-08-07 Joseph Myers <joseph@codesourcery.com>
24105
24106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24107 Change from 2.6.0 to 2.6.16.
24108 * sysdeps/unix/sysv/linux/configure: Regenerated.
24109 * sysdeps/unix/sysv/linux/kernel-features.h
24110 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24111 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24112 version.
24113 (__ASSUME_UTIMES): Likewise.
24114 (__ASSUME_CLONE_STOPPED): Remove.
24115 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24116 architectures, not kernel version.
24117 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24118 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24119 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24120 (__ASSUME_WAITID_SYSCALL): Likewise.
24121 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24122 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24123 * README: State 2.6.16 as minimum Linux kernel version. Do not
24124 refer to older versions.
24125
03af9520
RM
241262012-08-06 Roland McGrath <roland@hack.frob.com>
24127
8e49df1d
RM
24128 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24129 Define alphasort64 as an alias.
24130 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24131 Define versionsort64 as an alias.
24132 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24133 Define scandir64 as an alias.
24134 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24135 Define scandirat64 as an alias.
24136 * dirent/alphasort64.c (alphasort64):
24137 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24138 * dirent/versionsort64.c: Likewise.
24139 * dirent/scandir64.c: Likewise.
24140 * dirent/scandirat64.c: Likewise.
24141 * sysdeps/wordsize-64/alphasort.c: File removed.
24142 * sysdeps/wordsize-64/alphasort64.c: File removed.
24143 * sysdeps/wordsize-64/scandir.c: File removed.
24144 * sysdeps/wordsize-64/scandir64.c: File removed.
24145 * sysdeps/wordsize-64/scandirat.c: File removed.
24146 * sysdeps/wordsize-64/scandirat64.c: File removed.
24147 * sysdeps/wordsize-64/versionsort.c: File removed.
24148 * sysdeps/wordsize-64/versionsort64.c: File removed.
24149 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24150 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24151 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24153 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24156 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24157
24158 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24160 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24162 [defined __arch64__ || defined __sparcv9]
24163 (__INO_T_MATCHES_INO64_T): New macro.
24164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24165 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24166 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24167 * sysdeps/unix/sysv/linux/bits/dirent.h
24168 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24169 (_DIRENT_MATCHES_DIRENT64): New macro.
24170
03af9520
RM
24171 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24172 Define lockf64 as an alias.
24173 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24174 Define fseeko64 as an alias.
24175 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24176 Define ftello64 as an alias.
24177 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24178 Define _IO_fgetpos64 and fgetpos64 as aliases.
24179 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24180 Define _IO_fsetpos64 and fsetpos64 as aliases.
24181 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24182 Conditionalize body on this.
24183 * libio/fseeko64.c: Likewise.
24184 * libio/ftello64.c: Likewise.
24185 * libio/iofgetpos64.c: Likewise.
24186 * libio/iofsetpos64.c: Likewise.
24187 * sysdeps/wordsize-64/lockf.c: File removed.
24188 * sysdeps/wordsize-64/lockf64.c: File removed.
24189 * sysdeps/wordsize-64/fseeko.c: File removed.
24190 * sysdeps/wordsize-64/fseeko64.c: File removed.
24191 * sysdeps/wordsize-64/ftello.c: File removed.
24192 * sysdeps/wordsize-64/ftello64.c: File removed.
24193 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24194 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24195 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24196 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24197 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24198 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24199 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24200 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24201 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24202 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24203 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24204 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24205 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24206 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24207
24208 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24210 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24212 [defined __arch64__ || defined __sparcv9]
24213 (__OFF_T_MATCHES_OFF64_T): New macro.
24214 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24215 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24217 (__OFF_T_MATCHES_OFF64_T): New macro.
24218
c5757acd
L
242192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 * stdlib/secure-getenv.c (__secure_getenv): Replace
24222 GLIBC_2_16 with GLIBC_2_17.
24223
3a31811e
L
242242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24225
24226 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24228
faa2bccb
DM
242292012-08-03 David S. Miller <davem@davemloft.net>
24230
24231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24232
85fe1997
JM
242332012-08-03 Joseph Myers <joseph@codesourcery.com>
24234
24235 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24236 Remove.
24237 (__ASSUME_CORRECT_SI_PID): Likewise.
24238 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24239 (__ASSUME_TMPFS_NAME): Likewise.
24240 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24241 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24242 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24243 (HAVE_AUX_SECURE): Make definition unconditional.
24244 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24245 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24246
4f75b7a0
RM
242472012-08-03 Roland McGrath <roland@hack.frob.com>
24248
24249 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24250 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24251 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24252 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24253 __eloop_threshold instead of SYMLOOP_MAX.
24254
24255 * sysdeps/generic/eloop-threshold.h: New file.
24256 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24257 of MAXSYMLINKS.
24258 * elf/chroot_canon.c (chroot_canon): Likewise.
24259
7aab07e4
JM
242602012-08-03 Joseph Myers <joseph@codesourcery.com>
24261
24262 [BZ #13717]
24263 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24264 Change to 2.6.0 everywhere.
24265 * sysdeps/unix/sysv/linux/configure: Regenerated.
24266 * sysdeps/unix/sysv/linux/kernel-features.h
24267 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24268 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24269 kernel versions.
24270 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24271 (__ASSUME_FUTEX_REQUEUE): Remove.
24272 (__ASSUME_STATFS64): Define unconditionally.
24273 (__ASSUME_AT_SECURE): Likewise.
24274 (__ASSUME_CORRECT_SI_PID): Likewise.
24275 (__ASSUME_TGKILL): Define without depending on kernel version for
24276 i386.
24277 (__ASSUME_UTIMES): Likewise.
24278 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24279 kernel version.
24280 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24281 (__ASSUME_TMPFS_NAME): Likewise.
24282 * README: Update reference to Linux kernel versions.
24283
b67e9372
MP
242842012-08-02 Marek Polacek <polacek@redhat.com>
24285
1f529f7d 24286 [BZ# 14150]
b67e9372
MP
24287 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24288 libc_cv_asm_type_prefix with %.
24289 * configure: Regenerated.
d2441631
RM
24290 * include/libc-symbols.h: Remove comment about
24291 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24292 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24293 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24294 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24295 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24296 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24297 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24298 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24299 * elf/tst-unique2mod1.c: Likewise.
24300 * elf/tst-unique1mod2.c: Likewise.
24301 * elf/tst-unique1mod1.c: Likewise.
24302 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24303 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24304 Replace ASM_TYPE_DIRECTIVE with .type.
24305 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24306 * sysdeps/i386/sysdep.h: Likewise.
24307 * sysdeps/x86_64/sysdep.h: Likewise.
24308 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24310 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24311 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24312 * sysdeps/powerpc/powerpc32/sysdep.h:
24313 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24314 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24315 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24316 * sysdeps/i386/fpu/e_powf.S: Likewise.
24317 * sysdeps/i386/fpu/e_expl.S: Likewise.
24318 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24319 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24320 * sysdeps/i386/fpu/e_pow.S: Likewise.
24321 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24322 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24323 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24324 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24325 * sysdeps/i386/fpu/e_log2.S: Likewise.
24326 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24327 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24328 * sysdeps/i386/fpu/e_powl.S: Likewise.
24329 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24330 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24331 * sysdeps/i386/fpu/e_logl.S: Likewise.
24332 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24333 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24334 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24335 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24336 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24337 * sysdeps/i386/fpu/e_log.S: Likewise.
24338 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24339 * sysdeps/i386/fpu/e_logf.S: Likewise.
24340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24342 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24343 * sysdeps/i386/fpu/e_log10.S: Likewise.
24344 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24345 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24346 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24347 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24348 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24349 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24350 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24351 * sysdeps/i386/i686/strtok.S: Likewise.
24352 * sysdeps/i386/i386-mcount.S: Likewise.
24353 * sysdeps/i386/strtok.S: Likewise.
24354 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24355 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24357 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24358 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24360 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24361 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24362 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24363 * sysdeps/x86_64/_mcount.S: Likewise.
24364 * sysdeps/x86_64/strtok.S: Likewise.
24365 * sysdeps/sh/_mcount.S: Likewise.
24366
2747bf9a
RM
243672012-08-01 Roland McGrath <roland@hack.frob.com>
24368
24369 * libio/iofopen.c: Include <fcntl.h>.
24370 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24371 (_IO_fopen64, fopen64): Define as aliases.
24372 * libio/iofopen64.c: Include <fcntl.h>.
24373 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24374 Conditionalize body on this.
24375 * sysdeps/wordsize-64/iofopen.c: File removed.
24376 * sysdeps/wordsize-64/iofopen64.c: File removed.
24377
3fb791b8
MP
243782012-08-01 Marek Polacek <polacek@redhat.com>
24379
24380 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24381 Use dlfcn directly instead of a variable.
24382 (binfmt-subdir): Do not define.
24383 (dlfcn): Likewise.
24384
a9f1039f
JM
243852012-08-01 Joseph Myers <joseph@codesourcery.com>
24386
23bddc06
JM
24387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24388 Remove all definitions.
24389 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24390 <kernel-features.h>.
24391 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24392 (miss_F_GETOWN_EX): Remove all definitions.
24393 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24394 macro definition.
24395 [!__ASSUME_FCNTL64]: Remove conditional code.
24396 [__ASSUME_FCNTL64]: Make code unconditional.
24397 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24398 <kernel-features.h>.
24399 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24400 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24401 (lockf64) [__NR_fcntl64]: Make code unconditional.
24402 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24403
a9f1039f
JM
24404 * sysdeps/unix/sysv/linux/kernel-features.h
24405 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24406 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24407 Make code unconditional.
24408 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24409 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24411 [__NR_vfork]: Make code unconditional.
24412 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24413 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24415 [__NR_vfork]: Make code unconditional.
24416 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24417 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24418
09c0ee5f
RM
244192012-08-01 Roland McGrath <roland@hack.frob.com>
24420
48aec5b9
RM
24421 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24422 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24423
cd97c966
RM
24424 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24425 Define mkstemp64 as an alias.
3f55550c
RM
24426 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24427 Define mkstemps64 as an alias.
cd97c966
RM
24428 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24429 Define mkostemp64 as an alias.
b8625cfc
RM
24430 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24431 Define mkostemps64 as an alias.
cd97c966
RM
24432 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24433 Conditionalize body on this.
24434 * misc/mkostemp64.c: Likewise.
b8625cfc 24435 * misc/mkostemps64.c: Likewise.
3f55550c 24436 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24437 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24438 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24439 * sysdeps/wordsize-64/mkostemp.c: File removed.
24440 * sysdeps/wordsize-64/mkstemp.c: File removed.
24441 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24442 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24443 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24444 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24445
09c0ee5f
RM
24446 [BZ #14138]
24447 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24448 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24449 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24450 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24451
24452 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24453 compat_symbol macros from <shlib-compat.h> rather than the underlying
24454 default_symbol_version and symbol_version macros, so that DEFAULT
24455 lines in shlib-versions are respected.
24456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24457
7e66ee51
FW
244582012-08-01 Florian Weimer <fweimer@redhat.com>
24459
24460 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24461 Declare with warn_unused_result.
24462 (setgid, setregid, setegid, setresgid): Likewise.
24463 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24464 Likewise.
24465 * WUR-REPORT: Remove set*id functions.
24466
d2a54255
PT
244672012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24468
24469 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24470
7ecdb005
RM
244712012-07-31 Roland McGrath <roland@hack.frob.com>
24472
b4180a5e 24473 [BZ #10191]
789bd351
RM
24474 * include/sys/socket.h (__libc_accept, __libc_accept4):
24475 Add attribute_hidden.
24476 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24477
40ce302d
RM
24478 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24479 use of PTR_MANGLE.
24480 * inet/getnetgrent_r.c (setup): Likewise.
24481
7ecdb005
RM
24482 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24483
e2eabb2c
DM
244842012-07-31 David S. Miller <davem@davemloft.net>
24485
24486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24487
d0419dbf
JM
244882012-07-31 Joseph Myers <joseph@codesourcery.com>
24489
24490 [BZ #13629]
24491 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24492 value between 1.0 and 2.0 and smaller part has absolute value less
24493 than 1.0.
24494 * math/s_clog10.c (__clog10): Likewise.
24495 * math/s_clog10f.c (__clog10f): Likewise.
24496 * math/s_clog10l.c (__clog10l): Likewise.
24497 * math/s_clogf.c (__clogf): Likewise.
24498 * math/s_clogl.c (__clogl): Likewise.
24499 * math/libm-test.inc (clog_test): Add more tests.
24500 (clog10_test): Likewise.
24501 * sysdeps/i386/fpu/libm-test-ulps: Update.
24502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24503
2bc13872
FW
245042012-07-31 Florian Weimer <fweimer@redhat.com>
24505
24506 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24507 Exit with zero in case no suitable GID is found, and write a
24508 message to standard error.
24509
bea9b193
RM
245102012-07-30 Roland McGrath <roland@hack.frob.com>
24511
24512 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24513 rather than to 1.
24514 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24515 (MAXPATHLEN): Removed.
24516 (NOGROUP, NODEV): New macros.
24517 (setbit, clrbit, isset, isclr): New macros.
24518 (howmany, roundup, powerof2): New macros.
24519 (DEV_BSIZE): New macro.
24520
24521 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24522 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24523
24524 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24525 definition on [!__NO_LONG_DOUBLE_MATH].
24526
24527 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24528 PTR_MANGLE and PTR_DEMANGLE.
24529
24530 * socket/accept4.c (accept4): Rename to __libc_accept4.
24531 Define accept4 as a weak alias.
24532
24533 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24534 on [_DIRENT_HAVE_D_TYPE].
24535 * io/ftw.c (ftw_dir): Likewise.
24536
24537 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24538
24539 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24540
24541 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24542 Use the BSD numbers rather than the arbitrary ones we had.
24543 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24544 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24545 (SIGXCPU, SIGXFSZ): New macros.
24546 (_NSIG): Now 32.
24547
24548 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24549 initializer on [_LIBC_REENTRANT].
24550
24551 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24552 definitions inside [_POSIX_MAPPED_FILES].
24553
24554 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24555
24556 * dirent/opendir.c: Include <fcntl.h>.
24557
24558 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24559 (__libc_getspecific): Likewise.
24560 (__libc_key_create): Likewise.
24561
24562 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24563 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24564 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24565 (tmpfile64): Define as alias.
24566 * sysdeps/wordsize-64/tmpfile.c: File removed.
24567 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24568 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24569 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24570
24571 * stdio-common/vfscanf.c: Include <stdbool.h>.
24572 * nss/makedb.c: Likewise.
24573 * stdio-common/_i18n_number.h: Likewise.
24574 * argp/argp-help.c: Likewise.
24575 * posix/wordexp.c: Likewise.
24576 * sysdeps/posix/spawni.c: Likewise.
24577 * nss/nss_files/files-initgroups.c: Likewise.
24578 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24579 * nss/nss_files/files-initgroups.c: Likewise.
24580 * nss/nss_db/db-netgrp.c: Likewise.
24581 * nss/nss_db/db-initgroups.c: Likewise.
24582 * io/fchmodat.c: Include <sys/stat.h>.
24583
24584 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24585 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24586
24587 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24588 [HAVE_MMAP].
24589
24590 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24591 Add multiple inclusion protection.
24592
e5abc686
DM
245932012-07-27 David S. Miller <davem@davemloft.net>
24594
24595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24596
815e6fa3
GB
245972012-07-27 Gary Benson <gbenson@redhat.com>
24598
24599 [BZ #14298]
24600 * elf/rtld.c: Include <stap-probe.h>.
24601 (dl_main): Added static probes "init_start" and "init_complete".
24602 * elf/dl-load.c: Include <stap-probe.h>.
24603 (lose): Take new parameter "nsid".
24604 Added static probe "map_failed".
24605 (_dl_map_object_from_fd): Pass namespace id to lose.
24606 Added static probe "map_start".
24607 (open_verify): Pass namespace id to lose.
24608 * elf/dl-open.c: Include <stap-probe.h>.
24609 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24610 and "reloc_complete".
24611 * elf/dl-close.c: Include <stap-probe.h>.
24612 (_dl_close_worker): Added static probes "unmap_start" and
24613 "unmap_complete".
24614 * elf/rtld-debugger-interface.txt: New file documenting the above.
24615
9f98c16c
RM
246162012-07-26 Roland McGrath <roland@hack.frob.com>
24617
24618 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24619 rather than a string variable.
24620 * sunrpc/rpc_main.c (h_output): Likewise.
24621 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24622
f3c22df3
PT
246232012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24624
24625 * inet/check_native.c: New file.
24626
3129cfc6
JM
246272012-07-26 Joseph Myers <joseph@codesourcery.com>
24628
da865e95
JM
24629 [BZ #13629]
24630 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24631 if larger part has absolute value 1.0.
24632 * math/s_clog10.c (__clog10): Likewise.
24633 * math/s_clog10f.c (__clog10f): Likewise.
24634 * math/s_clog10l.c (__clog10l): Likewise.
24635 * math/s_clogf.c (__clogf): Likewise.
24636 * math/s_clogl.c (__clogl): Likewise.
24637 * math/libm-test.inc (clog_test): Add more tests.
24638 (clog10_test): Likewise.
24639 * sysdeps/i386/fpu/libm-test-ulps: Update.
24640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24641
3129cfc6
JM
24642 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24643 (pltexit): Likewise.
24644 (La_regs): Likewise.
24645 (La_retval): Likewise.
24646 (int_retval): Likewise.
24647 Update #error for removed macros to refer only to definitions in
24648 tst-audit.h.
24649 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24650 macro.
24651 (pltexit): Likewise.
24652 (La_regs): Likewise.
24653 (La_retval): Likewise.
24654 (int_retval): Likewise.
24655 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24656 macro.
24657 (pltexit): Likewise.
24658 (La_regs): Likewise.
24659 (La_retval): Likewise.
24660 (int_retval): Likewise.
24661 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24662 macro.
24663 (pltexit): Likewise.
24664 (La_regs): Likewise.
24665 (La_retval): Likewise.
24666 (int_retval): Likewise.
24667 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24668 macro.
24669 (pltexit): Likewise.
24670 (La_regs): Likewise.
24671 (La_retval): Likewise.
24672 (int_retval): Likewise.
24673 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24674 macro.
24675 (pltexit): Likewise.
24676 (La_regs): Likewise.
24677 (La_retval): Likewise.
24678 (int_retval): Likewise.
24679 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24680 macro.
24681 (pltexit): Likewise.
24682 (La_regs): Likewise.
24683 (La_retval): Likewise.
24684 (int_retval): Likewise.
24685 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24686 macro definitions in tst-audit.h.
24687 * sysdeps/i386/tst-audit.h: New file.
24688 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24689 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24690 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24691 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24692 * sysdeps/sh/tst-audit.h: Likewise.
24693 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24694 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24695 * sysdeps/x86_64/tst-audit.h: Likewise.
24696
bfc07087
AJ
246972012-07-26 Andreas Jaeger <aj@suse.de>
24698
b1b2aaf8
AJ
24699 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24700 ptrace.
24701
24702 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24703 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24704 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24705 PTRACE_O_MASK.
24706 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24707 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24708 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24709
bfc07087
AJ
24710 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24711 value.
24712
24713 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24714 _sigsys.
24715 (si_call_addr, si_syscall, si_arch): Define new macro.
24716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24717 _sigsys.
24718 (si_call_addr, si_syscall, si_arch): Define new marcro.
24719 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24720 _sigsys.
24721 (si_call_addr, si_syscall, si_arch): Define new macro.
24722 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24723 _sigsys.
24724 (si_call_addr, si_syscall, si_arch): Define new macro.
24725
89b4b02f
JM
247262012-07-25 Joseph Myers <joseph@codesourcery.com>
24727
24728 [BZ #13717]
24729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24730 Change to 2.4.21 where previously 2.4.1.
24731 * sysdeps/unix/sysv/linux/configure: Regenerated.
24732 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24733 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24734 Linux kernel version.
24735 (__ASSUME_STD_AUXV): Remove.
24736 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24737 kernel version.
24738 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24739 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24740 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24741 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24742 (__ASSUME_NETLINK_SUPPORT): Likewise.
24743 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24744 (__no_netlink_support): Remove conditional definition.
24745 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24746 Remove.
24747 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24748 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24750 (if_nameindex_ioctl): Remove.
24751 (if_nameindex_netlink): Do not handle __no_netlink_support.
24752 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24753 code.
24754 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24755 Remove conditional code.
24756 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24757 code.
24758 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24759 unconditional.
24760 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24761 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24762 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24763 Remove.
24764 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24765 [!__ASSUME_STD_AUXV]: Remove conditional code.
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24767 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24768 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24770 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24771 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24772 code.
24773 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24775 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24776 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24777 conditional code.
24778 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24780 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24781 code.
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24783 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24784 conditional code.
24785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24786 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24787 code unconditional.
24788 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24789 conditional code.
24790 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24791 unconditional.
24792 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24793 conditional code.
24794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24795 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24796 unconditional.
24797 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24798 conditional code.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24800 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24801 code unconditional.
24802 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24803 conditional code.
24804 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24805 unconditional.
24806 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24807 conditional code.
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24809 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24810 code unconditional.
24811 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24812 conditional code.
24813 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24814 unconditional.
24815 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24816 conditional code.
24817
842a39cd
AS
248182012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24819
24820 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24821 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24822 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24823 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24824 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24825 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24826 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24827 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24828 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24829 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24830 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24831 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24832 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24833 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24834 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24835 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24836 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24838 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24840 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24841 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24843
84b3fd84
FW
248442012-07-25 Florian Weimer <fweimer@redhat.com>
24845
24846 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24847 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24848 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24849 Introduce __libc_secure_getenv.
0c7936d5
FW
24850 * stdlib/Versions (2.17): Add secure_getenv
24851 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24852 * stdlib/secure-getenv.c: Rename __secure_getenv to
24853 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24854 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24855 * stdlib/tst-secure-getenv.c: New.
24856 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24857 * manual/startup.texi (Environment Access): Document
24858 secure_getenv.
84b3fd84
FW
24859 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24860 __libc_secure_getenv.
24861 * inet/ruserpass.c (ruserpass): Likewise.
24862 * malloc/mtrace.c (mtrace): Likewise.
24863 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24864 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24865 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24866 * sysdeps/posix/tempname.c: Likewise. Evaluate
24867 HAVE_SECURE_GETENV.
24868 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24869 __secure_getenv to __libc_secure_getenv.
84b3fd84 24870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24872 Likewise.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24874 Likewise.
24875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24877 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24882
56e49b71
JM
248832012-07-25 Joseph Myers <joseph@codesourcery.com>
24884
24885 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24886 (struct La_i86_retval): Likewise.
24887 (struct La_x86_64_regs): Likewise.
24888 (struct La_x86_64_retval): Likewise.
24889 (struct La_x32_regs): Likewise.
24890 (struct La_x32_retval): Likewise.
24891 (struct La_ppc32_regs): Likewise.
24892 (struct La_ppc32_retval): Likewise.
24893 (struct La_ppc64_regs): Likewise.
24894 (struct La_ppc64_retval): Likewise.
24895 (struct La_sh_regs): Likewise.
24896 (struct La_sh_retval): Likewise.
24897 (struct La_s390_32_regs): Likewise.
24898 (struct La_s390_32_retval): Likewise.
24899 (struct La_s390_64_regs): Likewise.
24900 (struct La_s390_64_retval): Likewise.
24901 (struct La_sparc32_regs): Likewise.
24902 (struct La_sparc32_retval): Likewise.
24903 (struct La_sparc64_regs): Likewise.
24904 (struct La_sparc64_retval): Likewise.
24905 (struct audit_ifaces): Remove architecture-specific pltenter and
24906 pltexit members.
24907 * sysdeps/i386/ldsodefs.h: New file.
24908 * sysdeps/powerpc/ldsodefs.h: Likewise.
24909 * sysdeps/s390/ldsodefs.h: Likewise.
24910 * sysdeps/sh/ldsodefs.h: Likewise.
24911 * sysdeps/sparc/ldsodefs.h: Likewise.
24912 * sysdeps/x86_64/ldsodefs.h: Likewise.
24913
354691b7
MP
249142012-07-25 Marek Polacek <polacek@redhat.com>
24915
24916 [BZ #6808]
24917 * math/libm-test.inc (yn_test): Add another test.
24918 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24919 to ERANGE when the result is +-Inf.
24920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24921 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24922 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24923 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24924
bf9e2071
JM
249252012-07-24 Joseph Myers <joseph@codesourcery.com>
24926
24927 * conform/data/time.h-data (NULL): Use macro-constant. Require
24928 equal to 0.
24929 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24930 clock_t.
24931 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24932
57633811
TS
249332012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24934
24935 * configure.in <sysdeps resolving>: Correct printing
24936 Implies_before.
24937 * configure: Regenerate.
24938
c23c33b0
TS
249392012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24940
24941 * math/w_ilogb.c: Include <limits.h>.
24942 * math/w_ilogbl.c: Likewise.
24943
b5982523
JM
249442012-07-20 Joseph Myers <joseph@codesourcery.com>
24945
24946 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24947 va_copy. Document allowing for unavailable va_copy only as
24948 pre-C99 compatibility.
24949 * manual/string.texi (Copying and Concatenation): Use va_copy
24950 instead of __va_copy in concat example.
24951
ac4ea442
PT
249522012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24953
24954 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24955 (__sendto): Use create_address_port. Initialize APORT and deallocate
24956 it if not null.
24957
f98eafbd
PT
24958 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24959 with O_NOLINK passed to __file_name_lookup.
24960
898c7aab
PT
24961 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24962 with O_NOLINK passed to __file_name_lookup.
24963
0ced335a
PT
24964 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24965 negative N or less than NGIDS.
24966
b3404dbd
PT
24967 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24968 type to string_t. Set ERANGE as errno and return it if NAME is not big
24969 enough. Use memcpy instead of strncpy.
24970
0f48659e
JM
249712012-07-20 Joseph Myers <joseph@codesourcery.com>
24972
24973 * elf/Makefile (check-data): Remove.
24974 (localplt.data): New vpath directive.
24975 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24976 instead of $(check-data).
24977 * scripts/data/localplt-generic.data: Move to ...
24978 * sysdeps/generic/localplt.data: ... here.
24979 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24980 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24981 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24983 ... here.
24984 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24986 ... here.
24987 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24989 ... here.
24990 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24992 ... here.
24993 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24995 ... here.
24996 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24998 ... here.
24999
d37cbdaa
AZ
250002012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25001
25002 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25003 PPC32 and PPC64 files.
25004 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25005 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25006
46f85fc2
AK
250072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25008
25009 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25010 __makecontext_ret to ...
25011 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25012 ... here and call exit if uc_link is NULL. New file.
25013 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25014 __makecontext_ret.S.
25015 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25016 __makecontext_ret to ...
25017 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25018 ... here and call exit if uc_link is NULL. New file.
25019 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25020 __makecontext_ret.S.
25021
08f43f9b
AK
250222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25023
25024 * elf/elf.h (R_390_IRELATIVE): New definition.
25025 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25026 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25027 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25028 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25029 (elf_machine_lazy_rel): Likewise.
25030 * sysdeps/s390/dl-irel.h: New file.
25031 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25032 * sysdeps/s390/s390-64/memset.S: New asm code.
25033 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25034 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25035 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25036 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25037 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25038 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25039 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25040 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25041 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25042 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25043 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25044 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25045 * sysdeps/s390/s390-32/memset.S: New asm code.
25046 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25047
3b05db33
MP
250482012-07-17 Marek Polacek <polacek@redhat.com>
25049
25050 [BZ #14349]
25051 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25052 * sysdeps/s390/s390-64/configure.in: Likewise.
25053 * sysdeps/sparc/configure.in: Likewise.
25054 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25055 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25056 * sysdeps/i386/configure.in: Likewise.
25057 * sysdeps/x86_64/configure.in: Likewise.
25058 * sysdeps/sh/configure.in: Likewise.
25059 * sysdeps/s390/s390-32/configure: Regenerated.
25060 * sysdeps/s390/s390-64/configure: Likewise.
25061 * sysdeps/x86_64/configure: Likewise.
25062 * sysdeps/sh/configure: Likewise.
25063 * sysdeps/powerpc/powerpc64/configure: Likewise.
25064 * sysdeps/powerpc/powerpc32/configure: Likewise.
25065 * sysdeps/sparc/configure: Likwise.
25066 * sysdeps/i386/configure: Likewise.
25067
a66877c6
MP
25068 * elf/dl-open.c: Comment fixes.
25069
cfc82fd8
JM
250702012-07-17 Joseph Myers <joseph@codesourcery.com>
25071
bd29910a
JM
25072 * Makefile [CXX] (check-data): Remove.
25073 [CXX] (c++-types.data): New vpath directive.
25074 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25075 vpath. Do not allow for C++ type data being missing.
25076 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25077 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25078 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25079 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25080 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25081 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25082 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25084 ... here.
25085 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25087 ... here.
25088 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25090 ... here.
25091 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25093 ... here.
25094 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25096 ... here.
25097 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25099 ... here.
25100 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25102 ... here.
25103 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25105
cfc82fd8
JM
25106 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25107 definitions to architecture-specific files.
25108 (TLS_IE): Likewise.
25109 (TLS_LD): Likewise.
25110 (TLS_GD): Likewise.
25111 * sysdeps/i386/tls-macros.h: New file.
25112 * sysdeps/powerpc/tls-macros.h: Likewise.
25113 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25114 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25115 * sysdeps/sh/tls-macros.h: Likewise.
25116 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25117 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25118 * sysdeps/x86_64/tls-macros.h: Likewise.
25119
f7db3170
TS
251202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25121
07cbfc23
TS
25122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25123 zero value for regular exit case.
25124
f7db3170
TS
25125 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25126 (__start_context): Preserve zero value for regular exit case.
25127
dc97c227
TS
251282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25129 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25130
25131 * manual/setjmp.texi (setcontext): Clarify normal process
25132 termination when uc_link is the null pointer.
25133 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25134 exit call.
25135
d0cd7d02
AS
251362012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25137
25138 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25139 preprocessor. Test for each exception mask separately.
25140
dd318934
AJ
251412012-07-16 Andreas Jaeger <aj@suse.de>
25142
25143 * po/ru.po: Update from translation team.
25144
8048311a
JM
251452012-07-15 Joseph Myers <joseph@codesourcery.com>
25146
25147 * conform/data/string.h-data (NULL): Use macro-constant. Require
25148 equal to 0.
25149 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25150 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25151 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25152 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25154
b637d46e
AJ
251552012-07-13 Andreas Jaeger <aj@suse.de>
25156
25157 * po/fr.po: Update from translation team.
25158
541428fe
MP
251592012-07-12 Marek Polacek <polacek@redhat.com>
25160
25161 [BZ #14173]
25162 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25163 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25164 loop condition.
25165
ec332e94
JM
251662012-07-12 Joseph Myers <joseph@codesourcery.com>
25167
25168 [BZ #13717]
25169 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25170 Change to 2.4.1 where previously 2.4.0.
25171 * sysdeps/unix/sysv/linux/configure: Regenerated.
25172 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25173 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25174 version.
25175 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25176 (__ASSUME_AT_CLKTCK): Remove.
25177 (__ASSUME_AT_PAGESIZE): Likewise.
25178 (__ASSUME_AT_XID): Likewise.
25179 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25180 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25181 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25182 unconditionally.
25183 (HAVE_AUX_PAGESIZE): Likewise.
25184 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25185 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25186 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25187
7b6e99be
JB
251882012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25189
25190 [BZ #14307]
25191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25192 the temporary buffer used to invoke __gethostbyname2_r,
25193 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25194 host_data / struct gaih_addrtuple.
25195 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25196 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25197 header file nss/nsswitch.h.
25198 * nss/nsswitch.h (global scope): Add definition of implementation
25199 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25200 resolv/nss_dns/dns-host.c).
25201
608404eb
AJ
252022012-07-11 Andreas Jaeger <aj@suse.de>
25203
25204 * po/fr.po: Update from translation team.
25205
71220aca
AJ
25206 * po/sv.po: Update from translation team
25207 * po/fr.po: Another update from translation team.
25208
28cfe843
AZ
252092012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25210
25211 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25212 for subnormals or multiply small sinh result by itself.
25213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25215
6b90f981
DM
252162012-07-11 David S. Miller <davem@davemloft.net>
25217
25218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25219
c6825772
AS
252202012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25221
25222 [BZ #14347]
25223 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25224 (INTERNAL_MARK): Shift it here.
25225
7b8e0d49
MP
252262012-07-10 Marek Polacek <polacek@redhat.com>
25227
25228 [BZ #14151]
25229 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25230 libc_cv_asm_global_directive with .globl.
25231 * configure: Regenerated.
25232 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25233 with .globl.
25234 * sysdeps/i386/configure: Regenerated.
25235 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25236 with .globl.
25237 * sysdeps/x86_64/configure: Regenerated.
25238 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25239 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25240 * elf/tst-unique2mod2.c: Likewise.
25241 * elf/tst-unique2mod1.c: Likewise.
25242 * elf/tst-unique1mod2.c: Likewise.
25243 * elf/tst-unique1mod1.c: Likewise.
25244 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25245 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25247 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25248 * sysdeps/mach/sysdep.h: Likewise.
25249 * sysdeps/i386/sysdep.h: Likewise.
25250 * sysdeps/i386/i386-mcount.S: Likewise.
25251 * sysdeps/x86_64/_mcount.S: Likewise.
25252 * sysdeps/x86_64/sysdep.h: Likewise.
25253 * sysdeps/sh/_mcount.S: Likewise.
25254 * sysdeps/sh/sysdep.h: Likewise.
25255 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25256 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25257 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25258 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25259 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25260 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25261 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25262 * locale/localeinfo.h: Likewise.
25263 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25264 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25265
6c55cda3
RM
252662012-07-09 Roland McGrath <roland@hack.frob.com>
25267
25268 [BZ #14336]
25269 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25270 system".
25271 * manual/message.texi (The Uniforum approach): Likewise.
25272 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25273 (glibc iconv Implementation): Likewise.
25274
638a572e
JM
252752012-07-09 Joseph Myers <joseph@codesourcery.com>
25276
25277 [BZ #14337]
25278 * math/s_clog.c (__clog): Avoid scaling a value down where that
25279 could result in underflow.
25280 * math/s_clog10.c (__clog10): Likewise.
25281 * math/s_clog10f.c (__clog10f): Likewise.
25282 * math/s_clog10l.c (__clog10l): Likewise.
25283 * math/s_clogf.c (__clogf): Likewise.
25284 * math/s_clogl.c (__clogl): Likewise.
25285 * math/libm-test.inc (clog_test): Add more tests.
25286 (clog10_test): Likewise.
25287 * sysdeps/i386/fpu/libm-test-ulps: Update.
25288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25289
261f4859
AS
252902012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25291
0abaf3e4
AS
25292 [BZ #14283]
25293 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25294 by 7 not 8 to examine high bit of fractional part.
25295
261f4859
AS
25296 [BZ #14042]
25297 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25298 for call to __mcount_internal.
25299 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25300 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25301 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25302
f17ac40d
JM
253032012-07-06 Joseph Myers <joseph@codesourcery.com>
25304
9ad63c23
JM
25305 [BZ #14154]
25306 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25307 approximation for values within 0x1p-13f of an odd multiple of
25308 pi/4.
25309 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25310 exception. Add more tests.
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312
f17ac40d
JM
25313 [BZ #6778]
25314 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25315 inputs and return -1 for them. Do not check for +Inf in case not
25316 reachable for +Inf.
25317 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25318 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25319 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25320 and return -1 for them. Do not check for +Inf in case not
25321 reachable for +Inf.
25322 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25323 define.
25324 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25325 and return -1 for them. Do not check for +Inf in case not
25326 reachable for +Inf.
25327 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25328 spurious underflow.
25329 * sysdeps/i386/fpu/libm-test-ulps: Update.
25330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25331
fb21f89b
MF
253322012-07-06 Mike Frysinger <vapier@gentoo.org>
25333
25334 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25335
cdfe2c5e
JM
253362012-07-05 Joseph Myers <joseph@codesourcery.com>
25337
25338 [BZ #14157]
25339 [BZ #14331]
25340 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25341 could result in spurious underflow. Scale down values above
25342 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25343 * math/s_csqrtf.c (__csqrtf): Likewise.
25344 * math/s_csqrtl.c (__csqrtl): Likewise.
25345 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25346 spurious underflow.
25347 * sysdeps/i386/fpu/libm-test-ulps: Update.
25348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25349
70d35b67
AS
253502012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25351
704bc459
AS
25352 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25353 xopen-msg.sed.
25354 * catgets/xopen-msg.awk: New file.
25355 * catgets/xopen-msg.sed: Removed.
25356
70d35b67
AS
25357 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25358 po2text.sed.
25359 * intl/po2test.awk: New file.
25360 * intl/po2test.sed: Removed.
25361
ca61cf32
JM
253622012-07-04 Joseph Myers <joseph@codesourcery.com>
25363
25364 [BZ #14328]
25365 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25366 or multiply small sinh result by itself.
25367 * math/s_ctanf.c (__ctanf): Likewise.
25368 * math/s_ctanh.c (__ctanh): Likewise.
25369 * math/s_ctanhf.c (__ctanhf): Likewise.
25370 * math/s_ctanhl.c (__ctanhl): Likewise.
25371 * math/s_ctanl.c (__ctanl): Likewise.
25372 * math/libm-test.inc (ctan_test_tonearest): New function.
25373 (ctan_test_towardzero): Likewise.
25374 (ctan_test_downward): Likewise.
25375 (ctan_test_upward): Likewise.
25376 (ctanh_test_tonearest): Likewise.
25377 (ctanh_test_towardzero): Likewise.
25378 (ctanh_test_downward): Likewise.
25379 (ctanh_test_upward): Likewise.
25380 (main): Call these new functions.
25381 * sysdeps/i386/fpu/libm-test-ulps: Update.
25382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25383
ca48a46a
MF
253842012-07-03 Mike Frysinger <vapier@gentoo.org>
25385
25386 * .gitignore: Delete /ports entry.
25387
9d63d37d
AJ
253882012-07-03 Andreas Jaeger <aj@suse.de>
25389
25390 * po/bg.po: Update from translation team.
25391 * po/cs.po: Likewise.
25392 * po/de.po: Likewise.
25393 * po/hr.po: Likewise.
25394 * po/nl.pl: Likewise.
25395 * po/pl.po: Likewise.
25396 * po/vi.po: Likewise.
25397
370ca3d2
JM
253982012-07-03 Joseph Myers <joseph@codesourcery.com>
25399
95f5a9a8
JM
25400 * Makeconfig [!+link] (+link-before-libc): New variable.
25401 [!+link] (+link-after-libc): Likewise.
25402 [!+link] (+link-tests): Likewise.
25403 [!+link] (+link): Define in terms of $(+link-before-libc) and
25404 $(+link-after-libc).
25405 [!+link-static] (+link-static-before-libc): New variable.
25406 [!+link-static] (+link-static-after-libc): Likewise.
25407 [!+link-static] (+link-static-tests): Likewise.
25408 [!+link-static] (+link-static): Define in terms of
25409 $(+link-static-before-libc) and $(+link-static-after-libc).
25410 [build-shared] (link-libc-before-gnulib): New variable.
25411 [build-shared] (link-libc-tests): Likewise.
25412 [build-shared] (link-libc): Define in terms of
25413 $(link-libc-before-gnulib).
25414 [!build-shared] (link-libc-tests): New variable.
25415 (link-libc-static-tests): New variable.
25416 [!gnulib] (gnulib-arch): New variable.
25417 [!gnulib] (gnulib-tests): Likewise.
25418 [!gnulib] (static-gnulib-arch): Likewise.
25419 [!gnulib] (static-gnulib-tests): Likewise.
25420 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25421 Define with "=" instead of ":=".
25422 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25423 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25424 * Rules (binaries-all-notests): New variable.
25425 (binaries-all-tests): Likewise.
25426 (binaries-static-notests): Likewise.
25427 (binaries-static-tests): Likewise.
25428 (binaries-all): Define using $(binaries-all-notests) and
25429 $(binaries-all-tests).
25430 (binaries-static): Define using $(binaries-static-notests) and
25431 $(binaries-static-tests).
25432 (binaries-shared-tests): New variable.
25433 (binaries-shared-notests): Likewise.
25434 (binaries-shared): Remove variable.
25435 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25436 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25437 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25438 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25439 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25440 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25441 * elf/Makefile (sln-modules): New variable.
25442 (extra-objs): Add $(sln-modules:=.o).
25443 (ldconfig-modules): Add static-stubs.
25444 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25445 * elf/static-stubs.c: New file.
25446
7a845b2c
JM
25447 [BZ #14283]
25448 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25449 by 7 not 8 to examine high bit of fractional part. Use volatile
25450 variables when splitting into final array of floats if
25451 __FLT_EVAL_METHOD__ != 0.
25452 * math/libm-test.inc (cos_test): Add another test.
25453 (sin_test): Likewise.
25454 * sysdeps/i386/fpu/libm-test-ulps: Update.
25455
e2283f38
JM
25456 [BZ #14273]
25457 * math/libm-test.inc (cosh_test): Add more tests.
25458
370ca3d2
JM
25459 * version.h (RELEASE): Set to "development".
25460 (VERSION): Set to "2.16.90".
25461
ee9247c3
CD
254622012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25463
25464 * NEWS: Update copyright. Remove last-updated date.
25465 Mention math library bug fixes and timezone data changes.
25466 * README: Mention GNU/Hurd, x32, and HPPA support status.
25467
4648c381
TS
254682012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25469
25470 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25471
aac78a43
AJ
254722012-06-27 Andreas Jaeger <aj@suse.de>
25473
25474 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25475
ed3dbfad
AJ
254762012-06-25 Andreas Jaeger <aj@suse.de>
25477
25478 * sysdeps/s390/fpu/libm-test-ulps: Update.
25479
4d0ee855
AS
254802012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25481 Thomas Schwinge <thomas@codesourcery.com>
25482
25483 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25484 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25486 fanotify_mark.
25487
af1bce34
TS
254882012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25489
a9fa33ba
TS
25490 * sysdeps/mach/start.c: Remove file.
25491 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25492 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25493 * sysdeps/sh/init-first.c: Likewise.
25494
58f902b8
TS
25495 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25496 registers for frame unwinding purposes, add CFI directives.
25497 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25498 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25499 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25500 Likewise.
25501
1518f58b
TS
25502 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25503 __fortify_fail returning.
25504 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25505
db9b5059
TS
25506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25507 sysdeps/sh/____longjmp_chk.S.
25508 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25509 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25510 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25511 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25512
967705fe
TS
25513 * sysdeps/sh/abort-instr.h: New file.
25514 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25515 process in case exit returns.
25516
a9def8c4
TS
25517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25518 initialize the GOT register before use.
25519
2a649725
TS
25520 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25521 calculation of ARGC > 4.
25522
af1bce34
TS
25523 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25524 meaningful names to some local labels.
25525
d230f50a
KK
255262012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25527 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25528
25529 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25530 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25531 (__arch_compare_and_exchange_val_16_acq): Likewise.
25532 (__arch_compare_and_exchange_val_32_acq): Likewise.
25533 (atomic_exchange_and_add): Fix gUSA sequence.
25534 (atomic_add): Likewise.
25535 (atomic_add_negative): Likewise.
25536 (atomic_add_zero): Likewise.
25537 (atomic_bit_test_set): Likewise.
25538
0479b305
AS
255392012-06-22 Andreas Schwab <schwab@redhat.com>
25540
25541 [BZ #13579]
25542 * include/link.h (struct link_map): Add l_free_initfini.
25543 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25544 l_initfini.
25545 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25546 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25547 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25548 set.
25549
0e3933b9
CD
255502012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25551
25552 * configure.in: Use AC_LANG_SOURCE.
25553 * configure: Regenerate.
25554
4248b1b1
RM
255552012-06-22 Roland McGrath <roland@hack.frob.com>
25556
25557 * configure.in (libc_cv_localstatedir): New substituted variable.
25558 * configure: Regenerated.
25559 * config.make.in (localstatedir): New variable, substituted from
25560 libc_cv_localstatedir.
25561 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25562 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25563 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25564 * sysdeps/gnu/configure: Regenerated.
25565
006dd861
JL
255662012-06-21 Jeff Law <law@redhat.com>
25567
25568 [BZ #14277]
25569 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25570 free. Simplify list management for _LIBC case.
25571
79662d42
JM
255722012-06-21 Joseph Myers <joseph@codesourcery.com>
25573
b7abb4bf
JM
25574 [BZ #14273]
25575 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25576 Clear sign bit of 64-bit integer value before comparing against
25577 overflow value.
25578
79662d42
JM
25579 * sysdeps/mach/configure: Regenerated.
25580
1f150908
L
255812012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25582
25583 [BZ #14278]
25584 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25585
28363bbf
JL
255862012-06-21 Jeff Law <law@redhat.com>
25587
25588 [BZ #13882]
25589 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25590 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25591 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25592 * elf/dl-open.c (dl_open_worker): Likewise.
25593
09615db4
CD
255942012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25595
25596 * scripts/list-sources.sh: Scan PORTS for translations.
25597 * po/libc.pot: Regenerated.
25598
2174c6dd
AJ
255992012-06-21 Andreas Jaeger <aj@suse.de>
25600
25601 [BZ #12194]
25602 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25603 warning.
25604 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25605 * bits/byteswap-16.h (__bswap_16): Likewise.
25606 * bits/byteswap.h (__bswap_constant_16): Likewise.
25607
3ee947b1
L
256082012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 [BZ #14117]
a2f34833
L
25611 * sysdeps/i386/fpu_control.h: Removed.
25612 * sysdeps/x86_64/fpu_control.h: Moved to ...
25613 * sysdeps/x86/fpu_control.h: Here.
25614
3ee947b1
L
25615 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25616 (_FPU_SETCW): Likewise.
25617
ed1825f8
L
256182012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25619
25f1282a
L
25620 [BZ #14117]
25621 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25622 * sysdeps/x86/fpu/bits/mathinline.h: This.
25623 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25624
ed1825f8
L
25625 [BZ #14050]
25626 [BZ #14117]
25627 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25628 functions if __x86_64__ is defined.
25629
36d54b74
CLT
256302012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25631
25632 * string/endian.h: Add !__ASSEMBLER__ condition for including
25633 conversion interfaces.
25634
10285c21
JM
256352012-06-15 Joseph Myers <joseph@codesourcery.com>
25636
25637 [BZ #14241]
25638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25639 of ABS(x) in calculating zero to negative powers other than odd
25640 integers.
25641 * math/libm-test.inc (pow_test): Add more tests.
25642
06c5abbd
AJ
256432012-06-15 Andreas Jaeger <aj@suse.de>
25644
25645 * manual/contrib.texi (Contributors): Update entry of Liubov
25646 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25647 Machado Filho.
25648
a3aeac40
CH
256492012-06-15 Cyril Hrubis <metan@ucw.cz>
25650
25651 * string/string.h: Add __wur to GNU version of strerror_r.
25652
49bdf4c1
L
256532012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25654
25655 [BZ #14229]
25656 * string/Makefile (tests): Add tst-strtok_r.
25657 * string/tst-strtok_r.c: New file.
25658 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25659 RAX_LP/RDX_LP on SAVE_PTR.
25660
834f9b8d
RM
256612012-06-14 Roland McGrath <roland@hack.frob.com>
25662
25663 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25664
75fa1921
JM
256652012-06-14 Joseph Myers <joseph@codesourcery.com>
25666
25667 * libm_test.inc (csqrt_test): Allow more spurious underflow
25668 exceptions.
25669 (j0_test): Likewise.
25670 (j1_test): Likewise.
25671 (y0_test): Likewise.
25672 (y1_test): Likewise.
25673
771766df
CD
256742012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25675
25676 * po/Makefile (libc.pot): Use UTF-8 charset.
25677
ceb9e56b
PP
256782012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25679
25680 [BZ #14210]
25681 Suppress sign-conversion warning from FD_SET.
25682 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25683 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25684 not unsigned long int.
25685 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25686
ddb28975
L
256872012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25688
25689 [BZ #14050]
25690 [BZ #14117]
25691 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25692 __extern_always_inline instead of __extern_inline.
25693 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25694 (__signbit): Likewise.
25695 (__signbitl): Support C++ namespace.
25696 (lrintf): New inline function.
25697 (lrint): Likewise.
25698 (llrintf): Likewise.
25699 (llrint): Likewise.
25700 (fmaxf): Likewise.
25701 (fmax): Likewise.
25702 (fminf): Likewise.
25703 (fmin): Likewise.
25704 (rint): Likewise.
25705 (rintf): Likewise.
25706 (ceil): Likewise.
25707 (ceilf): Likewise.
25708 (floor): Likewise.
25709 (floorf): Likewise.
25710 (nearbyint): Likewise.
25711 (nearbyintf): Likewise.
25712
d7b4fb26
TS
257132012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25714
25715 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25716 non-default versions.
25717
eb55f5c2
RM
257182012-06-11 Roland McGrath <roland@hack.frob.com>
25719
25720 [BZ #14218]
25721 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25722
366af02c
TS
257232012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25724
99ff6e5c
TS
25725 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25726 (FE_UPWARD, FE_DOWNWARD): Don't define.
25727 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25728 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25729
366af02c
TS
25730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25731 reading it.
25732 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25733 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25734
793ea851
KK
257352012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25736
25737 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25739 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25740 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25741
a728a38f
L
257422012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25743
25744 [BZ #14117]
c08010c7
L
25745 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25746 * sysdeps/i386/fpu/Implies: New file.
25747 * sysdeps/x86_64/fpu/Implies: Likewise.
25748 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25749 * sysdeps/x86/fpu/bits/fenv.h: This.
25750
a728a38f
L
25751 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25752 __SSE_MATH__.
25753
6e230d11
SP
257542012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25755
25756 [BZ #14134]
25757 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25758 character 0xffff that matches the last element of the
25759 conversion table.
25760
1b671feb
AZ
257612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25762
25763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25764 fmodl commit.
25765
6043738b
AZ
257662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25767
25768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25769 values higher than 25.6283.
25770
34ae0b32
AZ
257712012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25772
25773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25774 subnormal exponent extraction and add some __builtin_expect.
25775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25776 Fix for subnormal mantissa calculation.
25777
1214ec8f
MF
257782012-06-04 Mike Frysinger <vapier@gentoo.org>
25779
25780 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25781 cpu2 is -1 and errno is not ENOSYS.
25782
f3d1f93c
L
257832012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 [BZ #14117]
0e4a3cd7
L
25786 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25787 * sysdeps/x86/bits/string.h: This.
25788 * sysdeps/x86_64/bits/string.h: Removed.
25789
6704c645
L
25790 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25791 if not compiling for x86-64, but compiling for >= i486.
25792
48495318
L
25793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25794 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25795
14adcbfc
L
25796 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25797 New macro from Linux kernel 3.4.0.
25798 (FP_XSTATE_MAGIC2): Likewise.
25799 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25800 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25801 (struct _fpx_sw_bytes): New struct.
25802 (struct _xsave_hdr): Likewise.
25803 (struct _ymmh_state): Likewise.
25804 (struct _xstate): Likewise.
25805
68e408ab
L
25806 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25807 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25808 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25809 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25810 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25811 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25812
f3d1f93c
L
25813 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25814 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25815 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25816 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25817 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25818 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25819
d9dc34cd
TMQMF
258202012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25821
25822 [BZ #13743]
25823 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25824 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25825 (sysdep_headers): Include sys/platform/ppc.h.
25826 * sysdeps/powerpc/test-gettimebase.c: Test for
25827 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25828 * manual/Makefile (appendices): Include platform.texi.
25829 * manual/contrib.texi (Contributors): Update @node pointers.
25830 * manual/maint.texi (Maintenance): Likewise.
25831 (Platform): New node.
25832 * manual/platform.texi: New file. Document the new features.
25833
4af3879c
SP
258342012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25835 Jakub Jelinek <jakub@redhat.com>
25836
25837 [BZ #14188]
25838 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25839 where __builtin_expect is unavailable.
25840
2fd6ff13
DM
258412012-06-03 David S. Miller <davem@davemloft.net>
25842
25843 * stdlib/longlong.h: Updated from GCC.
25844
173f7220
AS
258452012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25846
25847 [BZ #14042]
25848 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25849 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25850 __mcount_internal.
25851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25852 (GLIBC_2.16): Likewise.
25853
f34a1c6f
L
258542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25855
25856 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25857
88a4576f
JM
258582012-06-01 Joseph Myers <joseph@codesourcery.com>
25859
ea32bcdd
JM
25860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25861 (default-abi): New variable.
25862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25863 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25864 variable.
25865 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25866 Likewise.
25867 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25868 Likewise.
25869 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25870 Likewise.
25871
88a4576f
JM
25872 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25873 definition. Document in comment.
25874
402fe938
DM
258752012-06-01 David S. Miller <davem@davemloft.net>
25876
25877 * stdlib/longlong.h: Updated from GCC.
25878
3553723f
L
258792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 [BZ #14117]
3bd872c4
L
25882 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25883 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25884 sys/debugreg.h sys/io.h here.
25885 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25886 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25887 sys/io.h.
25888 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25889 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25890 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25891 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25892 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25893 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25894
3553723f
L
25895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25896 Define only if __x86_64__ is defined.
25897
4842e4fe
JM
258982012-06-01 Joseph Myers <joseph@codesourcery.com>
25899
c5bfe3d5
JM
25900 [BZ #14048]
25901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25902 Use int64_t for variable i.
25903 * math/libm-test.inc (fmod_test): Add more tests.
25904
4842e4fe
JM
25905 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25906 z computation is not scheduled after fetestexcept.
25907 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25908 Use math_force_eval instead of asm to ensure calculation scheduled
25909 before exception test.
25910 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25911 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25912
efb73488
AJ
259132012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25914
25915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25916 computation is not scheduled after fetestexcept.
25917
29bcce7c
L
259182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25919
25920 [BZ #14117]
25921 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25922 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25923
73a68f94
AZ
259242012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25925
25926 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25927 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25928
67b6df78
L
259292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25930
edf2933a 25931 [BZ #14117]
ebc64a18
L
25932 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25933 <bits/wordsize.h>.
25934 (__WCHAR_MIN): Support __WORDSIZE == 64.
25935 (__WCHAR_MAX): Likewise.
25936
edf2933a
L
25937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25938 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25939
57c6cf40
L
25940 [BZ #14183]
25941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25942 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25943
67b6df78 25944 [BZ #14117]
8eb6281e
L
25945 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25946 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25947
aac639f4
L
25948 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25949 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25950
67b6df78
L
25951 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25952 Defined to 1 if __x86_64__ isn't defined.
25953 (_STAT_VER_LINUX_OLD): New.
25954 (st_atime): Remove duplicate.
25955 (st_mtime): Likewise.
25956 (st_ctime): Likewise.
25957
1c2cfe81
DM
259582012-05-31 David S. Miller <davem@davemloft.net>
25959
25960 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25961 entries.
25962
5be8418c
AS
259632012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25964
e7725326
AS
25965 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25966 gen-libm-test.pl.
25967
5be8418c
AS
25968 [BZ #14132]
25969 * elf/dl-reloc.c: Include <_itoa.h>.
25970 (_dl_reloc_bad_type): Remove use of INTUSE.
25971 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25972 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25973 * stdio-common/psiginfo.c (psiginfo): Likewise.
25974 * stdio-common/psignal.c (psignal): Likewise.
25975 * string/strsignal.c (strsignal): Likewise.
25976 * include/signal.h (_sys_siglist): Declare hidden proto.
25977 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25978 INTVARDEF with libc_hidden_data_def.
25979 * stdio-common/itoa-udigits.c: Likewise.
25980 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25981 (_itoa_lower_digits_internal): Remove declaration.
25982 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25983 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25984 (_sys_sigabbrev_internal): Remove aliases.
25985 (_sys_siglist): Define hidden alias.
25986
507352f1
MT
259872012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25988
25989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25990 bits/sysctl.h.
25991
42bbb1c3
L
259922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 [BZ #14117]
6bd784b6
L
25995 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25996 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25997
8bca20f0
L
25998 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25999 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26000 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26001 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26003 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26004
f9e890a9
L
26005 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26006 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26007 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26008
471101a1
L
26009 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26010 with __addr.
26011 (insw): Likewise.
26012 (insl): Likewise.
26013 (outsb): Likewise.
26014 (outsw): Likewise.
26015 (outsl): Likewise.
26016
6451c862
L
26017 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26018 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26019 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26020
a254b8c9
L
26021 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26022 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26024 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26025 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26026 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26027
b8dfdd92
L
26028 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26029 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26030
578cd270
L
26031 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26032 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26033
de662f5f
L
26034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26036 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26037
25653439
L
26038 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26039 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26040 to ...
26041 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26042
6bad24a0
L
26043 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26044 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26045 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26046
42bbb1c3
L
26047 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26048 for x86-64.
26049 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26050
2d10d547
JM
260512012-05-31 Joseph Myers <joseph@codesourcery.com>
26052
26053 * math/math.h (M_El): Use two more decimal places.
26054 (M_LOG2El): Likewise.
26055 (M_LOG10El): Likewise.
26056 (M_LN2l): Likewise.
26057 (M_LN10l): Likewise.
26058 (M_PIl): Likewise.
26059 (M_PI_2l): Likewise.
26060 (M_PI_4l): Likewise.
26061 (M_1_PIl): Likewise.
26062 (M_2_PIl): Likewise.
26063 (M_2_SQRTPIl): Likewise.
26064 (M_SQRT2l): Likewise.
26065 (M_SQRT1_2l): Likewise.
26066
f230c29b
DM
260672012-05-31 David S. Miller <davem@davemloft.net>
26068
26069 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26070 values between float registers.
26071 * sysdeps/sparc/sparc64/memset.S: Likewise.
26072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26073
fed806c3
MF
260742012-05-31 Mike Frysinger <vapier@gentoo.org>
26075
26076 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26077 -D_FORTIFY_SOURCE=1.
26078 (CPPFLAGS-tst-longjmp_chk.c): Define.
26079 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26080 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26081 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26082 CFLAGS-tst-wchar-h.c.
26083
30917259
MP
260842012-05-31 Marek Polacek <polacek@redhat.com>
26085
26086 [BZ #14132]
26087 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26088 __endmntent_internal): Remove declaration.
26089 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26090 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26091 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26092
1c58d5dc
DM
260932012-05-30 David S. Miller <davem@davemloft.net>
26094
26095 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26096 (___Q_simulate_exceptions): Use real FP ops rather than writing
26097 into the %fsr.
26098 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26099 Likewise.
26100
7dc00e0d
L
261012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26102
26103 [BZ #14117]
0bd53985
L
26104 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26105 * sysdeps/x86/bits/xtitypes.h: This.
26106
3a257e66
L
26107 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26108 * sysdeps/x86/bits/wordsize.h: This.
26109
62f62904
L
26110 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26111 * sysdeps/x86/bits/huge_vall.h: This.
26112
404fe9d9
L
26113 * sysdeps/i386/bits/select.h: Removed.
26114 * sysdeps/x86_64/bits/select.h: Renamed to ...
26115 * sysdeps/x86/bits/select.h: This.
26116
d48d0446
L
26117 * sysdeps/i386/bits/setjmp.h: Removed.
26118 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26119 * sysdeps/x86/bits/setjmp.h: This.
26120
7dc00e0d
L
26121 * sysdeps/i386/bits/mathdef.h: Removed.
26122 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26123 * sysdeps/x86/bits/mathdef.h: This.
26124
03277f8f
AS
261252012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26126
26127 [BZ #14132]
26128 * include/sys/socket.h (__connect_internal)
26129 (__libc_sa_len_internal): Remove declaration.
26130 (__connect, __libc_sa_len): Declare hidden_proto.
26131 (SA_LEN): Remove use of INTUSE.
26132 * socket/connect.c: Add libc_hidden_def.
26133 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26134 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26135 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26136 alias.
26137 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26138 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26139 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26140 of adding _internal alias.
26141
13764867
L
261422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26143
26144 [BZ #14117]
6bd97696
L
26145 * sysdeps/i386/bits/link.h: Removed.
26146 * sysdeps/i386/bits/linkmap.h: Likewise.
26147 * sysdeps/x86_64/bits/link.h: Renamed to ...
26148 * sysdeps/x86/bits/link.h: This.
26149 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26150 * sysdeps/x86/bits/linkmap.h: This.
26151
f726f0bb
L
26152 * sysdeps/i386/bits/endian.h: Removed.
26153 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26154 * sysdeps/x86/bits/endian.h: This.
26155
13764867
L
26156 * sysdeps/i386/bits/byteswap.h: Removed.
26157 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26158 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26159 * sysdeps/x86/bits/byteswap.h: This.
26160 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26161 * sysdeps/x86/bits/byteswap-16.h: This.
26162 * sysdeps/i386/Implies: Add x86.
26163 * sysdeps/x86_64/Implies: Likewise.
26164
ae251b0b
DM
261652012-05-30 David S. Miller <davem@davemloft.net>
26166
26167 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26168 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26169 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26170 (FP_TRAPPING_EXCEPTIONS): Define.
26171 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26172 (FP_TRAPPING_EXCEPTIONS): Define.
26173 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26174 subnormals only when inexact has been signalled or underflow
26175 exceptions are enabled.
26176 (_FP_PACK_CANONICAL): Likewise.
26177
d5c90867
L
261782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26179
26180 [BZ #14183]
26181 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26182 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26183
63f1549e
RH
261842012-05-30 Richard Henderson <rth@twiddle.net>
26185
8d8f2279
RH
26186 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26187 with #ifndef NOT_IN_libc.
26188
63f1549e
RH
26189 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26190 marked to avoid plt entry.
26191
0ab0291b
L
261922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26193
26194 [BZ #14112]
26195 * Makeconfig (default-abi): New macro.
26196 (abi-includes): Likewise.
26197 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26198 $(abi-$(default-abi)-lib-soname) for soname if defined.
26199 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26200 abi-variants.
26201 * Makefile (installed-stubs): Likewise.
26202 * include/stubs-biarch.h: Removed.
26203 * scripts/lib-names.awk: Only handle one library at a time.
26204 * scripts/soversions.awk: Remove WORDSIZE support.
26205 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26206 entries.
26207 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26208 Removed.
26209 (syscall-list-default-condition): Likewise.
26210 (syscall-list-default-condition): Likewise.
26211 (syscall-list-includes): Likewise.
26212 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26213 syscall-list-* with abi-*. Handle undefined abi-variants.
26214 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26215 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26216 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26217 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26218 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26219 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26220 Removed.
26221 (syscall-list-32-options): Likewise.
26222 (syscall-list-32-condition): Likewise.
26223 (syscall-list-64-options): Likewise.
26224 (syscall-list-64-condition): Likewise.
26225 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26226 macro.
26227 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26228 Renamed to ...
26229 (abi-*): This.
26230 (abi-64-ld-soname): New macro.
26231 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26232 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26233 Renamed to ...
26234 (abi-*): This.
26235 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26236 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26237
4da0431d
JM
262382012-05-30 Joseph Myers <joseph@codesourcery.com>
26239
3a85279c
JM
26240 * sysdeps/unix/sysv/linux/kernel-features.h
26241 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26242 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26243 include <kernel-features.h>.
26244 [!__NR_ftruncate64]: Remove conditional code.
26245 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26246 [__NR_ftruncate64]: Make code unconditional.
26247 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26248 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26249 include <kernel-features.h>.
26250 [!__NR_ftruncate64]: Remove conditional code.
26251 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26252 [__NR_ftruncate64]: Make code unconditional.
26253 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26255 include <kernel-features.h>.
26256 [!__NR_ftruncate64]: Remove conditional code.
26257 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26258 [__NR_ftruncate64]: Make code unconditional.
26259 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26261 include <kernel-features.h>.
26262 [!__NR_ftruncate64]: Remove conditional code.
26263 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26264 [__NR_ftruncate64]: Make code unconditional.
26265 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26266
4da0431d
JM
26267 * configure.in (libc_cv_fpie): Weaken to a compile test using
26268 LIBC_TRY_CC_OPTION.
26269 * configure: Regenerated.
26270
11ef492c
AK
262712012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26272
26273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26277 Refreshed.
26278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26284 Refreshed.
26285
d66ef399
DM
262862012-05-27 David S. Miller <davem@davemloft.net>
26287
26288 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26289 (___Q_zero): New.
26290 (__Q_simulate_exceptions): Return void. Change to simulate
26291 exceptions by writing into the %fsr.
26292 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26293 (__Qp_handle_exceptions): Likewise.
26294 (numbers): Delete.
26295 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26296 __Qp_handle_exceptions.
26297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26298 __Qp_handle_exceptions.
26299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26300 as unused and give dummy FP_RND_NEAREST initializer.
26301 (FP_INHIBIT_RESULTS): Define.
26302 (___Q_simulate_exceptions): Update declaration.
26303 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26304 formatting.
26305 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26306 as unused and give dummy FP_RND_NEAREST initializer.
26307 (__Qp_handle_exceptions): Update declaration.
26308 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26309 formatting.
26310
04fb54b5
TS
263112012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26312
26313 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26314 the temporary FPU control word.
26315 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26316 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26317 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26318 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26319 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26320 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26321 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26322 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26323 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26324 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26325 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26326
3f99608f
KK
263272012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26328
26329 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26330 fields.
26331
65a4de4e
CLT
263322012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26333
26334 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26335 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26336 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26337 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26338 Likewise.
26339 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26340 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26341 Likewise.
26342
15749d40
UD
263432012-05-27 Ulrich Drepper <drepper@gmail.com>
26344
26345 * po/h.po: Update from translation team.
26346
25dbcb27
AS
263472012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26348
3d3f8e55
AS
26349 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26350
25dbcb27
AS
26351 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26352 handling of denormals.
26353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26354 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26355 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26356 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26360 Likewise.
26361
7ad47a80 263622012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26363
26364 [BZ #14152]
26365 * math/libm-test.inc (fma_test): Don't always expect underflow
26366 exception.
26367
9c6ea9fa
SP
263682012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26369
26370 [BZ #12416]
26371 * elf/tst-execstack.c: Include stackinfo.h.
26372 (do_test): Adjust test case to ensure that pthread_getattr_np
26373 behaviour remains the same after marking stack executable.
26374
a8239222
JM
263752012-05-25 Joseph Myers <joseph@codesourcery.com>
26376
26377 * sysdeps/unix/sysv/linux/kernel-features.h
26378 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26379 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26380 kernel-features.h.
26381 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26382 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26383 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26384 kernel-features.h.
26385 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26386 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26387
918b5606
L
263882012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26389
26390 * configure.in: Define the default includes to being none.
26391 * configure: Regenerated.
26392
3a097cc7
RM
263932012-05-25 Roland McGrath <roland@hack.frob.com>
26394
8422c9a5
RM
26395 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26396 * sysdeps/x86_64/setjmp.S: Likewise.
26397 * sysdeps/i386/bsd-setjmp.S: Likewise.
26398 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26399 * sysdeps/i386/setjmp.S: Likewise.
26400 * sysdeps/i386/__longjmp.S: Likewise.
26401 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26402 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26403
3a097cc7
RM
26404 * include/stap-probe.h: New file.
26405 * configure.in: Handle --enable-systemtap.
26406 * configure: Regenerated.
26407 * config.h.in (USE_STAP_PROBE): New #undef.
26408 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26409 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26410 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26411
21708942
JM
264122012-05-25 Joseph Myers <joseph@codesourcery.com>
26413
26414 [BZ #13717]
26415 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26416 to 2.4.0 where earlier.
26417 * sysdeps/unix/sysv/linux/configure: Regenerated.
26418 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26419 <kernel-features.h>.
26420 [__ASSUME_32BITUIDS]: Make code unconditional.
26421 [!__ASSUME_32BITUIDS]: Remove conditional code.
26422 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26423 <kernel-features.h>.
26424 [__ASSUME_32BITUIDS]: Make code unconditional.
26425 [!__ASSUME_32BITUIDS]: Remove conditional code.
26426 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26427 [__ASSUME_32BITUIDS]: Make code unconditional.
26428 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26429 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26430 <kernel-features.h>.
26431 [__ASSUME_32BITUIDS]: Make code unconditional.
26432 [!__ASSUME_32BITUIDS]: Remove conditional code.
26433 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26434 <kernel-features.h>.
26435 [__ASSUME_32BITUIDS]: Make code unconditional.
26436 [!__ASSUME_32BITUIDS]: Remove conditional code.
26437 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26438 <kernel-features.h>.
26439 [__ASSUME_32BITUIDS]: Make code unconditional.
26440 [!__ASSUME_32BITUIDS]: Remove conditional code.
26441 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26442 <kernel-features.h>.
26443 [__ASSUME_32BITUIDS]: Make code unconditional.
26444 [!__ASSUME_32BITUIDS]: Remove conditional code.
26445 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26446 <kernel-features.h>.
26447 [__ASSUME_32BITUIDS]: Make code unconditional.
26448 [!__ASSUME_32BITUIDS]: Remove conditional code.
26449 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26450 <kernel-features.h>.
26451 [__ASSUME_32BITUIDS]: Make code unconditional.
26452 [!__ASSUME_32BITUIDS]: Remove conditional code.
26453 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26454 <kernel-features.h>.
26455 [__ASSUME_32BITUIDS]: Make code unconditional.
26456 [!__ASSUME_32BITUIDS]: Remove conditional code.
26457 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26458 <kernel-features.h>.
26459 [__ASSUME_32BITUIDS]: Make code unconditional.
26460 [!__ASSUME_32BITUIDS]: Remove conditional code.
26461 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26462 <kernel-features.h>.
26463 [__ASSUME_32BITUIDS]: Make code unconditional.
26464 [!__ASSUME_32BITUIDS]: Remove conditional code.
26465 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26466 <kernel-features.h>.
26467 [__ASSUME_32BITUIDS]: Make code unconditional.
26468 [!__ASSUME_32BITUIDS]: Remove conditional code.
26469 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26470 <kernel-features.h>.
26471 [__NR_setresgid] (__setresgid): Do not declare.
26472 [__ASSUME_32BITUIDS]: Make code unconditional.
26473 [!__ASSUME_32BITUIDS]: Remove conditional code.
26474 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26475 <kernel-features.h>.
26476 [__NR_setresuid] (__setresuid): Do not declare.
26477 [__ASSUME_32BITUIDS]: Make code unconditional.
26478 [!__ASSUME_32BITUIDS]: Remove conditional code.
26479 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26480 <kernel-features.h>.
26481 [__ASSUME_32BITUIDS]: Make code unconditional.
26482 [!__ASSUME_32BITUIDS]: Remove conditional code.
26483 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26484 <kernel-features.h>.
26485 [__ASSUME_32BITUIDS]: Make code unconditional.
26486 [!__ASSUME_32BITUIDS]: Remove conditional code.
26487 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26488 <kernel-features.h>.
26489 [__ASSUME_32BITUIDS]: Make code unconditional.
26490 [!__ASSUME_32BITUIDS]: Remove conditional code.
26491 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26492 <kernel-features.h>.
26493 [__ASSUME_32BITUIDS]: Make code unconditional.
26494 [!__ASSUME_32BITUIDS]: Remove conditional code.
26495 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26496 <kernel-features.h>.
26497 [__ASSUME_32BITUIDS]: Make code unconditional.
26498 [!__ASSUME_32BITUIDS]: Remove conditional code.
26499 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26500 <kernel-features.h>.
26501 [__ASSUME_32BITUIDS]: Make code unconditional.
26502 [!__ASSUME_32BITUIDS]: Remove conditional code.
26503 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26504 <kernel-features.h>.
26505 [__ASSUME_32BITUIDS]: Make code unconditional.
26506 [!__ASSUME_32BITUIDS]: Remove conditional code.
26507 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26508 <kernel-features.h>.
26509 [__ASSUME_32BITUIDS]: Make code unconditional.
26510 [!__ASSUME_32BITUIDS]: Remove conditional code.
26511 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26512 <kernel-features.h>.
26513 [__ASSUME_32BITUIDS]: Make code unconditional.
26514 [!__ASSUME_32BITUIDS]: Remove conditional code.
26515 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26516 <kernel-features.h>.
26517 [__ASSUME_32BITUIDS]: Make code unconditional.
26518 [!__ASSUME_32BITUIDS]: Remove conditional code.
26519 * sysdeps/unix/sysv/linux/kernel-features.h
26520 (__ASSUME_SETRESUID_SYSCALL): Remove.
26521 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26522 (__ASSUME_32BITUIDS): Likewise.
26523 (__ASSUME_LDT_WORKS): Likewise.
26524 (__ASSUME_O_DIRECTORY): Likewise.
26525 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26526 architecture but not kernel version.
26527 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26528 (__ASSUME_MMAP2_SYSCALL): Likewise.
26529 (__ASSUME_STAT64_SYSCALL): Likewise.
26530 (__ASSUME_IPC64): Likewise.
26531 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26532 <kernel-features.h>.
26533 [__ASSUME_32BITUIDS]: Make code unconditional.
26534 [!__ASSUME_32BITUIDS]: Remove conditional code.
26535 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26536 <kernel-features.h>.
26537 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26538 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26539 132096]: Remove conditional code.
26540 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26541 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26542 <kernel-features.h>.
26543 [__ASSUME_32BITUIDS]: Make code unconditional.
26544 [!__ASSUME_32BITUIDS]: Remove conditional code.
26545 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26546 <kernel-features.h>.
26547 [__ASSUME_32BITUIDS]: Make code unconditional.
26548 [!__ASSUME_32BITUIDS]: Remove conditional code.
26549 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26550 <kernel-features.h>.
26551 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26552 unconditional.
26553 (__setresgid): Do not declare.
26554 [__ASSUME_32BITUIDS]: Make code unconditional.
26555 [!__ASSUME_32BITUIDS]: Remove conditional code.
26556 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26557 <kernel-features.h>.
26558 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26559 unconditional.
26560 (__setresuid): Do not declare.
26561 [__ASSUME_32BITUIDS]: Make code unconditional.
26562 [!__ASSUME_32BITUIDS]: Remove conditional code.
26563 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26564 <kernel-features.h>.
26565 [__ASSUME_32BITUIDS]: Make code unconditional.
26566 [!__ASSUME_32BITUIDS]: Remove conditional code.
26567 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26568 <kernel-features.h>.
26569 [__ASSUME_32BITUIDS]: Make code unconditional.
26570 [!__ASSUME_32BITUIDS]: Remove conditional code.
26571
a386f1cc
RH
265722012-05-25 Richard Henderson <rth@twiddle.net>
26573
26574 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26575 dl_hwcap to ifunc resolver.
26576 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26577 elf_ifunc_invoke.
26578 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26579 dl_hwcap to ifunc resolver.
26580 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26581
b6550497
JM
265822012-05-24 Joseph Myers <joseph@codesourcery.com>
26583
26584 [BZ #14153]
26585 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26586 for |x| <= 2**-26, not 2**-57.
26587 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26588 exception.
26589
b0bc23a1
JL
265902012-05-24 Jeff Law <law@redhat.com>
26591
26592 * stdio-common/Makefile (tests): Add bug25.
26593 * stdio-common/bug25.c: New test.
26594
347c92e9
L
265952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26596
26597 [BZ #13576]
26598 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26599 multiple of MALLOC_ALIGNMENT in size.
26600 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26601
6bcc8b3f
JM
266022012-05-24 Joseph Myers <joseph@codesourcery.com>
26603
26604 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26605 Require >= 256.
26606 (FILENAME_MAX): Use macro-int-constant.
26607 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26608 (_IOFBF): Use macro-int-constant.
26609 (_IOLBF): Likewise.
26610 (_IONBF): Likewise.
26611 (SEEK_CUR): Likewise.
26612 (SEEK_END): Likewise.
26613 (SEEK_SET): Likewise.
26614 (TMP_MAX): Likewise.
26615 (EOF): Use macro-int-constant. Require < 0.
26616 (NULL): Use macro-constant. Require == 0.
26617 (stdin): Require type to be FILE *.
26618 (stdout): Likewise.
26619 (stderr): Likewise.
26620 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26621 macro-int-constant.
26622 (EXIT_SUCCESS): Likewise.
26623 (NULL): Use macro-constant. Require == 0.
26624 (RAND_MAX): Use macro-int-constant.
26625 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26626 [C99-based standards] (strtof): Require function.
26627 [C99-based standards] (strtold): Likewise.
26628 [C99-based standards] (strtoll): Likewise.
26629 [C99-based standards] (strtoull): Likewise.
26630 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26631 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26632 [ISO || ISO99 || ISO11] (math.h): Likewise.
26633 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26634 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26636
d18ea0c5
AS
266372012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26638
26639 [BZ #14132]
56d25bb8
AS
26640 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26641 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26642 * intl/dgettext.c (DCGETTEXT): Likewise.
26643 * intl/gettext.c (DCGETTEXT): Likewise.
26644 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26645 * posix/regex_internal.h (gettext): Likewise.
26646 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26647 Remove declaration.
26648 * include/argz.h (__argz_count_internal)
26649 (__argz_stringify_internal): Remove declaration.
26650 (__argz_count, __argz_stringify): Declare hidden proto.
26651 * intl/dcgettext.c: Remove use of INTDEF.
26652 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26653 * string/argz-stringify.c: Likewise.
26654 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26655 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26656 Declare hidden proto.
d18ea0c5
AS
26657 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26658 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26659 Declare hidden proto.
26660 * include/stdio.h (__asprintf_internal): Don't declare.
26661 (__asprintf): Don't define as macro. Declare hidden proto.
26662 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26663 (__fsetlocking): Declare hidden proto.
26664 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26665 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26666 hidden proto.
26667 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26668 (_IO_setlinebuf): Remove use of INTUSE.
26669 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26670 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26671 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26672 Remove declaration.
26673 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26674 (_IO_do_flush): Remove use of INTUSE.
26675 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26676 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26677 (_IO_adjust_column, _IO_least_wmarker)
26678 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26679 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26680 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26681 (_IO_default_doallocate, _IO_wdefault_doallocate)
26682 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26683 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26684 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26685 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26686 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26687 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26688 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26689 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26690 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26691 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26692 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26693 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26694 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26695 proto.
26696 (_IO_flush_all_internal, _IO_adjust_column_internal)
26697 (_IO_default_uflow_internal, _IO_default_finish_internal)
26698 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26699 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26700 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26701 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26702 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26703 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26704 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26705 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26706 (_IO_file_close_internal, _IO_file_close_it_internal)
26707 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26708 (_IO_file_init_internal, _IO_file_attach_internal)
26709 (_IO_file_fopen_internal, _IO_file_read_internal)
26710 (_IO_file_sync_internal, _IO_file_seek_internal)
26711 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26712 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26713 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26714 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26715 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26716 (_IO_list_all_internal, _IO_link_in_internal)
26717 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26718 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26719 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26720 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26721 (_IO_do_write_internal, _IO_padn_internal)
26722 (_IO_getline_info_internal, _IO_getline_internal)
26723 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26724 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26725 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26726 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26727 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26728 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26729 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26730 with libc_hidden_ver, remove use of INTUSE.
26731 * libio/genops.c: Likewise.
26732 * libio/freopen.c: Likewise.
26733 * libio/freopen64.c: Likewise.
26734 * libio/iofclose.c: Likewise.
26735 * libio/iofdopen.c: Likewise.
26736 * libio/iofflush.c: Likewise.
26737 * libio/iofflush_u.c: Likewise.
26738 * libio/iofgets.c: Likewise.
26739 * libio/iofgets_u.c: Likewise.
26740 * libio/iofopen.c: Likewise.
26741 * libio/iofopncook.c: Likewise.
26742 * libio/iofread.c: Likewise.
26743 * libio/iofread_u.c: Likewise.
26744 * libio/ioftell.c: Likewise.
26745 * libio/iofwrite.c: Likewise.
26746 * libio/iogetline.c: Likewise.
26747 * libio/iogets.c: Likewise.
26748 * libio/iogetwline.c: Likewise.
26749 * libio/iopadn.c: Likewise.
26750 * libio/iopopen.c: Likewise.
26751 * libio/ioseekoff.c: Likewise.
26752 * libio/ioseekpos.c: Likewise.
26753 * libio/iosetbuffer.c: Likewise.
26754 * libio/iosetvbuf.c: Likewise.
26755 * libio/ioungetc.c: Likewise.
26756 * libio/ioungetwc.c: Likewise.
26757 * libio/iovdprintf.c: Likewise.
26758 * libio/iovsprintf.c: Likewise.
26759 * libio/iovsscanf.c: Likewise.
26760 * libio/memstream.c: Likewise.
26761 * libio/obprintf.c: Likewise.
26762 * libio/oldfileops.c: Likewise.
26763 * libio/oldiofclose.c: Likewise.
26764 * libio/oldiofdopen.c: Likewise.
26765 * libio/oldiofopen.c: Likewise.
26766 * libio/oldiopopen.c: Likewise.
26767 * libio/oldstdfiles.c: Likewise.
26768 * libio/putc.c: Likewise.
26769 * libio/setbuf.c: Likewise.
26770 * libio/setlinebuf.c: Likewise.
26771 * libio/stdfiles.c: Likewise.
26772 * libio/strops.c: Likewise.
26773 * libio/vasprintf.c: Likewise.
26774 * libio/vscanf.c: Likewise.
26775 * libio/vsnprintf.c: Likewise.
26776 * libio/vswprintf.c: Likewise.
26777 * libio/wfiledoalloc.c: Likewise.
26778 * libio/wfileops.c: Likewise.
26779 * libio/wgenops.c: Likewise.
26780 * libio/wmemstream.c: Likewise.
26781 * libio/wstrops.c: Likewise.
26782 * libio/__fpurge.c: Likewise.
26783 * libio/__fsetlocking.c: Likewise.
26784 * assert/assert.c: Likewise.
26785 * debug/fgets_chk.c: Likewise.
26786 * debug/fgets_u_chk.c: Likewise.
26787 * debug/fread_chk.c: Likewise.
26788 * debug/fread_u_chk.c: Likewise.
26789 * debug/gets_chk.c: Likewise.
26790 * debug/obprintf_chk.c: Likewise.
26791 * debug/vasprintf_chk.c: Likewise.
26792 * debug/vdprintf_chk.c: Likewise.
26793 * debug/vsnprintf_chk.c: Likewise.
26794 * debug/vsprintf_chk.c: Likewise.
26795 * malloc/mtrace.c: Likewise.
26796 * misc/error.c: Likewise.
26797 * misc/syslog.c: Likewise.
26798 * stdio-common/asprintf.c: Likewise.
26799 * stdio-common/fxprintf.c: Likewise.
26800 * stdio-common/getw.c: Likewise.
26801 * stdio-common/isoc99_fscanf.c: Likewise.
26802 * stdio-common/isoc99_scanf.c: Likewise.
26803 * stdio-common/isoc99_vfscanf.c: Likewise.
26804 * stdio-common/isoc99_vscanf.c: Likewise.
26805 * stdio-common/isoc99_vsscanf.c: Likewise.
26806 * stdio-common/printf-prs.c: Likewise.
26807 * stdio-common/printf_fp.c: Likewise.
26808 * stdio-common/printf_fphex.c: Likewise.
26809 * stdio-common/printf_size.c: Likewise.
26810 * stdio-common/putw.c: Likewise.
26811 * stdio-common/scanf.c: Likewise.
26812 * stdio-common/sprintf.c: Likewise.
26813 * stdio-common/tmpfile.c: Likewise.
26814 * stdio-common/vfprintf.c: Likewise.
26815 * stdio-common/vfscanf.c: Likewise.
26816 * stdlib/strfmon_l.c: Likewise.
26817 * sunrpc/openchild.c: Likewise.
26818 * sunrpc/xdr_stdio.c: Likewise.
26819 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26820 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26821
d6c33fda
RM
268222012-05-24 Roland McGrath <roland@hack.frob.com>
26823
c1487492
RM
26824 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26825
26826 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26827 in the third column, to generate for the shared library an IFUNC
26828 that uses _dl_vdso_vsym.
26829 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26830 * Makeconfig (object-suffixes-noshared): New variable.
26831
26832 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26833 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26834 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26835 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26836
d6c33fda
RM
26837 [BZ #14132]
26838 * include/sys/time.h (__gettimeofday): Remove macro.
26839 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26840 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26841 Remove INTDEF.
26842 (__gettimeofday): Add libc_hidden_def.
26843 (gettimeofday): Add libc_hidden_weak.
26844 * sysdeps/mach/gettimeofday.c: Likewise.
26845 * sysdeps/posix/gettimeofday.c: Likewise.
26846 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26847 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26849 (__gettimeofday_internal): Remove strong_alias.
26850 (__gettimeofday): Add libc_hidden_def.
26851 (gettimeofday): Add libc_hidden_weak.
26852 * sysdeps/unix/syscalls.list (gettimeofday):
26853 Remove __gettimeofday_internal alias.
26854
b5a2bbe6
L
268552012-05-24 Daniel Jacobowitz <drow@false.org>
26856 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 [BZ #12495]
26859 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26860 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26861 (largebin_index_32_big): New.
26862 (largebin_index): Use it for 16-byte alignment.
26863 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26864 correction with front_misalign.
26865
cfba4fda
L
268662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26867
7f907421
L
26868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26870 Likewise.
26871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26872 Likewise.
26873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26874 Likewise.
26875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26876 Likewise.
26877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26878 Likewise.
26879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26880 Likewise.
26881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26882 Likewise.
26883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26884 Likewise.
26885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26886 Likewise.
26887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26888 Likewise.
26889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26890 Likewise.
26891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26892 Likewise.
26893
cfba4fda
L
26894 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26895 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26896
80bad0cc
JM
268972012-05-24 Joseph Myers <joseph@codesourcery.com>
26898
7a25eb06
JM
26899 [BZ #10846]
26900 [BZ #14036]
26901 * math/libm-test.inc (exp_test): Add test from bug 14036.
26902 (pow_test): Add test from bug 10846.
26903
795405f9
JM
26904 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26905 and other flags.
26906 (special_function): Do not include flags in test name.
26907 (parse_args): Likewise.
26908 * sysdeps/i386/fpu/libm-test-ulps: Update.
26909 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26910 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26911 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26913
80bad0cc
JM
26914 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26915 exceptions.
26916 * math/libm-test.inc ("Philosophy"): Update comment about
26917 exception testing.
26918 (UNDERFLOW_EXCEPTION): New macro.
26919 (UNDERFLOW_EXCEPTION_OK): Likewise.
26920 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26921 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26922 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26923 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26924 (INVALID_EXCEPTION_OK): Update value.
26925 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26926 (OVERFLOW_EXCEPTION_OK): Likewise.
26927 (IGNORE_ZERO_INF_SIGN): Likewise.
26928 (test_exceptions): Handle underflow exceptions.
26929 (acos_test): Update for underflow exception expectations.
26930 (cexp_test): Likewise.
26931 (clog_test): Likewise.
26932 (clog10_test): Likewise.
26933 (csqrt_test): Likewise.
26934 (ctan_test): Likewise.
26935 (ctanh_test): Likewise.
26936 (exp_test): Likewise.
26937 (exp10_test): Likewise.
26938 (exp2_test): Likewise.
26939 (expm1_test): Likewise.
26940 (fma_test): Likewise.
26941 (j0_test): Likewise.
26942 (jn_test): Likewise.
26943 (nexttoward_test): Likewise.
26944 (pow_test): Likewise.
26945 (scalbn_test): Likewise.
26946 (scalbln_test): Likewise.
26947 (tan_test): Likewise.
26948 (y1_test): Likewise.
26949 * sysdeps/i386/fpu/libm-test-ulps: Update.
26950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26951
9e0e3d0b
DM
269522012-05-23 David S. Miller <davem@davemloft.net>
26953
26954 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26955 (__libc_sigaction): Remove unused local variables.
26956
ccd0a08f
L
269572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26958
26959 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26960
62bdf9a6
PE
269612012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26962
f8591f80
PE
26963 mktime: avoid signed integer overflow
26964 * time/mktime.c (__mktime_internal): Do not mishandle the case
26965 where diff == INT_MIN.
26966
94c7d826
PE
26967 mktime: simplify computation of average
26968 * time/mktime.c (ranged_convert): Use new time_t_avg function
26969 instead of rolling our own (probably-slower) code.
26970
ce73d683
PE
26971 mktime: do not assume signed right shift propagates sign bit
26972 * time/mktime.c (isdst_differ): New static function.
26973 (__mktime_internal): No need to normalize tm_isdst now.
26974 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26975 tm_isdst values.
26976
72a22e59
PE
26977 mktime: merge another wrapv change from gnulib
26978 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26979 from some compilers.
26980
68605433
PE
26981 mktime: remove incorrect attempt at unusual arithmetics
26982 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26983 The code didn't really work on such machines anyway.
26984 (TYPE_MINIMUM): Assume two's complement.
26985 (twos_complement_arithmetic): Verify that long_int and time_t
26986 are two's complement (or unsigned, in the latter case).
26987
03cf7fe3
PE
26988 mktime: check signed shifts on long_int and time_t, too
26989 * time/mktime.c (SHR): Check that shifts work as desired
26990 on the types long_int and time_t too, as SHR is used on
26991 such types.
26992
f04dfbc2
PE
26993 mktime: do not assume 'long' is wide enough
26994 * time/mktime.c (verify): Move decl up.
26995 (long_int): New type.
26996 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26997 to remove assumption in the code that 'long' is wide enough to
26998 store year values. This assumption is not true on x32 and on
26999 some non-glibc platforms.
27000
62bdf9a6
PE
27001 mktime: merge wrapv change from gnulib
27002 * time/mktime.c (WRAPV): New macro.
27003 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27004 (guess_time_tm, __mktime_internal): Do not assume that signed
27005 integer overflow wraps around; modern compilers generate code
27006 where this assumption is no longer valid.
27007
5e292e4f
L
270082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27011 Replace "jmp L(pseudo_end)" with "ret".
27012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27013 Likewise.
27014
8caf8c87
AJ
270152012-05-23 Andreas Jaeger <aj@suse.de>
27016
27017 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27018 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27019
1a09dc56
AJ
270202012-05-23 Andreas Jaeger <aj@suse.de>
27021 Maximilian Attems <max@stro.at>
27022
27023 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27024 New macros.
27025
1c87aba0
L
270262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27027
27028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27029 code so that pseudo_end is just ret and the stack pointer is
27030 correct also for static library in error case.
27031
40e45bd5
JM
270322012-05-23 Joseph Myers <joseph@codesourcery.com>
27033
c2670533
JM
27034 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27035 move to syscalls.list.
27036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27040
40e45bd5
JM
27041 * manual/install.texi (Running make install): Do not mention Linux
27042 kernel version for which pt_chown is not needed.
27043 (Linux): Do not mention problems with nscd with 2.0 kernels.
27044 * INSTALL: Regenerated.
27045
be08eda5
AJ
270462012-05-23 Andreas Jaeger <aj@suse.de>
27047
27048 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27049 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27050 macro.
27051 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27053 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27055 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27059 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27061 * sysdeps/unix/sysv/linux/bits/in.h
27062 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27063
a6a056bb
RM
270642012-05-22 Roland McGrath <roland@hack.frob.com>
27065
27066 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27067 (PREPARE_VERSION): Just use assert instead, it will be elided
27068 under [NDEBUG] anyway.
27069
c9009328
L
270702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27071
27072 * sysdeps/unix/sysv/linux/Makefile: Include
27073 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27074 (sysdep_routines): Remove sysctl.
c9009328
L
27075 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27076 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27077 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27078 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27079 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27080
73338355
AJ
270812012-05-22 Andreas Jaeger <aj@suse.de>
27082
27083 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27084 that pseudo_end is just ret and the stack pointer is correct also
27085 for static library in error case.
27086
d44638b0
PP
270872012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27088
27089 [BZ #14122]
27090 * nss/nsswitch.c (defconfig_entries): New variable.
27091 (__nss_database_lookup): Don't leak defconfig entries.
27092 (nss_parse_service_list): Don't leak on error paths.
27093 (free_database_entries): New function.
27094 (free_defconfig): New function.
27095 (free_mem): Move common code to free_database_entries.
27096
31a39bd8
L
270972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27098
da0331a8
L
27099 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27100 Add arch_prctl.
27101 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27102
31a39bd8
L
27103 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27104 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27106 New macro.
27107 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27108 (INTERNAL_SYSCALL_TYPES): Likewise.
27109 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27110 (LOAD_REGS_TYPES_[1-6]): Likewise.
27111 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27112 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27113
45470df3
AZ
271142012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27115
27116 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27117 copysignl for GLIBC_2_0.
27118 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27119 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27121 logbl for GLIBC_2_0.
27122 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27123 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27124
98a61bcb
L
271252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27126
a4f6e481
L
27127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27128 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27129
f63d5db6
L
27130 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27131 Use "neg %eax".
27132
98a61bcb
L
27133 * time/mktime.c: Update copyright years.
27134
95770f14
PE
271352012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27136
6226efbd
PE
27137 mktime: merge comment-quoting-style change from gnulib
27138 * time/mktime.c: Quote 'like this' in comments.
27139 The GNU coding standards suggest that we no longer quote `like this',
27140 as "`" and "'" are typically rendered asymmetrically nowadays.
27141 The typical gnulib style is to quote 'like this' when quoting
27142 code, and "like this" when quoting English.
27143
b99e4f78
PE
27144 * time/mktime.c (compile-command): Add "-I.".
27145
643e01e6
PE
27146 mktime: merge mktime-internal.h change from gnulib
27147 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27148
2554247d
PE
27149 mktime: merge time_r change from gnulib
27150 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27151
826dd0ab
PE
27152 mktime: merge DEBUG change from gnulib
27153 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27154 case system <time.h> has a #define.
27155
bd83aabe
PE
27156 mktime: merge <sys/types.h> change from gnulib
27157 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27158 since <time.t> is now guaranteed to define time_t.
27159
95770f14
PE
27160 mktime: merge HAVE_CONFIG_H change from gnulib
27161 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27162
5e1a27a9
L
271632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27164
0e44a77e
L
27165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27166 Use "neg %eax".
27167
5e1a27a9
L
27168 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27169 __rlim_t cast.
27170 (struct rusage): Use anonymous union to pad each field to
27171 __syscall_slong_t.
27172
46259bec
DM
271732012-05-21 David S. Miller <davem@davemloft.net>
27174
27175 * Makefules (o-iterator): Remove .s cases.
27176 (compile-command.s): Delete.
27177 (COMPILE.s): Delete.
27178 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27179
59f0c22e
JM
271802012-05-21 Joseph Myers <joseph@codesourcery.com>
27181
27182 * configure.in (libc_cv_predef_stack_protector): Only consider
27183 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27184 * configure: Regenerated.
27185
20c07380
L
271862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27187
bbb3154b
L
27188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27189 New macro. Use R*LP on int and pointer.
27190 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27191 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27192 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27193 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27194
20c07380
L
27195 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27196 [__WORDSIZE_TIME64_COMPAT32] instead of
27197 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27198 (struct utmp): Likewise.
27199 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27200 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27201 Renamed to ...
27202 (__WORDSIZE_TIME64_COMPAT32): This.
27203 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27204 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27205 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27206 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27207 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27208 (__WORDSIZE_TIME64_COMPAT32): New macro.
27209
d8d1017e
AJ
272102012-05-21 Andreas Jaeger <aj@suse.de>
27211
27212 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27213 only if [SHARED]. Add prototype for __wcschr_ia32.
27214
6c7fb145
RM
272152012-05-21 Roland McGrath <roland@hack.frob.com>
27216
27217 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27218 of %rbp unmolested in the jmp_buf while mangling the low bits.
27219 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27220 unmolested high bits of %rbp while demangling the low bits.
27221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27222
66274218
AJ
272232012-05-21 Andreas Jaeger <aj@suse.de>
27224
07c58f8f
AJ
27225 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27226 * sunrpc/svc_simple.c: Use it for registerrpc.
27227 * sunrpc/xcrypt.c: Use it for passwd2des.
27228
66274218
AJ
27229 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27230
61f65140
L
272312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27232
27233 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27234 Don't define if [__SYSCALL_WORDSIZE != 32].
27235 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27236 New macro.
27237
5fefb436
AJ
272382012-05-21 Bruno Haible <bruno@clisp.org>
27239 Andreas Jaeger <aj@suse.de>
27240
27241 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27242 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27243 inptr and inend for must_buffer_ch.
27244 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27245 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27246 * stdio-common/Makefile (tests): Remove bug15.
27247 (bug15-ENV): Remove macro.
27248 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27249 anymore.
27250
d8e272ab
AJ
272512012-05-19 Andreas Jaeger <aj@suse.de>
27252 Roland McGrath <roland@hack.frob.com>
27253
27254 * manual/contrib.texi: Completely rewritten. It contains now an
27255 alphabetical list of contributors and their contributions.
27256
4a56a162
RH
272572012-05-21 Richard Henderson <rth@twiddle.net>
27258
27259 * misc/getauxval.c (__getauxval): Use unsigned long int.
27260 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27261 (getauxval): Use unsigned long int.
27262
d024d23c
L
272632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27264
27265 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27266
cbc00a03
RM
272672012-05-21 Roland McGrath <roland@hack.frob.com>
27268
27269 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27270 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27271 __alignof__ (long double).
27272
478143fa
AZ
272732012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27274
27275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27276
c7683a6d
RH
272772012-05-20 Richard Henderson <rth@twiddle.net>
27278
27279 * misc/getauxval.c: New file.
27280 * misc/sys/auxv.h: New file.
27281 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27282 (routines): Add getauxval.
27283 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27284 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27285 * elf/dl-sysdep.c (_dl_auxv): Remove.
27286 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27287 * elf/dl-support.c (_dl_auxv): New variable.
27288 (_dl_aux_init): Initialize it.
27289 * manual/startup.texi (Auxiliary Vector): New node.
27290 * sysdeps/generic/bits/hwcap.h: New file.
27291 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27292 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27293 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27294 * sysdeps/sparc/sysdep.h: ... here. Include it.
27295 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27298 Update.
c7683a6d
RH
27299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27307
a6f1845d
AZ
273082012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27309
27310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27311
cbcbe830
DM
273122012-05-19 David S. Miller <davem@davemloft.net>
27313
27314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27315
e0b16cc2
JM
273162012-05-19 Joseph Myers <joseph@codesourcery.com>
27317
27318 [BZ #14123]
27319 * math/s_ccosh.c: Include <float.h>
27320 (__ccosh): Avoid internal overflow calculating sinh and cosh
27321 values before multiplying by sin and cos values.
27322 * math/s_ccoshf.c: Likewise.
27323 * math/s_ccoshl.c: Likewise.
27324 * math/s_csin.c: Likewise.
27325 * math/s_csinf.c: Likewise.
27326 * math/s_csinl.c: Likewise.
27327 * math/s_csinh.c: Likewise.
27328 * math/s_csinhf.c: Likewise.
27329 * math/s_csinhl.c: Likewise.
27330 * math/libm-test.inc (ccos_test): Add more tests.
27331 (ccosh_test): Likewise.
27332 (csin_test): Likewise.
27333 (csinh_test): Likewise.
27334 * sysdeps/i386/fpu/libm-test-ulps: Update.
27335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27336
6ad13e08
L
273372012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27338
f66f0ce8
L
27339 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27340 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27341
6ad13e08
L
27342 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27343
b1d072a7
JM
273442012-05-19 Joseph Myers <joseph@codesourcery.com>
27345
27346 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27347 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27348 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27349 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27350 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27351 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27352 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27353 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27354 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27355 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27356 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27357 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27358 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27359 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27360 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27361 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27362 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27363 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27364 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27365 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27366 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27367 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27368 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27369 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27370 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27371 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27372 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27373 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27374 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27375 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27376 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27377
9eae47cb
AJ
273782012-05-18 Andreas Jaeger <aj@suse.de>
27379
27380 * csu/.gitignore: Delete.
27381
bb07f69f
L
273822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27383
27384 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27385 (timex): Use __syscall_slong_t.
27386
e6bdb741
AJ
273872012-05-18 Andreas Jaeger <aj@suse.de>
27388 Carlos O'Donell <carlos_odonell@mentor.com>
27389
27390 * manual/install.texi (Configuring and compiling): Update
27391 description about files modified in the source directory.
d6c33fda 27392 * INSTALL: Regenerated.
e6bdb741 27393
1b74487e
L
273942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27395
27396 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27397 value. Use "or" to set return value to -1.
27398 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27399 negate return value.
27400
a88b64b9
TMQMF
274012012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27402
27403 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27404 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27405 failure if the compiler has Graphite support disabled.
27406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27407 Likewise.
27408 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27409 CFLAGS-memmove.c): Likewise.
27410 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27411 Likewise.
27412
3707636e
L
274132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27414
610b8622
L
27415 * sysdeps/x86_64/x32/_itoa.h: New file.
27416
7cd195df
L
27417 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27418 getdents system call only if kernel and user dirents have the
27419 same d_ino and d_off.
27420
94b07d20
L
27421 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27422 LLONG_MAX != LONG_MAX.
27423 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27424 (_fitoa_word): Likewise.
27425
18298070
L
27426 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27427 years.
27428 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27429 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27430 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27431
553c7ea4
L
27432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27433 include <bits/wordsize.h>. Check __x86_64__ instead of
27434 __WORDSIZE.
27435 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27436 if __x86_64__ is defined. Use anonymous union on fpstate.
27437
3707636e
L
27438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27439 anonymous union.
27440
b53ef01a
AS
274412012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27442
37fb1dc0
AS
27443 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27444 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27446 Refer to _rtld_local_ro instead of _rtld_global_ro.
27447 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27448 Likewise.
27449 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27450 Likewise.
27451 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27452 Likewise.
27453 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27454 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27455 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27456
b53ef01a
AS
27457 * sysdeps/powerpc/powerpc32/dl-machine.c
27458 (__elf_machine_runtime_setup) [PROF]: Don't reference
27459 _dl_prof_resolve.
27460
7a185db2
AJ
274612012-05-18 Andreas Jaeger <aj@suse.de>
27462
27463 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27464 function only available for GCCs before 3.4 since GCC 3.4
27465 introduced a builtin.
27466 (lrint): Likewise.
27467 (llrintf): Likewise.
27468 (llrint): Likewise.
27469 (fmaxf): Likewise.
27470 (fmax): Likewise.
27471 (fminf): Likewise.
27472 (fmin): Likewise.
27473 (rint): Likewise.
27474 (rintf): Likewise.
27475 (nearbyint): Likewise.
27476 (nearbyintf): Likewise.
27477 (ceil): Likewise.
27478 (ceilf): Likewise.
27479 (floor): Likewise.
27480 (floorf): Likewise.
27481
3e5aef87
L
274822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27483
428bd707
L
27484 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27485 on both fields and cast pointer to __syscall_ulong_t.
27486
3e5aef87
L
27487 * bits/types.h (__fsword_t): New type.
27488 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27489 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27491 (__FSWORD_T_TYPE): Likewise.
27492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27493 (__FSWORD_T_TYPE): Likewise.
27494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27495 (__FSWORD_T_TYPE): Likewise.
27496 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27497 (__FSWORD_T_TYPE): Likewise.
27498 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27499 __SWORD_TYPE with __fsword_t.
27500 (statfs64): Likewise.
27501
1ba7c3dc
DM
275022012-05-17 David S. Miller <davem@davemloft.net>
27503
27504 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27505
59910343
AJ
275062012-05-17 Andreas Jaeger <aj@suse.de>
27507
27508 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27509 warning.
27510
2e4c1e9e
L
275112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27512
27513 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27514
de7f5ce7
AJ
275152012-05-17 Andreas Jaeger <aj@suse.de>
27516
27517 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27518 when it is used.
27519
286abc3d
CM
275202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27521
27522 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27523
477cc68e
L
275242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27525
27526 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27527 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27528
1a0994f5
CD
275292012-05-17 Andreas Jaeger <aj@suse.de>
27530 Carlos O'Donell <carlos_odonell@mentor.com>
27531
27532 [BZ #14059]
27533 * sysdeps/x86_64/multiarch/init-arch.h
27534 (bit_YMM_Usable): Rename to...
27535 (bit_AVX_Usable): ... this.
27536 (bit_FMA4_Usable): New macro.
27537 (bit_XMM_state): New macro.
27538 (bit_YMM_state): New macro.
27539 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27540 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27541 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27542 (CPUID_OSXSAVE): New macro.
27543 (CPUID_AVX): New macro.
27544 (CPUID_FMA4): New macro.
27545 (index_YMM_Usable): Rename to...
27546 (index_AVX_Usable): ... this.
27547 (HAS_AVX): Use HAS_ARCH_FEATURE.
27548 (HAS_FMA4): Likewise.
27549 (HAS_YMM_USABLE): Remove.
27550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27551 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27552 are present.
27553 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27554 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27555 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27556 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27557 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27558
0af797de
CM
275592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27560
27561 * math/libm-test.c: Support platforms without multiple rounding modes.
27562 * math/bug-nextafter.c: Support platforms without FP exceptions.
27563 * math/bug-nexttoward.c: Likewise.
27564 * math/test-fenv.c: Likewise.
27565 * math/test-misc.c: Likewise.
27566 * stdlib/bug-getcontext.c: Likewise.
27567
e39745ff
AJ
275682012-05-17 Andreas Jaeger <aj@suse.de>
27569
27570 * manual/examples/search.c (critter_cmp): Change signature to
27571 avoid warnings.
27572 * manual/string.texi (Collation Functions): Likewise.
27573
48970aba
L
275742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27575
27576 * bits/types.h: Fold copyright years.
27577 * bits/typesizes.h: Likewise.
27578 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27582 * time/time.h: Likewise.
27583
bedee953
PP
275842012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27585
27586 [BZ #208]
27587 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27588 in instead of returning them. Return void.
27589 (__libc_mallinfo): Accumulate over all arenas.
27590 (__malloc_stats): Adjust for change in int_mallinfo interface.
27591
61653dfb
RM
275922012-05-16 Roland McGrath <roland@hack.frob.com>
27593
30b99d79
RM
27594 [BZ #10375]
27595 * configure.in (NM): Add AC_CHECK_TOOL for it.
27596 (libc_extra_cflags): New substituted variable.
27597 Check for -fstack-protector being used implicitly.
27598 * configure: Regenerated.
27599 * config.make.in (config-extra-cflags): New variable,
27600 gets @libc_extra_cflags@.
27601 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27602
61653dfb
RM
27603 [BZ #10375]
27604 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27605 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27606 * configure: Regenerated.
27607 * config.make.in (CPPUNDEFS): New substituted variable.
27608 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27609 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27610 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27611
661768bb
L
276122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27613
27614 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27615 (mq_attr): Use __syscall_slong_t.
27616
d4261567
L
276172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27620 Check __x86_64__ instead of __WORDSIZE.
27621 (_STAT_VER_LINUX): Likewise.
27622 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27623 __syscall_ulong_t and __syscall_slong_t.
27624 (stat64): Likewise.
27625
cf3ff365
L
276262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27627
27628 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27629
76cf3e4d
L
276302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27631
27632 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27633
a637753a
L
276342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27635
27636 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27637 __syscall_ulong_t.
27638
d5e05119
L
27639 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27640 include <bits/wordsize.h>. Check __x86_64__ instead of
27641 __WORDSIZE.
27642 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27643 defined.
27644 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27645
f62ee380
L
27646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27647 include <bits/wordsize.h>. Check __x86_64__ instead of
27648 __WORDSIZE.
27649 (user_regs_struct): Use "__extension__ unsigned long long"
27650 instead of "unsigned long" if __x86_64__ is defined.
27651 (user): Likewise. Pad after pointer field if __ILP32__ is
27652 defined.
27653
4e124ced
JM
276542012-05-16 Joseph Myers <joseph@codesourcery.com>
27655
6a3951a0
JM
27656 * configure.in (makeinfo): Require version 4.5 or later. Allow
27657 versions 5 to 9.
27658 * configure: Regenerated.
27659 * manual/install.texi (texinfo): Increase version requirement to
27660 4.5 or later.
27661 * INSTALL: Regenerated.
27662
4e124ced
JM
27663 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27664
953ca31a
L
276652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27666
27667 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27668
617aca05
L
27669 * sysdeps/x86_64/x32/ffs.c: New file.
27670
5762f7ae
L
27671 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27672 __syscall_ulong_t.
27673 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27674 defined. Use __syscall_ulong_t.
27675 (shminfo): Use __syscall_ulong_t.
27676 (shm_info): Likewise.
27677
a26b6856
L
27678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27679 __syscall_ulong_t.
27680
cb2b9ef7
L
27681 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27682 <bits/wordsize.h>.
27683 (msgqnum_t): Use __syscall_ulong_t.
27684 (msglen_t): Likewise.
27685 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27686 __syscall_ulong_t.
27687
34683bb0
L
27688 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27689 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27690
84a68786
L
27691 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27692
48baa5f1
L
27693 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27694 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27695
180be88b
L
27696 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27697 __syscall_slong_t.
27698
5e90c8ad
L
27699 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27700 include <bits/wordsize.h>. Check __x86_64__ instead of
27701 __WORDSIZE.
27702
23dfb58b
L
27703 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27704 "unsigned long long int" if __x86_64__ is defined.
27705 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27706
ce5d54b0
L
27707 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27708 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27709 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27710
13dc9eac
L
27711 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27712 <stdint.h>.
27713 (GET_PC): Cast to uintptr_t first.
27714 (GET_FRAME): Likewise.
27715 (GET_STACK): Likewise.
27716
a7895d15
L
27717 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27718 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27719 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27721 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27723 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27724 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27725 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27726 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27727 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27728 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27729 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27730 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27731 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27732 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27737 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27738 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27739 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27740 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27741 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27742 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27743 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27744 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27745 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27746
656416c9
AS
277472012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27748
5bd66283
AS
27749 * Makerules (+depfiles): Also collect depfiles from .oS in
27750 $(extra-objs).
27751 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27752 .oS, $(libnldbl-routines)).
27753
656416c9
AS
27754 * Makerules (native-compile-mkdep-flags): Define.
27755 * sunrpc/Makefile (extra-objs): Add $(addprefix
27756 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27757 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27758 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27759 calling $(make-target-directory).
27760
a46f2169
L
277612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27762
27763 * bits/types.h (__snseconds_t): Removed.
27764 * time/time.h (struct timespec): Replace __snseconds_t with
27765 __syscall_slong_t.
27766 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27767 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27768 Likewise.
27769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27770 (__SNSECONDS_T_TYPE): Likewise.
27771 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27772 (__SNSECONDS_T_TYPE): Likewise.
27773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27774 (__SNSECONDS_T_TYPE): Likewise.
27775
6af6528b
L
277762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27777
27778 * sysdeps/mach/hurd/bits/typesizes.h
27779 (__SYSCALL_SLONG_TYPE): New macro.
27780 (__SYSCALL_ULONG_TYPE): Likewise.
27781
de986b56
L
277822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27783
27784 * bits/types.h (__syscall_slong_t): New type.
27785 (__syscall_ulong_t): Likewise.
27786
27787 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27788 (__SYSCALL_ULONG_TYPE): Likewise.
27789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27790 (__SYSCALL_SLONG_TYPE): Likewise.
27791 (__SYSCALL_ULONG_TYPE): Likewise.
27792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27793 (__SYSCALL_SLONG_TYPE): Likewise.
27794 (__SYSCALL_ULONG_TYPE): Likewise.
27795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27796 (__SYSCALL_SLONG_TYPE): Likewise.
27797 (__SYSCALL_ULONG_TYPE): Likewise.
27798
85736dc7
L
277992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27800
27801 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27802 Add sigaltstack-offsets.sym.
27803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27804 <sigaltstack-offsets.h>.
27805 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27806 longjmp_msg pointer.
27807 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27808 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27809 signal stack.
27810 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27811
cc03b296
JM
278122012-05-15 Joseph Myers <joseph@codesourcery.com>
27813
a9538892
JM
27814 * elf/stackguard-macros.h: Remove file.
27815 * sysdeps/generic/stackguard-macros.h: New file.
27816 * sysdeps/i386/stackguard-macros.h: Likewise.
27817 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27818 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27819 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27820 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27821 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27822 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27823 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27824 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27825 <elf/stackguard-macros.h>.
27826
cc03b296
JM
27827 [BZ #14109]
27828 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27829 __aligned__ in attribute.
27830 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27831 (gregset_t): Likewise.
27832
93171016
L
278332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27834
27835 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27836 * sysdeps/x86_64/64/Implies-after: Here. New file.
27837 * sysdeps/x86_64/x32/Implies-after: New file.
27838
d86813a0
L
278392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27840
27841 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27842 and access return value for _dl_profile_fixup. Use R10_LP to
27843 load frame size.
27844
2953ec75
L
278452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27846
27847 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27848
3b550e9e
L
278492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27850
27851 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27852 * sysdeps/x86_64/x32/sysdep.h: New file.
27853
eda41706
L
278542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27855
27856 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27857 * sysdeps/x86_64/setjmp.S: Likewise.
27858
9ea01d93
AZ
278592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27860
27861 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27862 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27863 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27864 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27865 remove unused global constant.
27866
02a91938
CM
278672012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27868
27869 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27870 include of <not-cancel.h>.
27871
6540185f
RM
278722012-05-15 Roland McGrath <roland@hack.frob.com>
27873
27874 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27875
509072a0
AJ
278762012-05-15 Jeff Law <law@redhat.com>
27877 Andreas Jaeger <aj@suse.de>
27878
27879 [BZ #13594]
27880 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27881 out from...
27882 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27883 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27884 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27885 code changing __hst_map_handle.map.
27886
ba75122d
RM
278872012-05-15 Roland McGrath <roland@hack.frob.com>
27888
27889 * configure.in (sysnames): Look for Implies-before and Implies-after
27890 files.
27891 * configure: Regenerated.
27892
890d8bd8
L
278932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27894
27895 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27896 8-byte data alignment with LP_SIZE alignment.
27897
f6ee6623
L
278982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27899
27900 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27901 into R10_LP.
27902
ea2626f6
L
279032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27904
27905 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27906
085f715e
L
279072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27908
27909 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27910 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27911 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27912 Likewise.
27913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27914
be8498fc
L
279152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27918 (stackinfo_sub_sp): Likewise.
27919
70bc83b9
L
279202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27921
27922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27923 RAX_LP.
27924
9bc0b730
L
279252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27928 into R*_LP.
27929
6d2850e7
L
279302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27931
27932 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27933 sizes into R*_LP.
27934
3cb84561
L
279352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27938
54e2ed81
L
279392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27940
27941 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27942 into R11_LP and load __x86_64_shared_cache_size_half into
27943 R8_LP.
27944
8a17f349
L
279452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27948 R8_LP.
27949
777b1eea
AZ
279502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27951
27952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27953 logb for POWER7.
27954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27955 logbf for POWER7.
27956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27957 logbl for POWER7.
27958 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27959 powerpc32/power7/fpu/s_logb.c via #include.
27960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27961 powerpc32/power7/fpu/s_logbf.c via #include.
27962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27963 powerpc32/power7/fpu/s_logbl.c via #include.
27964
d20d4ac2
JM
279652012-05-15 Joseph Myers <joseph@codesourcery.com>
27966
27967 * README.libm: Remove file.
27968
6cdef1ab
L
279692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27970
27971 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27972 count for x32. Use R*_LP and omit operand-size suffix.
27973
0b254d8f
L
279742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27977 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27978 * sysdeps/x86_64/x32/shlib-versions: New file.
27979
ceb809dc
RM
279802012-05-14 Roland McGrath <roland@hack.frob.com>
27981
27982 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27983 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27984 Use _dl_fatal_printf instead.
27985
37f1abd4
JM
279862012-05-14 Joseph Myers <joseph@codesourcery.com>
27987
27988 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27989 set if not set by the user. Do not allow for being unset.
27990 * sysdeps/unix/sysv/linux/configure: Regenerated.
27991
11de3a33
L
279922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27993
27994 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27995 the `q' suffix from lea and replace .quad with ASM_ADDR.
27996
e02f153a
L
279972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27998
27999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28000 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28001 instead of $17.
28002 (PTR_DEMANGLE): Likewise.
28003
520ae0fd
L
280042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28005
28006 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28007 (LP_OP): Likewise.
28008 (ASM_ADDR): Likewise.
28009 (RAX_LP): Likewise.
28010 (RBP_LP): Likewise.
28011 (RBX_LP): Likewise.
28012 (RCX_LP): Likewise.
28013 (RDI_LP): Likewise.
28014 (RSI_LP): Likewise.
28015 (RSP_LP): Likewise.
28016 (R8_LP): Likewise.
28017 (R9_LP): Likewise.
28018 (R10_LP): Likewise.
28019 (R10_LP): Likewise.
28020 (R11_LP): Likewise.
28021 (R12_LP): Likewise.
28022 (R13_LP): Likewise.
28023 (R14_LP): Likewise.
28024 (R15_LP): Likewise.
28025
b985be81
L
280262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28027
28028 * sysdeps/x86_64/x32/dl-machine.h: New file.
28029
6a4888ff
AJ
280302012-05-14 Andreas Jaeger <aj@suse.de>
28031
28032 * manual/Makefile (subdir): Remove export of subdir.
28033 (all): Remove target.
28034 (.PHONY): Remove all from list.
28035 (mkinstalldirs): Remove.
28036 (.PHONY): Remove installdirs from list.
28037 ($(inst_infodir)/libc.info): Use make-target-directory.
28038 (installdirs): Remove.
28039 (subdir_%): Remove.
28040 (glibc-targets): Remove.
28041 (lib): Remove.
28042 (stubs): Remove.
28043 ($(objpfx)stubs ../po/manual.pot): Remove.
28044 ($(objpfx)stamp%): Remove.
28045 (make-target-directory): Remove.
28046 (subdir_install): Remove.
28047 (routines): Remove.
28048 (aux): Remove.
28049 (sources): Remove.
28050 (objects): Remove.
28051 (headers): Remove.
28052
28053 [BZ #13750]
28054 * manual/.gitignore: Remove, it's not needed anymore.
28055 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28056 all files in it.
28057 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28058 directory.
28059 (texis): Renamed to $(objpfx)texis.
28060 (texis-path): New, contains path to generated files.
28061 (chapters.%): Use texis-path for complete path, add extra argument
28062 libc-texinfo.sh.
28063 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28064 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28065 (summary,texi, stamp-summary): Use complete path of
28066 files. Generate files in build dir.
28067 (dir-add.texi): Build in build dir.
28068 (libm-err.texi,stamp-libm-err): Likewise.
28069 (version.texi, stamp-version): Likewise.
28070 (.%c.texi): Likewise.
28071 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28072 (mostlyclean): Remove target.
28073 (realclean): Remove target.
28074 (generated): Add new variable with contents from mostlyclean and
28075 realclean, remove entries duplicated in common-mostlyclean, add
28076 stamp-libm-err and stamp-version.
28077 (generated-dirs): Add libc directory.
28078 ($(inst_infodir)/libc.info): Install files from build dir.
28079
28080 * manual/install.texi (Configuring and compiling): Adjust since
28081 the info files are not part of the tar ball anymore.
28082
7ac77294
AJ
280832012-05-14 Andreas Jaeger <aj@suse.de>
28084
28085 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28086 variable.
28087
ffb7875d
JM
280882012-05-14 Joseph Myers <joseph@codesourcery.com>
28089
28090 [BZ #13717]
28091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28092 to 2.2.0 where earlier.
28093 * sysdeps/unix/sysv/linux/configure: Regenerated.
28094 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28095 Remove conditional code.
28096 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28097 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28098 Remove conditional code.
28099 [!__NR_lchown]: Likewise.
28100 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28101 [__NR_lchown]: Likewise.
28102 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28103 comment referencing __ASSUME_LCHOWN_SYSCALL.
28104 * sysdeps/unix/sysv/linux/i386/sigaction.c
28105 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28106 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28107 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28108 Remove conditional code.
28109 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28110 (__protocol_available): Remove #if 0 code.
28111 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28112 conditional code.
28113 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28114 * sysdeps/unix/sysv/linux/kernel-features.h
28115 (__ASSUME_GETCWD_SYSCALL): Don't define.
28116 (__ASSUME_REALTIME_SIGNALS): Likewise.
28117 (__ASSUME_PREAD_SYSCALL): Likewise.
28118 (__ASSUME_PWRITE_SYSCALL): Likewise.
28119 (__ASSUME_POLL_SYSCALL): Likewise.
28120 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28121 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28122 non-SPARC.
28123 (__ASSUME_SIOCGIFNAME): Don't define.
28124 (__ASSUME_MSG_NOSIGNAL): Likewise.
28125 (__ASSUME_SENDFILE): Define unconditionally.
28126 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28127 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28128 conditional code.
28129 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28130 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28131 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28132 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28133 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28134 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28135 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28137 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28140 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28143 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28146 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28160 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28161 Remove conditional code.
28162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28163 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28164 Remove conditional code.
28165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28166 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28167 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28168 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28169 Remove conditional code.
28170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28171 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28172 Remove conditional code.
28173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28174 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28175 Remove conditional code.
28176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28177 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28178 Remove conditional code.
28179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28180 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28181 Remove conditional code.
28182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28183 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28186 * sysdeps/unix/sysv/linux/sigaction.c
28187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28189 * sysdeps/unix/sysv/linux/sigpending.c
28190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28192 * sysdeps/unix/sysv/linux/sigprocmask.c
28193 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28194 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28195 * sysdeps/unix/sysv/linux/sigsuspend.c
28196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28198 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28199 (__libc_missing_rt_sigs): Remove.
28200 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28201 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28202 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28203 Remove conditional code.
28204 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28205 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28206 return 1.
28207 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28208 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28209 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28210 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28211
1bfb7291
AJ
282122012-05-14 Andreas Jaeger <aj@suse.de>
28213
caae5a81
AJ
28214 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28215 it's not used in glibc.
28216 (__coshm1): Likewise.
28217 (__acosh1p): Likewise.
28218 (__sgn): Likewise.
28219
1bfb7291
AJ
28220 * manual/string.texi (Copying and Concatenation): Add missing
28221 variable in concat example.
28222 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28223
c044d724
L
282242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28225
144c5467 28226 [BZ #14103]
c044d724
L
28227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28228 __builtin_clzl with __builtin_clzll.
28229
2523c62b
L
282302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 [BZ #14104]
28233 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28234 libc_freeres_ptr.
28235
d7bb4c42
LD
282362012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28237
28238 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28239 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28240 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28241 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28242
9dc4e1fb
MF
282432012-05-14 Mike Frysinger <vapier@gentoo.org>
28244
28245 * NEWS: Update ia64 info.
28246
c7df0112
AS
282472012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28248
28249 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28250 used as bcopy.
28251
dc70356c
TS
282522012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28253
28254 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28255 * sysdeps/unix/syscalls.list (dup3): Likewise.
28256 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28257 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28258
9fb1a21f
L
282592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28260
28261 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28262 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28263
4822a2a5
L
282642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28265
28266 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28267 thread pointer.
28268 (TLS_IE): Use mov/add instead of movq/addq to load thread
28269 pointer.
28270 (TLS_GD_PREFIX): New.
28271 (TLS_GD): Use it.
28272
842b81d6
DM
282732012-05-11 David S. Miller <davem@davemloft.net>
28274
28275 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28276 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28277 (_FPU_SETCW): Likewise.
28278
1cf463cd
L
282792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28280
28281 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28282 is 32-byte aligned.
28283
60cc4a18
AS
282842012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28285
28286 [BZ #11837]
28287 * iconvdata/gb18030.c: Update tables.
28288 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28289 characters specially.
28290 (BODY for TO_LOOP): Add encoding of missing ranges.
28291
febb44a4
TS
282922012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28293
28294 [BZ #13673]
28295 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28296 * sysdeps/mach/hurd/dup3.c: Likewise.
28297 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28298 * sysdeps/powerpc/memmove.c:: Likewise.
28299
0a10fb9e
L
283002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28301
28302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28303 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28304
df8a552f
L
283052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28306
28307 * elf/elf.h (R_X86_64_RELATIVE64): New.
28308 (R_X86_64_NUM): Updated.
28309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28310 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28311 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28312 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28313 tst-quad1pie tst-quad2pie
28314 (modules-names): Add tst-quadmod1 tst-quadmod2.
28315 ($(objpfx)tst-quad1): New dependency.
28316 ($(objpfx)tst-quad2): Likewise.
28317 ($(objpfx)tst-quad1pie): Likewise.
28318 ($(objpfx)tst-quad2pie): Likewise.
28319 * sysdeps/x86_64/tst-quad1.c: New file.
28320 * sysdeps/x86_64/tst-quad1pie.c: New file.
28321 * sysdeps/x86_64/tst-quad2.c: Likewise.
28322 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28323 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28324 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28325 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28326 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28327
f34d6f84
ST
283282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28329
f42d41d1
ST
28330 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28331 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28332 * streams/stropts.h (t_scalar_t): Define type.
28333
3c3571fc
ST
28334 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28335 (_PATH_PRESERVE): Set to "/var/lib".
28336 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28337
61f06bd3
ST
28338 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28339 instead of int.
28340
918d4d71
ST
28341 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28342 if __dir_mkfile succeeded.
28343
f34d6f84
ST
28344 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28345 checking for _hurd_dtablesize. Unlock it right after having
28346 finished _hurd_dtable allocation.
28347
10589b4a
TS
283482012-05-10 Thomas Schwinge <thomas@schwinge.name>
28349
674cdbc7
TS
28350 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28351 * sysdeps/mach/hurd/configure: Regenerated.
28352 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28353 special-casing to...
28354 * sysdeps/gnu/configure.in: ... this new file.
28355 * sysdeps/unix/sysv/linux/configure: Regenerated.
28356 * sysdeps/gnu/configure: New generated file.
28357
8e41b99f
TS
28358 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28359 for Linux: use nsec instead of usec, as well as:
28360 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28361 members of type struct timespec.
28362 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28363 New macros.
28364 (struct stat64): Likewise.
28365 (_STATBUF_ST_NSEC): New macro.
28366 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28367
10589b4a
TS
28368 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28369 __strtoul_internal rather than strtoul.
28370
63643c85
PT
283712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28372
28373 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28374 and reject them.
28375
3faebe6a
ST
283762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28377
28378 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28379 which preserves existing values.
28380 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28381
c6474b07
PT
283822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28383
28384 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28385 TIMEOUT values. Return EINVAL for NFDS values either negative or
28386 greater than FD_SETSIZE.
28387
1043890b
ST
283882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28389
28390 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28391 allocated, call __vm_protect to finish enabling the existing space, and
28392 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28393 allocate the remainder.
28394
37ed8b9b
PT
283952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28396
28397 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28398 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28399
db653660
ST
284002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28401
37ed8b9b
PT
28402 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28403 sysdeps/mach/hurd/readlink.c.
b29d4053 28404
db653660
ST
28405 * posix/tst-sysconf.c (posix_options): Only use
28406 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28407 _POSIX_SYNCHRONIZED_IO when they are defined
28408 * sysdeps/mach/hurd/bits/posix_opt.h:
28409 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28410 (_XOPEN_REALTIME): Undefine macro.
28411 (_XOPEN_REALTIME_THREADS): Undefine macro.
28412 (_XOPEN_SHM): Undefine macro.
28413 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28414 macro to -1.
28415 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28416 macro to -1.
28417 (_POSIX_ASYNC_IO): Undefine macro.
28418 (_POSIX_PRIORITIZED_IO): Undefine macro.
28419 (_POSIX_SPIN_LOCKS): Define macro to -1.
28420
ee16e894
ST
28421 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28422 SA_NODEFER, SA_RESETHAND.
28423 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28424 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28425 F_DUPFD_CLOEXEC.
28426
6103ae3b
TS
284272012-05-10 Thomas Schwinge <thomas@schwinge.name>
28428
28429 * elf/Makefile (pldd-modules): Define unconditionally.
28430
80b4e5f3
TS
284312012-05-10 Thomas Schwinge <thomas@schwinge.name>
28432
28433 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28434
edadcbd6
ST
284352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28436
28437 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28438 Return ENOENT when name is empty.
28439 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28440
80694780
TS
284412012-05-10 Thomas Schwinge <thomas@schwinge.name>
28442
1792c087
TS
28443 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28444
80694780
TS
28445 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28446
6b645f0d
ST
284472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28448
80694780
TS
28449 Fix mlock in all cases except non-readable pages.
28450 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28451 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28452
6b645f0d
ST
28453 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28454 (__mkdir): When path is `/', just fail with EEXIST.
28455 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28456
e468f8a3
TS
284572012-05-10 Thomas Schwinge <thomas@schwinge.name>
28458
28459 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28460 <sys/uio.h> (for writev).
28461 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28462 and <sys/param.h> (for MIN).
28463
a4186cff
PT
284642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28465
28466 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28467 REQUESTED_TIME. Properly set the remaining time and return EINTR
28468 if interrupted.
28469
510bbf14
TS
284702012-05-10 Thomas Schwinge <thomas@schwinge.name>
28471
28472 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28473 Depend on against $(link-rpcuserlibs).
28474
5d5722e8
ST
284752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28476
a4186cff
PT
28477 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28478 (__libc_stack_end): Do not use attribute_relro.
28479 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28480 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28481 to libthread-provided value.
a4186cff
PT
28482 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28483 attribute_relro.
5d5722e8 28484
37233df9
TS
284852012-05-10 Thomas Schwinge <thomas@schwinge.name>
28486
be971a2b
TS
28487 [BZ #3748]
28488 * bits/libc-lock.h (__libc_once_get): New macro.
28489 * sysdeps/mach/bits/libc-lock.h: Likewise.
28490 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28491 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28492 instead of using implementation details.
28493
37233df9
TS
28494 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28495 * libio/freopen.c: Likewise.
28496 * libio/freopen64.c: Likewise.
28497 * misc/syslog.c: Likewise.
28498 * nscd/connections.c: Likewise.
28499 * nscd/netgroupcache.c: Likewise.
28500 * sysdeps/posix/getcwd.c: Likewise.
28501
38de94a5
RM
285022012-05-10 Roland McGrath <roland@hack.frob.com>
28503
28504 * math/w_ilogbf.c: Add #include <limits.h>.
28505
67530489
ST
285062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28507
a4186cff 28508 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28509 path instead of returning without unlocking.
28510
67530489
ST
28511 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28512 immediate-write ioctls.
28513 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28514
5aa3a74a
TS
285152012-05-10 Thomas Schwinge <thomas@schwinge.name>
28516
18bad2ae
TS
28517 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28518 __builtin_frame_address instead of making assumptions about the
28519 location of the return address relative to DATA. Force early load of
28520 the return address.
28521 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28522 __builtin_frame_address.
28523
5aa3a74a
TS
28524 dup3 for GNU Hurd.
28525 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28526 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28527 implement dup3 and do some further code clean-ups.
28528 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28529 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28530
ecd0de9a
ST
285312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28532
cd9fa985
ST
28533 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28534
a4186cff
PT
28535 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28536 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28537 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28538 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28539 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28540 d->port.lock.
802ca5a5 28541
a4186cff
PT
28542 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28543 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28544 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28545
bcf55240
TS
285462012-05-10 Thomas Schwinge <thomas@schwinge.name>
28547
6960eb42
TS
28548 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28549 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28550 definitions.
28551
eb43375f
TS
28552 accept4 for GNU Hurd.
28553 * include/sys/socket.h (__libc_accept4): New prototype.
28554 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28555 to implement __libc_accept4.
28556 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28557 __libc_accept4.
28558 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28559
bcf55240
TS
28560 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28561 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28562 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28563 signal-defines.sym.
28564
6178c55b
ST
285652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28566
a4186cff 28567 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28568
6f080c2f
TS
285692012-05-10 Thomas Schwinge <thomas@schwinge.name>
28570
28571 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28572 assertion on O_CLOEXEC flag.
28573 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28574 * hurd/intern-fd.c: Likewise.
28575 * hurd/port2fd.c: Likewise.
28576
bcfe3a54
ST
285772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28578
28579 [BZ #3906]
28580 * bits/in.h (IPV6_PKTINFO): Define new macro.
28581 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28582
89c9aa49
AZ
285832012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28584
28585 [BZ #13954]
28586 [BZ #13955]
28587 [BZ #13956]
28588 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28590 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28593 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28594 * math/libm-test.inc (logb_test) : Additional logb tests.
28595
021db4be
AJ
285962012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28597 Andreas Jaeger <aj@suse.de>
28598
28599 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28600 * configure: Regenerated.
28601 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28602 * config.make.in (link-obsolete-rpc): New substituted variable.
28603 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28604 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28605 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28606 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28607 so that libc.a contains the symbols.
28608 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28609 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28610 * sunrpc/auth_none.c: Likewise.
28611 * sunrpc/auth_unix.c: Likewise.
28612 * sunrpc/authdes_prot.c: Likewise.
28613 * sunrpc/authuxprot.c: Likewise.
28614 * sunrpc/clnt_gen.c: Likewise.
28615 * sunrpc/clnt_perr.c: Likewise.
28616 * sunrpc/clnt_raw.c: Likewise.
28617 * sunrpc/clnt_simp.c: Likewise.
28618 * sunrpc/clnt_tcp.c: Likewise.
28619 * sunrpc/clnt_udp.c: Likewise.
28620 * sunrpc/clnt_unix.c: Likewise.
28621 * sunrpc/des_crypt.c: Likewise.
28622 * sunrpc/des_soft.c: Likewise.
28623 * sunrpc/get_myaddr.c: Likewise.
28624 * sunrpc/key_call.c: Likewise.
28625 * sunrpc/key_prot.c: Likewise.
28626 * sunrpc/netname.c: Likewise.
28627 * sunrpc/pm_getmaps.c: Likewise.
28628 * sunrpc/pm_getport.c: Likewise.
28629 * sunrpc/pmap_clnt.c: Likewise.
28630 * sunrpc/pmap_prot.c: Likewise.
28631 * sunrpc/pmap_prot2.c: Likewise.
28632 * sunrpc/pmap_rmt.c: Likewise.
28633 * sunrpc/publickey.c: Likewise.
28634 * sunrpc/rpc_cmsg.c: Likewise.
28635 * sunrpc/rpc_common.c: Likewise.
28636 * sunrpc/rpc_dtable.c: Likewise.
28637 * sunrpc/rpc_prot.c: Likewise.
28638 * sunrpc/rpc_thread.c: Likewise.
28639 * sunrpc/rtime.c: Likewise.
28640 * sunrpc/svc.c: Likewise.
28641 * sunrpc/svc_auth.c: Likewise.
28642 * sunrpc/svc_raw.c: Likewise.
28643 * sunrpc/svc_run.c: Likewise.
28644 * sunrpc/svc_tcp.c: Likewise.
28645 * sunrpc/svc_udp.c: Likewise.
28646 * sunrpc/svc_unix.c: Likewise.
28647 * sunrpc/svcauth_des.c: Likewise.
28648 * sunrpc/xcrypt.c: Likewise.
28649 * sunrpc/xdr.c: Likewise.
28650 * sunrpc/xdr_array.c: Likewise.
28651 * sunrpc/xdr_float.c: Likewise.
28652 * sunrpc/xdr_intXX_t.c: Likewise.
28653 * sunrpc/xdr_mem.c: Likewise.
28654 * sunrpc/xdr_rec.c: Likewise.
28655 * sunrpc/xdr_ref.c: Likewise.
28656 * sunrpc/xdr_sizeof.c: Likewise.
28657 * sunrpc/xdr_stdio.c: Likewise.
28658
b5c086a2
RM
286592012-05-10 Roland McGrath <roland@hack.frob.com>
28660
28661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28662 change. Update copyright years.
28663
6d74dd09
JM
286642012-05-10 Joseph Myers <joseph@codesourcery.com>
28665
28666 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28667
28e72501
MK
286682012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28669 Joseph Myers <joseph@codesourcery.com>
28670 Paul Pluzhnikov <ppluzhnikov@google.com>
28671
28672 [BZ #14012]
28673 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28674 requiring rpcgen.
28675 [cross-compiling] (extra-libs): Likewise.
28676 [cross-compiling] (extra-libs-others): Likewise.
28677 [cross-compiling] (librpcsvc-routines): Likewise.
28678 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28679 [cross-compiling] (omit-deps): Likewise.
28680 (sunrpc-CPPFLAGS): New variable.
28681 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28682 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28683 (cross-rpcgen-objs): New variable.
28684 (extra-objs): Append $(cross-rpcgen-objs).
28685 ($(cross-rpcgen-objs)): New rule.
28686 ($(objpfx)cross-rpcgen): Likewise.
28687 (rpcgen-cmd): Define to use $(built-program-file). Expand
28688 comment.
28689 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28690 ($(objpfx)x%.stmp): Likewise.
28691 * sunrpc/proto.h [IS_IN_build] (_): Define.
28692 [IS_IN_build] (_libc_intl_domainname): Likewise.
28693
c8c59454
L
286942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28695
28696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28697 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28698 and R_X86_64_TPOFF64.
28699
6f27cd16
JM
287002012-05-10 Joseph Myers <joseph@codesourcery.com>
28701
28702 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28703 sysdeps/unix/sysv/syscalls.list.
28704 (stime): Likewise.
28705 (utime): Likewise.
28706 * sysdeps/unix/sysv/syscalls.list: Remove file.
28707
02467e1c
PE
287082012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28709
28710 [BZ #3440]
28711 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28712 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28713 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28714 (__LC_IDENTIFICATION): Make these macros useful in #if
28715 expressions, as required by C99.
28716
da392631
AS
287172012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28718
28719 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28720 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28721 after this.
28722
8115f29b
L
287232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28724
28725 * stdlib/longlong.h: Updated from GCC.
28726
bdd74070
AJ
287272012-05-09 Andreas Jaeger <aj@suse.de>
28728
edfe0dbe
AJ
28729 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28730 default is first entry.
28731 (run_mode): Set type.
28732 (main): Remove informal message about syslog.
28733 (options): Fix typo.
28734
bcfe3a54
ST
28735 [BZ #14053]
28736 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28737 to asm.
bcfe3a54
ST
28738 (lrint): Likewise.
28739 (llrintf): Likewise.
28740 (llrint): Likewise.
28741 (rint): Likewise.
28742 (rintf): Likewise.
28743 (nearbyint): Likewise.
28744 (nearbyintf): Likewise.
bdd74070 28745
91d8d69e
AJ
287462012-05-09 Andreas Jaeger <aj@suse.de>
28747 Pedro Alves <palves@redhat.com>
28748
28749 * nscd/nscd.c (run_mode): Use enum.
28750 (main): Cleanup coding style issue.
28751
bb90b80b
AJ
287522012-05-09 Alexandre Oliva <aoliva@redhat.com>
28753 Andreas Jaeger <aj@suse.de>
28754
bcfe3a54
ST
28755 * nscd/nscd.c (go_background): Replaced with...
28756 (run_mode): ... this.
bb90b80b 28757 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28758 (options): Add -F --foreground.
28759 (main): Implement it.
28760 (parse_opt): Parse it.
bb90b80b 28761
1a4b75a1
AJ
287622012-05-09 Andreas Jaeger <aj@suse.de>
28763
28764 [BZ #14083]
28765 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28766 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28767 -Wconversion warning.
28768 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28769 Likewise.
28770
b1cc2472
JM
287712012-05-09 Joseph Myers <joseph@codesourcery.com>
28772
28773 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28774 == 0.
28775 (LC_ALL): Use macro-int-constant.
28776 (LC_COLLATE): Likewise.
28777 (LC_CTYPE): Likewise.
28778 (LC_MESSAGES): Likewise.
28779 (LC_MONETARY): Likewise.
28780 (LC_NUMERIC): Likewise.
28781 (LC_TIME): Likewise.
28782 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28783 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28785 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28786 Specify type.
28787 [C99-based standards] (float_t): Expect type.
28788 [C99-based standards] (double_t): Expect type.
28789 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28790 type.
28791 [C99-based standards] (HUGE_VALL): Likewise.
28792 [C99-based standards] (INFINITY): Likewise.
28793 [C99-based standards] (NAN): Likewise.
28794 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28795 [C99-based standards] (FP_NAN): Likewise.
28796 [C99-based standards] (FP_NORMAL): Likewise.
28797 [C99-based standards] (FP_SUBNORMAL): Likewise.
28798 [C99-based standards] (FP_ZERO): Likewise.
28799 [C99-based standards] (FP_FAST_FMA): Use
28800 optional-macro-int-constant. Specify type. Require == 1.
28801 [C99-based standards] (FP_FAST_FMAF): Likewise.
28802 [C99-based standards] (FP_FAST_FMAL): Likewise.
28803 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28804 [C99-based standards] (FP_ILOGBNAN): Likewise.
28805 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28806 Specify type.
28807 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28808 [C99-based standards] (math_errhandling): Specify type.
28809 [ISO99 || ISO11] (signgam): Do not allow.
28810 [non-C99-based standards] (copysignf): Do not allow.
28811 [non-C99-based standards] (exp2f): Likewise.
28812 [non-C99-based standards] (log2f): Likewise.
28813 [non-C99-based standards] (modff): Allow.
28814 [non-C99-based standards] (erff): Do not allow.
28815 [non-C99-based standards] (erfcf): Likewise.
28816 [non-C99-based standards] (gammaf): Likewise.
28817 [non-C99-based standards] (hypotf): Likewise.
28818 [non-C99-based standards] (j0f): Likewise.
28819 [non-C99-based standards] (j1f): Likewise.
28820 [non-C99-based standards] (jnf): Likewise.
28821 [non-C99-based standards] (lgammaf): Likewise.
28822 [non-C99-based standards] (tgammaf): Likewise.
28823 [non-C99-based standards] (y0f): Likewise.
28824 [non-C99-based standards] (y1f): Likewise.
28825 [non-C99-based standards] (ynf): Likewise.
28826 [non-C99-based standards] (isnanf): Likewise.
28827 [non-C99-based standards] (acoshf): Likewise.
28828 [non-C99-based standards] (asinhf): Likewise.
28829 [non-C99-based standards] (atanhf): Likewise.
28830 [non-C99-based standards] (cbrtf): Likewise.
28831 [non-C99-based standards] (expm1f): Likewise.
28832 [non-C99-based standards] (ilogbf): Likewise.
28833 [non-C99-based standards] (log1pf): Likewise.
28834 [non-C99-based standards] (logbf): Likewise.
28835 [non-C99-based standards] (nextafterf): Likewise.
28836 [non-C99-based standards] (remainderf): Likewise.
28837 [non-C99-based standards] (rintf): Likewise.
28838 [non-C99-based standards] (scalbf): Likewise.
28839 [non-C99-based standards] (copysignl): Likewise.
28840 [non-C99-based standards] (exp2l): Likewise.
28841 [non-C99-based standards] (log2l): Likewise.
28842 [non-C99-based standards] (modfl): Allow.
28843 [non-C99-based standards] (erfl): Do not allow.
28844 [non-C99-based standards] (erfcl): Likewise.
28845 [non-C99-based standards] (gammal): Likewise.
28846 [non-C99-based standards] (hypotl): Likewise.
28847 [non-C99-based standards] (j0l): Likewise.
28848 [non-C99-based standards] (j1l): Likewise.
28849 [non-C99-based standards] (jnl): Likewise.
28850 [non-C99-based standards] (lgammal): Likewise.
28851 [non-C99-based standards] (tgammal): Likewise.
28852 [non-C99-based standards] (y0l): Likewise.
28853 [non-C99-based standards] (y1l): Likewise.
28854 [non-C99-based standards] (ynl): Likewise.
28855 [non-C99-based standards] (isnanl): Likewise.
28856 [non-C99-based standards] (acoshl): Likewise.
28857 [non-C99-based standards] (asinhl): Likewise.
28858 [non-C99-based standards] (atanhl): Likewise.
28859 [non-C99-based standards] (cbrtl): Likewise.
28860 [non-C99-based standards] (expm1l): Likewise.
28861 [non-C99-based standards] (ilogbl): Likewise.
28862 [non-C99-based standards] (log1pl): Likewise.
28863 [non-C99-based standards] (logbl): Likewise.
28864 [non-C99-based standards] (nextafterl): Likewise.
28865 [non-C99-based standards] (remainderl): Likewise.
28866 [non-C99-based standards] (rintl): Likewise.
28867 [non-C99-based standards] (scalbl): Likewise.
28868 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28869 [non-C99-based standards] (FP_*): Do not allow.
28870 [C99-based standards] (FP_*): Change to
28871 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28872 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28873 allow.
28874 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28875 (SIG_ERR): Likewise.
28876 [X/Open-based standards] (SIG_HOLD): Likewise.
28877 (SIG_IGN): Likewise.
28878 (SIGABRT): Use macro-int-constant. Specify type. Require
28879 positive value.
28880 (SIGFPE): Likewise.
28881 (SIGILL): Likewise.
28882 (SIGINT): Likewise.
28883 (SIGSEGV): Likewise.
28884 (SIGTER): Likewise.
28885 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28886 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28887 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28888 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28889 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28890 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28891 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28892 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28893 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28894 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28895 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28896 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28897 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28898 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28899 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28900 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28901 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28902 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28903 [X/Open-based standards] (SIGTRAP): Likewise.
28904 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28905 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28906 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28907 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28908 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28909 allow.
28910
b9f1922d
IW
289112012-05-08 Ian Wienand <ianw@vmware.com>
28912
28913 [BZ #14080]
28914 * time/tzset.c (__tzset_parse_tz): Update default rules for
28915 daylight time changes in the Energy Policy Act of 2005.
28916
1db86e88
AJ
289172012-05-09 Andreas Jaeger <aj@suse.de>
28918
28919 [BZ #13983]
28920 * elf/ldconfig.c (parse_conf): Change string to make clear that
28921 ldconfig only issued a warning if ld.so.conf does not exist.
28922
dee4a4e3
DM
289232012-05-08 David S. Miller <davem@davemloft.net>
28924
ee0db190
DM
28925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28926 movxtod instead of popping the value on the stack.
28927
dee4a4e3
DM
28928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28929
6a43ec98
CD
289302012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28931
28932 * config.h.in: Add HAVE_ARM_PCS_VFP.
28933
05c2c961
RMG
289342012-05-08 Roland Mc Grath <roland@hack.frob.com>
28935
bcfe3a54
ST
28936 [BZ #13979]
28937 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28938 checking but the checks are disabled for any reason.
05c2c961 28939
4b30f61a
L
289402012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28943 and ELF64_R_TYPE with ELFW(R_TYPE).
28944
eee2bc67
JM
289452012-05-08 Joseph Myers <joseph@codesourcery.com>
28946
7ea5391a
JM
28947 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28948 (ulimit): Likewise.
28949
eee2bc67
JM
28950 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28951 (settimeofday): Likewise.
28952
abb66a67
MF
289532012-05-08 Mike Frysinger <vapier@gentoo.org>
28954
28955 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28956 a struct th_u2 inside the union, and move tu_block/tu_code into
28957 a new th_u3 union of tu_block/tu_code inside of that. Move
28958 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28959 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28960 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28961 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28962 (th_stuff): Change to th_u1.tu_stuff.
28963 (th_data): Define.
28964 (th_msg): Change to th_u1.th_u2.tu_data.
28965
7f18b530
DM
289662012-05-07 David S. Miller <davem@davemloft.net>
28967
05760585
DM
28968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28969
7f18b530
DM
28970 [BZ #14074]
28971 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28972 (SETUP_PIC_REG): Use it.
28973 (SETUP_PIC_REG_LEAF): Use it.
28974
495fd99f
JM
289752012-05-07 Joseph Myers <joseph@codesourcery.com>
28976
28977 [BZ #13885]
28978 [BZ #13923]
28979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28980 USE_AS_EXPM1L.
28981 (EXPL_FINITE): Likewise.
28982 (FLDLOG): Likewise.
28983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28984 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28985 e_expl.S.
28986 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28987 USE_AS_EXPM1L.
28988 (EXPL_FINITE): Likewise.
28989 (FLDLOG): Likewise.
28990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28991 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28992 e_expl.S.
28993 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28994 test of -max_value argument for long double.
28995 * sysdeps/i386/fpu/libm-test-ulps: Update.
28996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28997
6693d694
DM
289982012-05-06 David S. Miller <davem@davemloft.net>
28999
29000 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29001 quad soft-float symbols whose references which are compiler
29002 generated.
29003 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29004
6c23e11c
JM
290052012-05-06 Joseph Myers <joseph@codesourcery.com>
29006
d8b82cad
JM
29007 [BZ #13884]
29008 [BZ #13914]
29009 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29010 USE_AS_EXP10L.
29011 (EXPL_FINITE): Likewise.
29012 (FLDLOG): Likewise.
29013 (c0): Likewise.
29014 (c1): Likewise.
29015 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29016 Adjust comments for base varying.
29017 (__expl_finite): Change alias to EXPL_FINITE.
29018 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29019 e_expl.S.
29020 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29021 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29023 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29024 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29025 USE_AS_EXP10L.
29026 (EXPL_FINITE): Likewise.
29027 (FLDLOG): Likewise.
29028 (c0): Likewise.
29029 (c1): Likewise.
29030 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29031 Adjust comments for base varying.
29032 (__expl_finite): Change alias to EXPL_FINITE.
29033 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29034 tests for bugs.
29035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29036
6c23e11c
JM
29037 [BZ #14064]
29038 * math/libm-test.inc (check_float_internal): Correct ulp
29039 calculation for subnormal expected results.
29040
29ba805c
AJ
290412012-05-06 Andreas Jaeger <aj@suse.de>
29042
29043 * Makeconfig (+math-flags): New, set to -frounding-math.
29044 (+cflags): Add +math-flags so that all of glibc gets compiled with
29045 it.
29046
29047 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29048
7b17aeda
JM
290492012-05-05 Joseph Myers <joseph@codesourcery.com>
29050
5779f134
JM
29051 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29052 Disable one test.
29053
41498f4d
JM
29054 [BZ #13787]
29055 [BZ #13922]
29056 [BZ #14036]
29057 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29058 (__ieee754_expl): Allow for and saturate large arguments.
29059 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29060 (u_threshold): Likewise.
29061 (__exp): Call __ieee754_exp before checking for overflow and
29062 underflow.
29063 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29064 (u_threshold): Likewise.
29065 (__expf): Call __ieee754_expf before checking for overflow and
29066 underflow.
29067 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29068 (u_threshold): Likewise.
29069 (__expl): Call __ieee754_expl before checking for overflow and
29070 underflow.
29071 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29072 (__ieee754_expl): Allow for and saturate large arguments.
29073 * math/libm-test.inc (exp_test): Add another test. Do not allow
29074 missing overflow exception on overflow.
29075 (expm1_test): Do not allow missing overflow exception on overflow.
29076
6698b8bf
JM
29077 * sysdeps/i386/fpu/e_expl.c: Move to ...
29078 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29079 rather than using inline asm.
29080 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29081 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29082 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29083
7b17aeda
JM
29084 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29085 (nice): Likewise.
29086 (poll): Likewise.
29087 (signal): Likewise.
29088 (time): Likewise.
29089 (times): Likewise.
29090
f7c85819
JM
290912012-05-04 Joseph Myers <joseph@codesourcery.com>
29092
29093 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29094 sysdeps/unix/common/syscalls.list.
29095 (fchmod): Likewise.
29096 (fchown): Likewise.
29097 (ftruncate): Likewise.
29098 (getrusage): Likewise.
29099 (gettimeofday): Likewise.
29100 (setpgid): Likewise.
29101 (setregid): Likewise.
29102 (setreuid): Likewise.
29103 (sigaction): Likewise.
29104 (truncate): Likewise.
29105 (vhangup): Likewise.
29106 * sysdeps/unix/common/syscalls.list: Remove file.
29107 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29108 * sysdeps/unix/sysv/linux/Implies: Likewise.
29109
336270d0
L
291102012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29114 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29115 Moved to ...
29116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29117 Here.
29118 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29119 to ...
29120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29121 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29122 to ...
29123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29124 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29125 to ...
29126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29127 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29128 to ...
29129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29130 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29131 to ...
29132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29133 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29134 to ...
29135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29136 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29137 to ...
29138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29139 Here.
29140 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29141 to ...
29142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29143 Here.
29144 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29145 to ...
29146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29147 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29148 Moved to ...
29149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29150 Here.
29151 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29152 to ...
29153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29154
d128e450
JM
291552012-05-04 Joseph Myers <joseph@codesourcery.com>
29156
fa8ee516
JM
29157 * sysdeps/unix/common/bits/dirent.h: Remove file.
29158 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29159
d128e450
JM
29160 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29161 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29162 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29163 * sysdeps/unix/bsd/isatty.c: Likewise.
29164 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29165 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29166 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29167
ff8faaf0 291682012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29169
62881be4 29170 [BZ #13563]
31dc8730
AZ
29171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29172 long double comparison inaccuracies.
29173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29175
6fef930c
AS
291762012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29177
29178 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29180
8f203e6c
JM
291812012-05-04 Joseph Myers <joseph@codesourcery.com>
29182
29183 [BZ #14049]
29184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29185 nonzero digits before rounding a hex value.
29186 * stdlib/tst-strtod.c (tests): Add another test.
29187
5197d9c2
AK
291882012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29189
29190 * sysdeps/s390/fpu/libm-test-ulps: Update.
29191
f0c1dedf
AJ
291922012-05-03 Andreas Jaeger <aj@suse.de>
29193
29194 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29195 does not get optimized out.
29196 (malloc_opt_barrier): New.
29197
a65ef2ae 291982012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29199 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29200
2b942cb7 29201 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29202 intermediate file deletion.
2b942cb7 29203 (generated): Add .symlist files.
a65ef2ae 29204
54b71e02
JM
292052012-05-03 Joseph Myers <joseph@codesourcery.com>
29206
29207 [BZ #13775]
29208 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29209 Redirect under this condition.
29210 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29211 [__USE_GNU] (__dprintf_chk): Not under this condition.
29212 [__USE_GNU] (__vdprintf_chk): Likewise.
29213 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29214 under this condition.
29215 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29216 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29217 [__USE_XOPEN2K8] (vdprintf): Likewise.
29218 [__USE_GNU] (__dprintf_chk): Not under this condition.
29219 [__USE_GNU] (__vdprintf_chk): Likewise.
29220 [__USE_GNU] (dprintf): Likewise.
29221 [__USE_GNU] (vdprintf): Likewise.
29222
d3dfcc41
RM
292232012-05-03 Roland McGrath <roland@hack.frob.com>
29224
29225 * elf/Makefile (common-generated): Set this instead of generated for
29226 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29227 $(all-built-dso)-derived lists.
29228
7ac30cc5
AJ
292292012-05-03 Andreas Jaeger <aj@suse.de>
29230
0c51e550
AJ
29231 * sysdeps/i386/fpu/libm-test-ulps: Update.
29232
7ac30cc5
AJ
29233 * FAQ: Removed.
29234 * FAQ.in: Likewise.
29235 * scripts/gen-FAQ.pl: Likewise.
29236 * manual/install.texi (Installation): Point to online location of
29237 FAQ.
29238 * Makefile (files-for-dist): Remove FAQ.
29239 (FAQ): Remove.
29240
d4c2917f
AM
292412012-05-02 Allan McRae <allan@archlinux.org>
29242
29243 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29244 (LDFLAGS-reldepmod5.so): Likewise.
29245 (LDFLAGS-reldep6mod1.so): Likewise.
29246 (LDFLAGS-reldep6mod4.so): Likewise.
29247 (LDFLAGS-reldep8mod3.so): Likewise.
29248 (LDFLAGS-unload4mod1.so): Likewise.
29249 (LDFLAGS-unload4mod2.so): Likewise.
29250 (LDFLAGS-tst-initorder): Likewise.
29251 (LDFLAGS-tst-initordera2.so): Likewise.
29252 (LDFLAGS-tst-initordera3.so): Likewise.
29253 (LDFLAGS-tst-initordera4.so): Likewise.
29254 (LDFLAGS-tst-initorderb2.so): Likewise.
29255 (LDFLAGS-noload): Likewise.
29256 (LDFLAGS-next): Likewise.
29257 (LDFLAGS-order2mod1.so): Likewise.
29258 (LDFLAGS-order2mod2.so): Likewise.
29259 (LDFLAGS-tst-initorder2): Likewise.
29260 (LDFLAGS-tst-initorder2a.so): Likewise.
29261 (LDFLAGS-tst-initorder2b.so): Likewise.
29262 (LDFLAGS-tst-initorder2c.so): Likewise.
29263 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29264
d77f993f
DM
292652012-05-02 David S. Miller <davem@davemloft.net>
29266
29267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29268
171a70b4
PP
292692012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29270
29271 [BZ #14055]
29272 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29273
0be196ad
AJ
292742012-05-02 Andreas Jaeger <aj@suse.de>
29275
29276 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29277 since we manipulate rounding mode.
29278 (CPPFLAGS-test-idouble.c): Likewise.
29279 (CPPFLAGS-test-ifloat.c): Likewise.
29280 (CFLAGS-test-ldouble.c): Likewise.
29281 (CFLAGS-test-double.c): Likewise.
29282 (CFLAGS-test-float.c): Likewise.
29283 (CFLAGS-test-misc.c): Likewise.
29284 (CFLAGS-test-test-fenv.c): Likewise.
29285
4f9d04aa
AZ
292862012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29287
2b942cb7
RM
29288 [BZ #2550]
29289 [BZ #2570]
29290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29291 comparisons to determine direction to adjust input.
4f9d04aa 29292
82a79e7d
RM
292932012-05-01 Roland McGrath <roland@hack.frob.com>
29294
f5a01ca9
RM
29295 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29296 output to the target.
29297
90fe4186
RM
29298 * scripts/localplt.awk: New file.
29299 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29300 (check-localplt-CFLAGS): Variable removed.
29301 ($(all-built-dso:=.jmprel)): New static pattern rule.
29302 (generated): Add those targets.
29303 (localplt-built-dso): New variable.
29304 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29305
29306 * elf/check-localplt.c: File removed.
29307
82397ed6
RM
29308 * scripts/check-execstack.awk: New file.
29309 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29310 (check-execstack-CFLAGS): Variable removed.
29311 ($(objpfx)check-execstack.h): Target removed.
29312 ($(objpfx)execstack-default): New target.
29313 (generated): Add that instead of check-execstack.h.
29314 ($(all-built-dso:=.phdr)): New static pattern rule.
29315 (generated): Add those targets.
29316 * elf/check-execstack.c: File removed.
29317
82a79e7d
RM
29318 * scripts/check-textrel.awk: New file.
29319 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29320 (check-textrel-CFLAGS): Variable removed.
29321 (all-built-dso): Use := to define.o
29322 ($(all-built-dso:=.dyn)): New static pattern rule.
29323 (generated): Add those targets.
29324 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29325 * config.make.in (READELF): New substituted variable.
29326 * elf/check-textrel.c: File removed.
29327
62fde54f 293282012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29329
615605c9
JM
29330 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29331 allow.
29332 * conform/data/ctype.h-data [C99-based standards] (isblank):
29333 Expect function.
29334 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29335 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29337 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29338 Specify type. Require positive value.
29339 (EILSEQ): Likewise.
29340 (ERANGE): Likewise.
29341 [ISO || POSIX] (EILSEQ): Do not expect.
29342 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29343 Specify type. Require positive value.
29344 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29345 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29346 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29347 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29348 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29349 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29350 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29351 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29352 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29353 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29354 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29356 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29357 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29358 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29360 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29361 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29367 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29368 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29369 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29370 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29371 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29373 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29408 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29413 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29414 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29415 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29416 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29417 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29418 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29419 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29420 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29421 Require >= 2.
29422 (FLT_ROUNDS): Expect as macro, not constant.
29423 (FLT_MANT_DIG): Use macro-int-constant.
29424 (DBL_MANT_DIG): Likewise.
29425 (LDBL_MANT_DIG): Likewise.
29426 (FLT_DIG): Likewise.
29427 (DBL_DIG): Likewise.
29428 (LDBL_DIG): Likewise.
29429 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29430 (DBL_MIN_EXP): Likewise.
29431 (LDBL_MIN_EXP): Likewise.
29432 (FLT_MAX_EXP): Use macro-int-constant.
29433 (DBL_MAX_EXP): Likewise.
29434 (LDBL_MAX_EXP): Likewise.
29435 (FLT_MAX_10_EXP): Likewise.
29436 (DBL_MAX_10_EXP): Likewise.
29437 (LDBL_MAX_10_EXP): Likewise.
29438 (FLT_MAX): Use macro-constant.
29439 (DBL_MAX): Likewise.
29440 (LDBL_MAX): Likewise.
29441 (FLT_EPSILON): Use macro-constant. Give upper bound.
29442 (DBL_EPSILON): Likewise.
29443 (LDBL_EPSILON): Likewise.
29444 (FLT_MIN): Likewise.
29445 (DBL_MIN): Likewise.
29446 (LDBL_MIN): Likewise.
29447 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29448 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29449 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29450 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29451 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29452 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29453 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29454 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29455 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29456 [ISO11] (FLT_TRUE_MIN): Likewise.
29457 [ISO11] (LDBL_TRUE_MIN): Likewise.
29458 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29459 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29460 (SCHAR_MIN): Use macro-int-constant. Specify type.
29461 (SCHAR_MAX): Likewise.
29462 (UCHAR_MAX): Likewise.
29463 (CHAR_MIN): Likewise.
29464 (CHAR_MAX): Likewise.
29465 (MB_LEN_MAX): Use macro-int-constant.
29466 (SHRT_MIN): Use macro-int-constant. Specify type.
29467 (SHRT_MAX): Likewise.
29468 (USHRT_MAX): Likewise.
29469 (INT_MAX): Likewise.
29470 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29471 bound negative.
29472 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29473 bound with "U".
29474 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29475 bound with "L".
29476 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29477 bound negative. Suffix upper bound with "L".
29478 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29479 bound with "UL".
29480 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29481 Specify type.
29482 [C99-based standards] (LLONG_MAX): Likewise.
29483 [C99-based standards] (ULLONG_MAX): Likewise.
29484 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29485 == 0.
29486 [ISO11] (max_align_t): Require type.
29487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29488
c9140a62
JM
29489 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29490 from $CFLAGS, without defining away __attribute__ calls.
29491 (checknamespace): Use $CFLAGS_namespace.
29492
9af0bf29
JM
29493 * conform/conformtest.pl (@keywords): Only include C99 keywords
29494 for standards based on C99 or C11.
29495
343222a2
JM
29496 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29497 Disable tests.
29498 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29499 UNIX98]: Likewise.
29500
661f8cf0
JM
29501 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29502 usability of symbols in #if.
29503
ee74b9cb
JM
29504 * conform/conformtest.pl: If macro or constant types start
29505 "promoted:", expect the symbol to be of the following type
29506 promoted by the integer promotions.
62fde54f 29507
aafc49b3
JM
29508 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29509 in one place. Also handle "macro-constant".
29510
fefdf574
JM
29511 * conform/conformtest.pl: Only accept expected macro values with
29512 "==". Parse all "macro" lines in one place.
29513 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29514
f2d922fe
JM
29515 * conform/conformtest.pl: Handle braced types on "constant" lines
29516 instead of handling "typed-constant".
29517 * conform/data/signal.h-data: Use "constant" instead of
29518 "typed-constant".
29519
d22956c9
JM
29520 * conform/conformtest.pl: Handle "optional-" at start of lines in
29521 one place rather than duplicating several cases. Handle each
29522 format of "macro" line with initial "optional-".
29523
028e2e38
JM
29524 * conform/conformtest.pl: Only accept expected constant or
29525 optional-constant values with "==". Parse all "constant" lines in
29526 one place. Parse all "optional-constant" lines in one place.
29527 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29528 * conform/data/fmtmsg.h-data: Likewise.
29529 * conform/data/netinet/in.h-data: Likewise.
29530 * conform/data/tar.h-data: Likewise.
29531 * conform/data/limits.h-data: Use "==" form on "constant" and
29532 "optional-constant" lines.
29533
1b8f2850
JM
29534 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29535 Use -std=c99 for XOPEN2K.
29536 (@knownproblems): Remove.
29537 (newtoken): Don't check %isknown.
29538
a05a144b
JM
29539 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29540 Do not expect macro.
29541 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29542 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29543 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29544 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29545 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29546 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29547 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29548 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29549 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29550 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29551 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29552 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29553 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29554 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29555 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29556 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29557 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29558 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29559 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29560 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29561 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29562 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29563 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29564 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29565 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29566 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29567 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29568 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29569 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29570 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29571 [XPG3] (acosh): Likewise.
29572 [XPG3] (asinh): Likewise.
29573 [XPG3] (atanh): Likewise.
29574 [XPG3] (cbrt): Likewise.
29575 [XPG3] (expm1): Likewise.
29576 [XPG3] (ilogb): Likewise.
29577 [XPG3] (log1p): Likewise.
29578 [XPG3] (logb): Likewise.
29579 [XPG3] (nextafter): Likewise.
29580 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29581 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29582 [XPG3] (remainder): Likewise.
29583 [XPG3] (rint): Likewise.
29584 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29585 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29586 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29587 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29588 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29589 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29590 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29591 [UNIX98 || XOPEN2K] (scalb): Expect.
29592 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29593 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29594 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29595 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29596 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29597 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29598 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29599 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29600 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29601 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29602 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29603 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29604 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29605 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29606 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29607 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29608 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29609 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29610 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29611 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29612 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29613 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29614 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29615 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29616 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29617 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29618 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29619 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29620 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29621 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29622 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29623 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29624 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29625 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29626 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29627 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29628 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29629 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29630 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29631 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29632 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29633 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29634 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29635 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29636 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29637 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29638 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29639 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29640 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29641 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29642 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29643 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29644 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29645 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29646 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29647 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29648 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29649 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29650 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29651 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29652 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29653 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29654 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29655 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29656 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29657 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29658 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29659 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29660 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29661 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29662 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29663 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29664 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29665 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29666 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29667 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29668 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29669 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29670 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29671 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29672 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29673 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29674 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29675 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29676 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29677 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29678 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29679 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29680 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29681 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29682 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29683 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29684 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29685 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29686 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29687 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29688 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29689 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29690 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29691 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29692 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29693 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29694 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29695 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29696 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29697 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29698 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29699 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29700 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29701 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29702 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29703 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29704 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29705 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29706 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29707 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29708 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29709 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29710 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29711 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29712 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29713 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29714 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29715 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29716 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29717 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29718 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29719 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29720 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29721 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29722 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29723 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29724 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29725 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29726 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29727 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29728 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29729
73c5ebe3
JM
29730 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29731 _XOPEN_SOURCE_EXTENDED for XPG4.
29732
39c33b6c
JM
29733 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29734
62fde54f
JM
29735 * Makeconfig (localtime): Remove variable.
29736 (inst_localtime-file): Likewise.
29737
0741d64c
AS
297382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29739
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29741 Update.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29743 Update.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29745 Update.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29747 Update.
29748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29749 Update.
29750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29751 Update.
29752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29753 Update.
29754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29755 Update.
29756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29757 Update.
29758
7cb029ee
JM
297592012-05-01 Joseph Myers <joseph@codesourcery.com>
29760
29761 [BZ #2550]
29762 [BZ #2570]
29763 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29764 comparisons to determine direction to adjust input.
29765 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29766 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29768 Likewise.
29769 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29770 Likewise.
29771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29772 Likewise.
29773 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29774 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29775 Likewise.
29776 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29777 Likewise.
29778 * math/libm-test.inc (nexttoward_test): Add more tests.
29779
412bd966
AS
297802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29781
29782 [BZ #14040]
29783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29784 in version GLIBC_2.1, not GLIBC_2.0.
29785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29786 Likewise.
29787
9568c0c2
JM
297882012-04-30 Joseph Myers <joseph@codesourcery.com>
29789
adfbc8ac
JM
29790 [BZ #13942]
29791 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29792 (1 - x) * (1 + x).
29793 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29794 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29795 * math/libm-test.inc (acos_test): Add more tests.
29796 (asin_test): Likewise.
29797 * sysdeps/i386/fpu/libm-test-ulps: Update.
29798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29799
5ba3cc69
JM
29800 [BZ #14034]
29801 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29802 of square root.
29803 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29804 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29805 * math/libm-test.inc (acos_test_tonearest): New function.
29806 (acos_test_towardzero): Likewise.
29807 (acos_test_downward): Likewise.
29808 (acos_test_upward): Likewise.
29809 (asin_test_tonearest): Likewise.
29810 (asin_test_towardzero): Likewise.
29811 (asin_test_downward): Likewise.
29812 (asin_test_upward): Likewise.
29813 (main): Call the new functions.
29814 * sysdeps/i386/fpu/libm-test-ulps: Update.
29815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29816
9568c0c2
JM
29817 [BZ #13884]
29818 [BZ #13924]
29819 * math/e_exp10.c: Include <float.h>.
29820 (__ieee754_exp10): Handle underflow here rather than multiplying
29821 large negative argument by M_LN10.
29822 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29823 of __ieee754_expf.
29824 * math/e_exp10l.c: Include <float.h>.
29825 (__ieee754_exp10l): Handle underflow here rather than multiplying
29826 large negative argument by M_LN10l.
29827 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29828 spurious overflow exception on underflow.
29829
5ac3ea17
MP
298302012-04-29 Marek Polacek <polacek@redhat.com>
29831
29832 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29833 (__fortify_function): New macro.
29834 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29835 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29836 __extern_always_inline.
29837 * libio/bits/stdio2.h: Likewise.
29838 * libio/bits/stdio.h: Likewise.
29839 * string/string.h: Likewise.
29840 * string/bits/string3.h: Likewise.
29841 * include/stdio.h: Likewise.
29842 * stdlib/bits/stdlib.h: Likewise.
29843 * stdlib/stdlib.h: Likewise.
29844 * rt/bits/mqueue2.h: Likewise.
29845 * rt/mqueue.h: Likewise.
29846 * posix/bits/unistd.h: Likewise.
29847 * posix/unistd.h: Likewise.
29848 * io/bits/poll2.h: Likewise.
29849 * io/bits/fcntl2.h: Likewise.
29850 * io/fcntl.h: Likewise.
29851 * io/sys/poll.h: Likewise.
29852 * misc/bits/syslog.h: Likewise.
29853 * misc/bits/syslog-ldbl.h: Likewise.
29854 * misc/sys/syslog.h: Likewise.
29855 * socket/bits/socket2.h: Likewise.
29856 * socket/sys/socket.h: Likewise.
29857 * debug/tst-chk1.c: Likewise.
29858 * wcsmbs/bits/wchar2.h: Likewise.
29859 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29860 * wcsmbs/wchar.h: Likewise.
29861
ecf0ebfb
AJ
298622012-04-29 Andreas Jaeger <aj@suse.de>
29863
29864 * Makerules (tests): Remove enable-check-abi protection.
29865 (check-abi-warn): Remove.
29866 (check-abi-%): Remove check-abi-warn usage.
29867
29868 * configure.in: Remove check-abi configure option.
29869 * configure: Regenerated.
29870 * config.make.in (enable-check-abi): Remove.
29871
6d5c57fa
AS
298722012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29873
24c5d07e 29874 [BZ #14033]
ded5180a
AS
29875 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29876 double functions to double *_finite functions.
29877
7e0d315d
AS
29878 [BZ #13941]
29879 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29880 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29881 LDBL_MIN_EXP.
29882 * stdio-common/Makefile (tests): Add tst-sprintf3.
29883 * stdio-common/tst-sprintf3.c: New file.
29884
6d5c57fa
AS
29885 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29886 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29887
0749ff8b
JM
298882012-04-28 Joseph Myers <joseph@codesourcery.com>
29889
29890 * conform/conformtest.pl: Remove duplicate typed-constant
29891 handling.
29892
8dbd5d7b
DM
298932012-04-28 David S. Miller <davem@davemloft.net>
29894
29895 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29896 (check-abi-%): Remove AWK script prerequisite and explicit
29897 abilist directory.
29898 (check-abi): Rewrite to just diff the symlist with the abilist.
29899 (config-tls, config-abi-config): Delete, no longer used.
29900 (update-abi-%): Remove AWK script and explicit abilist directory.
29901 (update-abi): Rewrite to simply compare and conditionally copy the
29902 symlist and the sysdep abilist file. Remove update-abi-config
29903 checks.
29904 * abilist/ld.abilist: Remove.
29905 * abilist/libBrokenLocale.abilist: Remove.
29906 * abilist/libanl.abilist: Remove.
29907 * abilist/libcrypt.abilist: Remove.
29908 * abilist/libdl.abilist: Remove.
29909 * abilist/librt.abilist: Remove.
29910 * abilist/libthread_db.abilist: Remove.
29911 * abilist/libutil.abilist: Remove.
29912 * scripts/extract-abilist.awk: Remove.
29913 * scripts/merge-abilist.awk: Remove.
29914 * sysdeps/generic/libcidn.abilist: New file.
29915 * sysdeps/generic/libnss_compat.abilist: New file.
29916 * sysdeps/generic/libnss_db.abilist: New file.
29917 * sysdeps/generic/libnss_dns.abilist: New file.
29918 * sysdeps/generic/libnss_files.abilist: New file.
29919 * sysdeps/generic/libnss_hesiod.abilist: New file.
29920 * sysdeps/generic/libnss_nis.abilist: New file.
29921 * sysdeps/generic/libnss_nisplus.abilist: New file.
29922 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29923 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29924 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29925 file.
29926 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29927 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29928 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29929 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29930 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29931 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29932 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29933 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29934 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29935 file.
29936 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29937 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29938 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29939 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29940 file.
29941 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29942 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29943 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29944 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29945 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29946 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29947 file.
29948 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29949 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29950 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29951 file.
29952 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29954 New file.
29955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29956 New file.
29957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29958 New file.
29959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29960 New file.
29961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29962 New file.
29963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29964 New file.
29965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29966 New file.
29967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29968 New file.
29969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29970 New file.
29971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29972 New file.
29973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29974 New file.
29975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29976 New file.
29977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29978 New file.
29979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29980 file.
29981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29982 New file.
29983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29984 New file.
29985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29986 file.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29988 New file.
29989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29990 New file.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29992 file.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29994 New file.
29995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29996 New file.
29997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29998 New file.
29999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30000 New file.
30001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30002 New file.
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30004 New file.
30005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30007 file.
30008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30009 New file.
30010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30011 file.
30012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30013 file.
30014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30015 file.
30016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30017 file.
30018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30019 file.
30020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30021 New file.
30022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30023 file.
30024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30025 file.
30026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30027 New file.
30028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30029 file.
30030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30032 file.
30033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30034 New file.
30035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30036 file.
30037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30038 file.
30039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30040 file.
30041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30042 file.
30043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30044 file.
30045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30046 New file.
30047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30048 file.
30049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30050 file.
30051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30052 New file.
30053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30054 file.
30055 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30056 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30057 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30058 file.
30059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30060 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30061 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30062 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30063 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30064 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30065 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30066 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30067 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30068 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30071 file.
30072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30073 New file.
30074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30075 file.
30076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30077 file.
30078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30079 file.
30080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30081 file.
30082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30083 file.
30084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30085 New file.
30086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30087 New file.
30088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30089 file.
30090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30091 New file.
30092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30093 file.
30094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30096 file.
30097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30098 New file.
30099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30100 file.
30101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30102 file.
30103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30104 file.
30105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30106 file.
30107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30108 file.
30109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30110 New file.
30111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30112 New file.
30113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30114 file.
30115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30116 New file.
30117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30118 file.
30119
41d73a1b
JM
301202012-04-28 Joseph Myers <joseph@codesourcery.com>
30121
30122 * conform/conformtest.pl: Fix typo in handling typed-constant from
30123 allow-header.
30124
28aeeda4
JM
301252012-04-27 Joseph Myers <joseph@codesourcery.com>
30126
adae8f5e
JM
30127 * README: Cut down references to pre-2.6 Linux kernels and
30128 Linuxthreads. Update lists of configurations in libc and ports
30129 and sort alphabetically. Say "or newer" with Linux kernel version
30130 requirements.
30131
28aeeda4
JM
30132 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30133
a462cb63
RA
301342012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30135
30136 [BZ #887]
30137 * math/libm-test.inc (logb_test_downward): New test to expose
30138 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30139 rounding mode.
30140
6ad3493e
JM
301412012-04-27 Joseph Myers <joseph@codesourcery.com>
30142
30143 [BZ #14027]
30144 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30145 to be done.
30146 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30147 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30148
2ce4f015
JM
301492012-04-26 Joseph Myers <joseph@codesourcery.com>
30150
5aeb141a
JM
30151 * sysdeps/unix/i386/brk.S: Remove file.
30152 * sysdeps/unix/i386/dl-brk.S: Likewise.
30153 * sysdeps/unix/i386/pipe.S: Likewise.
30154 * sysdeps/unix/i386/sigreturn.S: Likewise.
30155 * sysdeps/unix/i386/syscall.S: Likewise.
30156 * sysdeps/unix/i386/vfork.S: Likewise.
30157 * sysdeps/unix/i386/wait.S: Likewise.
30158
7143acae
JM
30159 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30160 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30161
2ce4f015
JM
30162 * configure.in (arm*-none*): Do not allow without
30163 --enable-hacker-mode.
30164 (netbsd*): Remove case setting base_os.
30165 (386bsd*): Likewise.
30166 (freebsd*): Likewise.
30167 (bsdi*): Likewise.
30168 (osf*): Likewise.
30169 (sunos*): Likewise.
30170 (ultrix*): Likewise.
30171 (newsos*): Likewise.
30172 (dynix*): Likewise.
30173 (*bsd*): Likewise.
30174 (sysv*): Likewise.
30175 (isc*): Likewise.
30176 (esix*): Likewise.
30177 (sco*): Likewise.
30178 (minix*): Likewise.
30179 (irix4*): Likewise.
30180 (irix6*): Likewise.
30181 (solaris[2-9]*): Likewise.
30182 (none): Likewise.
30183 * configure: Regenerated.
30184
0ac229c8
AZ
301852012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30186
30187 [BZ #11521]
30188 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30189 overflow or cancellation in calculating denominator.
30190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30192 down expression to avoid unexpected rounding in newer GCCs.
30193 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30194
33f244f4
DM
301952012-04-26 David S. Miller <davem@davemloft.net>
30196
30197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30198 long-double compat symbols.
30199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30212
cfa1f3e8
DM
302132012-04-25 David S. Miller <davem@davemloft.net>
30214
30215 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30216 HWCAP_* values only after the memory barriers have been defined.
30217 (atomic_full_barrier): Define.
30218 (atomic_read_barrier): Define.
30219 (atomic_write_barrier): Define.
30220
6e236b92
SP
302212012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30222
30223 * shlib-versions: Add libgcc_s version information.
30224 * sysdeps/generic/libgcc_s.h: Remove.
30225 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30226 libgcc_s.h.
30227 * sysdeps/gnu/unwind-resume.c: Likewise.
30228 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30229
aab39a09
DM
302302012-04-25 David S. Miller <davem@davemloft.net>
30231
30232 * sysdeps/unix/sparc/brk.S: Delete.
30233 * sysdeps/unix/sparc/dl-brk.S: Delete.
30234 * sysdeps/unix/sparc/pipe.S: Delete.
30235 * sysdeps/unix/sparc/sysdep.S: Delete.
30236 * sysdeps/unix/sparc/sysdep.h: Delete.
30237 * sysdeps/unix/sparc/vfork.S: Delete.
30238 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30239 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30241 ret_ERRVAL, r0, r1, MOVE): Define.
30242 (JUMPTARGET): Remove.
30243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30244 sysdeps/unix/sparc/sysdep.h
30245 (ENTRY, END): Remove.
30246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30247
a3cc4f48
JM
302482012-04-25 Joseph Myers <joseph@codesourcery.com>
30249
2ed8cda2
JM
30250 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30251 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30252 -DIS_IN_build.
30253
35d76d59
JM
30254 * timezone/README: Update upstream location and email address for
30255 tzcode and tzdata.
30256 * timezone/zdump.c: Update from tzcode 2012b.
30257 * timezone/zic.c: Likewise.
30258
a3cc4f48
JM
30259 * configure.in (libc_cv_as_needed): Remove test.
30260 * configure: Regenerated.
30261 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30262 conditional definition.
30263 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30264 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30265 * config.make.in (have-as-needed): Remove variable.
30266
ceab42c3
SP
302672012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30268 Paul Pluzhnikov <ppluzhnikov@google.com>
30269
30270 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30271 strings correctly.
30272
3ce2865f
CLT
302732012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30274
30275 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30276 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30277 * sysdeps/sh/strlen.S: Likewise.
30278
f37e0d68
JM
302792012-04-24 Joseph Myers <joseph@codesourcery.com>
30280
ae186e9a
JM
30281 * sysdeps/unix/fork.S: Remove file.
30282 * sysdeps/unix/i386/fork.S: Likewise.
30283 * sysdeps/unix/sparc/fork.S: Likewise.
30284
b96914af
JM
30285 * sysdeps/unix/system.c: Remove file.
30286 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30287
f37e0d68
JM
30288 * sysdeps/unix/getegid.S: Remove file.
30289 * sysdeps/unix/geteuid.S: Likewise.
30290
87ef29ca
RM
302912012-04-24 Roland McGrath <roland@hack.frob.com>
30292
83bcd236
RM
30293 * scripts/check-localplt.awk: New file.
30294 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30295 of diff.
30296 * scripts/data/localplt-generic.data: Add a comment.
30297
87ef29ca
RM
30298 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30299 NODE when __dir_mkfile failed.
30300 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30301 Reported by Ludovic Courtès <ludo@gnu.org>.
30302
e5a6e567
AJ
303032012-04-24 Andreas Jaeger <aj@suse.de>
30304
30305 * Makerules (common-clean): Also remove gen-as-const-headers
30306 files.
30307
c1820385
JM
303082012-04-24 Joseph Myers <joseph@codesourcery.com>
30309
30310 * Makerules (native-compile): Do not change working directory for
30311 build. Use $(OUTPUT_OPTION) in command.
30312 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30313
94e02fc4
AZ
303142012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30315
30316 [BZ #13886]
30317 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30318 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30319 * math/libm-test.inc (floor_test): Add more tests.
30320 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30321
3a533ca3
JM
303222012-04-24 Joseph Myers <joseph@codesourcery.com>
30323
940ab4b3
JM
30324 * sysdeps/unix/getdents.c: Remove file.
30325 * sysdeps/unix/sysv/getdents.c: Likewise.
30326 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30327
90e037bd
JM
30328 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30329 sysdeps/unix/mman/syscalls.list.
30330 (mmap): Likewise.
30331 (mprotect): Likewise.
30332 (msync): Likewise.
30333 (munmap): Likewise.
30334 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30335 * sysdeps/unix/mman/syscalls.list: Remove.
30336 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30337
3a533ca3
JM
30338 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30339 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30340 * configure: Regenerated.
30341 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30342 $(libgcc_s_suffix).
30343 * config.make.in (libgcc_s_suffix): Remove variable.
30344
1ad743de
JM
303452012-04-23 Joseph Myers <joseph@codesourcery.com>
30346
4ad451e2
JM
30347 * sysdeps/unix/sysv/gethostname.c: Move to ...
30348 * sysdeps/posix/gethostname.c: ... here.
30349
5e37ce39
JM
30350 * sysdeps/unix/execve.S: Remove file.
30351
1ad743de
JM
30352 * sysdeps/unix/_exit.S: Remove file.
30353
4e681b5b
AJ
303542012-04-23 Andreas Jaeger <aj@suse.de>
30355
30356 [BZ #13739]
30357 * manual/Makefile: Remove make dist support, there's no
30358 need for a stand-alone documentation tar ball.
30359 (TEXI2DVI): Define always, it's not in Makeconfig.
30360 (dist): Removed.
30361 (tar-it): Removed.
30362 (edition): Removed.
30363 (glibc-doc-$(edition).tar): Removed
30364 (%.Z): Removed.
30365 (%.gz): Removed.
30366 (%.uu): Removed.
30367 (ETAGS): Remove, it's in Makeconfig.
30368 (move-if-change): Remove, it's in Makeconfig.
30369
38686a03 303702012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30371
30372 [BZ #13970]
30373 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30374 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30375 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30376 (strtod_l, strtof_l, strtold_l): Remove __wur.
30377 It is not necessarily an error to ignore strtol's return value.
30378 One can reliably look at the stored endptr to decide whether
30379 the number had valid syntax.
30380
7c0616fa
AJ
303812012-04-21 Andreas Jaeger <aj@suse.de>
30382
803cb6b7 30383 [BZ #13739]
7c0616fa
AJ
30384 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30385
b0fe253f
JM
303862012-04-21 Joseph Myers <joseph@codesourcery.com>
30387
30388 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30389 * sysdeps/unix/sysv/Versions: Remove file.
30390
8280f22d
MT
303912012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30392
30393 [BZ #13927]
30394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30395
75ce411f 303962012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30397
30398 [BZ #7064]
30399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30400 version from __vm86.
30401
097d59fa
JM
304022012-04-20 Joseph Myers <joseph@codesourcery.com>
30403
a90f3bcb
JM
30404 * sysdeps/unix/common/lxstat.c: Remove file.
30405 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30406
edc7ea78
JM
30407 * sysdeps/unix/sysv/Makefile: Remove file.
30408
cb78c221
JM
30409 * sysdeps/unix/sysv/direct.h: Remove file.
30410
efa6a45f
JM
30411 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30412 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30413 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30414 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30415 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30416 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30417 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30418
9c9f2d0c
JM
30419 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30420
4541c83b
JM
30421 * sysdeps/unix/xmknod.c: Remove file.
30422 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30423
f5d153a0
JM
30424 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30425
aa746595
JM
30426 * sysdeps/unix/sysv/i386/time.S: Remove file.
30427
cce5905e
JM
30428 * sysdeps/unix/fxstat.c: Remove file.
30429 * sysdeps/unix/xstat.c: Likewise.
30430 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30431
37fa3841
JM
30432 * sysdeps/unix/sysv/sigaction.c: Remove file.
30433
ff1962a3
JM
30434 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30435 (sysdep_headers): Remove variable.
30436 [termio.h not in sysdep_headers] (generated): Likewise.
30437 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30438 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30439 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30440 * sysdeps/unix/sysv/tcflow.c: Likewise.
30441 * sysdeps/unix/sysv/tcflush.c: Likewise.
30442 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30443 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30444 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30445 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30446 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30447
e7740d31
JM
30448 * sysdeps/unix/siglist.c: Remove file.
30449
ee06f18b
JM
30450 * sysdeps/unix/getppid.S: Remove file.
30451
097d59fa
JM
30452 * sysdeps/unix/mkdir.c: Remove file.
30453 * sysdeps/unix/rmdir.c: Likewise.
30454
ff3d51ec
AS
304552012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30456
30457 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30458 ERR_MAX value.
30459 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30460 errlist-compat value.
30461
50f81fd7
DM
304622012-04-18 David S. Miller <davem@davemloft.net>
30463
30464 * sysdeps/generic/memcopy.h (reg_char): Delete.
30465 * debug/strcat_chk.c: Use char, not reg_char.
30466 * debug/strcpy_chk.c: Likewise.
30467 * debug/strncat_chk.c: Likewise.
30468 * debug/strncpy_chk.c: Likewise.
30469 * string/memchr.c: Likewise.
30470 * string/memrchr.c: Likewise.
30471 * string/rawmemchr.c: Likewise.
30472 * string/strcat.c: Likewise.
30473 * string/strchr.c: Likewise.
30474 * string/strchrnul.c: Likewise.
30475 * string/strcmp.c: Likewise.
30476 * string/strcpy.c: Likewise.
30477 * string/strncat.c: Likewise.
30478 * string/strncmp.c: Likewise.
30479 * string/strncpy.c: Likewise.
30480
8ff41c46
WS
304812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30482
30483 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30484 __builtin_memcopy is called when src and dest ranges are known to not
30485 overlap.
30486
6b652f46
WS
304872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30488
30489 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30490 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30491 fwd_align_merge macro call.
30492 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30493 bwd_align_merge macro call.
30494 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30495
b282631e
WS
304962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30497
30498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30499 bwd_align_merge macros.
30500 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30501 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30502 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30503
95aa737c
DM
305042012-04-18 David S. Miller <davem@davemloft.net>
30505
30506 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30507
7a99a614
AJ
305082012-04-18 Andreas Jaeger <aj@suse.de>
30509
30510 [BZ# 6794]
30511 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30512 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30513 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30514
30515 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30516 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30517 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30518
30519 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30520 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30521 Adjust for changed ldbl-128 files.
30522
30523 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30524 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30525 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30526
e5270c23
DM
305272012-04-17 David S. Miller <davem@davemloft.net>
30528
30529 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30530
fb5e92c9
AS
305312012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30532
30533 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30534 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30535 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30536 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30537 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30538 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30539
76da7265
AZ
305402012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30541
30542 [BZ #6794]
30543 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30544 * math/libm-test.inc: Add ilogb errno and exception tests.
30545 * math/w_ilogb.c: New file: ilogb wrapper.
30546 * math/w_ilogbf.c: New file: ilogbf wrapper.
30547 * math/w_ilogbl.c: New file: ilogbl wrapper.
30548 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30549 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30550 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30551 exception being thrown with 0.0 as argument.
30552 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30553 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30554 exception being thrown with 0.0 as argument.
30555 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30556 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30557 exception being thrown with 0.0 as argument.
30558 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30559 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30560 exception being thrown with 0.0 as argument.
30561 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30562 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30563 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30564 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30565 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30566 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30567 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30568 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30569 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30570
0396e69d
PB
305712012-04-17 Petr Baudis <pasky@ucw.cz>
30572
30573 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30574 with altivec.
30575
750b5926
MP
305762012-04-16 Marek Polacek <polacek@redhat.com>
30577
30578 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30579
751728a1
MP
305802012-04-16 Marek Polacek <polacek@redhat.com>
30581
30582 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30583 operands of fdivp instruction.
30584
34a27407
L
305852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30586
30587 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30588 * elf/tst-auditmod3b.c: Likewise.
30589 * elf/tst-auditmod4b.c: Likewise.
30590 * elf/tst-auditmod5b.c: Likewise.
30591 * elf/tst-auditmod6b.c: Likewise.
30592 * elf/tst-auditmod6c.c: Likewise.
30593 * elf/tst-auditmod7b.c: Likewise.
30594 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30595 * sysdeps/x86_64/preconfigure.in: Likewise.
30596 * sysdeps/x86_64/preconfigure: Regenerated.
30597
7e73e17d
L
305982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30599
30600 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30601 __ILP32__.
30602
c7a6ab72
AB
306032012-04-13 Antoine Balestrat <merkil33@gmail.com>
30604
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30606 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30607
a9e8e0e0
CL
306082012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30609
30610 [BZ #13973]
30611 * locale/iso-639.def: Fix gl language name. Spotted by
30612 Yaron Shahrabani.
30613
ec98af7d
RM
306142012-04-12 Roland McGrath <roland@hack.frob.com>
30615
30616 [BZ #2074]
30617 * libio/libio.h (__io_write_fn): Update comment.
30618
247c3ede
PB
306192012-04-12 Petr Baudis <pasky@ucw.cz>
30620
30621 [BZ #2074]
30622 * stdio.texi (Hook Functions): The user provided writer function
30623 is not allowed to return -1.
30624
55939d6d
DM
306252012-04-11 David S. Miller <davem@davemloft.net>
30626
30627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30628
90020f5a
MF
306292012-04-11 Mike Frysinger <vapier@gentoo.org>
30630
30631 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30632 Add a leading slash to rtkaio.
30633
288f9098
JM
306342012-04-11 Jim Meyering <meyering@redhat.com>
30635
90020f5a
MF
30636 [BZ #11959]
30637 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30638 It is not necessarily an error to ignore fwrite's return
30639 value. One can reliably use ferror to test for errors after
30640 the fact.
288f9098 30641
4be2b570
L
306422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30643
30644 * bits/types.h (__snseconds_t): New type.
30645 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30646
30647 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30648 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30649 (__SNSECONDS_T_TYPE): Likewise.
30650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30651 (__SNSECONDS_T_TYPE): Likewise.
30652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30653 (__SNSECONDS_T_TYPE): Likewise.
30654
288f9098 306552012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30656
30657 [BZ #2636]
30658 * manual/time.texi (Processor Time): Return type of times is
30659 elapsed real time since an arbitrary point in the past.
30660 (CPU Time): Move CLK_TCK from here...
30661 (Processor Time): ...to here. Correct description.
30662 * manual/conf.texi (Constants for Sysconf): Correct description of
30663 _SC_CLK_TCK.
30664
d7dd4413
DM
306652012-04-10 David S. Miller <davem@davemloft.net>
30666
30667 [BZ #13967]
30668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30669 where the is a gap between DT_REL(A) and DT_JMPREL.
30670
b46068fc
L
306712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30674 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30675 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30676
73d65cc3
SP
306772012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30678
30679 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30680 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30681 (dl_main): Handle --inhibit-cache.
30682 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30683 _dl_inhibit_cache.
30684 * elf/dl-load.c (_dl_map_object): Use it.
30685 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30686
bcc8d661
JM
306872012-04-09 Joseph Myers <joseph@codesourcery.com>
30688
8f9a2fae
JM
30689 [BZ #13872]
30690 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30691 (__ieee754_powl): Saturate large exponents rather than testing for
30692 overflow of y*log2(x).
30693 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30694 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30695 exceptions.
30696
bcc8d661
JM
30697 [BZ #11521]
30698 * math/s_ctan.c: Include <float.h>.
30699 (__ctan): Avoid internal overflow or cancellation in calculating
30700 denominator.
30701 * math/s_ctanf.c: Likewise.
30702 * math/s_ctanl.c: Likewise.
30703 * math/s_ctanh.c: Likewise.
30704 * math/s_ctanhf.c: Likewise.
30705 * math/s_ctanhl.c: Likewise.
30706 * math/libm-test.inc (ctan_test): Add more tests.
30707 (ctanh_test): Likewise.
30708 * sysdeps/i386/fpu/libm-test-ulps: Update.
30709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30710
823fbbb4
AJ
307112012-04-09 Andreas Jaeger <aj@suse.de>
30712
03879793
AJ
30713 [BZ #6894]
30714 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30715 is an optional BSD extension.
30716
823fbbb4
AJ
30717 [BZ #10254]
30718 * manual/stdio.texi (Opening Streams): Document additional fopen
30719 parameters.
30720
8de131cb
RM
307212012-04-09 Roland McGrath <roland@hack.frob.com>
30722
30723 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30724 %eax without telling the compiler.
30725
c0ed9d7d
CD
307262012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30727
30728 [BZ # 13963]
30729 * manual/install.texi: Use sourceware.org.
30730
c483f6b4
JM
307312012-04-09 Joseph Myers <joseph@codesourcery.com>
30732
d7dd9453
JM
30733 [BZ #13873]
30734 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30735 (__ieee754_pow): Generate overflow and underflow using huge*huge
30736 and tiny*tiny rather than just returning constant infinity or zero
30737 for large exponents.
30738 * math/libm-test.inc (pow_test): Require overflow exceptions for
30739 applicable cases of large exponents.
30740
c483f6b4
JM
30741 [BZ #706]
30742 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30743 (__ieee754_pow): Use iterative multiplication algorithm only for
30744 integer exponents with absolute value below 1024. Check for odd
30745 integer exponents when using algorithm for real exponents.
30746 * math/libm-test.inc (pow_test): Add more tests.
30747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30748
d2de7579
JM
307492012-04-08 Joseph Myers <joseph@codesourcery.com>
30750
30751 [BZ #13705]
30752 * math/libm-test.inc (exp_test): Do not allow overflow exception
30753 on underflow test.
30754
f77f1232
AJ
307552012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30756
30757 [BZ #13705]
30758 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30759 instead of __kernel_standard_f.
30760
3884932b
MF
307612012-04-08 Mike Frysinger <vapier@gentoo.org>
30762
30763 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30764 * sysdeps/x86_64/memset_chk.S: Likewise.
30765
54472e9c
AJ
307662012-04-08 Andreas Jaeger <aj@suse.de>
30767
6ab0fbfc
AJ
30768 [BZ #10153]
30769 * manual/startup.texi (Environment Access): Describe return value
30770 for putenv and setenv.
30771
61efba8c
AJ
30772 [BZ #6895]
30773 * manual/filesys.texi (Directory Entries): Add description for
30774 DT_LNK.
30775
95c3f29a
AJ
30776 [BZ #6890]
30777 * manual/filesys.texi (Directory Entries): Clarify that it's file
30778 system not operating system in the description of DT_UNKNOWN.
30779
54472e9c
AJ
30780 [BZ #6578]
30781 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30782
624254b1
SC
307832012-04-08 Stephen Compall <s11@member.fsf.org>
30784
30785 [BZ #6649]
30786 * manual/llio.texi (Opening and Closing Files): Add cross
30787 reference to explain mode argument.
30788
1e4920e0
MF
307892012-04-07 Mike Frysinger <vapier@gentoo.org>
30790
30791 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30792 * sysdeps/x86_64/memset_chk.S: Likewise.
30793
5ed848f3
DM
307942012-04-07 David S. Miller <davem@davemloft.net>
30795
30796 * elf/elf.h (R_SPARC_WDISP10): Define.
30797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30798 R_SPARC_SIZE32.
30799 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30800 R_SPARC_SIZE64 and R_SPARC_H34.
30801
96154cd8
CD
308022012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30803
30804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30805 conditions and remove no longer applicable assertion.
30806
9904dc47
L
308072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30808
30809 * bits/byteswap.h: Include <features.h>.
30810 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30811 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30812
f8887d0a
L
308132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30814
30815 * bits/byteswap.h (__bswap_16): Removed.
30816 Include <bits/byteswap-16.h> to get __bswap_16.
30817 * sysdeps/i386/bits/byteswap.h: Likewise.
30818 * sysdeps/s390/bits/byteswap.h: Likewise.
30819 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30820 * bits/byteswap-16.h: New file.
30821 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30822 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30823 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30824 * string/Makefile (headers): Add bits/byteswap-16.h.
30825
62470f60
PP
308262012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30827
30828 [BZ #13895]
30829 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30830 extra indirection.
30831 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30832 * nss/tst-nss-static.c: New.
30833
4dad7bab
RM
308342012-04-06 Robert Millan <rmh@gnu.org>
30835
30836 [BZ #6486]
30837 * manual/llio.texi (File Position Primitive): lseek
30838 refers to WHENCE when it really means OFFSET.
30839
e9142a17
AJ
308402012-04-06 Andreas Jaeger <aj@suse.de>
30841
2c040eff
AJ
30842 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30843 strncmp declarations.
30844
e9142a17
AJ
30845 * abilist/libc.abilist: Add __poll and __ppoll.
30846
ff9f1c5f
DM
308472012-04-05 David S. Miller <davem@davemloft.net>
30848
dcd2ae90
DM
30849 * scripts/check-local-headers.sh: Accept a host triplet in the
30850 path matched by the exclude regexp.
30851
993eb054
DM
30852 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30853 definition.
30854 * sysdeps/powerpc/powerpc32/dl-machine.h
30855 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30856 * sysdeps/s390/s390-32/dl-machine.h
30857 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30858 * sysdeps/sparc/sparc32/dl-machine.h
30859 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30860 * sysdeps/sparc/sparc64/dl-machine.h
30861 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30862
ff9f1c5f
DM
30863 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30864 lazy binding.
48e2e132 30865 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30866 undefined symbol errors.
30867
48e2e132 30868 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30869 DT_NEEDED entries.
30870
e80d6f94
MM
308712012-04-05 Michael Matz <matz@suse.de>
30872
30873 [BZ #13592]
30874 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30875
349fa79f
AJ
308762012-04-05 Andreas Jaeger <aj@suse.de>
30877
30878 [BZ #13908]
30879 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30880 comment.
30881
f402708f
KK
308822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30883
30884 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30885 which ROUND is no valid rounding mode.
30886
2ecccfc9
KK
308872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30888
30889 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30890 read again.
30891 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30892
8a53f50f
KK
308932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30894
30895 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30896 an exception using FPU order intentionally.
30897
308982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30899
30900 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30901 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30902 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30903 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30904
d653abb7
SJ
309052012-04-05 Simon Josefsson <simon@josefsson.org>
30906
30907 [BZ #12340]
30908 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30909 EINVAL when BUFLEN is too smal.
30910
c3b1bf7d
TS
309112012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30912
30913 [BZ #13553]
30914 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30915 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30916
b1aa60f3
AJ
309172012-04-03 Andreas Jaeger <aj@suse.de>
30918
c3b1bf7d 30919 [BZ #13938]
67f60a26
AJ
30920 * manual/setjmp.texi (System V contexts): Fix sentence.
30921
b1aa60f3
AJ
30922 [BZ #13926]
30923 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30924 New macro for this case.
30925 [!__GNUC__] (__bswap_64): New inline function for this case.
30926 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30927 * bits/byteswap.h: Likewise.
30928 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30929 ull, guard with __GLIBC_HAVE_LONG_LONG.
30930
30931 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30932 __GLIBC_HAVE_LONG_LONG.
30933
30934 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30935 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30936
39c59c35
TMQMF
309372012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30938
30939 [BZ #13691]
30940 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30941 inptr and inend, rather than using last_ch.
30942
135ffda8
DM
309432012-04-02 David S. Miller <davem@davemloft.net>
30944
30945 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30946 * stdio-common/printf-parse.h (read_int): Change return type to
30947 'int', return -1 on INT_MAX overflow.
30948 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30949 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30950 overflows INT_MAX. Check for overflow of in-format-string precision
30951 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30952 SIZE_MAX not INT_MAX for integer overflow test.
30953 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30954 skip the construct in the format string but do not record anything.
30955 * stdio-common/bug22.c: Adjust to test both width/prevision
30956 INT_MAX overflow as well as total length INT_MAX overflow. Check
30957 explicitly for proper errno values.
30958
228c019e
TS
309592012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30960
302cadd3
TS
30961 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30962 CHAR_MAX.
30963 * string/test-strcmp.c [! WIDE]: Likewise.
30964 * time/tst-mktime2.c: Likewise for INT_MAX.
30965 * string/test-string.h: #include <sys/param.h> for MIN.
30966
228c019e
TS
30967 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30968 * sysdeps/i386/init-first.c (init): Likewise.
30969 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30970 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30971 * sysdeps/sh/init-first.c (init): Likewise.
30972
cfa633f5
UD
309732012-04-01 Ulrich Drepper <drepper@gmail.com>
30974
30975 * po/ru.po: Update from translation team.
d1635ef8 30976 * po/vi.po: Likewise.
cfa633f5 30977
6cd0a5ea
SP
309782012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30979
30980 * resolv/nss_dns/dns-host.c: Merge copyright years.
30981
4b43400f
LD
309822012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30983
30984 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30985 Optimize memcpy with prefetch if
30986 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30987 src, dst pointers have unequal 16 byte alignments.
30988
48c41d04
SP
309892012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30990
30991 [BZ #13928]
30992 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30993 from a CNAME entry and return the minimum ttl for the query.
30994 (gaih_getanswer_slice): Likewise.
30995
b8dc394d
JL
309962012-03-30 Jeff Law <law@redhat.com>
30997
30998 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30999 due to long keys.
31000 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31001 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31002
2f5a5ed0
JL
31003 * resolv/nss_dns/dns-host.c: Update copyright year.
31004
1d39e359
UD
310052012-03-30 Ulrich Drepper <drepper@gmail.com>
31006
c030f70c 31007 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31008 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31009
1d39e359
UD
31010 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31011 comments for sendmmsg.
31012
310132012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31014
31015 [BZ #13691]
31016 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31017 with only 1 character between 0x0041 and 0x01b0.
31018 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31019 * wcsmbs/tst-mbsnrtowcs.c: New file.
31020
20fde227
DM
310212012-03-29 David S. Miller <davem@davemloft.net>
31022
31023 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31024 small copies by hand.
31025
984a4237
JL
310262012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31027
31028 [BZ #13761]
31029 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31030 _nss_compat_initgroups_dyn): Fall back to malloc/free
31031 for large group memberships.
31032
18c9d62b
DM
310332012-03-28 David S. Miller <davem@davemloft.net>
31034
88d85d4f
DM
31035 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31036 that branches into memcpy.
31037 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31038 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31040 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31042 bits.
31043 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31044 implementation too.
31045 * sysdeps/sparc/mempcpy.S: New file.
31046
e5aa83e1
DM
31047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31048 the IFUNC routine in the libc case.
31049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31050
88570753
DM
31051 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31052 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31053 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31054 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31055 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31056 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31057 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31058 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31059
249d7567
DM
31060 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31061 loop to 256 bytes instead of 64 bytes and fix test signedness.
31062
18c9d62b
DM
31063 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31064 * sysdeps/sparc/sparc32/Makefile: rather than here...
31065 * sysdeps/sparc/sparc64/Makefile: and here.
31066
05f3d1f6
UD
310672012-03-28 Ulrich Drepper <drepper@gmail.com>
31068
31069 * malloc/mallocbug.c: Avoid warnings about unused variables.
31070
86ae07a8
JL
310712012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31072
31073 [BZ #13760]
31074 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31075 in the right place. Discard and retry query if response is
31076 larger than input buffer size.
31077
41bf21a1
JM
310782012-03-28 Joseph Myers <joseph@codesourcery.com>
31079
d6270972
JM
31080 [BZ #369]
31081 [BZ #2678]
31082 [BZ #3866]
31083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31084 x for large integer exponent.
31085 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31086 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31087 sign of result as needed afterwards.
31088 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31089 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31090 result for underflowing pow the same as for overflow.
31091 (__kernel_standard_l): Handle powl overflow and underflow here
31092 rather than calling __kernel_standard.
31093 * math/libm-test.inc (pow_test): Add more tests.
31094
414fca03 31095 [BZ #3868]
41bf21a1
JM
31096 [BZ #13879]
31097 [BZ #13910]
31098 [BZ #13911]
31099 [BZ #13912]
31100 [BZ #13913]
31101 [BZ #13915]
31102 [BZ #13916]
31103 [BZ #13917]
31104 [BZ #13918]
31105 [BZ #13919]
31106 [BZ #13920]
31107 [BZ #13921]
31108 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31109 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31110 (__kernel_standard_l): New function.
31111 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31112 __kernel_standard.
31113 * math/w_acosl.c (__acosl): Likewise.
31114 * math/w_asinl.c (__asinl): Likewise.
31115 * math/w_atan2l.c (__atan2l): Likewise.
31116 * math/w_atanhl.c (__atanhl): Likewise.
31117 * math/w_coshl.c (__coshl): Likewise.
31118 * math/w_exp10l.c (__exp10l): Likewise.
31119 * math/w_exp2l.c (__exp2l): Likewise.
31120 * math/w_fmodl.c (__fmodl): Likewise.
31121 * math/w_hypotl.c (__hypotl): Likewise.
31122 * math/w_j0l.c (__j0l, __y0l): Likewise.
31123 * math/w_j1l.c (__j1l, __y1l): Likewise.
31124 * math/w_jnl.c (__jnl, __ynl): Likewise.
31125 * math/w_lgammal.c (__lgammal): Likewise.
31126 * math/w_log10l.c (__log10l): Likewise.
31127 * math/w_log2l.c (__log2l): Likewise.
31128 * math/w_logl.c (__logl): Likewise.
31129 * math/w_powl.c (__powl): Likewise.
31130 * math/w_remainderl.c (__remainderl): Likewise.
31131 * math/w_scalbl.c (sysv_scalbl): Likewise.
31132 * math/w_sinhl.c (__sinhl): Likewise.
31133 * math/w_sqrtl.c (__sqrtl): Likewise.
31134 * math/w_tgammal.c (__tgammal): Likewise.
31135 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31136 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31137 * math/libm-test.inc (acos_test): Add more tests.
31138 (acosh_test): Likewise.
31139 (asin_test): Likewise.
31140 (atanh_test): Likewise.
31141 (exp_test): Likewise.
31142 (exp10_test): Likewise.
31143 (exp2_test): Likewise.
31144 (expm1_test): Likewise.
31145 (lgamma_test): Likewise.
31146 (log_test): Likewise.
31147 (log10_test): Likewise.
31148 (log1p_test): Likewise.
31149 (log2_test): Likewise.
31150 (pow_test): Do not allow some spurious overflow exceptions.
31151 (sqrt_test): Add more tests.
31152 (tgamma_test): Likewise.
31153 (y0_test): Likewise.
31154 (y1_test): Likewise.
31155 (yn_test): Likewise.
31156
dd62fda6
AB
311572012-03-27 Anton Blanchard <anton@samba.org>
31158
31159 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31160 MAP_HUGETLB.
31161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31162 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31164
1e3cdfda
AJ
311652012-03-27 David S. Miller <davem@davemloft.net>
31166
b855ab85
DM
31167 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31168
1e3cdfda
AJ
31169 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31170 have-as-vis3 check.
31171
311722012-03-27 Andreas Jaeger <aj@suse.de>
31173
31174 * sysdeps/x86_64/elf/configure.in: Moved to ...
31175 * sysdeps/x86_64/configure.in: ... here.
31176 * sysdeps/x86_64/elf/start.S: Moved to ...
31177 * sysdeps/x86_64/start.S: ... here.
31178 * sysdeps/x86_64/elf/configure: Delete.
31179
31180 * sysdeps/x86_64/configure.in: Merge contents from
31181 sysdeps/i386/configure.in (without i686 check).
31182
31183 * sysdeps/i386/elf/Versions: Merge into ...
31184 * sysdeps/i386/Versions: ... this.
31185 * sysdeps/i386/elf/Versions: Delete file.
31186 * sysdeps/i386/elf/start.S: Moved to ...
31187 * sysdeps/i386/start.S: ...here.
31188 * sysdeps/i386/elf/configure.in: Merge into...
31189 * sysdeps/i386/configure.in: ...here.
31190 * sysdeps/i386/elf/configure.in: Delete file.
31191 * sysdeps/i386/elf/configure: Delete file.
31192
31193 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31194 * debug/backtracesyms.c: ... here.
31195 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31196 * debug/backtracesymsfd.c: ... here.
31197 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31198 * sysdeps/generic/ifunc-sel.h: ... here.
31199
31200 * sysdeps/unix/i386/start.c: Delete file.
31201 * sysdeps/unix/sparc/start.c: Delete file.
31202 * sysdeps/unix/start.c: Delete file.
31203
31204 * sysdeps/sh/elf/configure.in: Moved to ...
31205 * sysdeps/sh/configure.in: ... here.
31206 * sysdeps/sh/elf/start.S: Moved to ...
31207 * sysdeps/sh/start.S: ... here.
31208 * sysdeps/sh/elf/configure: Delete file.
31209
31210 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31211 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31212 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31213 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31214 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31215 * sysdeps/powerpc/powerpc64/start.S: here.
31216 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31217 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31218 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31219 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31220 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31221
31222 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31223 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31224 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31225 * sysdeps/powerpc/powerpc32/start.S: ... here.
31226 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31227 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31228 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31229
31230 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31231 * sysdeps/powerpc/ifunc-sel.h: ... here.
31232 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31233 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31234
31235 * sysdeps/sparc/elf/configure.in: Moved to ...
31236 * sysdeps/sparc/configure.in: ... here.
31237 * sysdeps/sparc/elf/configure: Delete file.
31238 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31239 * sysdeps/sparc/sparc32/start.S: ... here.
31240 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31241 * sysdeps/sparc/sparc64/start.S: ... here.
31242 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31243 * sysdeps/sparc/sparc32/Makefile: ... this.
31244 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31245 * sysdeps/sparc/sparc64/Makefile: ... this.
31246
31247 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31248 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31249 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31250 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31251 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31252 * sysdeps/s390/s390-32/setjmp.S: ... here.
31253 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31254 * sysdeps/s390/s390-32/configure.in: ... here.
31255 * sysdeps/s390/s390-32/elf/configure: Delete file.
31256 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31257 * sysdeps/s390/s390-32/start.S: ... here.
31258
31259 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31260 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31261 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31262 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31263 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31264 * sysdeps/s390/s390-64/setjmp.S: ... here.
31265 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31266 * sysdeps/s390/s390-64/configure.in: ... here
31267 * sysdeps/s390/s390-64/elf/configure: Delete file.
31268 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31269 * sysdeps/s390/s390-64/start.S: ... here.
31270 * sysdeps/s390/s390-64/elf/configure: Delete.
31271
31272 * configure.in: Remove support for elf directories in sysdeps.
31273
31274 * configure: Regenerated.
31275 * sysdeps/i386/configure: Regenerated.
31276 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31277 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31278 * sysdeps/s390/s390-32/configure: Regenerated.
31279 * sysdeps/s390/s390-64/configure: Regenerated.
31280 * sysdeps/sh/configure: Regenerated.
31281 * sysdeps/sparc/configure: Regenerated.
31282 * sysdeps/x86_64/configure: Regenerated.
31283
a3f61311
AS
312842012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31285
c876e002
AS
31286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31287
a3f61311
AS
31288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31289 denormal result into account.
31290
ac4c54f0
RM
312912012-03-25 Roland McGrath <roland@hack.frob.com>
31292
31293 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31294 Reported by Allan McRae <allan@archlinux.org>.
31295
6a9b9c02
JL
312962012-03-23 Jeff Law <law@redhat.com>
31297
31298 * nss/getnssent.c (__nss_getent): Fix typo.
31299
4c42a0c1
DM
313002012-03-23 David S. Miller <davem@davemloft.net>
31301
31302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31303
1532c7ac
L
313042012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31305
31306 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31307 to pad to uint64_t for each field.
31308 (dl_tls_index): Replace unsigned long with uint64_t.
31309
3ff42526
PP
313102012-03-23 Daniel Jacobowitz <dmj@google.com>
31311 Paul Pluzhnikov <ppluzhnikov@google.com>
31312
31313 [BZ #6528]
31314 * grp/Makefile (otherlibs): Don't set it.
31315 * inet/Makefile (otherlibs): Likewise.
31316 * login/Makefile (otherlibs): Likewise.
31317 * nscd/Makefile (otherlibs): Likewise.
31318 * posix/Makefile (otherlibs): Likewise.
31319 * pwd/Makefile (otherlibs): Likewise.
31320 * rt/Makefile (otherlibs): Likewise.
31321 * sunrpc/Makefile (otherlibs): Likewise.
31322 * nss/Makefile (otherlibs): Likewise.
31323 Add libnss_files to routines and static-only-routines.
31324 ($(objpfx)getent): Remove rule.
31325 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31326 static-only-routines.
31327
7c69cd14
JM
313282012-03-22 Joseph Myers <joseph@codesourcery.com>
31329
31330 [BZ #13892]
31331 * math/s_cexp.c: Include <float.h>.
31332 (__cexp): Handle exp result overflowing not necessarily
31333 overflowing both real and imaginary parts of result.
31334 * math/s_cexpf.c: Likewise.
31335 * math/s_cexpl.c: Likewise.
31336 * math/libm-test.inc (cexp_test): Add more tests.
31337 * sysdeps/i386/fpu/libm-test-ulps: Update.
31338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31339
81b035fe
L
313402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31341
31342 * include/link.h (ELFW): New macro.
31343 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31344 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31345
1da7940c
L
313462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31347
31348 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31349 with uint64_t.
31350
b749dbb9
L
313512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31352
31353 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31354 declaration.
31355 (struct La_x32_retval): Likewise.
31356
2ff87f3f
L
313572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31358
31359 * sysdeps/x86_64/preconfigure.in: New file.
31360 * sysdeps/x86_64/preconfigure: New generated file.
31361
c0df8e69
JM
313622012-03-22 Joseph Myers <joseph@codesourcery.com>
31363
48e44791
JM
31364 [BZ #13824]
31365 * math/e_exp2l.c: Include <float.h>.
31366 (__ieee754_exp2l): Handle overflow and underflow cases
31367 separately. Only pass fractional part of argument to
31368 __ieee754_expl.
31369 * math/libm-test.inc (exp2_test): Add more tests.
31370
c0df8e69
JM
31371 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31372 negating x to take absolute value.
31373 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31374 Likewise.
31375 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31376 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31377 Likewise.
31378 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31379 computing low part if x was negated.
31380 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31381
c8e43ba7
L
313822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31383
31384 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31385 la_x32_gnu_pltexit.
31386 (pltexit): Cast int_retval to ptrdiff_t.
31387 * elf/tst-auditmod3b.c: Likewise.
31388 * elf/tst-auditmod4b.c: Likewise.
31389 * elf/tst-auditmod5b.c: Likewise.
31390 * elf/tst-auditmod6b.c: Likewise.
31391 * elf/tst-auditmod6c.c: Likewise.
31392 * elf/tst-auditmod7b.c: Likewise.
31393
31394 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31395 and x32_gnu_pltexit.
31396
31397 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31398 __ELF_NATIVE_CLASS.
31399 (La_x32_regs): New macro.
31400 (La_x32_retval): Likewise.
31401 (la_x32_gnu_pltenter): New function prototype.
31402 (la_x32_gnu_pltexit): Likewise.
31403
7998fa78
AS
314042012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31405
dcb33988
AS
31406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31407 exponent.
31408
233fc563
AS
31409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31410
7998fa78
AS
31411 * configure.in (libc_cv_cc_nofma): Check for option to disable
31412 generation of FMA instructions.
31413 * configure: Regenerate.
31414 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31415 * sysdeps/ieee754/dbl-64/Makefile: New file.
31416 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31417 Remove brandred-fma4.
31418 (CFLAGS-brandred-fma4.c): Remove.
31419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31420 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31421 define.
31422 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31423 define.
31424
8e95c99a
L
314252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31426
31427 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31428 LLONG_MAX != LONG_MAX.
31429 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31430 (_fitoa_word): Likewise.
31431 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31432 LLONG_MAX != LONG_MAX.
31433 * stdio-common/_itowa.h: Include <_itoa.h>.
31434 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31435 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31436 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31437 only if not defined.
31438 (_ITOA_WORD_TYPE): Likewise.
31439 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31440 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31441
6f4db457
DM
314422012-03-21 David S. Miller <davem@davemloft.net>
31443
31444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31445
7785fe5a
L
314462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31447
31448 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31449 of x86_64 when setting libc_cv_slibdir, libdir and
31450 libc_cv_localedir.
31451 * sysdeps/unix/sysv/linux/configure: Regenerated.
31452
4535cd55
JM
314532012-03-21 Joseph Myers <joseph@codesourcery.com>
31454
31455 * manual/lang.texi (Old Varargs): Remove section.
31456 (How Variadic): Update menu.
31457 (va_start): Do not mention varargs.h.
31458
17228132
TS
314592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31460 Joseph Myers <joseph@codesourcery.com>
31461
31462 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31463 link test.
31464 * configure: Regenerated.
31465
8149f976
TS
314662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31467
05f3d1f6
UD
31468 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31469 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31470 conformtest.pl
8149f976 31471
1a4ac776
JM
314722012-03-21 Joseph Myers <joseph@codesourcery.com>
31473
be22ce65
JM
31474 * NOTES: Remove.
31475 * Makefile (files-for-dist): Remove NOTES.
31476 (NOTES): Remove rule.
31477 * README: Don't refer to NOTES.
31478 * manual/creature.texi: Don't include macros.texi.
31479 * manual/intro.texi (creature.texi): Remove comment referring to
31480 NOTES.
31481
40b601fb
JM
31482 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31483 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31484 * configure: Regenerated.
31485 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31486 LIBC_TRY_CC_OPTION.
31487 (libc_cv_as_i686): Likewise.
31488 (libc_cv_cc_avx): Likewise.
31489 (libc_cv_cc_sse2avx): Likewise.
31490 (libc_cv_cc_fma4): Likewise.
31491 (libc_cv_cc_novzeroupper): Likewise.
31492 * sysdeps/i386/configure: Regenerated.
31493
1a4ac776
JM
31494 [BZ #13883]
31495 * sysdeps/i386/fpu/s_cexp.S: Remove.
31496 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31497 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31498 * math/libm-test.inc (cexp_test): Add more tests.
31499 * sysdeps/i386/fpu/libm-test-ulps: Update.
31500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31501
a458e7fe
AM
315022012-03-21 Allan McRae <allan@archlinux.org>
31503
31504 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31505
0cb7efc5
JM
315062012-03-21 Joseph Myers <joseph@codesourcery.com>
31507
31508 [BZ #13871]
31509 * math/w_exp2.c: Do not include <float.h>.
31510 (o_threshold, u_threshold): Remove.
31511 (__exp2): Calculate result before checking finiteness and calling
31512 __kernel_standard.
31513 * math/w_exp2f.c: Likewise.
31514 * math/w_exp2l.c: Likewise.
31515 * math/libm-test.inc (exp2_test): Require overflow exception for
31516 1e6 input.
2460d3aa
JM
31517
31518 [BZ #3866]
31519 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31520 range of signed 64-bit integers before using fistpll. Remove
31521 checks for whether integers fit in mantissa bits.
31522 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31523 the range of signed 32-bit integers before using fistpl. Remove
31524 checks for whether integers fit in mantissa bits.
31525 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31526 (__ieee754_powl): Test for y outside the range of signed 64-bit
31527 integers before using fistpll. Reduce 64-bit values to 63-bit
31528 ones as needed.
31529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31530 divide-by-zero is raised for zero to large negative powers.
31531 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31532 (__ieee754_powl): Test for y outside the range of signed 64-bit
31533 integers before using fistpll. Reduce 64-bit values to 63-bit
31534 ones as needed.
31535 * math/libm-test.inc (pow_test): Add more tests.
31536
eb96ffb0
L
315372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31538
31539 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31540 <stdio-common/_itoa.h>.
31541 * debug/segfault.c: Likewise.
31542 * elf/dl-cache.c: Likewise.
31543 * elf/dl-minimal.c: Likewise.
31544 * elf/dl-misc.c: Likewise.
31545 * elf/dl-sysdep.c: Likewise.
31546 * elf/dl-version.c: Likewise.
31547 * elf/rtld.c: Likewise.
31548 * hurd/hurdsock.c: Likewise.
31549 * hurd/lookup-retry.c: Likewise.
31550 * malloc/malloc.c: Likewise.
31551 * malloc/mtrace.c: Likewise.
31552 * nscd/nscd_getgr_r.c: Likewise.
31553 * nscd/nscd_getpw_r.c: Likewise.
31554 * nscd/nscd_getserv_r.c: Likewise.
31555 * posix/getopt_init.c: Likewise.
31556 * posix/wordexp.c: Likewise.
31557 * stdio-common/_itoa.c: Likewise.
31558 * stdio-common/printf_fphex.c: Likewise.
31559 * stdio-common/vfprintf.c: Likewise.
31560 * string/_strerror.c: Likewise.
31561 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31562 * sysdeps/i386/i686/hp-timing.h: Likewise.
31563 * sysdeps/mach/_strerror.c: Likewise.
31564 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31565 * sysdeps/mach/hurd/sethostid.c: Likewise.
31566 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31567 * sysdeps/mach/xpg-strerror.c: Likewise.
31568 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31569 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31570 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31571 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31572 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31573 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31574 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31575 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31576 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31577 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31578 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31579 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31580 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31581 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31582 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31583 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31584 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31585 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31586 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31587 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31588 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31589
31590 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31591
31592 * stdio-common/_itoa.h: Moved to ...
31593 * sysdeps/generic/_itoa.h: Here.
31594
31595 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31596
31597 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31598 instead of "_itoa.h" and "_itowa.h".
31599 * stdio-common/vfprintf.: Likewise.
31600
d1af992d
L
316012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31602
31603 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31604 <bits/wordsize.h>.
31605 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31606 (__signbit): Likwise.
31607 (llrintf): Likwise.
31608 (llrint): Likwise.
31609
114883e0
L
316102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31611
31612 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31613 __WORDSIZE != 64.
31614
c135cc1b
JM
316152012-03-20 Joseph Myers <joseph@codesourcery.com>
31616
31617 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31618 OVERFLOW_EXCEPTION_OK.
31619 * math/libm-test.inc ("Philosophy"): Update comment about
31620 exception testing.
31621 (OVERFLOW_EXCEPTION): Define.
31622 (OVERFLOW_EXCEPTION_OK): Likewise.
31623 (INVALID_EXCEPTION_OK): Renumber.
31624 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31625 (IGNORE_ZERO_INF_SIGN): Likewise.
31626 (test_exceptions): Handle FE_OVERFLOW.
31627 (exp10_test): Expect overflow exceptions.
31628 (exp2_test): Likewise.
31629 (expm1_test): Likewise.
31630 (nextafter_test): Likewise.
31631 (pow_test): Likewise.
31632 (scalbn_test): Likewise.
31633 (scalbln_test): Likewise.
31634
95443d88
L
316352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31636
31637 * sysdeps/x86_64/bits/atomic.h
31638 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31639 64bit integer.
31640 (atomic_exchange_acq): Likewise.
31641 (__arch_exchange_and_add_body): Likewise.
31642 (__arch_add_body): Likewise.
31643 (atomic_add_negative): Likewise.
31644 (atomic_add_zero): Likewise.
31645
490df6c4
L
316462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31647
c2722551 31648 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31649 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31650
5e52b189
L
316512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31654 Check __x86_64__ instead of __WORDSIZE.
31655
a9879d4c
L
316562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31659
5df98260
DM
316602012-03-19 David S. Miller <davem@davemloft.net>
31661
e1497744
DM
31662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31663
5df98260
DM
31664 * sysdeps/sparc/fpu/fenv_private.h: New file.
31665 * sysdeps/sparc/fpu/math_private.h: Use it.
31666 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31667 Remove.
31668 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31669 (libc_feholdexcept_setroundl): Remove.
31670 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31671 Remove.
31672 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31673 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31674
b4c35121
L
316752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31676
31677 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31678 int64_t instead of long int.
31679 (INSERT_WORDS64): Likwise.
31680
56965fd7
L
316812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31682
31683 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31684 _Unwind_GetCFA return to _Unwind_Ptr first.
31685
83d1aec8
JM
316862012-03-19 Joseph Myers <joseph@codesourcery.com>
31687
1897ad44
JM
31688 [BZ #13629]
31689 * math/s_clog.c: Include <float.h>.
31690 (__clog): Scale large or subnormal inputs.
31691 * math/s_clogf.c: Likewise.
31692 * math/s_clogl.c: Likewise.
31693 * math/s_clog10.c: Include <float.h>.
31694 (M_LOG10_2): Define.
31695 (__clog10): Scale large or subnormal inputs.
31696 * math/s_clog10f.c: Likewise.
31697 * math/s_clog10l.c: Likewise.
31698 * math/libm-test.inc (clog_test): Add more tests.
31699 (clog10_test): Likewise.
31700 * sysdeps/i386/fpu/libm-test-ulps: Update.
31701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31702
7726d6a9
JM
31703 [BZ #11451]
31704 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31705 x and y.
31706 * math/libm-test.inc (atan2_test): Add another test.
31707
83d1aec8
JM
31708 * Makerules (common-objdir-compile): Remove.
31709 * sysdeps/unix/Makefile (config-generated): Do not add
31710 $(unix-generated) to variable.
31711 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31712 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31713 Remove rule.
31714 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31715 Likewise.
31716 [generic bits/local_lim.h] (before-compile): Do not append to
31717 variable.
31718 [generic bits/local_lim.h] (common-generated): Likewise.
31719 [generic sys/param.h] (before-compile): Do not append to variable.
31720 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31721 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31722 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31723 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31724 include.
31725 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31726 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31727 [generic sys/param.h] ($(addprefix
31728 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31729 [generic sys/param.h] (common-generated): Do not append to
31730 variable.
31731 [generic sys/param.h] (sysdep_headers): Likewise.
31732 [generic bits/errno.h] (before-compile): Do not append to
31733 variable.
31734 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31735 rule.
31736 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31737 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31738 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31739 [generic bits/errno.h] (common-generated): Do not append to
31740 variable.
31741 [generic bits/ioctls.h] (before-compile): Do not append to
31742 variable.
31743 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31744 rule.
31745 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31746 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31747 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31748 rule.
31749 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31750 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31751 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31752 [generic bits/ioctls.h] (common-generated): Do not append to
31753 variable.
31754 [generic sys/syscall.h] (syscall.h): Remove variable.
31755 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31756 rule.
31757 [generic sys/syscall.h] (before-compile): Do not append to
31758 variable.
31759 [generic sys/syscall.h] (common-generated): Likewise.
31760 * sysdeps/unix/errnos-tmpl.c: Remove file.
31761 * sysdeps/unix/errnos.awk: Likewise.
31762 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31763 * sysdeps/unix/ioctls.awk: Likewise.
31764 * sysdeps/unix/mk-local_lim.c: Likewise.
31765 * sysdeps/unix/snarf-ioctls: Likewise.
31766
4851a949
RH
317672012-03-19 Richard Henderson <rth@twiddle.net>
31768
bd37f2ee
RH
31769 * sysdeps/i386/fpu/fenv_private.h: New file.
31770 * sysdeps/i386/fpu/math_private.h: Use it.
31771 (math_opt_barrier, math_force_eval): Remove.
31772 (libc_feholdexcept_setround_53bit): Remove.
31773 (libc_feupdateenv_53bit): Remove.
31774 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31775 (math_opt_barrier, math_force_eval): Remove.
31776 (libc_feholdexcept): Remove.
31777 (libc_feholdexcept_setround): Remove.
31778 (libc_fetestexcept, libc_fesetenv): Remove.
31779 (libc_feupdateenv_test): Remove.
31780 (libc_feupdateenv, libc_feholdsetround): Remove.
31781 (libc_feresetround): Remove.
31782
d0adc922
RH
31783 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31784 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31785
0fe0f1f8
RH
31786 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31787 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31788 (libc_feupdateenv_testl): New.
31789 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31790 (libc_feupdateenv_testf): New.
31791 (libc_feupdateenv): Use libc_feupdateenv_test.
31792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31794
eb92c487
RH
31795 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31796 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31797 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31798 (libc_feresetround_noex): New.
31799 (libc_feresetround_noexf): New.
31800 (libc_feresetround_noexl): New.
31801 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31802 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31803 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31804 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31805 SET_RESTORE_ROUND.
31806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31808 (__cos): Likewise.
31809 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31810 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31811 SET_RESTORE_ROUND_NOEX.
31812 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31813 SET_RESTORE_ROUND_NOEXF.
31814 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31815 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31816 (libc_feholdsetroundf): New.
31817 (libc_feresetround, libc_feresetroundf): New.
31818
7d2e8012
RH
31819 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31820 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31821 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31822
b4dabbb4
RH
31823 * sysdeps/generic/math_private.h: Include <fenv.h>.
31824 (default_libc_feholdexcept): New.
31825 (default_libc_feholdexcept_setround): New.
31826 (default_libc_fesetenv, default_libc_feupdateenv): New.
31827 (libc_feholdexcept): Only define if undefined.
31828 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31829 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31830 (libc_feholdexcept_setroundl): Likewise.
31831 (libc_feholdexcept_setround_53bit): Likewise.
31832 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31833 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31834 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31835 (libc_feupdateenv_53bit): Likewise.
31836 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31837 (libc_feholdexcept): Convert from macro to inline function.
31838 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31839 (libc_fesetenv, libc_feupdateenv): Likewise.
31840
4851a949
RH
31841 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31842 not previously defined.
31843 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31844 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31845 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31846 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31847 * sysdeps/ieee754/flt-32/math_private.h: New file.
31848 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31849 math_private.h below SET_FLOAT_WORD.
31850 (__isnan, __isinf_ns, __finite): Remove.
31851 (__isnanf, __isinf_nsf, __finitef): Remove.
31852
e79d442e
AS
318532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31854
31855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31856
90b80344
DM
318572012-03-17 David S. Miller <davem@davemloft.net>
31858
31859 [BZ #6471]
31860 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31861 for 2.16.
31862
edc21804
DM
318632012-03-16 David S. Miller <davem@davemloft.net>
31864
77e927af
DM
31865 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31866 warnings.
31867
374976dd
DM
31868 [BZ #6471]
31869 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31870 properly.
31871 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31872 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31873 sysdep_routines when subdir is sysvipc.
31874 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31875 __getshmlba helper.
31876
edc21804
DM
31877 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31878
473c3ef3
L
318792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31880
31881 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31882 [__LP64__].
31883
eb0f39b6
L
318842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31887 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31888 (__lround): Renamed to ...
31889 (__llround): This. Replace long int with long long int.
31890 Define lround functions as aliases of llround functions.
31891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31892
6b6cd74b
L
318932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31894
31895 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31896 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31897 adresses to uintptr_t. Replace "long int" and "unsigned long
31898 int" with "greg_t" on va_arg.
31899
f1a77b01
L
319002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31901
31902 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31903 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31904
31905 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31906 Move e_machine check before EI_CLASS check. Handle x32
31907 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31908 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31909 SKIP_EM_IA_64 and include
31910 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31911
31912 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31913 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31914 (add_system_dir): New macro.
31915
31916 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31917 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31918
11b90b9f
JM
319192012-03-16 Joseph Myers <joseph@codesourcery.com>
31920
c36e1d23
JM
31921 [BZ #2551]
31922 [BZ #2552]
31923 [BZ #2553]
31924 [BZ #2554]
31925 [BZ #2562]
31926 [BZ #2563]
31927 [BZ #2565]
31928 [BZ #2566]
31929 [BZ #2576]
31930 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31931 (y0): Likewise.
31932 * math/w_j0f.c (j0f): Likewise.
31933 (y0f): Likewise.
31934 * math/w_j0l.c (__j0l): Likewise.
31935 (__y0l): Likewise.
31936 * math/w_j1.c (j1): Likewise.
31937 (y1): Likewise.
31938 * math/w_j1f.c (j1f): Likewise.
31939 (y1f): Likewise.
31940 * math/w_j1l.c (__j1l): Likewise.
31941 (__y1l): Likewise.
31942 * math/w_jn.c (jn): Likewise.
31943 (yn): Likewise.
31944 * math/w_jnf.c (jnf): Likewise.
31945 (ynf): Likewise.
31946 * math/w_jnl.c (__jnl): Likewise.
31947 (__ynl): Likewise.
31948 * math/libm-test.inc (j0_test): Add more tests.
31949 (j1_test): Likewise.
31950 (jn_test): Likewise. Add trailing semicolon to existing test.
31951 (y0_test): Likewise.
31952 (y1_test): Likewise.
31953 * sysdeps/i386/fpu/libm-test-ulps: Update.
31954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31955
11b90b9f
JM
31956 [BZ #13851]
31957 [BZ #13854]
31958 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31959 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31960 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31961 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31962 (__tanl): Set errno for infinite argument.
31963 * sysdeps/i386/fpu/mptan.c: Remove.
31964 * sysdeps/i386/fpu/s_tan.S: Likewise.
31965 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31966 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31967 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31968 * math/libm-test.inc (tan_test): Add more tests and enable more
31969 tests for double and long double.
31970 * sysdeps/i386/fpu/libm-test-ulps: Update.
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31972
6a1bd2a1
JK
319732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31974
31975 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31976 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31977
10a803e0
RM
319782012-03-16 Roland McGrath <roland@hack.frob.com>
31979
31980 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31981 * configure.in: Use it for both main tree and add-ons.
31982 * configure: Regenerated.
31983
f196c7f7
L
319842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31985
31986 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31987
8848d99d
JM
319882012-03-16 Joseph Myers <joseph@codesourcery.com>
31989
96cbe7f4
JM
31990 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31991 in comment.
31992
8848d99d
JM
31993 [BZ #13851]
31994 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31995 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31996 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31997 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31998 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31999 infinite argument.
32000 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32002 != 0 for prec == 2.
32003 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32004 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32005 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32006 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32007 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32008 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32009 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32010 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32011 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32012 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32013 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32014 * math/libm-test.inc (cos_test): Add more tests and enable more
32015 tests for long double.
32016 (sin_test): Likewise.
32017 (sincos_test): Likewise.
32018 * sysdeps/i386/fpu/libm-test-ulps: Update.
32019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32020
dd7f4703
DM
320212012-03-16 David S. Miller <davem@davemloft.net>
32022
32023 * sysdeps/sparc/fpu/math_private.h: New file.
32024
006f1daa
DM
320252012-03-15 David S. Miller <davem@davemloft.net>
32026
c0c83bc8
DM
32027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32028 file.
e6a62e18 32029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32031 file.
e6a62e18
DM
32032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32038 sysdep routines.
32039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32040
88cb87d9
DM
32041 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32042 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32043
006f1daa 32044 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32046 sparc-ifunc.h
006f1daa 32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32049 Likewise.
32050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32051 Likewise.
006f1daa
DM
32052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32056 Likewise.
006f1daa
DM
32057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32062 Likewise.
32063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32064 Likewise.
006f1daa
DM
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32088 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32089
11e0098e
AS
320902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32091
32092 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32093 scaling.
32094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32095
e85b09d0
AJ
320962012-03-15 Andreas Jaeger <aj@suse.de>
32097
32098 [BZ #13852]
32099 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32100 ieee754/flt-32 implementation for sin, cos and sincos.
32101 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32102 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32103 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32104 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32105 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32106 ieee754/flt-32 implementation for tan.
32107
32108 * math/libm-test.inc (cos_test): Enable some large input tests for
32109 float as well
32110 (sin_test): Likewise.
32111 (sincos_test): Likewise.
32112 (tan_test): Add tests for large input.
32113
32114 * sysdeps/i386/fpu/libm-test-ulps: Update.
32115
81c64153
AJ
321162012-03-15 Andreas Jaeger <aj@suse.de>
32117
32118 [BZ #13658]
32119 * math/libm-test.inc (cos_test): Add more test cases.
32120 (sin_test): Likewise.
32121 (sincos_test): Likewise.
32122
7bbfa5c6
AJ
321232012-03-15 Andreas Jaeger <aj@suse.de>
32124
32125 [BZ #13837]
32126 * math/libm-test.inc (cos_test): Add a test case for large input
32127 value.
32128 (sin_test): Likewise.
32129 (sincos_test): Likewise.
32130
321312012-03-15 Andreas Jaeger <aj@suse.de>,
32132 Joseph Myers <joseph@codesourcery.com>
32133
32134 [BZ #13658]
0671f479 32135 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32136 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32137 * sysdeps/i386/fpu/branred.c: Likewise.
32138 * sysdeps/i386/fpu/dosincos.c: Likewise.
32139 * sysdeps/i386/fpu/mpa.c: Likewise.
32140 * sysdeps/i386/fpu/s_cos.S: Likewise.
32141 * sysdeps/i386/fpu/s_sin.S: Likewise.
32142 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32143 * sysdeps/i386/fpu/sincos32.c: Likewise.
32144
32145 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32146 Define.
32147 (libc_feupdateenv_53bit): Define.
32148 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32149 Define.
32150 (libc_feupdateenv_53bit): Define.
32151
32152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32153 53 bit (without extend i386 double precision).
32154
32155 * math/libm-test.inc (sincos_test): Add tests for large input.
32156 (sin): Likewise.
32157 (cos): Likewise.
32158
32159 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32160
9cad04ea
AS
321612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32162
32163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32164
f7062b9a
DM
321652012-03-15 David S. Miller <davem@davemloft.net>
32166
32167 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32168 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32169 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32170 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32183 file.
f7062b9a 32184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32186 file.
f7062b9a 32187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32189 file.
f7062b9a 32190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32192 file.
f7062b9a
DM
32193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32194 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32195 fmin/fmax sysdep routines.
32196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32197
7bd951ff
DM
321982012-03-14 David S. Miller <davem@davemloft.net>
32199
559398ab
DM
32200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32225 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32229 routines.
32230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32231 file.
559398ab 32232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32234 file.
559398ab 32235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32237 file.
559398ab 32238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32240 file.
559398ab 32241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32243 file.
559398ab 32244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32246 file.
32247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32248 file.
32249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32250 file.
32251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32252 file.
32253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32254 New file.
32255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32256 file.
32257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32258 file.
559398ab 32259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32261 file.
559398ab 32262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32264 file.
559398ab 32265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32267 file.
559398ab 32268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32270 VIS3 routines.
559398ab
DM
32271
32272 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32273 New file.
32274
5a1c1e32
DM
32275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32276
eae47a36
DM
32277 * sysdeps/sparc/configure.in: New file.
32278 * sysdeps/sparc/configure: Generate.
32279 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32280 * configure: Regenerate.
32281 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32282 * config.make.in (have-as-vis3): New.
32283 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32284 available use -Av9d instead of -Av9a.
32285 * sysdeps/sparc/sparc64/Makefile: Likewise.
32286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32288 New file.
32289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32290 file.
32291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32292 New file.
32293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32294 file.
eae47a36
DM
32295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32297 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32300
c0c83bc8
DM
32301 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32302 fzeros/fnegs to load 0x80000000 into a float register instead of
32303 using the stack.
7bd951ff
DM
32304 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32305
bd951ccb
JM
323062012-03-14 Joseph Myers <joseph@codesourcery.com>
32307
32308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32309 bits/syscall.h.
32310 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32311 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32312 ($(inst_includedir)/bits/syscall.h): Remove rule.
32313 ($(objpfx)bits/syscall.d): Include instead of
32314 $(objpfx)syscall-list.d.
32315 (generated): Change syscall-list.h and syscall-list.d to
32316 bits/syscall.h and bits/syscall.d.
32317
bb4e6db2
RM
323182012-03-14 Roland McGrath <roland@hack.frob.com>
32319
32320 [BZ #13846]
32321 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32322
aa4a2ae1
JM
323232012-03-14 Joseph Myers <joseph@codesourcery.com>
32324
e456826d
JM
32325 [BZ #13841]
32326 * math/s_csqrt.c: Include <float.h>.
32327 (__csqrt): Scale large or subnormal inputs.
32328 * math/s_csqrtf.c: Likewise.
32329 * math/s_csqrtl.c: Likewise.
32330 * math/libm-test.inc (csqrt_test): Add more tests.
32331 * sysdeps/i386/fpu/libm-test-ulps: Update.
32332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32333
aa4a2ae1
JM
32334 [BZ #13840]
32335 * math/libm-test.inc (hypot_test): Add more tests.
32336
7c10fd35
DM
323372012-03-13 David S. Miller <davem@davemloft.net>
32338
32339 [BZ #13840]
32340 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32341 double-precision for the calculation instead of scaling.
32342
f453b98b
JM
323432012-03-13 Joseph Myers <joseph@codesourcery.com>
32344
32345 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32346 manipulate bits before adding and subtracting TWO52[sx].
32347 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32348 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32349 Likewise.
32350 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32351
09a3453f
DM
323522012-03-13 David S. Miller <davem@davemloft.net>
32353
8e59da90
DM
32354 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32355 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32357 rtld-global-offsets.h
32358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32359
2a8ab7f2
DM
32360 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32361 large parameters.
32362
10f62770
DM
32363 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32364
5f0bdb18
DM
32365 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32366 'err' in the ifdef scope in which it is actually used.
32367
09a3453f
DM
32368 * nss/nss_db/db-init.c: Include string.h
32369
b4b2eb5e
DM
323702012-03-12 David S. Miller <davem@davemloft.net>
32371
98bb2f1c
DM
32372 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32373 masking out of the most significant byte of random value used.
32374 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32375 Fix coding style in previous change.
32376
b4b2eb5e
DM
32377 * sysdeps/unix/sysv/linux/kernel-features.h
32378 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32379 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32380 expression.
32381 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32382 later.
32383
6e226b09
DM
323842012-03-11 David S. Miller <davem@davemloft.net>
32385
a1bcbd40
DM
32386 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32387 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32388 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32389 for 'resultvar' otherwise things get truncated on 64-bit.
32390
cb9d6174
DM
32391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32392 Fix masking out of the most significant byte of random value used.
32393
6e226b09
DM
32394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32395
058c132d
AS
323962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32397
32398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32399
2d2cd515
DM
324002012-03-09 David S. Miller <davem@davemloft.net>
32401
32402 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32403 variables with appropriate CPP guards.
32404 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32405 frame pointer, not the stack pointer. Correct layout comments. Fix test
32406 on resulting framesize and the management of the outregs buffer for pltexit.
32407 Preserve floating point return values across _dl_call_pltexit call.
32408 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32409 framesize and the management of the outregs buffer for pltexit.
32410 Preserve floating point return values across _dl_call_pltexit
32411 call.
32412 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32413 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32414 (print_exit): Fix format string for return register value.
32415
9a07f9d0
JM
324162012-03-10 Joseph Myers <joseph@codesourcery.com>
32417
32418 * sunrpc/Makefile (others): Add rpcgen.
32419 ($(objpfx)rpcgen): Remove special build rule and dependency on
32420 libc.
32421 * sunrpc/rpcgen.c: New file.
32422
547b5e30
PE
324232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32424
c524201a
PE
32425 [BZ #13673]
32426 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32427 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32428 * sysdeps/i386/crti.S: Likewise.
32429 * sysdeps/i386/crtn.S: Likewise.
32430 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32431 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32432 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32433 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32434 * sysdeps/sh/crti.S: Likewise.
32435 * sysdeps/sh/crtn.S: Likewise.
32436 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32437
7b6235f2
PE
32438 [BZ #13673]
32439 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32440 with URL.
32441 * locale/programs/locfile-kw.gperf: Likewise.
32442 * locale/programs/charmap-kw.h: Regenerated.
32443 * locale/programs/locfile-kw.h: Likewise.
32444
547b5e30
PE
32445 [BZ #13673]
32446 * intl/plural.y: Replace FSF snail mail address with URL.
32447 * intl/plural.c: Regenerated.
32448
5f0a5dae
RH
324492012-03-09 Richard Henderson <rth@twiddle.net>
32450
32451 * include/math_private.h: Remove file.
32452 * math/math_private.h: Move file ...
32453 * sysdeps/generic/math_private.h: ... here.
32454
b8c03620
RH
32455 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32456 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32457 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32458
4e234f5d 32459 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32460 and <math_private.h>.
32461 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32462 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32463 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32464 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32465 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32466 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32467 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32469 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32470 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32474 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32478 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32479 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32487 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32516 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32521 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32522 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32549 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32550 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32551 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32552 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32554 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32555 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32556 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32557 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32558 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32559 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32560 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32561 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32562 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32563 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32564 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32565 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32566 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32567 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32568 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32569 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32570 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32571 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32572 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32573 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32574 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32575 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32576 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32577 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32578 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32579 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32581 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32582 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32583 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32584 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32585 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32586 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32587 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32588 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32589 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32590 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32591 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32592 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32593 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32594 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32595 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32596 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32597 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32598 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32599 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32600 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32602 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32603 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32604 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32605 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32606 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32607 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32608 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32609 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32610 * sysdeps/ieee754/k_standard.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32615 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32617 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32619 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32623 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32624 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32625 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32628 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32629 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32632 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32633 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32634 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32636 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32638 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32640 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32644 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32647 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32649 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32650 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32651 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32652 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32653 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32654 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32655 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32656 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32659 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32666 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32668 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32670 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32671 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32672 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32673 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32675 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32684 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32685 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32687 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32688 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32689 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32690 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32691 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32692 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32693 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32694 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32698 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32699 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32701 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32726 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32730 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32731 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32733 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32738 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32743 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32759 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32760 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32761 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32771 * sysdeps/ieee754/s_lib_version.c: Likewise.
32772 * sysdeps/ieee754/s_matherr.c: Likewise.
32773 * sysdeps/ieee754/s_signgam.c: Likewise.
32774 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32775 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32776 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32777 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32778 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32779 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32780 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32781 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32782 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32783 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32784 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32785 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32786 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32787 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32788 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32789 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32790 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32791 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32792 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32795
1991fa03
JM
327962012-03-09 Joseph Myers <joseph@codesourcery.com>
32797
32798 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32799 * sunrpc/rpc_main.c: Likewise.
32800 * sunrpc/rpc_svcout.c: Likewise.
32801
60d6f5a6
DM
328022012-03-09 David S. Miller <davem@davemloft.net>
32803
32804 * include/math_private.h: New file.
32805
4962050e
JM
328062012-03-09 Joseph Myers <joseph@codesourcery.com>
32807
02a6f887
JM
32808 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32809 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32810 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32811 from <bits/socket_type.h>.
32812 (enum __socket_type): Don't define here.
32813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32815 bits/socket_type.h.
32816
c6e013c1
JM
32817 [BZ #13566]
32818 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32819 checking __USE_GNU.
32820
4962050e
JM
32821 * Makerules ($(inst_includedir)/%.h): New rule.
32822 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32823 (install-others): Remove variable setting.
32824 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32825
38842f45
RH
328262012-03-08 Richard Henderson <rth@twiddle.net>
32827
67bb6da6
RH
32828 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32829 from macro to inline function; merge with the
32830 !__LIBC_INTERNAL_MATH_INLINES version.
32831 (__ieee754_sqrtf): Likewise.
32832
15194b4b
RH
32833 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32834 to inline function.
32835 (__rintf, __floor, __floorf): Likewise.
32836
64e21ede
RH
32837 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32838 macro to inline function.
32839 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32840
38842f45
RH
32841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32842 not <math/math_private.h>.
32843
c64bf5fe
DM
328442012-03-08 David S. Miller <davem@davemloft.net>
32845
32846 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32847 copyright year.
32848 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32849
82d86f28
TS
328502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32851
32852 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32853 normalization.
32854 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32855 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32856
aea5d727
UD
328572012-03-08 Ulrich Drepper <drepper@gmail.com>
32858
32859 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32860 be defined individually, they must be defined as a block. Define
32861 S for printing a string instead of hidint the different by using a
32862 macro for adding the 'l'.
32863 * stdio-common/tst-fphex-wide.c: Adjust.
32864
70bca0a3
MP
328652012-03-07 Marek Polacek <polacek@redhat.com>
32866
32867 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32868
65b81130
MP
328692012-03-08 Marek Polacek <polacek@redhat.com>
32870
32871 [BZ #13806]
32872 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32873 * stdio-common/tst-fphex.c: Define a few macros to make the
32874 test reusable. Use them.
32875 * stdio-common/tst-fphex-wide.c: New file.
32876
07037eeb
JM
328772012-03-08 Joseph Myers <joseph@codesourcery.com>
32878
a7a93d50
JM
32879 [BZ #6911]
32880 * manual/macros.texi (gnusystems): New macro.
32881 (nongnusystems): Likewise.
32882 (gnulinuxhurdsystems): Likewise.
32883 (gnuhurdsystems): Likewise..
32884 (gnulinuxsystems): Likewise.
32885 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32886 variants of the GNU system, not "GNU system".
32887 * manual/conf.texi: Likewise.
32888 * manual/errno.texi: Likewise. Update example of errno macro
32889 expansion.
32890 * manual/filesys.texi: Likewise.
32891 (getumask): Document as specific to GNU/Hurd.
32892 * manual/install.texi: Likewise. Reword some references to
32893 GNU/Linux.
32894 * manual/intro.texi: Likewise.
32895 * manual/io.texi: Likewise.
32896 (File Name Portability): Detail which constraints are inapplicable
32897 to all GNU systems and which are only inapplicable to GNU/Hurd.
32898 * manual/job.texi: Likewise.
32899 * manual/llio.texi: Likewise.
32900 (O_NOCTTY): Document as present on GNU/Linux.
32901 * manual/maint.texi: Likewise.
32902 * manual/memory.texi: Likewise.
32903 * manual/pattern.texi: Likewise.
32904 * manual/pipe.texi: Likewise.
32905 * manual/process.texi: Likewise.
32906 * manual/resource.texi: Likewise.
32907 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32908 child on GNU/Hurd.
32909 * manual/setjmp.texi: Likewise.
32910 * manual/signal.texi: Likewise.
32911 * manual/startup.texi: Likewise.
32912 * manual/stdio.texi: Likewise.
32913 * manual/terminal.texi: Likewise.
32914 (ONLCR): Document as POSIX.
32915 (OXTABS): Document availability on GNU/Linux as XTABS.
32916 (ONOEOT): Document availability separately from other bits.
32917 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32918 * manual/time.texi: Likewise.
32919 * manual/users.texi: Likewise.
32920 * INSTALL: Regenerated.
32921 * sysdeps/gnu/errlist.c: Regenerated.
32922
07037eeb
JM
32923 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32924 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32925 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32926 puts.
32927 * configure: Regenerated.
32928
d1d3431a
JM
329292012-03-07 Joseph Myers <joseph@codesourcery.com>
32930
af6a1e37
JM
32931 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32932 default includes instead of AC_HEADER_CHECK.
32933 * sysdeps/i386/configure: Regenerated.
32934
d1d3431a
JM
32935 [BZ #10716]
32936 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32937 * math/s_cacoshf.c (__cacoshf): Likewise.
32938 * math/s_cacoshl.c (__cacoshl): Likewise.
32939 * math/s_casinh.c (__casinh): Set signs of result from argument.
32940 * math/s_casinhf.c (__casinhf): Likewise.
32941 * math/s_casinhl.c (__casinhl): Likewise.
32942 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32943 (casinh_test): Add more tests.
32944 * sysdeps/i386/fpu/libm-test-ulps: Update.
32945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32946
482ff4da
UD
329472012-03-07 Ulrich Drepper <drepper@gmail.com>
32948
872fda05
UD
32949 * po/zh_TW.po: Update from translation team.
32950
a4300c7a
UD
32951 * login/Makefile (distribute): Remove variable.
32952 * catgets/Makefile: Likewise.
32953 * mach/Makefile: Likewise.
32954 * malloc/Makefile: Likewise.
32955 * misc/Makefile: Likewise.
32956 * iconv/Makefile: Likewise.
32957 * nscd/Makefile: Likewise.
32958 * hurd/Makefile: Likewise.
32959 * manual/Makefile: Likewise.
32960 * locale/Makefile: Likewise.
32961 * intl/Makefile: Likewise.
32962 * conform/Makefile: Likewise.
32963 * nss/Makefile: Likewise.
32964 * time/Makefile: Likewise.
32965 * soft-fp/Makefile: Likewise.
32966 * dirent/Makefile: Likewise.
32967 * gmon/Makefile: Likewise.
32968 * po/Makefile: Likewise.
32969 * rt/Makefile: Likewise.
32970 * socket/Makefile: Likewise.
32971 * math/Makefile: Likewise.
32972 * signal/Makefile: Likewise.
32973 * debug/Makefile: Likewise.
32974 * elf/Makefile: Likewise.
32975 * timezone/Makefile: Likewise.
32976 * stdlib/Makefile: Likewise.
32977 * iconvdata/Makefile: Likewise.
32978 * sunrpc/Makefile: Likewise.
32979 * io/Makefile: Likewise.
32980 * argp/Makefile: Likewise.
32981 * inet/Makefile: Likewise.
32982 * hesiod/Makefile: Likewise.
32983 * grp/Makefile: Likewise.
32984 * csu/Makefile: Likewise.
32985 * wctype/Makefile: Likewise.
32986 * crypt/Makefile: Likewise.
32987 * libio/Makefile: Likewise.
32988 * string/Makefile: Likewise.
32989 * nis/Makefile: Likewise.
32990 * resolv/Makefile: Likewise.
32991 * stdio-common/Makefile: Likewise.
32992 * wcsmbs/Makefile: Likewise.
32993 * dlfcn/Makefile: Likewise.
32994 * posix/Makefile: Likewise.
32995
3b7c4e74 32996 [BZ #6959]
482ff4da
UD
32997 * timezone/Makefile: Don't install timezone files, just the programs
32998 and scripts.
32999
f72ed77d
UD
330002012-03-06 Ulrich Drepper <drepper@gmail.com>
33001
a000466f
UD
33002 * nss/databases.def: Add missing gshadow entry.
33003
f72ed77d
UD
33004 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33005
a53b7a4e
MP
330062012-03-06 Marek Polacek <polacek@redhat.com>
33007
33008 [BZ #13726]
33009 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33010 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33011 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33012 * stdio-common/tst-long-dbl-fphex.c: New file.
33013
e9258400
DM
330142012-03-06 David S. Miller <davem@davemloft.net>
33015
33016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33017 (set_obp_int): New function.
33018 (get_obp_int): New function.
33019 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33021 Avoid unused variable warnings on 'val' and use builtin_expect.
33022 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33023 __builtin_expect.
e9258400
DM
33024 (INLINE_CLONE_SYSCALL): Likewise.
33025
3bd2c723
DM
330262012-03-05 David S. Miller <davem@davemloft.net>
33027
33028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33029
bbb78d03
AS
330302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33031
884c5db4
AS
33032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33033
bbb78d03
AS
33034 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33035 only for |x| >= 40.
33036 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33037
1c9f702a 330382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33039
33040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33041 Replace gettimeofday with __vdso_gettimeofday.
33042
7be16f82
RM
33043 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33044 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33045 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33046
33047 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33048 time with __vdso_time.
33049
ed58a00f
JM
330502012-03-05 Joseph Myers <joseph@codesourcery.com>
33051
33052 * manual/lang.texi (size_t): Note types to which size_t may be
33053 equivalent with the GNU C Library, but do not describe when
33054 differences between them are significant.
33055
30ee4ced
AJ
330562012-03-05 Andreas Jaeger <aj@suse.de>
33057
33058 * sysdeps/i386/fpu/libm-test-ulps: Update.
33059
b7cd39e8
JM
330602012-03-05 Joseph Myers <joseph@codesourcery.com>
33061
33062 [BZ #3976]
33063 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33064 (__ieee754_pow): Save and restore rounding mode and use
33065 round-to-nearest for main computations.
33066 * math/libm-test.inc (pow_test_tonearest): New function.
33067 (pow_test_towardzero): Likewise.
33068 (pow_test_downward): Likewise.
33069 (pow_test_upward): Likewise.
33070 (main): Call the new functions.
33071 * sysdeps/i386/fpu/libm-test-ulps: Update.
33072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33073
33074 [BZ #3976]
33075 * math/libm-test.inc (cosh_test_tonearest): New function.
33076 (cosh_test_towardzero): Likewise.
33077 (cosh_test_downward): Likewise.
33078 (cosh_test_upward): Likewise.
33079 (sinh_test_tonearest): Likewise.
33080 (sinh_test_towardzero): Likewise.
33081 (sinh_test_downward): Likewise.
33082 (sinh_test_upward): Likewise.
33083 (main): Call the new functions.
33084 * sysdeps/i386/fpu/libm-test-ulps: Update.
33085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33086
6c6a98c9
TV
330872012-03-05 Tom de Vries <tom@codesourcery.com>
33088
33089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33090 default stack guard is set in last bytes.
33091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33092
21bb2d2e 330932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33094
21bb2d2e 33095 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33096
21bb2d2e
AJ
33097 [BZ #13656]
33098 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33099 possibly allocate from heap instead of stack.
33100 * stdio-common/bug-vfprintf-nargs.c: New file.
33101 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33102
c6922934
AS
331032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33104
33105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33106
bc957d53
MP
331072012-03-03 Marek Polacek <polacek@redhat.com>
33108
33109 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33110 * math/math_private.h: Likewise.
33111 * stdlib/tst-strtod.c: Likewise.
33112 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33113 * sysdeps/x86_64/bits/atomic.h: Likewise.
33114
6358490d
DM
331152012-03-02 David S. Miller <davem@davemloft.net>
33116
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33121 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33122 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33123 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33124 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33125
01ae168d
RM
331262012-03-02 Roland McGrath <roland@hack.frob.com>
33127
d9a17c07
RM
33128 [BZ #13792]
33129 * manual/examples/README: New file, says the example source files
33130 can be used under GPL>=2.
33131 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33132 line containing just "*/".
33133 * manual/examples/add.c: Add copyright header (GPL>=2).
33134 * manual/examples/argp-ex1.c: Likewise.
33135 * manual/examples/argp-ex2.c: Likewise.
33136 * manual/examples/argp-ex3.c: Likewise.
33137 * manual/examples/argp-ex4.c: Likewise.
33138 * manual/examples/atexit.c: Likewise.
33139 * manual/examples/db.c: Likewise.
33140 * manual/examples/dir.c: Likewise.
33141 * manual/examples/dir2.c: Likewise.
33142 * manual/examples/execinfo.c: Likewise.
33143 * manual/examples/filecli.c: Likewise.
33144 * manual/examples/filesrv.c: Likewise.
33145 * manual/examples/fmtmsgexpl.c: Likewise.
33146 * manual/examples/genpass.c: Likewise.
33147 * manual/examples/inetcli.c: Likewise.
33148 * manual/examples/inetsrv.c: Likewise.
33149 * manual/examples/isockad.c: Likewise.
33150 * manual/examples/longopt.c: Likewise.
33151 * manual/examples/memopen.c: Likewise.
33152 * manual/examples/memstrm.c: Likewise.
33153 * manual/examples/mkfsock.c: Likewise.
33154 * manual/examples/mkisock.c: Likewise.
33155 * manual/examples/mygetpass.c: Likewise.
33156 * manual/examples/pipe.c: Likewise.
33157 * manual/examples/popen.c: Likewise.
33158 * manual/examples/rprintf.c: Likewise.
33159 * manual/examples/search.c: Likewise.
33160 * manual/examples/select.c: Likewise.
33161 * manual/examples/setjmp.c: Likewise.
33162 * manual/examples/sigh1.c: Likewise.
33163 * manual/examples/sigusr.c: Likewise.
33164 * manual/examples/stpcpy.c: Likewise.
33165 * manual/examples/strdupa.c: Likewise.
33166 * manual/examples/strftim.c: Likewise.
33167 * manual/examples/strncat.c: Likewise.
33168 * manual/examples/subopt.c: Likewise.
33169 * manual/examples/swapcontext.c: Likewise.
33170 * manual/examples/termios.c: Likewise.
33171 * manual/examples/testopt.c: Likewise.
33172 * manual/examples/testpass.c: Likewise.
33173 * manual/examples/timeval_subtract.c: Likewise.
33174
01ae168d
RM
33175 [BZ #13792]
33176 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33177 function to ...
33178 * manual/timeval_subtract.c.texi: ... here, new file.
33179
49efa33d
DM
331802012-03-02 David S. Miller <davem@davemloft.net>
33181
33182 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33183
28afd92d
JM
331842012-03-02 Joseph Myers <joseph@codesourcery.com>
33185
804360ed
JM
33186 [BZ #3976]
33187 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33188 (__sin): Save and restore rounding mode and use round-to-nearest
33189 for all computations.
33190 (__cos): Save and restore rounding mode and use round-to-nearest
33191 for all computations.
33192 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33193 <fenv.h>.
33194 (tan): Save and restore rounding mode and use round-to-nearest for
33195 all computations.
33196 * math/libm-test.inc (cos_test_tonearest): New function.
33197 (cos_test_towardzero): Likewise.
33198 (cos_test_downward): Likewise.
33199 (cos_test_upward): Likewise.
33200 (sin_test_tonearest): Likewise.
33201 (sin_test_towardzero): Likewise.
33202 (sin_test_downward): Likewise.
33203 (sin_test_upward): Likewise.
33204 (tan_test_tonearest): Likewise.
33205 (tan_test_towardzero): Likewise.
33206 (tan_test_downward): Likewise.
33207 (tan_test_upward): Likewise.
33208 (main): Call the new functions.
33209 * sysdeps/i386/fpu/libm-test-ulps: Update.
33210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33211
a6d06d7b
JM
33212 [BZ #10135]
33213 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33214 small n, then large n, before computing and testing k+n.
33215 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33217 Likewise.
33218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33219 Likewise.
33220 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33221 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33222 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33223 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33228 * math/libm-test.inc (scalbn_test): Add more tests.
33229 (scalbln_test): Likewise.
33230
07e12bb3
JM
33231 * manual/filesys.texi (mode_t): Describe constraints on size and
33232 signedness, not exact equivalence to a particular type.
33233 (ino_t): Likewise.
33234 (ino64_t): Likewise.
33235 (dev_t): Likewise.
33236 (nlink_t): Likewise.
33237 (blkcnt_t): Likewise.
33238 (blkcnt64_t): Likewise.
33239 * manual/llio.texi (off_t): Likewise.
33240
28afd92d
JM
33241 [BZ #3976]
33242 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33243 (__ieee754_exp): Save and restore rounding mode and use
33244 round-to-nearest for all computations.
33245 * math/libm-test.inc (exp_test_tonearest): New function.
33246 (exp_test_towardzero): Likewise.
33247 (exp_test_downward): Likewise.
33248 (exp_test_upward): Likewise.
33249 (main): Call the new functions.
33250 * sysdeps/i386/fpu/libm-test-ulps: Update.
33251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33252
b1eeb65d
CD
332532012-03-01 Chris Demetriou <cgd@google.com>
33254
33255 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33256 have predictable order.
33257
53362a4b
DM
332582012-03-01 David S. Miller <davem@davemloft.net>
33259
3c969083
DM
33260 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33261
759707de
DM
33262 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33263 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33266
dfdb8ff2
DM
33267 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33268 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33269 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33271 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33272 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33273 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33274 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33275 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33276
ead89f96
DM
33277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33278
7f66bd07
DM
33279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33280 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33281 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33282
53362a4b
DM
33283 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33284 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33285 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33286 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33287 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33290 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33291 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33292 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33293 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33294 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33297 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33299 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33300 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33301 * sysdeps/sparc/elf/configure: Regenerated.
33302
7b1902cb
JM
333032012-03-01 Joseph Myers <joseph@codesourcery.com>
33304
bec039bc
JM
33305 * configure.in (AS, LD): Require binutils 2.20 or later.
33306 * configure: Regenerated.
33307 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33308 as required minimum version.
33309 * INSTALL: Regenerated.
33310
7b1902cb
JM
33311 [BZ #2541]
33312 [BZ #4108]
33313 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33314 before squaring exponent.
33315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33316 bottom long double and 27 bits of top long double before squaring
33317 exponent.
33318 * math/libm-test.inc (erfc_test): Add more tests.
33319 * sysdeps/i386/fpu/libm-test-ulps: Update.
33320 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33322
f775c276
KT
333232012-03-01 Kai Tietz <ktietz@redhat.com>
33324
33325 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33326 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33327 containing bit-fields.
33328 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33329 * soft-fp/single.h (_FP_UNION_S): Likewise.
33330 * soft-fp/double.h (_FP_UNION_D): Likewise.
33331
5b8a4d4a
JM
333322012-02-29 Joseph Myers <joseph@codesourcery.com>
33333
0bab47b6
JM
33334 [BZ #13786]
33335 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33336 not include ../strcmp.S.
33337 [USE_AS_STRNCASECMP_L]: Likewise.
33338 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33339 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33340 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33341 (__strncasecmp_l_ia32): Define as alias to
33342 __strncasecmp_l_nonascii.
33343
0fcad3e2
JM
33344 [BZ #5794]
33345 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33346 * sysdeps/i386/fpu/libm-test-ulps: Update.
33347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33348
5b8a4d4a
JM
33349 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33351
8fdceb2e
JL
333522012-02-29 Jeff Law <law@redhat.com>
33353
33354 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33355 out of bounds read.
33356
1f393a11
MP
333572012-02-29 Marek Polacek <polacek@redhat.com>
33358
33359 [BZ #13706]
33360 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33361 * elf/Makefile: Add rules to run tst-unused-dep.out.
33362
8847f037
DM
333632012-02-28 David S. Miller <davem@davemloft.net>
33364
33365 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33366 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33371
169d7f11
JM
333722012-02-29 Joseph Myers <joseph@codesourcery.com>
33373
33374 * math/libm-test.inc (llround_test): Move one test from
33375 lround_test. Use TEST_f_L in moved test.
33376 (lround_test): Move misplaced test to llround_test. Add testcase
33377 from bug 2561.
33378
39adf059
UD
333792012-02-28 Ulrich Drepper <drepper@gmail.com>
33380
33381 * sysdeps/x86_64/fpu/e_expf.S: New file.
33382 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33383
71b5d1c5
SB
333842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33385
33386 [BZ #13637]
33387 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33388 of remain_len that may cause incomplete multi-byte character and
33389 false match.
33390 * posix/bug-regex33.c: New file.
33391 * posix/Makefile (tests): Add bug-regex33.
33392
1f77f049
JM
333932012-02-28 Joseph Myers <joseph@codesourcery.com>
33394
33395 * manual/macros.texi: New file.
33396 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33397 * manual/libc.texinfo: Include macros.texi.
33398 * manual/creatute.texi: Likewise.
33399 * manual/install.texi: Likewise.
33400 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33401 @glibcadj{} in references to the GNU C Library.
33402 * manual/charset.texi: Likewise.
33403 * manual/conf.texi: Likewise.
33404 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33405 when not using those macros.
33406 * manual/creature.texi: Likewise.
33407 * manual/crypt.texi: Likewise.
33408 * manual/errno.texi: Likewise.
33409 * manual/filesys.texi: Likewise.
33410 * manual/header.texi: Likewise.
33411 * manual/install.texi: Likewise.
33412 * manual/intro.texi: Likewise.
33413 * manual/io.texi: Likewise.
33414 * manual/job.texi: Likewise.
33415 * manual/lang.texi: Likewise.
33416 * manual/libc.texiinfo: Likewise.
33417 * manual/llio.texi: Likewise.
33418 * manual/locale.texi: Likewise.
33419 * manual/maint.texi: Likewise.
33420 * manual/math.texi: Likewise.
33421 * manual/memory.texi: Likewise.
33422 * manual/message.texi: Likewise.
33423 * manual/nss.texi: Likewise.
33424 * manual/pattern.texi: Likewise.
33425 * manual/process.texi: Likewise.
33426 * manual/resource.texi: Likewise.
33427 * manual/search.texi: Likewise.
33428 * manual/setjmp.texi: Likewise.
33429 * manual/signal.texi: Likewise.
33430 * manual/socket.texi: Likewise.
33431 * manual/startup.texi: Likewise.
33432 * manual/stdio.texi: Likewise.
33433 * manual/string.texi: Likewise.
33434 * manual/sysinfo.texi: Likewise.
33435 * manual/syslog.texi: Likewise.
33436 * manual/terminal.texi: Likewise.
33437 * manual/time.texi: Likewise.
33438 * manual/users.texi: Likewise.
33439 * INSTALL: Regenerated.
33440 * NOTES: Regenerated.
d40c5d54 33441 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33442
450bf206
AS
334432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33444
33445 * include/dirent.h: Include <dirstream.h> before
33446 <dirent/dirent.h>.
33447
741a235b
DM
334482012-02-28 David S. Miller <davem@davemloft.net>
33449
33450 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33451 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33452 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33454
d6b5aa58
DM
334552012-02-27 David S. Miller <davem@davemloft.net>
33456
1aff59a3
DM
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33459 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33460 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33461
d6b5aa58
DM
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33463 frame pointer instead of stack pointer relative arg slot.
33464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33465 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33466 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33467
433f48bf
CD
334682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33469
33470 [BZ #3992]
33471 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33472
d674b76d
DM
334732012-02-27 David S. Miller <davem@davemloft.net>
33474
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33481 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33482 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33483
0e7727f7
JM
334842012-02-27 Joseph Myers <joseph@codesourcery.com>
33485
33486 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33487 later. Allow versions 5-9.
43be4ca2 33488 * configure: Regenerated.
0e7727f7
JM
33489 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33490 required minimum version and 4.6 as recommended version. Do not
33491 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33492 * INSTALL: Regenerated.
0e7727f7 33493
a78bc654
DM
334942012-02-27 David S. Miller <davem@davemloft.net>
33495
428d5830
DM
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33500 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33501 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33503 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33504
a78bc654
DM
33505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33506 manipulate bits before adding and subtracting TWO112[sx].
33507 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33508
4579f81c
RM
335092012-02-27 Roland McGrath <roland@hack.frob.com>
33510
36c8acb4
RM
33511 [BZ #13775]
33512 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33513 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33514 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33515 being in POSIX, because they are in 1003.1-2008.
33516
84ad622b
RM
33517 * rt/tst-aio.c: Include <fcntl.h>.
33518 * rt/tst-aio7.c: Likewise.
33519 * rt/tst-aio64.c: Likewise.
33520
4579f81c
RM
33521 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33522
abd923db
JM
335232012-02-27 Joseph Myers <joseph@codesourcery.com>
33524
33525 * manual/install.texi (--with-headers): Describe headers as
33526 interface headers, not private headers.
33527 (Specific advice for GNU/Linux systems): Describe use of headers
33528 from "make headers_install", not private headers from older
33529 kernels.
43be4ca2 33530 * INSTALL: Regenerated.
abd923db
JM
33531 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33532 Change to 2.6.19.
33533 * sysdeps/unix/sysv/linux/configure: Regenerated.
33534
6664049b
JM
33535 * manual/llio.texi (fclean): Remove documentation.
33536
bb8b6697
JM
33537 * manual/Makefile (libc-texi-generated): New variable. Include
33538 version.texi.
33539 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33540 $(libc-texi-generated), not duplicated list of files.
33541 (version.texi, stamp-version): New rules.
33542 (realclean): Remove $(libc-texi-generated), not individual files
33543 from that list. Do not remove dir-add.texinfo.
33544 * manual/libc.texinfo: Comment out uses of edition numbers and
33545 references to printed manual. Remove last-updated dates.
33546 (EDITION): Comment out.
33547 (ISBN): Likewise.
33548 (VERSION, UPDATED): Remove.
33549 (version.texi): Include.
33550
12e5c3b9
AS
335512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33552
33553 * sysdeps/posix/spawni.c: Include <signal.h>.
33554 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33555 * sysdeps/pthread/aio_fsync.c: Likewise.
33556
4efeffc1 335572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33558
ba63ba08
UD
33559 * conform/Makefile (tests): Run only when not cross-compiling and
33560 when fast-check is not defined.
33561
d94a4670
UD
33562 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33563 * conform/data/limits.h-data: Fixes for POSIX2008.
33564 * conform/run-conformtest.sh: Run all tests.
33565 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33566 headers.
33567 * include/bits/dlfcn.h: Likewise.
33568 * include/langinfo.h: Likewise.
33569 * include/monetary.h: Likewise.
33570 * include/sys/poll.h: Likewise.
33571
33572 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33573 for __USE_GNU.
33574 * posix/spawn.h: Define __need_sigset_t.
33575 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33576 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33577 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33578 to get sigevent_t only.
33579 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33580 only for __USE_GNU.
33581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33582 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33583 process_vm_writev only for __USE_GNU.
33584 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33585
33586 * conform/Makefile: For now ignore errors from run-conformtest.
33587 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33588 POSIX to avoid namespace pollution. Don't prepend headers.
33589 * conform/data/aio.h-data: Fixes for POSIX testing.
33590 * conform/data/fcntl.h-data: Likewise.
33591 * conform/data/glob.h-data: Likewise.
33592 * conform/data/grp.h-data: Likewise.
33593 * conform/data/pthread.h-data: Likewise.
33594 * conform/data/pwd.h-data: Likewise.
33595 * conform/data/signal.h-data: Likewise.
33596 * conform/data/spawn.h-data: Likewise.
33597 * conform/data/stdio.h-data: Likewise.
33598 * conform/data/stdlib.h-data: Likewise.
33599 * conform/data/stropts.h-data: Likewise.
33600 * conform/data/sys/mman.h-data: Likewise.
33601 * conform/data/sys/stat.h-data: Likewise.
33602 * conform/data/sys/types.h-data: Likewise.
33603 * conform/data/sys/wait.h-data: Likewise.
33604 * conform/data/time.h-data: Likewise.
33605 * conform/data/unistd.h-data: Likewise.
33606 * conform/data/utime.h-data: Likewise.
33607
33608 * io/sys/stat.h: fchmod was always in POSIX.
33609 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33610 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33611 * rt/aio.h: Define __need_timespec before including <time.h>.
33612 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33613 struct. Add forward declaration of pthread_attr_t and use it in
33614 sigevent.
33615 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33616 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33617 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33618 always remove CLK_TCK definition.
33619
c20105c3
AS
336202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33621
33622 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33623
7a270350
UD
336242012-02-25 Ulrich Drepper <drepper@gmail.com>
33625
31341567
UD
33626 * conform/run-conformtest.sh: New file.
33627 * conform/Makefile: Run run-conformtest for tests.
33628 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33629 support.
33630
33631 * conform/data/uchar.h-data: New file.
33632 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33633 * conform/data/arpa/inet.h-data: Likewise.
33634 * conform/data/assert.h-data: Likewise.
33635 * conform/data/complex.h-data: Likewise.
33636 * conform/data/cpio.h-data: Likewise.
33637 * conform/data/ctype.h-data: Likewise.
33638 * conform/data/dirent.h-data: Likewise.
33639 * conform/data/dlfcn.h-data: Likewise.
33640 * conform/data/errno.h-data: Likewise.
33641 * conform/data/fcntl.h-data: Likewise.
33642 * conform/data/float.h-data: Likewise.
33643 * conform/data/fmtmsg.h-data: Likewise.
33644 * conform/data/fnmatch.h-data: Likewise.
33645 * conform/data/ftw.h-data: Likewise.
33646 * conform/data/glob.h-data: Likewise.
33647 * conform/data/grp.h-data: Likewise.
33648 * conform/data/iconv.h-data: Likewise.
33649 * conform/data/inttypes.h-data: Likewise.
33650 * conform/data/langinfo.h-data: Likewise.
33651 * conform/data/libgen.h-data: Likewise.
33652 * conform/data/limits.h-data: Likewise.
33653 * conform/data/locale.h-data: Likewise.
33654 * conform/data/math.h-data: Likewise.
33655 * conform/data/monetary.h-data: Likewise.
33656 * conform/data/mqueue.h-data: Likewise.
33657 * conform/data/ndbm.h-data: Likewise.
33658 * conform/data/net/if.h-data: Likewise.
33659 * conform/data/netdb.h-data: Likewise.
33660 * conform/data/netinet/in.h-data: Likewise.
33661 * conform/data/nl_types.h-data: Likewise.
33662 * conform/data/poll.h-data: Likewise.
33663 * conform/data/pthread.h-data: Likewise.
33664 * conform/data/pwd.h-data: Likewise.
33665 * conform/data/regex.h-data: Likewise.
33666 * conform/data/sched.h-data: Likewise.
33667 * conform/data/search.h-data: Likewise.
33668 * conform/data/semaphore.h-data: Likewise.
33669 * conform/data/setjmp.h-data: Likewise.
33670 * conform/data/signal.h-data: Likewise.
33671 * conform/data/spawn.h-data: Likewise.
33672 * conform/data/stdarg.h-data: Likewise.
33673 * conform/data/stdio.h-data: Likewise.
33674 * conform/data/stdlib.h-data: Likewise.
33675 * conform/data/string.h-data: Likewise.
33676 * conform/data/strings.h-data: Likewise.
33677 * conform/data/stropts.h-data: Likewise.
33678 * conform/data/sys/ipc.h-data: Likewise.
33679 * conform/data/sys/mman.h-data: Likewise.
33680 * conform/data/sys/msg.h-data: Likewise.
33681 * conform/data/sys/resource.h-data: Likewise.
33682 * conform/data/sys/select.h-data: Likewise.
33683 * conform/data/sys/sem.h-data: Likewise.
33684 * conform/data/sys/shm.h-data: Likewise.
33685 * conform/data/sys/socket.h-data: Likewise.
33686 * conform/data/sys/stat.h-data: Likewise.
33687 * conform/data/sys/statvfs.h-data: Likewise.
33688 * conform/data/sys/time.h-data: Likewise.
33689 * conform/data/sys/timeb.h-data: Likewise.
33690 * conform/data/sys/times.h-data: Likewise.
33691 * conform/data/sys/types.h-data: Likewise.
33692 * conform/data/sys/uio.h-data: Likewise.
33693 * conform/data/sys/un.h-data: Likewise.
33694 * conform/data/sys/utsname.h-data: Likewise.
33695 * conform/data/sys/wait.h-data: Likewise.
33696 * conform/data/syslog.h-data: Likewise.
33697 * conform/data/tar.h-data: Likewise.
33698 * conform/data/termios.h-data: Likewise.
33699 * conform/data/utime.h-data: Likewise.
33700 * conform/data/utmpx.h-data: Likewise.
33701 * conform/data/varargs.h-data: Likewise.
33702 * conform/data/wchar.h-data: Likewise.
33703 * conform/data/wctype.h-data: Likewise.
33704 * conform/data/wordexp.h-data: Likewise.
33705
33706 * include/stropts.h: New file.
33707 * include/uchar.h: New file.
33708 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33709 * include/assert.h: Likewise.
33710 * include/ctype.h: Likewise.
33711 * include/dirent.h: Likewise.
33712 * include/dlfcn.h: Likewise.
33713 * include/fcntl.h: Likewise.
33714 * include/fnmatch.h: Likewise.
33715 * include/glob.h: Likewise.
33716 * include/grp.h: Likewise.
33717 * include/libio.h: Likewise.
33718 * include/locale.h: Likewise.
33719 * include/math.h: Likewise.
33720 * include/net/if.h: Likewise.
33721 * include/netdb.h: Likewise.
33722 * include/netinet/in.h: Likewise.
33723 * include/pthread.h: Likewise.
33724 * include/pwd.h: Likewise.
33725 * include/regex.h: Likewise.
33726 * include/sched.h: Likewise.
33727 * include/search.h: Likewise.
33728 * include/setjmp.h: Likewise.
33729 * include/signal.h: Likewise.
33730 * include/stdio.h: Likewise.
33731 * include/stdlib.h: Likewise.
33732 * include/string.h: Likewise.
33733 * include/sys/cdefs.h: Likewise.
33734 * include/sys/mman.h: Likewise.
33735 * include/sys/msg.h: Likewise.
33736 * include/sys/resource.h: Likewise.
33737 * include/sys/select.h: Likewise.
33738 * include/sys/socket.h: Likewise.
33739 * include/sys/stat.h: Likewise.
33740 * include/sys/statvfs.h: Likewise.
33741 * include/sys/time.h: Likewise.
33742 * include/sys/times.h: Likewise.
33743 * include/sys/uio.h: Likewise.
33744 * include/sys/utsname.h: Likewise.
33745 * include/sys/wait.h: Likewise.
33746 * include/termios.h: Likewise.
33747 * include/time.h: Likewise.
33748 * include/ulimit.h: Likewise.
33749 * include/unistd.h: Likewise.
33750 * include/utime.h: Likewise.
33751 * include/wchar.h: Likewise.
33752 * include/wctype.h: Likewise.
33753 * include/wordexp.h: Likewise.
33754
33755 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33756
7a270350
UD
33757 * time/time.h: TIME_UTC must be a macro.
33758 Make timespec_get available for ISO C11 only as well.
33759
7724defc
UD
337602012-02-24 Ulrich Drepper <drepper@gmail.com>
33761
33762 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33763 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33764
6b1d1d46
JM
337652012-02-24 Joseph Myers <joseph@codesourcery.com>
33766
33767 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33768
0f8bbd69
JM
337692012-02-24 Joseph Myers <joseph@codesourcery.com>
33770
33771 * manual/texinfo.tex: Update to version 2012-01-19.16.
33772
66ab80bc
JM
337732012-02-24 Joseph Myers <joseph@codesourcery.com>
33774
33775 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33776
74981cc5
RM
337772012-02-24 Roland McGrath <roland@hack.frob.com>
33778
ee968201
RM
33779 [BZ #13738]
33780 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33781 * manual/fdl-1.3.texi: New file.
33782 * manual/fdl-1.1.texi: File removed.
33783
74981cc5
RM
33784 [BZ #13738]
33785 * manual/libc.texinfo (FDL_VERSION): New @set.
33786 Use it for mention of FDL in cover text.
33787 (Documentation License): Use it in @include file name.
33788
7bb764bc
JM
337892012-02-22 Joseph Myers <joseph@codesourcery.com>
33790 Roland McGrath <roland@hack.frob.com>
33791
33792 [BZ #5461]
33793 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33794 not LONG_LONG_MAX and LONG_LONG_MIN.
33795 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33796 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33797 name.
33798 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33799
6cbeae47
JM
338002012-02-22 Joseph Myers <joseph@codesourcery.com>
33801
33802 [BZ #2547]
33803 [BZ #11365]
33804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33805 manipulate bits before adding and subtracting TWO23[sx].
33806 * math/libm-test.inc (nearbyint_test): Add more tests.
33807
fe45ce09
JM
338082012-02-22 Joseph Myers <joseph@codesourcery.com>
33809
33810 [BZ #2548]
33811 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33812 bits before adding and subtracting TWO23[sx].
33813 * math/libm-test.inc (rint_test): Add more tests.
33814 (rint_test_tonearest): Likewise.
33815 (rint_test_towardzero): Likewise.
33816 (rint_test_downward): Likewise.
33817 (rint_test_upward: Likewise.
33818
ff3b3d82
JM
338192012-02-22 Joseph Myers <joseph@codesourcery.com>
33820
33821 [BZ #10110]
33822 * include/stdc-predef.h: New file. Extracted from features.h.
33823 * include/features.h: Include stdc-predef.h.
33824 * Makefile (headers): Add stdc-predef.h.
33825 * CONFORMANCE (Compiler limitations): Update.
33826
ef0aab35
JM
338272012-02-22 Joseph Myers <joseph@codesourcery.com>
33828
33829 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33830
58639409
DM
338312012-02-21 David S. Miller <davem@davemloft.net>
33832
33833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33834 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33835
c0e70b25
DM
338362012-02-20 David S. Miller <davem@davemloft.net>
33837
33838 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33839 using a normal save/restore sequence, rather than allocating a
33840 dummy stack frame just to store a frame pointer and restore.
33841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33842
fb06851d
JM
338432012-02-21 Joseph Myers <joseph@codesourcery.com>
33844
33845 * manual/install.texi: Fix stray word in line-wrapped comment.
33846
7a8b71c3
DM
338472012-02-20 David S. Miller <davem@davemloft.net>
33848
d510c123
DM
33849 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33850 both binutils and gcc support GOTDATA.
33851
0722d7c2
DM
33852 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33853 "rd %pc" in the PIC register setup sequences.
33854
3d2b3019
DM
33855 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33856 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33857 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33858 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33859 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33861 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33862 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33864 (SYSCALL_ERROR_HANDLER): Likewise.
33865 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33866 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33868 (SYSCALL_ERROR_HANDLER): Likewise.
33869
c80098a9
DM
33870 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33871 (HAVE_GCC_GOTDATA): New.
33872 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33873 relocation support in both binutils and gcc.
33874 * sysdeps/sparc/elf/configure: Regenerate.
33875
3a2545a0
DM
33876 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33877 * sysdeps/sparc/sparc32/elf/configure: Delete.
33878 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33879 * sysdeps/sparc/sparc64/elf/configure: Delete.
33880 * sysdeps/sparc/elf/configure.in: New file.
33881 * sysdeps/sparc/elf/configure: Generate.
33882
7a8b71c3
DM
33883 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33884 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33885 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33886 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33887 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33888
f1e86fca
JM
338892012-02-21 Joseph Myers <joseph@codesourcery.com>
33890
33891 * manual/install.texi: Do not mention specific glibc version
33892 numbers.
33893 * manual/libc.texinfo (VERSION, UPDATED): Update.
33894 (@copying): Use @copyright{} and range of years.
33895
0e7dfaef
JM
338962012-02-21 Joseph Myers <joseph@codesourcery.com>
33897
33898 [BZ #13695]
33899 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33900 [crti.S not in sysdirs] (generated): Do not append.
33901 [crti.S not in sysdirs] (omit-deps): Likewise.
33902 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33903 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33904 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33905 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33906 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33907 Likewise.
33908 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33909 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33910 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33911 * csu/defs.awk: Remove file.
33912 * sysdeps/generic/initfini.c: Likewise.
33913 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33914 variable.
33915 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33916 Likewise.
33917
599af3ca
JM
339182012-02-20 Joseph Myers <joseph@codesourcery.com>
33919
33920 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33921 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33922 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33923 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33924 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33925 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33926 <bits/epoll.h>.
33927 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33928 (__EPOLL_PACKED): Define to empty if not defined by
33929 <bits/epoll.h>.
33930 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33932 bits/epoll.h.
33933
0e499750
JM
339342012-02-20 Joseph Myers <joseph@codesourcery.com>
33935
33936 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33937 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33938 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33939 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33940 <bits/timerfd.h>.
33941 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33943 bits/timerfd.h.
33944
5ad91f6e
JM
339452012-02-20 Joseph Myers <joseph@codesourcery.com>
33946
33947 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33948 in C locale.
33949 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33950 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33951 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33953
06b99b02
AJ
339542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33955
33956 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33957 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33958
7638c0fd
AS
339592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33960
33961 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33962 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33963 defined.
33964 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33965 Likewise.
33966 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33967 entry for 2.16.
33968
92221550
AJ
339692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33970
33971 * math/w_acos.c: Use non-signaling floating-point comparisons.
33972 * math/w_acosf.c: Likewise.
33973 * math/w_acosh.c: Likewise.
33974 * math/w_acoshf.c: Likewise.
33975 * math/w_acoshl.c: Likewise.
33976 * math/w_acosl.c: Likewise.
33977 * math/w_asin.c: Likewise.
33978 * math/w_asinf.c: Likewise.
33979 * math/w_asinl.c: Likewise.
33980 * math/w_atanh.c: Likewise.
33981 * math/w_atanhf.c: Likewise.
33982 * math/w_atanhl.c: Likewise.
33983 * math/w_exp2.c: Likewise.
33984 * math/w_exp2f.c: Likewise.
33985 * math/w_exp2l.c: Likewise.
33986 * math/w_j0.c: Likewise.
33987 * math/w_j0f.c: Likewise.
33988 * math/w_j0l.c: Likewise.
33989 * math/w_j1.c: Likewise.
33990 * math/w_j1f.c: Likewise.
33991 * math/w_j1l.c: Likewise.
33992 * math/w_jn.c: Likewise.
33993 * math/w_jnf.c: Likewise.
33994 * math/w_log.c: Likewise.
33995 * math/w_log10.c: Likewise.
33996 * math/w_log10f.c: Likewise.
33997 * math/w_log10l.c: Likewise.
33998 * math/w_log2.c: Likewise.
33999 * math/w_log2f.c: Likewise.
34000 * math/w_log2l.c: Likewise.
34001 * math/w_logf.c: Likewise.
34002 * math/w_logl.c: Likewise.
34003 * math/w_sqrt.c: Likewise.
34004 * math/w_sqrtf.c: Likewise.
34005 * math/w_sqrtl.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34008 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34009 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34010 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34011
ebaf36eb
JM
340122012-02-19 Joseph Myers <joseph@codesourcery.com>
34013
34014 [BZ #9739]
34015 * manual/string.texi (strnlen): Use correct parameter name in
34016 equivalent expression.
34017
71c254a6
JM
340182012-02-19 Joseph Myers <joseph@codesourcery.com>
34019
34020 [BZ #11174]
34021 * manual/users.texi (seteuid): Consistently use neweuid for
34022 argument name.
34023
16d2c631
JM
340242012-02-19 Joseph Myers <joseph@codesourcery.com>
34025
34026 [BZ #13704]
34027 * manual/nss.texi (Services in the NSS configuration): Correct
34028 list of services in example configuration file.
34029
cd837b09
NB
340302012-02-19 Nick Bowler <nbowler@draconx.ca>
34031
34032 [BZ #11322]
34033 * manual/arith.texi: Remove statements about negative zero
34034 behaving identically to zero.
34035
02c4bbad
JM
340362012-02-18 Joseph Myers <joseph@codesourcery.com>
34037
34038 [BZ #5993]
34039 * manual/install.texi: Do not document upgrading from libc5.
34040
366842e7
JM
340412012-02-18 Joseph Myers <joseph@codesourcery.com>
34042
34043 [BZ #4596]
34044 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34045
dd54084d
DM
340462012-02-18 David S. Miller <davem@davemloft.net>
34047
34048 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34049 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34050 %o7 across the call.
34051 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34052 instead.
34053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34054 SETUP_PIC_REG_LEAF.
34055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34056 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34057 * sysdeps/sparc/crtn.S: Likewise.
34058
2bcc53a3
UD
340592012-02-17 Ulrich Drepper <drepper@gmail.com>
34060
34061 * aout/Makefile: Remove.
34062
09c093b5
RK
340632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34064
34065 [BZ #13058]
34066 * manual/examples/argp-ex1.c (main): Format definition in GNU
34067 style.
34068 * manual/examples/argp-ex2.c (main): Likewise.
34069 * manual/examples/argp-ex3.c (main): Likewise.
34070 * manual/examples/argp-ex4.c (main): Likewise.
34071 * manual/examples/longopt.c (main): Use new-style prototype
34072 definition.
34073 * manual/examples/strncat.c (main): Specify return type and use
34074 (void) for arguments.
34075 * manual/examples/subopt.c (main): Use char **argv argument.
34076
2ee633a2
JM
340772012-02-17 Joseph Myers <joseph@codesourcery.com>
34078
34079 [BZ #5077]
34080 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34081 rounding modes.
34082
0520adde
FB
340832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34084
34085 [BZ #6907]
34086 * manual/string.texi (strchr): Change when strchrnul is
34087 recommended.
34088
3f4081cd
DGM
340892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34090
34091 [BZ #174]
34092 * manual/locale.texi (setlocale): Document LOCPATH.
34093
d1b10e78
JM
340942012-02-17 Joseph Myers <joseph@codesourcery.com>
34095
34096 [BZ #10210]
34097 * manual/process.texi (execle): Move @dots{} before last argument.
34098
79c6869c
PB
340992012-02-17 Paul Bolle <pebolle@tiscali.nl>
34100
34101 [BZ #12047]
34102 * manual/charset.texi (Generic Charset Conversion): Fix typo
34103 (LC_TYPE -> LC_CTYPE).
34104
cc6e48bc
NB
341052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34106
34107 [BZ #5805]
34108 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34109 (scalbnf): Likewise.
34110 (scalbnl): Likewise.
34111 (scalbln): Likewise.
34112 (scalblnf): Likewise.
34113 (scalblnl): Likewise.
34114 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34115 (vwarnx): Likewise.
34116 (verr): Likewise.
34117 (verrx): Likewise.
34118 * manual/filesys.texi (telldir): Use braces around return type.
34119 * manual/llio.texi (mmap): Add space after comma.
34120 (mmap64): Likewise.
34121 * manual/math.texi (jn): Use @var{} on parameter names.
34122 (jnf): Likewise.
34123 (jnl): Likewise.
34124 (yn): Likewise.
34125 (ynf): Likewise.
34126 (ynl): Likewise.
34127 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34128 line.
34129 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34130 "...".
34131 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34132 (sched_get_priority_max): Likewise.
34133 * manual/signal.texi (sigvec): Add space after comma.
34134 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34135 names.
34136 (if_indextoname): Likewise.
34137 (if_freenameindex): Likewise.
34138 (sendto): Use ',' instead of '.' in prototype.
34139 * manual/startup.texi (syscall): Use @dots{} instead of literal
34140 "...".
34141 * manual/stdio.texi (__fpending): Separate initial words of
34142 paragraph from @deftypefun line.
34143 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34144 "...".
34145 (vsyslog): Use @var{} on parameter names.
34146 * manual/terminal.texi (stty): Use @var{} on parameter names.
34147 * manual/users.texi (getutmp): Use @var{} on parameter names.
34148 (getutmpx): Likewise.
34149
5b23062f
JM
341502012-02-17 Joseph Myers <joseph@codesourcery.com>
34151
34152 [BZ #6884]
34153 * manual/stdio.texi (fopen): Fix typos in description of
34154 ",ccs=STRING".
34155
8dee4833
AJ
341562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34157
34158 [BZ #4026]
34159 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34160 get clock_id definition.
34161
9078ce93
TS
341622012-02-17 Thomas Schwinge <thomas@schwinge.name>
34163
34164 [BZ #4822]
34165 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34166 (madvise): Cast every argument to void on its own.
34167
3835c55f
JM
341682012-02-17 Joseph Myers <joseph@codesourcery.com>
34169
34170 [BZ #9902]
34171 * manual/startup.texi (Exit Status): Fix typo.
34172
35c47e37
JM
341732012-02-17 Joseph Myers <joseph@codesourcery.com>
34174
34175 [BZ #10140]
34176 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34177 * manual/examples/argp-ex2.c: Likewise.
34178 * manual/examples/argp-ex3.c: Likewise.
34179
e3b69ca7
RH
341802012-02-16 Richard Henderson <rth@redhat.com>
34181
34182 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34183 * sysdeps/s390/s390-32/initfini.c: Remove.
34184 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34185 * sysdeps/s390/s390-64/initfini.c: Remove.
34186
df83af67
KK
341872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34188
34189 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34190 compiler output for sysdeps/generic/initfini.c.
34191 * sysdeps/sh/elf/initfini.c: Remove file.
34192
f63f3380
DM
341932012-02-16 David S. Miller <davem@davemloft.net>
34194
fb59b3a4
DM
34195 [BZ #11494]
34196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34197
f63f3380
DM
34198 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34199 * sysdeps/sparc/crti.S: New file.
34200 * sysdeps/sparc/crtn.S: New file.
34201 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34202 * sysdeps/sparc/sparc64/Makefile: Likewise.
34203
df6a4a4a
MF
342042012-02-15 Mike Frysinger <vapier@gentoo.org>
34205
6dd8f3dc 34206 [BZ #3335]
df6a4a4a
MF
34207 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34208
1cac7236
RM
342092012-02-15 Roland McGrath <roland@hack.frob.com>
34210
d2c736f8
RM
34211 [BZ #4822]
34212 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34213
1cac7236
RM
34214 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34215 (write, read, close): Likewise.
34216 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34217
8e475601
JM
342182012-02-15 Joseph Myers <joseph@codesourcery.com>
34219
34220 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34221 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34222 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34223 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34224 <bits/signalfd.h>.
34225 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34227 bits/signalfd.h.
34228
ed656b40
MP
342292012-02-14 Marek Polacek <polacek@redhat.com>
34230
34231 * sysdeps/x86_64/crti.S: New file.
34232 * sysdeps/x86_64/crtn.S: New file.
34233 * sysdeps/x86_64/elf/initfini.c: Remove file.
34234
2a979d3a
JM
342352012-02-13 Joseph Myers <joseph@codesourcery.com>
34236
34237 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34238 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34239 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34240 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34241 <bits/inotify.h>.
34242 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34244 bits/inotify.h.
34245
2a418ac3
JM
342462012-02-13 Joseph Myers <joseph@codesourcery.com>
34247
34248 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34249 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34250 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34251 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34252 <bits/eventfd.h>.
34253 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34255 bits/eventfd.h.
34256
fb779be7
TS
342572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34258
e19e83c5
RM
34259 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34260 __feraiseexcept instead of feraiseexcept.
7c35ffed 34261
fb779be7
TS
34262 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34263 nanosleep invocations.
34264 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34265 strings, and add error checking for a nanosleep invocations.
34266
59ba27a6
PE
342672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34268
34269 Replace FSF snail mail address with URLs, as per GNU coding standards.
34270 Most of the snail mail addresses were wrong anyway, and omitting
34271 them makes the source code easier to maintain. Almost all of the
34272 changes are to license notices and to locale LC_IDENTIFICATION
34273 addresses, except for this one:
34274 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34275 not its snail mail address.
34276
57b957eb
RH
342772012-02-09 Richard Henderson <rth@twiddle.net>
34278
af850b1c
RH
34279 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34280 of kernel-features.h.
34281
57b957eb
RH
34282 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34283
6b73181a
MP
342842012-02-08 Marek Polacek <polacek@redhat.com>
34285
34286 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34287 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34288 * sysdeps/gnu/_G_config.h: Likewise.
34289 * sysdeps/generic/_G_config.h: Likewise.
34290
26ecc33a
AS
342912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34292
6c6dbc63
AS
34293 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34294 tests.
34295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34296
e216c012
AS
34297 * sysdeps/powerpc/powerpc32/crti.S: New file.
34298 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34299 * sysdeps/powerpc/powerpc64/crti.S: New file.
34300 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34301
26ecc33a
AS
34302 * Makeconfig (have-initfini): Don't set.
34303 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34304 * configure.in (nopic_initfini): Don't substitute.
34305 * config.h.in (HAVE_INITFINI): Don't #undef.
34306 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34307 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34308
3add8e13
JM
343092012-02-08 Joseph Myers <joseph@codesourcery.com>
34310
34311 Support crti.S and crtn.S provided directly by architectures.
34312 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34313 [crti.S in sysdirs] (omit-deps): Likewise.
34314 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34315 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34316 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34317 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34318 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34319 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34320 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34321 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34322 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34323 compiler output for sysdeps/generic/initfini.c.
34324 * sysdeps/i386/elf/Makefile: Remove file.
34325 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34326
a22f12b4
MP
343272012-02-07 Marek Polacek <polacek@redhat.com>
34328
34329 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34330 * sysdeps/gnu/_G_config.h: Likewise.
34331 * sysdeps/mach/hurd/_G_config.h: Likewise.
34332
148cf100
MP
343332012-02-07 Marek Polacek <polacek@redhat.com>
34334
34335 * math/Makefile (tests): Add tst-CMPLX2.
34336 * math/tst-CMPLX2.c: New file.
34337
cfdc0dd7
AS
343382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34339
84ba42c4
AS
34340 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34341
cfdc0dd7
AS
34342 * math/libm-test.inc (jn_test): Add missing L suffix.
34343
622c86f4
MP
343442012-02-06 Marek Polacek <polacek@redhat.com>
34345
34346 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34347 * sysdeps/i386/fpu/e_powf.S: Likewise.
34348 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34349 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34350 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34351 * sysdeps/i386/fpu/e_pow.S: Likewise.
34352 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34353 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34354 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34355 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34356 * sysdeps/i386/fpu/e_log2.S: Likewise.
34357 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34358 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34359 * sysdeps/i386/fpu/e_powl.S: Likewise.
34360 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34361 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34362 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34363 * sysdeps/i386/fpu/e_logl.S: Likewise.
34364 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34365 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34366 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34367 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34368 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34370 * sysdeps/i386/fpu/e_log.S: Likewise.
34371 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34373 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34374 * sysdeps/i386/fpu/e_logf.S: Likewise.
34375 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34376 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34377 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34378 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34379 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34380 * sysdeps/i386/fpu/e_log10.S: Likewise.
34381 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34383 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34384 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34385 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34386 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34387 * sysdeps/i386/asm-syntax.h: Likewise.
34388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34391 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34392 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34397 * sysdeps/powerpc/sysdep.h: Likewise.
34398 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34399 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34400
d4a54ac6
JM
344012012-02-06 Joseph Myers <joseph@codesourcery.com>
34402
34403 [BZ #411]
34404 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34405
314054ea
JM
344062012-02-06 Joseph Myers <joseph@codesourcery.com>
34407
34408 * sysdeps/i386/sysdep.h: Include <features.h>.
34409 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34410 version.
34411
d8e0ca50
JM
344122012-02-05 Joseph Myers <joseph@codesourcery.com>
34413
34414 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34415 Define.
34416 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34417 LOAD_PIC_REG_STR.
34418
b1da7dd9
JM
344192012-02-03 Joseph Myers <joseph@codesourcery.com>
34420
34421 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34422 (SETUP_PIC_REG): Use GET_PC_THUNK.
34423 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34424 macro.
34425
9a1d9254
JM
344262012-02-03 Joseph Myers <joseph@codesourcery.com>
34427
34428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34429 for non-PIC compilation.
34430 (SETUP_PIC_REG): Add .p2align directive.
34431 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34432 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34433 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34434 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34435 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34436 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34437 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34439 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34440 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34441 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34442 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34443 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34444 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34445 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34446 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34447 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34448 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34449 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34450 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34451 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34453 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34454 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34455 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34457 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34458 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34459 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34460 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34461 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34462 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34463 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34464 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34465 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34466 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34467 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34468 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34469 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34470 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34471 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34472
65dc3b75
JM
344732012-02-03 Joseph Myers <joseph@codesourcery.com>
34474
34475 * math/tst-CMPLX.c: Include <stdio.h>.
34476
d55bf177
JM
344772012-01-31 Joseph Myers <joseph@codesourcery.com>
34478
34479 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34480 float.
34481 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34482 * sysdeps/sparc/bits/mathdef.h: Likewise.
34483
69db4f8f
MP
344842012-01-31 Marek Polacek <polacek@redhat.com>
34485
34486 * libio/libio.h: Don't define _PARAMS.
34487 * locale/programs/config.h: Don't define PARAMS.
34488 * stdlib/strtol_l.c: Likewise.
34489 (__strtol_l): Remove PARAMS from the prototype.
34490
41b81892
UD
344912012-01-31 Ulrich Drepper <drepper@gmail.com>
34492
3b49edc0
UD
34493 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34494 names. Just use the correct names. Remove unnecessary wrapper
34495 functions.
34496 * malloc/arena.c: Likewise.
34497 * malloc/hooks.c: Likewise.
34498
41b81892
UD
34499 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34500 ARENA_TEST says not to. Simplify test for creation of a new arena.
34501 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34502
27a25b6e
UD
345032012-01-30 Ulrich Drepper <drepper@gmail.com>
34504
34505 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34506 into tail calls.
34507 (update_get_addr): New function.
34508 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34509 GET_ADDR_MODULE parameter.
34510
c8a89e7d
JM
345112012-01-30 Joseph Myers <joseph@codesourcery.com>
34512
34513 * crypt/cert.c: Remove __STDC__ conditionals.
34514 * crypt/crypt-entry.c: Likewise.
34515 * crypt/crypt_util.c: Likewise.
34516 * libio/filedoalloc.c: Likewise.
34517 * libio/fileops.c: Likewise.
34518 * libio/genops.c: Likewise.
34519 * libio/iofclose.c: Likewise.
34520 * libio/iofdopen.c: Likewise.
34521 * libio/iofopen.c: Likewise.
34522 * libio/iofopen64.c: Likewise.
34523 * libio/iogetdelim.c: Likewise.
34524 * libio/iopopen.c: Likewise.
34525 * libio/obprintf.c: Likewise.
34526 * libio/oldfileops.c: Likewise.
34527 * libio/oldiofclose.c: Likewise.
34528 * libio/oldiofdopen.c: Likewise.
34529 * libio/oldiofopen.c: Likewise.
34530 * libio/oldiopopen.c: Likewise.
34531 * libio/wfiledoalloc.c: Likewise.
34532 * libio/wgenops.c: Likewise.
34533 * locale/programs/xmalloc.c: Likewise.
34534 * misc/syslog.c: Likewise.
34535 * stdio-common/xbug.c: Likewise.
34536 * string/memchr.c: Likewise.
34537 * string/memcmp.c: Likewise.
34538 * string/memrchr.c: Likewise.
34539 * string/rawmemchr.c: Likewise.
34540 * sysdeps/posix/getcwd.c: Likewise.
34541 * time/strftime_l.c: Likewise.
34542
3b100462
JM
345432012-01-30 Joseph Myers <joseph@codesourcery.com>
34544
34545 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34546 * config.make.in (config-cflags-sse2avx): Define.
34547 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34548 Fix typo.
34549
607998af
CM
345502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34551
34552 * scripts/config.guess: Update from upstream config git repository.
34553 * scripts/config.sub: Likewise.
34554
3601428f
CM
345552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34556
3ac8b282
CM
34557 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34558 (EM_NUM): Update.
34559 (R_TILEPRO_*, R_TILEGX_*): New macros.
34560
e034841e
CM
34561 * scripts/firstversions.awk: Fix bug in version range handling.
34562
540d7568
CM
34563 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34564
3601428f
CM
34565 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34566
463de862
CM
34567 * include/sys/epoll.h: New file.
34568 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34569 libc_hidden_def.
34570
73139a76
UD
345712012-01-28 Ulrich Drepper <drepper@gmail.com>
34572
96bc5b45
UD
34573 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34574 Avoid unnecessary __WORDSIZE == 64 test.
34575 (fmaxf): Use VEX format if possible.
34576 (fmax): Likewise.
34577 (fminf): Likewise.
34578 (fmin): Likewise.
34579
56f6f6a2
UD
34580 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34581 * math/math_private.h: Remove libc_fegetround* and
34582 libc_fesetround*.
34583 * sysdeps/i386/configure.in: Check for -msse2avx.
34584 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34585 also if SSE2AVX is defined.
34586 Remove libc_fegetround* and libc_fesetround*.
34587 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34588 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34589 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34590 of HAS_YMM_USABLE.
34591 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34592 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34593 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34594 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34595 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34596
73139a76
UD
34597 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34598
d73f93a4
AZ
345992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34600
34601 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34602 size is not set.
34603 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34604
6ee65ed6
UD
346052012-01-27 Ulrich Drepper <drepper@gmail.com>
34606
34607 [BZ #13618]
34608 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34609 relocation.
34610 * Makeconfig (libm): Define.
34611 * elf/Makefile: Add rules to build and run tst-relsort1.
34612 * elf/tst-relsort1.c: New file.
34613 * elf/tst-relsort1mod1.c: New file.
34614 * elf/tst-relsort1mod2.c: New file.
34615
8db21882
JM
346162012-01-27 Joseph Myers <joseph@codesourcery.com>
34617
34618 * math/s_ldexp.c: Remove __STDC__ conditionals.
34619 * math/s_ldexpf.c: Likewise.
34620 * math/s_ldexpl.c: Likewise.
34621 * math/s_nextafter.c: Likewise.
34622 * math/s_nexttowardf.c: Likewise.
34623 * math/s_significand.c: Likewise.
34624 * math/s_significandf.c: Likewise.
34625 * math/s_significandl.c: Likewise.
34626 * math/w_jnl.c: Likewise.
34627 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34628 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34629 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34630 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34631 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34632 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34633 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34634 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34635 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34639 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34646 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34647 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34648 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34649 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34651 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34652 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34653 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34654 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34655 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34656 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34658 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34659 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34660 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34661 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34662 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34663 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34664 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34665 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34666 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34667 * sysdeps/ieee754/k_standard.c: Likewise.
34668 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34669 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34670 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34671 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34672 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34687 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34721 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34722 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34724 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34726 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34727 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34728 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34729 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34732 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34734 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34738 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34739 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34740 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34741 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34742 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34743 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34744 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34746 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34747 * sysdeps/ieee754/s_matherr.c: Likewise.
34748 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34749 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34752
965a54a4
JM
347532012-01-26 Joseph Myers <joseph@codesourcery.com>
34754
34755 * crypt/md5.h: Remove __STDC__ conditionals.
34756 * libio/libioP.h: Likewise.
34757 * locale/programs/config.h: Likewise.
34758 * sysdeps/generic/sysdep.h: Likewise.
34759 * sysdeps/i386/asm-syntax.h: Likewise.
34760 * sysdeps/s390/asm-syntax.h: Likewise.
34761 * sysdeps/unix/sysdep.h: Likewise.
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34764
7071ad79
JM
347652012-01-26 Joseph Myers <joseph@codesourcery.com>
34766
34767 * libio/libio.h: Remove __STDC__ conditionals.
34768 * malloc/obstack.h: Likewise.
34769 * math/complex.h: Likewise.
34770 * math/math.h: Likewise.
34771 * sysdeps/generic/_G_config.h: Likewise.
34772 * sysdeps/gnu/_G_config.h: Likewise.
34773 * sysdeps/mach/hurd/_G_config.h: Likewise.
34774 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34775 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34776 * sysdeps/sparc/bits/mathdef.h: Likewise.
34777
afc5ed09
UD
347782012-01-26 Ulrich Drepper <drepper@gmail.com>
34779
34780 [BZ #13583]
34781 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34782 Clean up HAS_* macros.
afc5ed09 34783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34784 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34785 possible.
34786 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34787 HAS_AVX.
34788 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34789 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34790 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34793
bdb6de1d
JM
347942012-01-25 Joseph Myers <joseph@codesourcery.com>
34795
34796 * elf/tst-unique3.cc (gets): Remove declaration.
34797 * elf/tst-unique3lib.cc (gets): Likewise.
34798 * elf/tst-unique3lib2.cc (gets): Likewise.
34799 * elf/tst-unique4.cc (gets): Likewise.
34800
b15549e6
UD
348012012-01-24 Ulrich Drepper <drepper@gmail.com>
34802
34803 * include/stdio.h: Add C++ protection. Add gets declarations and
34804 definitions.
34805 * debug/tst-chk1.c: Don't declare gets here.
34806 * stdio-common/tst-gets.c: Likewise.
34807
a037381f
JM
348082012-01-24 Joseph Myers <joseph@codesourcery.com>
34809
34810 * posix/glob: Remove directory.
34811
f1d4aa75
JM
348122012-01-24 Joseph Myers <joseph@codesourcery.com>
34813
34814 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34815
81c0c964
PT
348162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34817
34818 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34819 of the non-standard EPFNOSUPPORT.
34820
0ea698ae
ST
348212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34822
34823 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34824 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34825 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34826
d220b117
UD
348272012-01-21 Ulrich Drepper <drepper@gmail.com>
34828
34829 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34830
3e1aa84e
UD
348312012-01-20 Ulrich Drepper <drepper@gmail.com>
34832
34833 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34834 transient errors.
34835 * nscd/grpcache.c (cache_addgr): Likewise.
34836 * nscd/hstcache.c (cache_addhst): Likewise.
34837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34838 * nscd/pwdcache.c (cache_addpw): Likewise.
34839 * nscd/servicescache.c (cache_addserv): Likewise.
34840
400aa020
UD
348412012-01-16 Ulrich Drepper <drepper@gmail.com>
34842
d77e7869
UD
34843 * malloc/malloc.c: Various cleanups.
34844 * malloc/hooks.c: Likewise.
34845
400aa020
UD
34846 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34847 * stdlib/bug-fmtmsg1.c: New file.
34848
34849 * stdlib/fmtmsg.c (init): Add missing unlock.
34850 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34851
e0a309cf
MP
348522012-01-12 Marek Polacek <polacek@redhat.com>
34853
34854 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34855 and _GNU_SOURCE.
34856
929d11c7
WS
348572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34858
34859 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34860 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34861 macro to ensure uniqueness of label name.
34862 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34863 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34864
41d0e869
UD
348652012-01-11 Ulrich Drepper <drepper@gmail.com>
34866
0cc5ed3b
UD
34867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34868
41d0e869
UD
34869 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34870 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34873
a47a831a
UD
348742012-01-10 Ulrich Drepper <drepper@gmail.com>
34875
daa891c0
UD
34876 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34877
34878 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34879 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34880 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34881
e58ef0f2
UD
34882 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34883
a47a831a 34884 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34885 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34886 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34888
34889 * math/bits/math-finite.h: Add ldexp support.
34890
a0bfc9c7
MP
348912012-01-10 Marek Polacek <polacek@redhat.com>
34892
34893 * locale/programs/localedef.h (show_archive_content): Add noreturn
34894 attribute.
34895
d6e97a1d
UD
348962012-01-09 Ulrich Drepper <drepper@gmail.com>
34897
34898 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34899
d5835c26
UD
349002012-01-08 Ulrich Drepper <drepper@gmail.com>
34901
e5f484c6
UD
34902 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34903
d5835c26
UD
34904 * io/Makefile (headers): Add bits/poll2.h.
34905
d1f741e9
WS
349062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34907
34908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34909 typo #include statement.
34910
ec09c1c4
UD
349112012-01-08 Ulrich Drepper <drepper@gmail.com>
34912
34913 * include/sys/cdefs.h: Define __attribute_alloc_size.
34914 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34915 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34916 * elf/pldd.c: Likewise.
34917 * iconv/iconv_charmap.c: Likewise.
34918 * iconv/iconvconfig.c: Likewise.
34919 * iconv/strtab.c: Likewise.
34920 * locale/programs/locale.c: Likewise.
34921 * locale/programs/localedef.h: Likewise.
34922 * locale/programs/simple-hash.c: Likewise.
34923 * nscd/nscd.h: Likewise.
34924 * nss/makedb.c: Likewise.
34925 * sysdeps/generic/ldconfig.h: Likewise.
34926 * locale/programs/localedef.c: Remove xmalloc prototype.
34927 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34928
20b38e03
PP
349292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34930
34931 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34932 appropriate.
34933
a0da5fe1
UD
349342012-01-08 Ulrich Drepper <drepper@gmail.com>
34935
1d5a644a 34936 * math/Makefile (tests): Add tst-CMPLX.
669704fd 34937 * math/tst-CMPLX.c: New file.
1d5a644a 34938
8784a6db
UD
34939 * math/complex.h (CMPLXL): Fix typo.
34940
d9a216c0
UD
34941 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34942 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34943 GLIBC_2.16.
34944 * debug/tst-chk1.c: Add poll and ppoll tests.
34945 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34946 * include/sys/poll.h: Add hidden proto for ppoll.
34947 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34948 * sysdeps/mach/hurd/ppoll.c: Likewise.
34949 * io/ppoll.c: Likewise.
34950 * debug/poll_chk.c: New file.
34951 * debug/ppoll_chk.c: New file.
34952 * include/bits/poll2.h: New file.
34953 * io/bits/poll2.h: New file.
34954
ac097f5c
UD
34955 [BZ #1350]
34956 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34957
2119dcfa
UD
34958 * configure.in: static is always set to yes. Remove.
34959 * config.make.in: Don't set build-static.
34960 * Makeconfig: Remove use of build-static.
34961 * dlfcn/Makefile: Likewise.
34962 * elf/Makefile: Likewise.
34963 * math/Makefile: Likewise.
34964 * misc/Makefile: Likewise.
34965 * nptl/Makefile: Likewise.
34966 * sysdeps/mach/hurd/Makefile: Likewise.
34967
121766a9
UD
34968 * configure.in: PWD_P is not used anymore.
34969 * config.make.in: Remove PWD_P entry.
34970
51a1d39c 34971 * configure.in: Remove last remnants of RANLIB.
8720d066 34972 No need to check for signed size_t anymore.
215f4bdc
UD
34973 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34974 and IA-64.
3857022a 34975 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
34976 * aclocal.m4: Likewise.
34977
d3ed7225
UD
34978 * wcsmbs/mbrtoc16.c: Implement using towc function.
34979 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34980 * wcsmbs/wcsmbsload.c: Likewise.
34981 * iconv/gconv_simple.c: Likewise.
34982 * iconv/gconv_int.h: Likewise.
34983 * iconv/gconv_builtin.h: Likewise.
34984 * iconv/iconv_prog.c: Remove CHAR16 handling.
34985
34986 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34987
34988 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34989
a0da5fe1
UD
34990 * configure.in: Remove --with-elf and --enable-bounded options.
34991 Dont set base_machine for ia64. More non-ELF conditions removed.
34992 Remove testing and setting of leading underscore information.
34993 * config.make.in (build-bounded): Set to no.
34994 * config.h.in: Remove NO_UNDERSCORES entry.
34995 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34996 them.
34997 * csu/start.c: Remove !NO_UNDERSCORE code.
34998 * locale/localeinfo.h: Likewise.
34999 * sysdeps/generic/machine-gmon.h: Likewise.
35000 * sysdeps/generic/sysdep.h: Likewise.
35001 * sysdeps/i386/sysdep.h: Likewise.
35002 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35003 * sysdeps/mach/sysdep.h: Likewise.
35004 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35005 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35006 * sysdeps/sh/sysdep.h: Likewise.
35007 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35008 * sysdeps/unix/i386/sysdep.S: Likewise.
35009 * sysdeps/unix/sparc/start.c: Likewise.
35010 * sysdeps/unix/sparc/sysdep.S: Likewise.
35011 * sysdeps/unix/sparc/sysdep.h: Likewise.
35012 * sysdeps/unix/start.c: Likewise.
35013 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35014 * sysdeps/x86_64/sysdep.h: Likewise.
35015
df78418a
UD
350162012-01-07 Ulrich Drepper <drepper@gmail.com>
35017
a784e502
UD
35018 [BZ #13553]
35019 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35020 for non-gcc.
35021 * argp/argp-fmtstream.h: Use const instead __const.
35022 * argp/argp.h: Likewise.
35023 * assert/assert.h: Likewise.
35024 * bits/fenv.h: Likewise.
35025 * bits/sched.h: Likewise.
35026 * bits/sigset.h: Likewise.
35027 * bits/sigthread.h: Likewise.
35028 * catgets/nl_types.h: Likewise.
35029 * conform/data/pthread.h-data: Likewise.
35030 * crypt/crypt-private.h: Likewise.
35031 * crypt/crypt.h: Likewise.
35032 * crypt/crypt_util.c: Likewise.
35033 * ctype/ctype.h: Likewise.
35034 * debug/execinfo.h: Likewise.
35035 * debug/mbsnrtowcs_chk.c: Likewise.
35036 * debug/mbsrtowcs_chk.c: Likewise.
35037 * debug/wcsnrtombs_chk.c: Likewise.
35038 * debug/wcsrtombs_chk.c: Likewise.
35039 * debug/wcstombs_chk.c: Likewise.
35040 * dirent/dirent.h: Likewise.
35041 * dlfcn/dlfcn.h: Likewise.
35042 * elf/neededtest4.c: Likewise.
35043 * grp/grp.h: Likewise.
35044 * gshadow/gshadow.h: Likewise.
35045 * iconv/gconv.h: Likewise.
35046 * iconv/gconv_int.h: Likewise.
35047 * iconv/gconv_simple.c: Likewise.
35048 * iconv/iconv.h: Likewise.
35049 * iconv/loop.c: Likewise.
35050 * iconv/skeleton.c: Likewise.
35051 * include/aio.h: Likewise.
35052 * include/aliases.h: Likewise.
35053 * include/argz.h: Likewise.
35054 * include/arpa/inet.h: Likewise.
35055 * include/assert.h: Likewise.
35056 * include/dirent.h: Likewise.
35057 * include/dlfcn.h: Likewise.
35058 * include/execinfo.h: Likewise.
35059 * include/fcntl.h: Likewise.
35060 * include/fenv.h: Likewise.
35061 * include/glob.h: Likewise.
35062 * include/grp.h: Likewise.
35063 * include/libintl.h: Likewise.
35064 * include/mntent.h: Likewise.
35065 * include/netdb.h: Likewise.
35066 * include/pwd.h: Likewise.
35067 * include/rpc/netdb.h: Likewise.
35068 * include/sched.h: Likewise.
35069 * include/search.h: Likewise.
35070 * include/shadow.h: Likewise.
35071 * include/signal.h: Likewise.
35072 * include/stdio.h: Likewise.
35073 * include/stdlib.h: Likewise.
35074 * include/string.h: Likewise.
35075 * include/sys/socket.h: Likewise.
35076 * include/sys/stat.h: Likewise.
35077 * include/sys/statfs.h: Likewise.
35078 * include/sys/statvfs.h: Likewise.
35079 * include/sys/syslog.h: Likewise.
35080 * include/sys/time.h: Likewise.
35081 * include/sys/uio.h: Likewise.
35082 * include/time.h: Likewise.
35083 * include/unistd.h: Likewise.
35084 * include/utmp.h: Likewise.
35085 * include/wchar.h: Likewise.
35086 * include/wctype.h: Likewise.
35087 * inet/aliases.h: Likewise.
35088 * inet/arpa/inet.h: Likewise.
35089 * inet/netinet/ether.h: Likewise.
35090 * inet/netinet/in.h: Likewise.
35091 * intl/libintl.h: Likewise.
35092 * io/bits/fcntl2.h: Likewise.
35093 * io/fcntl.h: Likewise.
35094 * io/ftw.h: Likewise.
35095 * io/sys/poll.h: Likewise.
35096 * io/sys/stat.h: Likewise.
35097 * io/sys/statfs.h: Likewise.
35098 * io/sys/statvfs.h: Likewise.
35099 * io/utime.h: Likewise.
35100 * libio/bits/stdio.h: Likewise.
35101 * libio/bits/stdio2.h: Likewise.
35102 * libio/libio.h: Likewise.
35103 * libio/libioP.h: Likewise.
35104 * libio/stdio.h: Likewise.
35105 * locale/lc-ctype.c: Likewise.
35106 * locale/locale.h: Likewise.
35107 * login/utmp.h: Likewise.
35108 * malloc/arena.c: Likewise.
35109 * malloc/malloc.c: Likewise.
35110 * malloc/malloc.h: Likewise.
35111 * malloc/mcheck.c: Likewise.
35112 * malloc/mtrace.c: Likewise.
35113 * math/bits/mathcalls.h: Likewise.
35114 * math/fenv.h: Likewise.
35115 * math/math_private.h: Likewise.
35116 * misc/bits/error.h: Likewise.
35117 * misc/bits/syslog.h: Likewise.
35118 * misc/err.h: Likewise.
35119 * misc/error.h: Likewise.
35120 * misc/fstab.h: Likewise.
35121 * misc/mntent.h: Likewise.
35122 * misc/regexp.h: Likewise.
35123 * misc/search.h: Likewise.
35124 * misc/sgtty.h: Likewise.
35125 * misc/sys/mman.h: Likewise.
35126 * misc/sys/syslog.h: Likewise.
35127 * misc/sys/uio.h: Likewise.
35128 * misc/sys/xattr.h: Likewise.
35129 * misc/ttyent.h: Likewise.
35130 * nis/rpcsvc/ypclnt.h: Likewise.
35131 * nss/nss.h: Likewise.
35132 * posix/bits/unistd.h: Likewise.
35133 * posix/fnmatch.h: Likewise.
35134 * posix/glob.h: Likewise.
35135 * posix/sched.h: Likewise.
35136 * posix/spawn.h: Likewise.
35137 * posix/sys/wait.h: Likewise.
35138 * posix/unistd.h: Likewise.
35139 * posix/wordexp.h: Likewise.
35140 * pwd/pwd.h: Likewise.
35141 * resolv/netdb.h: Likewise.
35142 * resource/sys/resource.h: Likewise.
35143 * rt/aio.h: Likewise.
35144 * rt/bits/mqueue2.h: Likewise.
35145 * rt/mqueue.h: Likewise.
35146 * shadow/shadow.h: Likewise.
35147 * signal/signal.h: Likewise.
35148 * socket/send.c: Likewise.
35149 * socket/sendto.c: Likewise.
35150 * socket/sys/socket.h: Likewise.
35151 * stdio-common/printf.h: Likewise.
35152 * stdlib/bits/stdlib.h: Likewise.
35153 * stdlib/fmtmsg.h: Likewise.
35154 * stdlib/monetary.h: Likewise.
35155 * stdlib/stdlib.h: Likewise.
35156 * stdlib/ucontext.h: Likewise.
35157 * streams/stropts.h: Likewise.
35158 * string/argz.h: Likewise.
35159 * string/bits/string2.h: Likewise.
35160 * string/string.h: Likewise.
35161 * string/strings.h: Likewise.
35162 * sunrpc/rpc/auth.h: Likewise.
35163 * sunrpc/rpc/auth_des.h: Likewise.
35164 * sunrpc/rpc/clnt.h: Likewise.
35165 * sunrpc/rpc/netdb.h: Likewise.
35166 * sunrpc/rpc/pmap_clnt.h: Likewise.
35167 * sunrpc/rpc/xdr.h: Likewise.
35168 * sysdeps/generic/inttypes.h: Likewise.
35169 * sysdeps/generic/net/if.h: Likewise.
35170 * sysdeps/generic/sys/swap.h: Likewise.
35171 * sysdeps/gnu/net/if.h: Likewise.
35172 * sysdeps/gnu/utmpx.h: Likewise.
35173 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35174 * sysdeps/i386/i486/bits/string.h: Likewise.
35175 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35176 * sysdeps/s390/bits/string.h: Likewise.
35177 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35178 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35179 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35180 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35181 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35182 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35183 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35184 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35185 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35186 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35187 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35188 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35189 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35190 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35191 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35192 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35193 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35195 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35196 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35198 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35199 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35200 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35201 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35202 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35203 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35204 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35205 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35206 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35207 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35208 * sysvipc/sys/ipc.h: Likewise.
35209 * sysvipc/sys/msg.h: Likewise.
35210 * sysvipc/sys/sem.h: Likewise.
35211 * sysvipc/sys/shm.h: Likewise.
35212 * termios/termios.h: Likewise.
35213 * time/sys/time.h: Likewise.
35214 * time/time.h: Likewise.
35215 * wcsmbs/bits/wchar2.h: Likewise.
35216 * wcsmbs/uchar.h: Likewise.
35217 * wcsmbs/wchar.h: Likewise.
35218 * wctype/wctype.h: Likewise.
35219
0269750c
UD
35220 [BZ #13551]
35221 * Makeconfig: Remove all but ELF support including AIX support.
35222 * Makerules: Likewise.
35223 * config.h.in: Likewise.
35224 * config.make.in: Likewise.
35225 * configure: Likewise.
35226 * configure.in: Likewise.
35227 * csu/Makefile: Likewise.
35228 * csu/version.c: Likewise.
35229 * debug/Makefile: Likewise.
35230 * dlfcn/Makefile: Likewise.
35231 * elf/Makefile: Likewise.
35232 * extra-lib.mk: Likewise.
35233 * iconv/Makefile: Likewise.
35234 * include/libc-symbols.h: Likewise.
35235 * include/shlib-compat.h: Likewise.
35236 * resolv/Makefile: Likewise.
35237 * resolv/res_libc.c: Likewise.
35238 * rt/Makefile: Likewise.
35239 * sysdeps/i386/asm-syntax.h: Likewise.
35240 * sysdeps/i386/sysdep.h: Likewise.
35241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35242 * sysdeps/mach/sysdep.h: Likewise.
35243 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35244 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35245 * sysdeps/s390/asm-syntax.h: Likewise.
35246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35248 * sysdeps/sh/sysdep.h: Likewise.
35249 * sysdeps/unix/sparc/sysdep.h: Likewise.
35250 * sysdeps/wordsize-32/divdi3.c: Likewise.
35251 * sysdeps/x86_64/sysdep.h: Likewise.
35252
00bbd29b
UD
35253 * argp/Versions: Remove _argp_unlock_xxx.
35254
35255 [BZ #13559]
35256 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35257 * abilist/libBrokenLocale.abilist: Likewise.
35258 * abilist/libanl.abilist: Likewise.
35259 * abilist/libc.abilist: Likewise.
35260 * abilist/libcrypt.abilist: Likewise.
35261 * abilist/libdl.abilist: Likewise.
35262 * abilist/libm.abilist: Likewise.
35263 * abilist/libnsl.abilist: Likewise.
35264 * abilist/libpthread.abilist: Likewise.
35265 * abilist/libresolv.abilist: Likewise.
35266 * abilist/librt.abilist: Likewise.
35267 * abilist/libthread_db.abilist: Likewise.
35268 * abilist/libutil.abilist: Likewise.
35269 * abilist/libnss_db.abilist: New file.
35270
35271 * scripts/abilist.awk: Add support for indirect functions.
35272
a2693a0e
UD
35273 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35274
3f05895f
UD
35275 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35276
ecb6fb48
UD
35277 * shlib-versions: Remove entries for ports architectures.
35278
664f8cb9
UD
35279 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35280 files in ports.
35281 * elf/stackguard-macros.h: Remove support for IA-64.
35282 * elf/tst-auditmod1.c: Likewise.
35283 * sysdeps/generic/ldsodefs.h: Likewise.
35284
7ae81d88
UD
35285 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35286 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35287 configure files.
35288
bdeba135
UD
35289 [BZ #13552]
35290 * configure.in: Remove --enable-omitfp support.
35291 * FAQ.in: Adjust.
35292 * config.make.in: Likewise.
35293 * Makeconfig: Likewise.
35294 * manual/install.texi: Likewise.
35295
d75a0a62
UD
35296 In case anyone cares, the IA-64 architecture could move to ports.
35297 * sysdeps/ia64/*: Removed.
35298 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35299 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35300
dcc9756b
UD
35301 [BZ #13555]
35302 * configure.in: Remove entries for unsupported architectures.
35303
d3761ebc 35304 [BZ #13533]
9954432e
UD
35305 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35306 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35307 routines.
35308 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35309 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35310 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35311 fall back to using wcrtomb.
35312 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35313 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35314 renaming.
35315 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35316 * wcsmbs/tst-c16c32-1.c: New file.
35317
35318 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35319 local variable.
35320
c3a87236
UD
35321 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35322
28926a1b
UD
35323 * elf/tst-unique3.cc: Add explicit declaration of gets.
35324 * elf/tst-unique3lib.cc: Likewise.
35325 * elf/tst-unique3lib2.cc: Likewise.
35326 * elf/tst-unique4.cc: Likewise.
35327
df78418a
UD
35328 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35329
8ecd6b2a
JM
353302012-01-06 Joseph Myers <joseph@codesourcery.com>
35331
35332 [BZ #13566]
35333 * assert/assert.h (static_assert): Don't define for C++.
35334 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35335 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35336
9f115170
UD
353372012-01-03 Ulrich Drepper <drepper@gmail.com>
35338
5e0d0300
UD
35339 * iconv/loop.c (single loop): Fix assertion in storing of
35340 remaining bytes.
35341
9f115170
UD
35342 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35343
81fb02b0
UD
353442012-01-01 Ulrich Drepper <drepper@gmail.com>
35345
35346 * posix/getconf.c: Update copyright year.
35347 * nss/getent.c: Likewise.
a316c1f6 35348 * nss/makedb.c: Likewise.
81fb02b0
UD
35349 * iconv/iconvconfig.c: Likewise.
35350 * iconv/iconv_prog.c: Likewise.
35351 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35352 * elf/pldd.c: Likewise.
35353 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35354 * catgets/gencat.c: Likewise.
35355 * csu/version.c: Likewise.
35356 * elf/ldd.bash.in: Likewise.
35357 * elf/sprof.c (print_version): Likewise.
35358 * locale/programs/locale.c: Likewise.
35359 * locale/programs/localedef.c: Likewise.
a316c1f6 35360 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35361 * nscd/nscd.c (print_version): Likewise.
35362 * debug/xtrace.sh: Likewise.
35363 * malloc/memusage.sh: Likewise.
35364 * malloc/mtrace.pl: Likewise.
35365 * debug/catchsegv.sh: Likewise.
35366
2ba92745
JJ
353672011-12-30 Jakub Jelinek <jakub@redhat.com>
35368
35369 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35370 pure attribute.
35371
dadebdae
UD
353722011-12-24 Ulrich Drepper <drepper@gmail.com>
35373
d3761ebc 35374 [BZ #13533]
db6af3eb
UD
35375 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35376 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35377 transformations.
35378 * iconv/gconv_int.h: Likewise.
35379 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35380 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35381 from libc for GLIBC_2.16.
35382 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35383 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35384 * wcsmbs/uchar.h: Really define mbstate_t.
35385 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35386 * wcsmbs/c16rtomb.c: New file.
35387 * wcsmbs/mbrtoc16.c: New file.
35388 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35389 for C/POSIX locale.
35390 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35391 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35392
dadebdae
UD
35393 * wcsmbs/wchar.h: Add missing __restrict.
35394
67371b56
UD
353952011-12-23 Ulrich Drepper <drepper@gmail.com>
35396
74033a25
UD
35397 [BZ #13532]
35398 * time/Makefile (routines): Add timespec_get.
35399 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35400 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35401 timespec for ISO C11.
35402 * time/timespec_get.c: New file.
35403 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35404 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35405
380d7e87
UD
35406 [BZ #13531]
35407 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35408 * stdlib/stdlib.h: Declare aligned_alloc.
35409 * Versions.def: Add GLIBC_2.16 for libc.
35410 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35411
4e9e7a35
UD
35412 [BZ 13527]
35413 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35414 ISO C11.
35415
380d7e87 35416 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35417 code.
35418
03a71829
UD
35419 [BZ #13528]
35420 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35421
839e283e
UD
35422 [BZ #13529]
35423 * assert/assert.h (static_assert): Define.
35424
ce5294e2 35425 * version.h: Update for 2.16 development version.
90fa7312 35426
8d44e150 35427 [BZ #13526]
d7809905
UD
35428 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35429 _ISOC11_SOURCE.
35430
c0da14cd
UD
35431 * version.h (RELEASE): Bump for 2.15 release.
35432 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35433
530a3249
MP
35434 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35435 Patch by Marek Polacek <mpolacek@redhat.com>.
35436
67371b56
UD
35437 * bits/byteswap.h: Protect long long constants with __extension__.
35438 * sysdeps/i386/bits/byteswap.h: Likewise.
35439 * sysdeps/ia64/bits/byteswap.h: Likewise.
35440 * sysdeps/s390/bits/byteswap.h: Likewise.
35441 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35442
15db4de1
LD
354432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35444
35445 [BZ #13540]
bbe315ea
LD
35446 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35447 destination buffer.
15db4de1
LD
35448 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35449
2b2596b1
MP
354502011-12-23 Marek Polacek <polacek@redhat.com>
35451
35452 * elf/dl-addr.c (determine_info): Add inline keyword.
35453 * elf/tst-auditmod4b.c (check_avx): Likewise.
35454 * elf/tst-auditmod6b.c (check_avx): Likewise.
35455 * elf/tst-auditmod6c.c (check_avx): Likewise.
35456 * elf/tst-auditmod7b.c (check_avx): Likewise.
35457
70c6c246
UD
354582011-12-23 Ulrich Drepper <drepper@gmail.com>
35459
35460 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35461 !__SSE_MATH__.
35462
c044cf14
LD
354632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35464
15db4de1 35465 [BZ #13540]
c044cf14
LD
35466 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35467 processing for last bytes.
35468
6b13d9d9
BH
354692011-08-06 Bruno Haible <bruno@clisp.org>
35470
d455f537
BH
35471 [BZ #13061]
35472 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35473 U+0385, not to U+1FEE.
35474
6b13d9d9
BH
35475 [BZ #13062]
35476 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35477 entry for U+00A5 U+0301.
35478
db910efd
UD
354792011-12-22 Ulrich Drepper <drepper@gmail.com>
35480
27deeafc
UD
35481 [BZ #13166]
35482 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35483 buffer for the output is too small.
35484
aed9d171
UD
35485 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35486 optimization.
35487
db910efd
UD
35488 [BZ #13185]
35489 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35490 SSE flags if possible.
35491
2bd779ae
LD
354922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35493
e7f9dac3 35494 [BZ #13540]
2bd779ae
LD
35495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35496 processing for last bytes.
35497
154bfc16
JM
354982011-12-22 Joseph Myers <joseph@codesourcery.com>
35499
35500 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35501 (syscall-list-default-options, syscall-list-default-condition)
35502 (syscall-list-includes): Define.
35503 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35504 list of ABIs and options and #if conditions for each ABI. Do not
35505 handle common syscalls between ABIs specially.
35506 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35507 Remove.
35508 (syscall-list-variants, syscall-list-32bit-options)
35509 (syscall-list-32bit-condition, syscall-list-64bit-options)
35510 (syscall-list-64bit-condition): Define.
35511 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35516 Remove.
35517 (syscall-list-variants, syscall-list-32bit-options)
35518 (syscall-list-32bit-condition, syscall-list-64bit-options)
35519 (syscall-list-64bit-condition): Define.
35520 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35521 Remove.
35522 (syscall-list-variants, syscall-list-32bit-options)
35523 (syscall-list-32bit-condition, syscall-list-64bit-options)
35524 (syscall-list-64bit-condition): Define.
35525
21eaf3a5
UD
355262011-12-22 Ulrich Drepper <drepper@gmail.com>
35527
16c6f992
UD
35528 * locale/iso-639.def: Add brx entry.
35529
41043168
UD
35530 [BZ #13328]
35531 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35532 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35533
21eaf3a5
UD
35534 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35535 __feraiseexcept_renamed.
35536
e3a851a2
UD
355372011-12-21 Ulrich Drepper <drepper@gmail.com>
35538
4920765e
UD
35539 [BZ #13538]
35540 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35541 EPOLLET with unsigned values.
35542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35544
e3a851a2
UD
35545 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35546 to large cancellation.
35547 * math/s_cacoshf.c: Likewise.
35548 * math/s_cacoshl.c: Likewise.
35549
b27e24b8
RK
355502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35551
35552 [BZ #13305]
aebefeee 35553 [BZ #12786]
b27e24b8
RK
35554 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35555 * math/s_cacoshf.c: Likewise.
35556 * math/s_cacoshl.c: Likewise.
35557
ee190f67
UD
355582011-12-21 Ulrich Drepper <drepper@gmail.com>
35559
35560 [BZ #13439]
35561 * iconv/gconv.h: Define __GCONV_SWAP.
35562 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35563 * iconvdata/utf-16.c: Likewise.
35564 * iconvdata/utf-32.c: Likewise.
35565
707f25df
AS
355662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35567
35568 [BZ #13524]
35569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35570 numerator after shifting it by one limb.
35571
d2daaa1e
RÁE
355722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35573
35574 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35575 under [__USE_EXTERN_INLINES].
35576
a4647e72
UD
355772011-12-17 Ulrich Drepper <drepper@gmail.com>
35578
35579 [BZ #13446]
35580 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35581
f0b264f1
AZ
355822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35583
35584 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35585 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35586 optimized code.
35587 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35588 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35589 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35590 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35591 for strncasecmp/strncasecmp_l compilation.
35592 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35593 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35594
8ef4f244
MP
355952011-12-08 Marek Polacek <mpolacek@redhat.com>
35596
35597 [BZ #13484]
35598 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35599 of __asm__.
35600
97ac2654
UD
356012011-12-17 Ulrich Drepper <drepper@gmail.com>
35602
35603 [BZ #13506]
35604 * time/tzfile.c (__tzfile_read): Check values from file header.
35605
91d2a845
WS
356062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35607
35608 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35609 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35610 * powerpc/powerpc32/dl-start.S: Likewise.
35611 * powerpc/powerpc32/elf/start.S: Likewise.
35612 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35613 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35614 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35615 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35616 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35617 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35618 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35619 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35620 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35621 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35622 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35623 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35624 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35625 * powerpc/powerpc32/memset.S: Likewise.
35626 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35627 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35628 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35629 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35630 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35631 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35632 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35633 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35634 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35635 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35636 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35637 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35638 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35639
a1267ba1
AZ
356402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35641
35642 * math/libm-test.inc: Added more nearbyint tests.
35643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35644 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35647
ad8ac1bd
RL
356482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35649
35650 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35651 FD_CLOEXEC.
35652
1d3e4b61
UD
356532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35654
35655 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35656 Add wcscpy-ssse3 wcscpy-c.
35657 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35658 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35659 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35660 * sysdeps/x86_64/wcschr.S: New file.
35661 * sysdeps/x86_64/wcsrchr.S: New file.
35662 * string/test-strcmp.c: Remove checking of wcscmp function for
35663 wrong alignments.
35664 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35665 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35666 wcsrchr-sse2 wcsrchr-c.
35667 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35668 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35669 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35670 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35671 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35672 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35673 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35674 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35675 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35676 * wcsmbc/wcschr.c (WCSCHR): New macro.
35677
5b330a2d
UD
356782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35679
35680 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35681 * wcsmbs/test-wcsrchr.c: New file.
35682 * string/test-strrchr.c: Add wcsrchr support.
35683 (WIDE): New macro.
35684 * wcsmbs/test-wcscpy.c: New file.
35685 * string/test-strcpy.c: Add wcscpy support.
35686 (WIDE): New macro.
26428b7c 35687
f039c043
UD
356882011-12-10 Ulrich Drepper <drepper@gmail.com>
35689
35690 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35691 the inner loop.
35692
850fb039
AS
356932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35694
35695 [BZ #13472]
35696 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35697
4efbd5cb
UD
356982011-12-04 Ulrich Drepper <drepper@gmail.com>
35699
52ff5dd0 35700 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35701 Minor optimizations.
52ff5dd0 35702
4efbd5cb
UD
35703 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35704 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35705 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35706
8a426e12
UD
357072011-12-03 Ulrich Drepper <drepper@gmail.com>
35708
aff2453d
UD
35709 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35710 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35711 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35712 for gcc to avoid warnings.
35713 * inet/Makefile (tests): Add tst-checks.
35714 * inet/tst-checks.c: New file.
35715
35716 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35717 warning.
35718
35719 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35720 __wmemcmp_sse2.
35721
35722 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35723 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35724
8a426e12
UD
35725 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35726
9bea3473
UD
357272011-12-02 Ulrich Drepper <drepper@gmail.com>
35728
3a965496
UD
35729 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35730 problem.
35731
9bea3473
UD
35732 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35733
f101631b
UD
357342011-11-29 Joseph Myers <joseph@codesourcery.com>
35735
35736 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35737 conditional on GCC version.
35738 (__arch_compare_and_exchange_val_8_acq)
35739 (__arch_compare_and_exchange_val_16_acq)
35740 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35741 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35742 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35743
a98275aa
UD
357442011-12-02 Joseph Myers <joseph@codesourcery.com>
35745
35746 * sysdeps/sh/backtrace.c: New file.
35747
d4cc29a2
AS
357482011-12-02 Andreas Schwab <schwab@redhat.com>
35749
35750 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35751 parenthesis.
35752
6257af2d
AS
357532011-12-01 Andreas Schwab <schwab@redhat.com>
35754
35755 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35756 falling back to utime.
35757
b5f44c1a
AS
357582011-11-30 Andreas Schwab <schwab@redhat.com>
35759
35760 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35761 expectations for float.
35762
f3a6cc0a
AS
357632011-11-29 Andreas Schwab <schwab@redhat.com>
35764
35765 * locale/weight.h (findidx): Add parameter len.
35766 * locale/weightwc.h (findidx): Likewise.
35767 * posix/fnmatch_loop.c (FCT): Adjust caller.
35768 * posix/regcomp.c (build_equiv_class): Likewise.
35769 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35770 * posix/regexec.c (check_node_accept_bytes): Likewise.
35771 * string/strcoll_l.c (STRCOLL): Likewise.
35772 * string/strxfrm_l.c (STRXFRM): Likewise.
35773
9d65ea3a
UD
357742011-11-17 Ulrich Drepper <drepper@gmail.com>
35775
35776 * Makefile.in: Remove CVSOPT handling.
35777 * configure.in: Remove use of AC_REVISION.
35778 * iconvdata/Makefile (distribute): No need to filter out CVS.
35779 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35780 handling.
35781
5583a086
AS
357822011-11-16 Andreas Schwab <schwab@redhat.com>
35783
35784 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35785 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35786 [USE_AS_STRNCASECMP_L]: Likewise.
35787 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35788 NO_TLS_DIRECT_SEG_REFS.
35789 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35790 Fix argument offsets for non-PIC.
35791 [USE_AS_STRNCASECMP_L]: Likewise.
35792 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35793 NO_TLS_DIRECT_SEG_REFS.
35794
d62a8200
UD
357952011-11-15 Ulrich Drepper <drepper@gmail.com>
35796
9d65ea3a 35797 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35798 O_CLOEXEC.
35799 * locale/loadlocale.c (_nl_load_locale): Likewise.
35800
09f93bd3
AS
358012011-11-15 Andreas Schwab <schwab@redhat.com>
35802
446514f9
AS
35803 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35804 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35805 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35806 (SYSCALL_GETTIME): Set errno on error.
35807
09f93bd3
AS
35808 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35809 count references to noai6ai_cached.
35810
312be3f9
UD
358112011-11-15 Ulrich Drepper <drepper@gmail.com>
35812
35813 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35814
35815 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35816 FD_CLOEXEC for /proc/self/maps.
35817
35818 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35819 FD_CLOEXEC for /proc/meminfo.
35820
35821 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35822 gai.conf.
35823
35824 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35825 FD_CLOEXEC for given file.
35826
35827 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35828
35829 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35830 FD_CLOEXEC for /etc/hosts.
35831 (_gethtent): Likewise.
35832
35833 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35834
35835 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35836 cancellation and set FD_CLOEXEC for /etc/netgroup.
35837
35838 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35839 reading /etc/publickey.
35840
35841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35842 allow cancellation when reading /etc/group.
35843
35844 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35845 cancellation.
35846 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35847
35848 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35849 when using data file.
35850
35851 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35852
35853 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35854 (write_nis_obj): Use "c" and "e" in fopen.
35855
35856 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35857
35858 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35859
35860 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35861
35862 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35863
35864 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35865 locale.alias.
35866
35867 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35868
35869 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35870
35871 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35872
35873 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35874 file parsing and set FD_CLOEXEC.
35875
82af0fa8
UD
358762011-11-14 Ulrich Drepper <drepper@gmail.com>
35877
35878 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35879
a5fb313c
AS
358802011-11-14 Andreas Schwab <schwab@redhat.com>
35881
35882 * malloc/arena.c (arena_get2): Don't call reused_arena when
35883 _int_new_arena failed.
35884
6abf3465
UD
358852011-11-14 Ulrich Drepper <drepper@gmail.com>
35886
35887 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35888 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35890 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35893 to compile strcasecmp and strncasecmp.
35894 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35895 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35896
35897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35898
76e3966e
UD
358992011-11-13 Ulrich Drepper <drepper@gmail.com>
35900
35901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35902 locale-defines.sym to gen-as-const-headers.
35903 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35904 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35906 to compile strcasecmp and strncasecmp.
35907 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35908 strcasecmp_l and strncasecmp_l.
35909 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35910 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35911 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35912 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35913 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35914 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35915 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35916 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35917 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35918 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35919 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35920
ab26144e
UD
359212011-11-12 Ulrich Drepper <drepper@gmail.com>
35922
7edb22ef
UD
35923 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35924 result of SYSDEP_GETTIME_CPU to retval.
35925 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35926 parameter list to macro. Remove trailing semicolon. Adjust users.
35927
9694fc44
UD
35928 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35929 variable.
35930
8ad89ef8
UD
35931 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35932 mantissa words.
35933 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35934
0c822ef9
UD
35935 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35936 from unused variable.
35937
874e0564
UD
35938 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35939 DWARF definitions.
35940 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35941 for assembling.
35942
3a2edc79
UD
35943 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35944 over namespaces.
35945
f3c2577f
UD
35946 * sunrpc/rpc_prot.c (rejected): Fix case value.
35947
294ce126
UD
35948 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35949 unsigned long long int to avoid warnings in shift.
35950
5e2b63c6
UD
35951 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35952 of use of trans.
35953 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35954 variable tmp.
35955
e7f4b08e
UD
35956 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35957 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35958 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35959
ab26144e
UD
35960 * nis/nis_table.c (nis_list): Use variable of correct type for
35961 result of __follow_path call.
35962
8a6d5255
AZ
359632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35964
35965 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35966 of math functions ceil, trunc, floor, round, and sqrt, when
35967 avaliable on the platform.
35968 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35969 name clash.
35970 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35971 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35972 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35973
aaddc98c
MP
359742011-10-30 Marek Polacek <mpolacek@redhat.com>
35975
35976 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35977 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35978
95b7042b
RM
359792011-11-11 Roland McGrath <roland@hack.frob.com>
35980
35981 * include/unistd.h: Fix __readlink return type.
35982 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35983
57769839
UD
359842011-11-11 Ulrich Drepper <drepper@gmail.com>
35985
35986 * stdlib/ucontext.h: Undo last change for makecontext.
35987
edc5984d
AS
359882011-11-11 Andreas Schwab <schwab@redhat.com>
35989
98591e58
AS
35990 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35991
edc5984d
AS
35992 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35993 * setjmp/setjmp.h: Mark functions as non-leaf.
35994 * setjmp/bits/setjmp2.h: Likewise.
35995 * stdlib/ucontext.h: Likewise.
35996
77cdc054
AS
359972011-11-10 Andreas Schwab <schwab@redhat.com>
35998
35999 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36000 (reused_arena): Don't check arena limit.
36001 (arena_get2): Atomically check arena limit.
36002
fe72eebd
UD
360032011-11-08 Ulrich Drepper <drepper@gmail.com>
36004
5f078c32
UD
36005 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36006 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36007
fe72eebd
UD
36008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36009 instructions.
36010
ae1bc2fa
AS
360112011-11-07 Andreas Schwab <schwab@redhat.com>
36012
7583a88d
AS
36013 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36014 handler when locking.
36015
ae1bc2fa
AS
36016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36017 Fix size of allocated buffer.
36018
10fb0bfa
AS
360192011-11-04 Andreas Schwab <schwab@redhat.com>
36020
998832a4
AS
36021 [BZ #10103]
36022 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36023 declarations for long double functions.
36024 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36025
10fb0bfa
AS
36026 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36027
3d7ba52b
AS
360282011-11-03 Andreas Schwab <schwab@redhat.com>
36029
a9ae54a1
AS
36030 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36031 installed.
36032
3d7ba52b
AS
36033 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36034 is disabled.
36035
bc8db248
ST
360362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36037
36038 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36039
45b96dd6
AS
360402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36041
647776f6
AS
36042 * include/alloca.h (stackinfo_alloca_round): Define.
36043 (extend_alloca): Use it.
36044 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36045 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36046 here.
36047
d91a8b93
AS
36048 * scripts/check-local-headers.sh: Ignore libaudit.h.
36049
45b96dd6
AS
36050 * nscd/Makefile (extra-objs): Make recursively expanded.
36051
432d41ce
UD
360522011-11-01 Ulrich Drepper <drepper@gmail.com>
36053
34372fc6
UD
36054 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36056
fadb59f8
UD
36057 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36058 * posix/tst-rfc3484-2.c: Likewise.
36059 * posix/tst-rfc3484-3.c: Likewise.
36060
78239589
UD
36061 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36062 process_vm_writev.
36063 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36064 process_vm_writev.
36065 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36066 process_vm_writev from libc using GLIBC_2.15 version.
36067
432d41ce
UD
36068 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36069
02f9c6cf
PP
360702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36071
36072 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36073 stack usage.
36074
3a2c0242
UD
360752011-10-31 Ulrich Drepper <drepper@gmail.com>
36076
f4ec4833
UD
36077 [BZ #13367]
36078 * nss/getent.c (initgroups_keys): Show error message in case no group
36079 names are given.
36080
3a2c0242
UD
36081 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36082 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36083 __bump_nl_timestamp.
36084 * nscd/connections (nscd_init): When host database is served open
36085 netlink socket and request notification about configuration changes.
36086 (main_loop_poll): Track netlink file descriptor and bump timestamp
36087 in case data becomes available.
36088 (main_loop_epoll): Likewise.
36089 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36090 (database_pers_head): Add extra_data fileds.
36091 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36092 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36093 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36094 Adjust caller.
36095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36096 in6ai data, call __free_in6ai.
36097 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36098 Add -DHAVE_NETLINK.
36099 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36100 interface information. Reuse previous data if netlink timestamp
36101 is not changed.
36102 (__bump_nl_timestamp): New function.
36103 (__free_in6ai): New function.
36104
636064eb
UD
361052011-10-30 Ulrich Drepper <drepper@gmail.com>
36106
36107 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36108 close_not_cancel_no_status here.
36109 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36110
9beb2334
UD
361112011-10-29 Ulrich Drepper <drepper@gmail.com>
36112
6ef76f3b
UD
36113 [BZ #13276]
36114 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36115 return value.
36116
0ffc4f3e 36117 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36118 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36119 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36120
cb95113e
UD
361212011-07-03 Andreas Jaeger <aj@suse.de>
36122
36123 [BZ #10709]
36124 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36125 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36126 * math/libm-test.inc (sin_test): Add test case.
36127
a1b560ff
UD
361282011-10-29 Ulrich Drepper <drepper@gmail.com>
36129
c9aaface
UD
36130 [BZ #13337]
36131 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36132 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36133
d272e7f1
UD
36134 * elf/chroot_canon.c (chroot_canon): Cleanups.
36135
1bc33071
UD
36136 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36137
1760874d
TJ
36138 [BZ #13335]
36139 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36140 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36141
51d91b18
UD
36142 * string/test-strchr.c: Make usable for strchrnul testing.
36143 * string/test-strchrnul.c: New file.
36144 * string/Makefile (strop-tests): Add strchrnul.
36145
a1b560ff 36146 * po/it.po: Update from translation team.
b611fb81 36147 * po/es.po: Likewise.
a1b560ff 36148
a5b81e1f
UD
361492011-10-28 Ulrich Drepper <drepper@gmail.com>
36150
fd52bc6d
UD
36151 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36152 the three constants needed as parameters. Drop the others.
36153 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36154 __m128i_strloadu_tolower.
52e4b9eb
UD
36155 Create and initialize variable zero and use it in all the places
36156 where _mm_setzero_si128 was used.
fd52bc6d 36157
a5b81e1f
UD
36158 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36159 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36160 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36161 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36162 anymore.
36163 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36164 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36165 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36166 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36167 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36168 __mpranred, __mptan.
36169 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36170 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36171 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36172 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36173 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36174 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36176 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36177 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36178
b4343346
AS
361792011-10-28 Andreas Schwab <schwab@redhat.com>
36180
0c92d8a8
AS
36181 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36182 redefine if SHARED.
36183 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36184
b4343346
AS
36185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36186 wide char related routines to wcsmbs subdir.
36187
3871f58f
AS
361882011-10-27 Andreas Schwab <schwab@redhat.com>
36189
36190 [BZ #13344]
36191 * misc/sys/cdefs.h (__THROWNL): Define.
36192 * posix/unistd.h: Use __THREADNL instead of __THREAD
36193 for memory synchronization functions.
36194
94d44d9f
RM
361952011-10-26 Roland McGrath <roland@hack.frob.com>
36196
21b64b15 36197 [BZ #13349]
94d44d9f
RM
36198 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36199 doesn't exist.
36200 * manual/stdio.texi (Obstack Streams): Node removed.
36201
f6ce9294
AS
362022011-10-26 Andreas Schwab <schwab@redhat.com>
36203
80479147
AS
36204 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36205 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36206 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36207
f6ce9294
AS
36208 * math/math_private.h (math_force_eval): Allow non-addressable
36209 arguments.
36210 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36211
618280a1
UD
362122011-10-25 Ulrich Drepper <drepper@gmail.com>
36213
e0016b11
UD
36214 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36215 file is not needed.
36216
36217 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36218 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36220 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36224 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36225 Add AVX variants.
36226 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36227 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36228 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36229 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36230 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36231 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36232 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36233 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36234 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36235 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36236 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36237 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36239 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36241 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36242 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36243 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36244 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36245
36246 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36247 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36248
618280a1
UD
36249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36250 place. Use VEX encoding when compiling for AVX.
36251
37822576
AS
362522011-10-25 Andreas Schwab <schwab@redhat.com>
36253
1f1e1947
AS
36254 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36255 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36256
37822576
AS
36257 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36258
31ea014d
UD
362592011-10-25 Ulrich Drepper <drepper@gmail.com>
36260
d7826aa1 36261 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36262 useless if() expression.
d7826aa1
UD
36263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36264 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36265 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36267 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36269 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36271 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36272 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36274 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36275 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36276 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36277 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36278 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36279 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36281 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36282
31ea014d
UD
36283 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36284
16437fec
AS
362852011-10-25 Andreas Schwab <schwab@redhat.com>
36286
36287 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36288 condition.
36289 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36290
31d3cc00
UD
362912011-10-25 Ulrich Drepper <drepper@gmail.com>
36292
36293 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36294 .text section. Avoid duplicate constants.
36295 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36297 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36305 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36307 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36308 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36309 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36310 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36311 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36312 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36315 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36316 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36317 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36318 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36319 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36320 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36321 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36322 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36323 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36324 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36325 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36326 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36327 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36328 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36329 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36330 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36331 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36332 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36333 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36334 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36335 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36336 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36337 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36338 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36339 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36340
58985aa9
UD
363412011-10-24 Ulrich Drepper <drepper@gmail.com>
36342
202c9deb
UD
36343 * sysdeps/x86_64/dla.h: Move to ...
36344 * sysdeps/x86_64/fpu/dla.h: ...here.
36345 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36346 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36347
af968f62
UD
36348 * config.make.in: Add have-mfma4 entry.
36349 * configure.in: Substitute libc_cv_cc_fma4.
36350 * math/Makefile (dbl-only-routines): Add sincostab.
36351 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36352 Use __sincostab not sincos.
36353 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36354 name is a macro.
36355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36359 using __copysign.
36360 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36361 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36362 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36363 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36364 and __inv.
36365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36366 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36367 __copysign.
36368 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36369 define aliases when function name is a macro.
36370 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36371 sysdeps/ieee754/dbl-64/sincos.tbl.
36372 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36373 fma4-enabled routines.
36374 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36375 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36376 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36377 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36378 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36379 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36380 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36381 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36382 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36383 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36384 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36385 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36386 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36387 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36388 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36389 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36390 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36391 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36392 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36394 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36395 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36396 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36397 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36398 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36399 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36400 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36401 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36402 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36403 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36404
58985aa9
UD
36405 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36406 rename.
36407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36415
a201fbcf
AS
364162011-10-24 Andreas Schwab <schwab@redhat.com>
36417
36418 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36419
fc2ee42a
LD
364202011-10-23 Ulrich Drepper <drepper@gmail.com>
36421
bb3129bd
UD
36422 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36423
0275fff8
UD
36424 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36425 prediction.
36426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36427
2fa2ae85
UD
36428 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36429 Remove unused variable magic_bits.
36430 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36431
fc2ee42a
LD
36432 * string/strnlen.c: Define and use STRNLEN macro.
36433 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36434 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36435 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36436 * wcsmbs/wcslen.c: Define and use WCSLEN.
36437 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36438 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36439 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36440 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36441 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36442 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36443 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36444
ce7dd29f
LD
364452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36446
36447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36448 strnlen-sse2-no-bsf.
36449 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36450 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36451 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36452 Add strnlen support.
36453 (USE_AS_STRNLEN): New macro.
36454 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36455 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36456 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36457 * sysdeps/x86_64/wcslen.S: New file.
36458
979c70a3
MZ
364592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36460
36461 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36462 XMM-moves are used for copying on small sizes.
36463
2d09f82f
LD
364642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36465
36466 * wcsmbs/Makefile (strop-tests): Add wcschr.
36467 * wcsmbs/test-wcschr.c: New file.
36468 * string/test-strchr.c: Update.
36469 Add wcschr support.
36470 (WIDE): New macro.
36471
619fccca
LD
364722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36473
2d09f82f 36474 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36475 * wcsmbs/test-wcslen.c: New file.
36476 * string/test-strlen.c: Update.
36477 Add wcslen support.
36478 (WIDE): New macro.
36479
09f699ea
UD
364802011-10-23 Ulrich Drepper <drepper@gmail.com>
36481
36482 * po/it.po: Update from translation team.
36483
95584d3b
LD
364842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36485
36486 * sysdeps/x86_64/wcscmp.S: Update.
36487 Fix wrong comparison semantics.
36488 wcscmp shall use signed comparison not unsigned.
36489 Don't use substraction to avoid overflow bug.
36490 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36491 * wcsmbc/wcscmp.c: Likewise.
36492 * string/test-strcmp.c: Likewise.
36493 Add new tests to check cases with negative values.
36494
c8b3296b
UD
364952011-10-23 Ulrich Drepper <drepper@gmail.com>
36496
36497 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36498 * sysdeps/x86_64/dla.h: ...here. New file.
36499 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36508
246ad57a
AS
365092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36510
36511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36512 __ynl_finite aliases.
36513
a1a87169
UD
365142011-10-22 Ulrich Drepper <drepper@gmail.com>
36515
0d355eb7
UD
36516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36517
a1a87169
UD
36518 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36519 define DLA_FMA.
36520 [DLA_FMA] (EMULV): Use DLA_FMA.
36521 [DLA_FMA] (MUL12): Use EMULV.
36522 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36523 that are not needed.
36524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36531
ee2aafe0
AS
365322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36533
36534 * math/s_nan.c: Undef __nan.
36535 * math/s_nanf.c: Undef __nanf.
36536 * math/s_nanl.c: Undef __nanl.
36537 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36538 "math_private.h".
36539
bc62c2fb
UD
365402011-10-22 Ulrich Drepper <drepper@gmail.com>
36541
77425c63
UD
36542 * math/s_catan.c: Add branch predictions.
36543 * math/s_catanf.c: Likewise.
36544 * math/s_catanh.c: Likewise.
36545 * math/s_catanhf.c: Likewise.
36546 * math/s_catanhl.c: Likewise.
36547 * math/s_catanl.c: Likewise.
36548 * math/s_cexp.c: Likewise.
36549 * math/s_cexpf.c: Likewise.
36550 * math/s_cexpl.c: Likewise.
36551 * math/s_clog.c: Likewise.
36552 * math/s_clog10.c: Likewise.
36553 * math/s_clog10f.c: Likewise.
36554 * math/s_clog10l.c: Likewise.
36555 * math/s_clogf.c: Likewise.
36556 * math/s_clogl.c: Likewise.
36557 * math/s_csqrt.c: Likewise.
36558 * math/s_csqrtf.c: Likewise.
36559 * math/s_csqrtl.c: Likewise.
36560 * math/s_ctanf.c: Likewise.
36561 * math/s_ctanh.c: Likewise.
36562 * math/s_ctanhf.c: Likewise.
36563 * math/s_ctanhl.c: Likewise.
36564 * math/s_ctanl.c: Likewise.
36565
bc62c2fb
UD
36566 * math/math_private.h: Define __nan, __nanf, __nanl.
36567 * math/s_cacosh.c: Include <math_private.h>.
36568 * math/s_cacoshl.c: Likewise.
36569 * math/s_casinh.c: Likewise.
36570 * math/s_casinhf.c: Likewise.
36571 * math/s_casinhl.c: Likewise.
36572 * math/s_ccos.c: Rely entire on ccosh.
36573 * math/s_ccosf.c: Rely entire on ccoshf.
36574 * math/s_ccosl.c: Rely entirely on ccoshl.
36575 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36576 Remove tests for FE_INVALID.
36577 * math/s_ccoshf.c: Likewise.
36578 * math/s_ccoshl.c: Likewise.
36579 * math/s_csin.c: Likewise.
36580 * math/s_csinf.c: Likewise.
36581 * math/s_csinh.c Likewise.
36582 * math/s_csinhf.c: Likewise.
36583 * math/s_csinhl.c: Likewise.
36584 * math/s_csinl.c: Likewise.
36585 * math/s_ctan.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36587 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36588 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36589
8ec250a4
UD
365902011-10-21 Ulrich Drepper <drepper@gmail.com>
36591
c196fed8
UD
36592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36593 compilation problems.
36594
8ec250a4
UD
36595 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36596 __builtin_expect.
36597
8d4f46c6
UD
365982011-10-20 Ulrich Drepper <drepper@gmail.com>
36599
ed72b654
UD
36600 * sysdeps/i386/configure.in: Test for -mfma4 option.
36601 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36602 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36603 COMMON_CPUID_INDEX_80000001.
36604 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36605 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36606 use it if FMA3 is not supported.
36607 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36608
8d4f46c6
UD
36609 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36610 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36611
d45c60c2
AS
366122011-10-20 Andreas Schwab <schwab@redhat.com>
36613
36614 [BZ #12892]
36615 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36616 it would create a cycle with a link time dependency.
36617
d9a4d2ab
UD
366182011-10-19 Ulrich Drepper <drepper@gmail.com>
36619
855d1560
UD
36620 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36621 instruction.
36622 * string/Makefile (strop-tests): Add rawmemchr.
36623 * string/test-rawmemchr.c: New file.
36624
d9a4d2ab
UD
36625 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36626 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36627 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36628 when compiling str{,n}casecmp and when AVX is available. Hook up
36629 new optimized code in initializers.
36630
8f3b1ffe
AS
366312011-10-19 Andreas Schwab <schwab@redhat.com>
36632
36633 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36634 __feraiseexcept instead of feraiseexcept.
36635
d38f1dba
UD
366362011-10-18 Ulrich Drepper <drepper@gmail.com>
36637
d9a8d0ab
UD
36638 * math/math_private.h: Define defaults for libc_fetestexcept and
36639 libc_feupdateenv.
36640 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36641 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36642 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36643 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36644 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36645 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36646 libc_fetestexcept and libc_feupdateenv.
36647
4855e3dd
UD
36648 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36649 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36650 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36651 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36652 libc_feholdexcept_setround.
36653
581d30e3
UD
36654 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36655 Add s_nearbyint-c and s_nearbyintf-c.
36656 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36657 nearbyintf inlines.
36658 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36659 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36660 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36661 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36662
d38f1dba
UD
36663 * math/math_private.h: Define defaults for libc_fegetround,
36664 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36665 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36666 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36667 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36668 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36669 standard functions.
36670 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36671 Remove comments and hacks for old compiler versions.
36672 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36673 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36674 libc_feholdexceptl.
36675
caa6c9d8
AS
366762011-10-18 Andreas Schwab <schwab@redhat.com>
36677
36678 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36679 (__feraiseexcept_renamed): Add __NTH.
36680 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36681 namespace violations.
36682
97c066e6
UD
366832011-10-17 Ulrich Drepper <drepper@gmail.com>
36684
99ce7b04
UD
36685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36686
1004d182
UD
36687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36688
228a984d
UD
36689 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36690 recently added interfaces.
36691 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36692
c8553a6a
UD
36693 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36694 about macro parameter expansion.
36695
ed22dcf6
UD
36696 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36697 __NO_MATH_INLINES is defined. Cleanups.
36698
36699 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36700 and __floorf is target has SSE4.1.
36701 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36702 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36703 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36704 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36705
b171c137
UD
36706 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36707 name.
36708 (floorf): Likewise.
36709
97c066e6
UD
36710 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36711
629f62ef
AS
367122011-10-17 Andreas Schwab <schwab@redhat.com>
36713
49a43d80
AS
36714 * misc/sys/cdefs.h: Fix last change.
36715
629f62ef
AS
36716 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36717 database lookup.
36718
e453f6cd
UD
367192011-10-16 Ulrich Drepper <drepper@gmail.com>
36720
aa78043a
UD
36721 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36722
ad0f5cad
UD
36723 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36726 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36727 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36729 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36730 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36731 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36732 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36733 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36734 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36735 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36736 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36737 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36738 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36739 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36740 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36741 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36742 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36743 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36744 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36745
36746 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36747 ceil, ceilf, floor, floorf.
36748
36749 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36750 Perform IRELATIVE relocations last.
36751
e453f6cd
UD
36752 * elf/do-rel.h: Add another parameter nrelative, replacing the
36753 local variable with the same name. Change name of the function
36754 to end in Rel or Rela (uppercase).
36755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36756 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36757 elf_dynamic_do_##reloc function.
36758
fd5bdc09
UD
367592011-10-15 Ulrich Drepper <drepper@gmail.com>
36760
79b195b5
UD
36761 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36762 is sufficient, at least on modern CPUs.
36763
d4a28569
UD
36764 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36765
b61099b5
UD
36766 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36767 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36768
bcf01e6d
UD
36769 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36770 __expl_finite.
36771 * math/bits/math-finite.h: Add entries for exp.
36772 * math/e_expl.c: Add __*_finite alias.
36773 * sysdeps/i386/fpu/e_exp.S: Likewise.
36774 * sysdeps/i386/fpu/e_expf.S: Likewise.
36775 * sysdeps/i386/fpu/e_expl.c: Likewise.
36776 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36777 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36778 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36780 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36781 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36782 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36783
ba1a0d59
UD
36784 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36785 is sufficient, at least on modern CPUs.
36786
fd5bdc09
UD
36787 * ctype/ctype-info.c (__ctype_init): Define.
36788 * include/ctype.h (__ctype_init): Declare.
36789 (__ctype_b_loc): The variable is always initialized.
36790 (__ctype_toupper_loc): Likewise.
36791 (__ctype_tolower_loc): Likewise.
36792 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36793 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36794
7872cfb0
AS
367952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36796
b468825a
AS
36797 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36798
7872cfb0
AS
36799 * configure.in: Also look in $cxxmachine/include for C++ system
36800 headers.
36801
be13f7bf
LD
368022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36803
36804 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36805 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36806 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36807 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36808 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36809 (USE_AS_WMEMCMP): New macro.
36810 Fixing indents.
36811 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36812 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36813 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36814 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36816 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36817 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36818 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36819 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36820 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36821 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36822 (USE_AS_WMEMCMP): New macro.
36823 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36824 * sysdeps/string/test-memcmp.c: Update.
36825 Fix simple_wmemcmp.
36826 Add new tests.
36827 * wcsmbs/wmemcmp.c: Update.
36828 (WMEMCMP): New macro.
36829 Fix overflow bug.
36830
556a2007
AJ
368312011-10-12 Andreas Jaeger <aj@suse.de>
36832
36833 [BZ #13268]
36834 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36835
538faaa7
UD
368362011-10-15 Ulrich Drepper <drepper@gmail.com>
36837
ab6737ff
UD
36838 * libio/iofwide.c (do_length): Avoid warning.
36839
538faaa7
UD
36840 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36841
396a21b1
UD
368422011-10-14 Ulrich Drepper <drepper@gmail.com>
36843
cdf2901f
UD
36844 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36845
38ad40ce
UD
36846 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36847 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36848 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36849 * sysdeps/i386/i686/fpu/e_log.S: New file.
36850 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36851 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36852
396a21b1
UD
36853 * ctype/ctype.h: Add support for inlined isXXX functions when
36854 compiling C++ code.
36855
6b1f68c9
AS
368562011-10-14 Andreas Schwab <schwab@redhat.com>
36857
349290c0
AS
36858 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36859
6b1f68c9
AS
36860 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36861
f2282d42
RM
368622011-10-13 Roland McGrath <roland@hack.frob.com>
36863
36864 [BZ #13291]
36865 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36866
5298ffa8
AS
368672011-10-13 Andreas Schwab <schwab@redhat.com>
36868
714fad23
AS
36869 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36870 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36871 feraiseexcept.
36872
81dcc7fb
AS
36873 * sysdeps/x86_64/memrchr.S: Check for zero size.
36874
5298ffa8
AS
36875 * string/stratcliff.c: Add memrchr tests.
36876
951fbcec
LD
368772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36878
36879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36880 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36881 rawmemchr-sse2 rawmemchr-sse2-bsf.
36882 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36883 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36884 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36885 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36886 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36887 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36888 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36889 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36890 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36891 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36892 * string/memrchr.c (MEMRCHR): New macro.
36893
0ac5ae23
UD
368942011-10-12 Ulrich Drepper <drepper@gmail.com>
36895
36896 Add integration with gcc's -ffinite-math-only and optimize wrapper
36897 functions in libm.
36898 * Versions.def: Define GLIBC_2.15 version for libm.
36899 * math/Makefile (headers): Add bits/math-finite.h.
36900 * math/bits/math-finite.h: New file.
36901 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36902 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36903 * math/e_acoshl.c: Add __*_finite alias.
36904 * math/e_acosl.c: Likewise.
36905 * math/e_asinl.c: Likewise.
36906 * math/e_atan2l.c: Likewise.
36907 * math/e_atanhl.c: Likewise.
36908 * math/e_coshl.c: Likewise.
36909 * math/e_exp10.c: Likewise.
36910 * math/e_exp10f.c: Likewise.
36911 * math/e_exp10l.c: Likewise.
36912 * math/e_exp2l.c: Likewise.
36913 * math/e_fmodl.c: Likewise.
36914 * math/e_gammal_r.c: Likewise.
36915 * math/e_hypotl.c: Likewise.
36916 * math/e_j0l.c: Likewise.
36917 * math/e_j1l.c: Likewise.
36918 * math/e_jnl.c: Likewise.
36919 * math/e_lgammal_r.c: Likewise.
36920 * math/e_log10l.c: Likewise.
36921 * math/e_log2l.c: Likewise.
36922 * math/e_logl.c: Likewise.
36923 * math/e_powl.c: Likewise.
36924 * math/e_sinhl.c: Likewise.
36925 * math/e_sqrtl.c: Likewise.
36926 * math/e_scalb.c: Completely rewritten and optimized.
36927 * math/e_scalbf.c: Likewise.
36928 * math/e_scalbl.c: Likewise.
36929 * math/w_acos.c: Likewise.
36930 * math/w_acosf.c: Likewise.
36931 * math/w_acosl.c: Likewise.
36932 * math/w_acosh.c: Likewise.
36933 * math/w_acoshf.c: Likewise.
36934 * math/w_acoshl.c: Likewise.
36935 * math/w_asin.c: Likewise.
36936 * math/w_asinf.c: Likewise.
36937 * math/w_asinl.c: Likewise.
36938 * math/w_atan2.c: Likewise.
36939 * math/w_atan2f.c: Likewise.
36940 * math/w_atan2l.c: Likewise.
36941 * math/w_atanh.c: Likewise.
36942 * math/w_atanhf.c: Likewise.
36943 * math/w_atanhl.c: Likewise.
36944 * math/w_exp10.c: Likewise.
36945 * math/w_exp10f.c: Likewise.
36946 * math/w_exp10l.c: Likewise.
36947 * math/w_fmod.c: Likewise.
36948 * math/w_fmodf.c: Likewise.
36949 * math/w_fmodl.c: Likewise.
36950 * math/w_j0.c: Likewise.
36951 * math/w_j0f.c: Likewise.
36952 * math/w_j0l.c: Likewise.
36953 * math/w_j1.c: Likewise.
36954 * math/w_j1f.c: Likewise.
36955 * math/w_j1l.c: Likewise.
36956 * math/w_jn.c: Likewise.
36957 * math/w_jnf.c: Likewise.
36958 * math/w_log.c: Likewise.
36959 * math/w_logf.c: Likewise.
36960 * math/w_logl.c: Likewise.
36961 * math/w_log10.c: Likewise.
36962 * math/w_log10f.c: Likewise.
36963 * math/w_log10l.c: Likewise.
36964 * math/w_log2.c: Likewise.
36965 * math/w_log2f.c: Likewise.
36966 * math/w_log2l.c: Likewise.
36967 * math/w_pow.c: Likewise.
36968 * math/w_powf.c: Likewise.
36969 * math/w_powl.c: Likewise.
36970 * math/w_remainder.c: Likewise.
36971 * math/w_remainderf.c: Likewise.
36972 * math/w_remainderl.c: Likewise.
36973 * math/w_scalb.c: Likewise.
36974 * math/w_scalbf.c: Likewise.
36975 * math/w_scalbl.c: Likewise.
36976 * math/w_sqrt.c: Likewise.
36977 * math/w_sqrtf.c: Likewise.
36978 * math/w_sqrtl.c: Likewise.
36979 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36980 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36981 used.
36982 * math/math_private.h: Declare __kernel_standard_f.
36983 * math/w_cosh.c: Remove cruft and optimize a bit.
36984 * math/w_coshf.c: Likewise.
36985 * math/w_coshl.c: Likewise.
36986 * math/w_exp2.c: Likewise.
36987 * math/w_exp2f.c: Likewise.
36988 * math/w_exp2l.c: Likewise.
36989 * math/w_hypot.c: Likewise.
36990 * math/w_hypotf.c: Likewise.
36991 * math/w_hypotl.c: Likewise.
36992 * math/w_lgamma.c: Likewise.
36993 * math/w_lgamma_r.c: Likewise.
36994 * math/w_lgammaf.c: Likewise.
36995 * math/w_lgammaf_r.c: Likewise.
36996 * math/w_lgammal.c: Likewise.
36997 * math/w_lgammal_r.c: Likewise.
36998 * math/w_sinh.c: Likewise.
36999 * math/w_sinhf.c: Likewise.
37000 * math/w_sinhl.c: Likewise.
37001 * math/w_tgamma.c: Likewise.
37002 * math/w_tgammaf.c: Likewise.
37003 * math/w_tgammal.c: Likewise.
37004 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37005 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37006 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37007 Minor optimizations. Pretty printing. Remove cruft.
37008 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37010 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37011 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37012 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37013 * sysdeps/i386/fpu/e_asin.S: Likewise.
37014 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37015 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37016 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37017 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37018 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37020 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37021 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37022 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37023 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37024 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37025 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37026 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37027 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37028 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37029 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37030 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37031 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37032 * sysdeps/i386/fpu/e_log.S: Likewise.
37033 * sysdeps/i386/fpu/e_log10.S: Likewise.
37034 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37035 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37036 * sysdeps/i386/fpu/e_log2.S: Likewise.
37037 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37038 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37039 * sysdeps/i386/fpu/e_logf.S: Likewise.
37040 * sysdeps/i386/fpu/e_logl.S: Likewise.
37041 * sysdeps/i386/fpu/e_pow.S: Likewise.
37042 * sysdeps/i386/fpu/e_powf.S: Likewise.
37043 * sysdeps/i386/fpu/e_powl.S: Likewise.
37044 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37045 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37046 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37047 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37048 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37049 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37050 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37051 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37052 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37074 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37075 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37076 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37077 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37078 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37079 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37080 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37081 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37082 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37083 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37084 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37085 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37086 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37087 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37088 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37089 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37090 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37091 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37092 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37093 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37094 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37136 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37138 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37139 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37144 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37145 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37146 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37147 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37148 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37149 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37150 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37151 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37152 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37153 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37154 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37155 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37156 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37157 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37158 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37159 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37160 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37161 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37162 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37163 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37164 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37165 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37166 (__isnanf): Likewise.
37167 (__isinf_ns): Likewise.
37168 (__isinf_nsf): Likewise.
37169 (__finite): Likewise.
37170 (__finitef): Likewise.
37171 (__ieee754_sqrt): Define as macro.
37172 (__ieee754_sqrtf): Define as macro.
37173 (__ieee754_sqrtl): Define as macro.
37174 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37175 inlined copy.
37176 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37177 __FINITE_MATH_ONLY__ consistent.
37178 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37179
12cc2fcd
AS
371802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37181
a843a204
AS
37182 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37183 of rawmemchr.
37184
12cc2fcd
AS
37185 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37186
c853acd5
UD
371872011-10-09 Ulrich Drepper <drepper@gmail.com>
37188
37189 * po/ja.po: Update from translation team.
37190
c658d255
RM
371912011-10-08 Roland McGrath <roland@hack.frob.com>
37192
110946e4
RM
37193 * locale/programs/locarchive.c (prepare_address_space): New function.
37194 (create_archive, enlarge_archive, open_archive): Use it.
37195
50604220
RM
37196 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37197 inside [SHARED], where it is used.
37198
c658d255
RM
37199 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37200
37201 * nss/getent.c (netgroup_keys): Remove unused variable.
37202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37203
6a621eb7
UD
372042011-10-08 Ulrich Drepper <drepper@gmail.com>
37205
7edb55ce
UD
37206 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37207 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37209 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37210 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37211 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37212 * math/Makefile (libm-calls): Add s_isinf_ns.
37213 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37214 * math/multc3.c: Likewise.
37215 * math/s_casin.c: Likewise.
37216 * math/s_casinf.c: Likewise.
37217 * math/s_casinl.c: Likewise.
37218 * math/s_ccos.c: Likewise.
37219 * math/s_ccosf.c: Likewise.
37220 * math/s_ccosl.c: Likewise.
37221 * math/s_ctan.c: Likewise.
37222 * math/s_ctanf.c: Likewise.
37223 * math/s_ctanh.c: Likewise.
37224 * math/s_ctanhf.c: Likewise.
37225 * math/s_ctanhl.c: Likewise.
37226 * math/s_ctanl.c: Likewise.
37227 * math/w_fmod.c: Likewise.
37228 * math/w_fmodf.c: Likewise.
37229 * math/w_fmodl.c: Likewise.
37230 * math/w_remainder.c: Likewise.
37231 * math/w_remainderf.c: Likewise.
37232 * math/w_remainderl.c: Likewise.
37233 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37234 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37235 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37237 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37238 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37239 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37240 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37241
187da0ae
UD
37242 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37243 of the number.
37244 * stdio-common/printf_fphex.c: Likewise.
37245 * stdio-common/printf_size.c: Likewise.
37246
9277c064
UD
37247 * math/e_exp10.c: Include math_private.h using <...> not "...".
37248 * math/e_exp10f.c: Likewise.
37249 * math/e_exp10l.c: Likewise.
37250 * math/e_exp2l.c: Likewise.
37251 * math/e_j0l.c: Likewise.
37252 * math/e_j1l.c: Likewise.
37253 * math/e_jnl.c: Likewise.
37254 * math/e_lgammal_r.c: Likewise.
37255 * math/e_rem_pio2l.c: Likewise.
37256 * math/e_scalb.c: Likewise.
37257 * math/e_scalbf.c: Likewise.
37258 * math/e_scalbl.c: Likewise.
37259 * math/k_cosl.c: Likewise.
37260 * math/k_sinl.c: Likewise.
37261 * math/k_tanl.c: Likewise.
37262 * math/s_cacoshf.c: Likewise.
37263 * math/s_catan.c: Likewise.
37264 * math/s_catanf.c: Likewise.
37265 * math/s_catanh.c: Likewise.
37266 * math/s_catanhf.c: Likewise.
37267 * math/s_catanhl.c: Likewise.
37268 * math/s_catanl.c: Likewise.
37269 * math/s_ccosh.c: Likewise.
37270 * math/s_ccoshf.c: Likewise.
37271 * math/s_ccoshl.c: Likewise.
37272 * math/s_cexp.c: Likewise.
37273 * math/s_cexpf.c: Likewise.
37274 * math/s_cexpl.c: Likewise.
37275 * math/s_clog.c: Likewise.
37276 * math/s_clog10.c: Likewise.
37277 * math/s_clog10f.c: Likewise.
37278 * math/s_clog10l.c: Likewise.
37279 * math/s_clogf.c: Likewise.
37280 * math/s_clogl.c: Likewise.
37281 * math/s_csin.c: Likewise.
37282 * math/s_csinf.c: Likewise.
37283 * math/s_csinh.c: Likewise.
37284 * math/s_csinhf.c: Likewise.
37285 * math/s_csinhl.c: Likewise.
37286 * math/s_csinl.c: Likewise.
37287 * math/s_csqrt.c: Likewise.
37288 * math/s_csqrtf.c: Likewise.
37289 * math/s_csqrtl.c: Likewise.
37290 * math/s_ctan.c: Likewise.
37291 * math/s_ctanf.c: Likewise.
37292 * math/s_ctanh.c: Likewise.
37293 * math/s_ctanhf.c: Likewise.
37294 * math/s_ctanhl.c: Likewise.
37295 * math/s_ctanl.c: Likewise.
37296 * math/s_ldexp.c: Likewise.
37297 * math/s_ldexpf.c: Likewise.
37298 * math/s_ldexpl.c: Likewise.
37299 * math/s_significand.c: Likewise.
37300 * math/s_significandf.c: Likewise.
37301 * math/s_significandl.c: Likewise.
37302 * math/w_acos.c: Likewise.
37303 * math/w_acosf.c: Likewise.
37304 * math/w_acosh.c: Likewise.
37305 * math/w_acoshf.c: Likewise.
37306 * math/w_acoshl.c: Likewise.
37307 * math/w_acosl.c: Likewise.
37308 * math/w_asin.c: Likewise.
37309 * math/w_asinf.c: Likewise.
37310 * math/w_asinl.c: Likewise.
37311 * math/w_atan2.c: Likewise.
37312 * math/w_atan2f.c: Likewise.
37313 * math/w_atan2l.c: Likewise.
37314 * math/w_atanh.c: Likewise.
37315 * math/w_atanhf.c: Likewise.
37316 * math/w_atanhl.c: Likewise.
37317 * math/w_cosh.c: Likewise.
37318 * math/w_coshf.c: Likewise.
37319 * math/w_coshl.c: Likewise.
37320 * math/w_dremf.c: Likewise.
37321 * math/w_exp10.c: Likewise.
37322 * math/w_exp10f.c: Likewise.
37323 * math/w_exp10l.c: Likewise.
37324 * math/w_exp2.c: Likewise.
37325 * math/w_exp2f.c: Likewise.
37326 * math/w_fmod.c: Likewise.
37327 * math/w_fmodf.c: Likewise.
37328 * math/w_fmodl.c: Likewise.
37329 * math/w_hypot.c: Likewise.
37330 * math/w_hypotf.c: Likewise.
37331 * math/w_hypotl.c: Likewise.
37332 * math/w_j0.c: Likewise.
37333 * math/w_j0f.c: Likewise.
37334 * math/w_j0l.c: Likewise.
37335 * math/w_j1.c: Likewise.
37336 * math/w_j1f.c: Likewise.
37337 * math/w_j1l.c: Likewise.
37338 * math/w_jn.c: Likewise.
37339 * math/w_jnf.c: Likewise.
37340 * math/w_jnl.c: Likewise.
37341 * math/w_lgamma.c: Likewise.
37342 * math/w_lgamma_r.c: Likewise.
37343 * math/w_lgammaf.c: Likewise.
37344 * math/w_lgammaf_r.c: Likewise.
37345 * math/w_lgammal.c: Likewise.
37346 * math/w_lgammal_r.c: Likewise.
37347 * math/w_log.c: Likewise.
37348 * math/w_log10.c: Likewise.
37349 * math/w_log10f.c: Likewise.
37350 * math/w_log10l.c: Likewise.
37351 * math/w_log2.c: Likewise.
37352 * math/w_log2f.c: Likewise.
37353 * math/w_log2l.c: Likewise.
37354 * math/w_logf.c: Likewise.
37355 * math/w_logl.c: Likewise.
37356 * math/w_pow.c: Likewise.
37357 * math/w_powf.c: Likewise.
37358 * math/w_powl.c: Likewise.
37359 * math/w_remainder.c: Likewise.
37360 * math/w_remainderf.c: Likewise.
37361 * math/w_remainderl.c: Likewise.
37362 * math/w_scalb.c: Likewise.
37363 * math/w_scalbf.c: Likewise.
37364 * math/w_scalbl.c: Likewise.
37365 * math/w_sinh.c: Likewise.
37366 * math/w_sinhf.c: Likewise.
37367 * math/w_sinhl.c: Likewise.
37368 * math/w_sqrt.c: Likewise.
37369 * math/w_sqrtf.c: Likewise.
37370 * math/w_sqrtl.c: Likewise.
37371 * math/w_tgamma.c: Likewise.
37372 * math/w_tgammaf.c: Likewise.
37373 * math/w_tgammal.c: Likewise.
37374
6a621eb7
UD
37375 * po/ja.po: Update from translation team.
37376
bf582445
AJ
373772011-09-29 Andreas Jaeger <aj@suse.de>
37378
f9efbf3a
AJ
37379 [BZ #13179]
37380 * sunrpc/netname.c (netname2host): Fix logic.
37381
bf582445
AJ
37382 [BZ #6779]
37383 [BZ #6783]
37384 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37385 correctly.
37386 * math/w_remainder.c (__remainder): Likewise.
37387 * math/w_remainderf.c (__remainderf): Likewise.
37388 * math/libm-test.inc (remainder_test): Add test cases.
37389
48693bea
AK
373902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37391
37392 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37393 sdiv_qrnnd.
37394
42622229
LD
373952011-10-07 Ulrich Drepper <drepper@gmail.com>
37396
37397 * string/test-memcmp.c: Avoid unncessary #defines.
37398 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37399
093ecf92
LD
374002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37401
37402 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37403 Use new sse2 version for core i3 - i7 as it's faster
37404 than sse42 version.
37405 (bit_Prefer_PMINUB_for_stringop): New.
37406 * sysdeps/x86_64/rawmemchr.S: Update.
37407 Replace with faster SSE2 version.
37408 * sysdeps/x86_64/memrchr.S: New file.
37409 * sysdeps/x86_64/memchr.S: Update.
37410 Replace with faster SSE2 version.
37411
fde56e5c
MP
374122011-09-12 Marek Polacek <mpolacek@redhat.com>
37413
37414 * elf/dl-load.c (lose): Add cast to avoid warning.
37415
21fd49a9
UD
374162011-10-07 Ulrich Drepper <drepper@gmail.com>
37417
5a06e643
UD
37418 * po/ca.po: Update from translation team.
37419
684ae515
UD
37420 * inet/getnetgrent_r.c: Hook up nscd.
37421 * nscd/Makefile (routines): Add nscd_netgroup.
37422 (nscd-modules): Add netgroupcache.
37423 (CFLAGS-netgroupcache.c): Define.
37424 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37425 (cache_search): Add const to second parameter.
37426 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37427 INNETGR.
37428 (dbs): Add netgrdb entry.
37429 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37430 (verify_persistent_db): Handle netgrdb.
37431 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37432 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37433 GETFDNETGR.
37434 (netgroup_response_header): Define.
37435 (innetgroup_response_header): Define.
37436 (datahead): Add netgroup_response_header and innetgroup_response_header
37437 elements.
37438 * nscd/nscd.conf: Add entries for netgroup cache.
37439 * nscd/nscd.h (dbtype): Add netgrdb.
37440 (_PATH_NSCD_NETGROUP_DB): Define.
37441 (netgroup_iov_disabled): Declare.
37442 (xmalloc, xcalloc, xrealloc): Move declarations here.
37443 (cache_search): Adjust prototype.
37444 Add netgroup-related prototypes.
37445 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37446 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37447 (__nscd_innetgr): Declare.
37448 * nscd/selinux.c (perms): Use access_vector_t as element type and
37449 add netgroup-related initializers.
37450 * nscd/netgroupcache.c: New file.
37451 * nscd/nscd_netgroup.c: New file.
37452 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37453 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37454 For four parameters use innetgr.
37455 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37456 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37457 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37458 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37459
21fd49a9
UD
37460 * nscd/connections.c (register_traced_file): Don't register file
37461 for disabled databases.
37462
054c0457
UD
374632011-10-06 Ulrich Drepper <drepper@gmail.com>
37464
32b63198
UD
37465 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37466
054c0457
UD
37467 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37468 from tree and freeing node.
37469
64031225
JO
374702011-09-25 Jiri Olsa <jolsa@redhat.com>
37471
37472 * nss/nsswitch.c (__nss_database_lookup): Handle
37473 nss_parse_service_list out of memory case.
37474
0490345c
JO
374752011-09-15 Jiri Olsa <jolsa@redhat.com>
37476
37477 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37478 out of memory case.
37479
3a62d00d
AS
374802011-10-04 Andreas Schwab <schwab@redhat.com>
37481
37482 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37483 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37484 pass it down.
37485 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37486 elf_machine_rela, elf_machine_lazy_rel.
37487 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37488 (ELF_DYNAMIC_DO_REL): Likewise.
37489 (ELF_DYNAMIC_DO_RELA): Likewise.
37490 (ELF_DYNAMIC_RELOCATE): Likewise.
37491 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37492 to ELF_DYNAMIC_DO_REL.
37493 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37494 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37495 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37496 elf_machine_rela.
37497 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37498 skip_ifunc, don't call ifunc function if non-zero.
37499 (elf_machine_rela): Likewise.
37500 (elf_machine_lazy_rel): Likewise.
37501 (elf_machine_lazy_rela): Likewise.
37502 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37503 (elf_machine_lazy_rel): Likewise.
37504 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37505 Likewise.
37506 (elf_machine_lazy_rel): Likewise.
37507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37508 Likewise.
37509 (elf_machine_lazy_rel): Likewise.
37510 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37511 (elf_machine_lazy_rel): Likewise.
37512 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37513 (elf_machine_lazy_rel): Likewise.
37514 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37515 (elf_machine_lazy_rel): Likewise.
37516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37517 (elf_machine_lazy_rel): Likewise.
37518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37519 (elf_machine_lazy_rel): Likewise.
37520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37521 (elf_machine_lazy_rel): Likewise.
37522
68577918
UD
375232011-09-28 Ulrich Drepper <drepper@gmail.com>
37524
37525 * nss/nss_files/files-init.c (_nss_files_init): Use static
37526 initialization for all the *_traced_file variables.
37527
68822d74
AS
375282011-09-28 Andreas Schwab <schwab@redhat.com>
37529
37530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37531
2056100b
RM
375322011-09-27 Roland McGrath <roland@hack.frob.com>
37533
37534 [BZ #13226]
37535 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37536
32c76b63
AS
375372011-09-27 Andreas Schwab <schwab@redhat.com>
37538
37539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37540 Reread the line before reparsing it.
37541
bf972c9d
AS
375422011-09-26 Andreas Schwab <schwab@redhat.com>
37543
37544 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37545
e057a1b5
JM
375462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37547 Maxim Kuvyrkov <maxim@codesourcery.com>
37548 Joseph Myers <joseph@codesourcery.com>
37549
37550 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37551 if needed for __stack_chk_guard.
37552
bc7e1c36
RM
375532011-09-19 Roland McGrath <roland@hack.frob.com>
37554
ecb1482f
RM
37555 * sysdeps/posix/spawni.c (script_execute): Always define it.
37556 It will be optimized away if unused.
37557 (maybe_script_execute): New function.
37558 (__spawni): Call it.
37559
bc7e1c36
RM
37560 * Makerules: Don't include tls.make.
37561 (config-tls): Always set to thread.
37562 * tls.make.c: File removed.
37563
1c3b002b
MF
375642011-09-19 Mike Frysinger <vapier@gentoo.org>
37565
37566 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37567 * config.make.in (CPPFLAGS-config): New substituted variable.
37568
2840865d
UD
375692011-09-15 Ulrich Drepper <drepper@gmail.com>
37570
88738eb6
UD
37571 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37572
cbf645a6 37573 [BZ #13192]
2840865d
UD
37574 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37575 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37576
b402e91a
RM
375772011-09-15 Roland McGrath <roland@hack.frob.com>
37578
37579 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37580 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37582 (CALL_FAIL): Likewise.
37583 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37584 (CALL_FAIL): Macro removed.
37585 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37586
4c1a1f71
UD
375872011-09-15 Ulrich Drepper <drepper@gmail.com>
37588
37589 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37590 for __FINITE_MATH_ONLY__ == 1.
37591
edc121be
AS
375922011-09-15 Andreas Schwab <schwab@redhat.com>
37593
37594 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37595 __ieee754_sqrt instead of sqrt.
37596 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37597 __ieee754_sqrtf instead of sqrtf.
37598 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37599 __floorf instead of floorf.
37600 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37601 __floorf, __truncf instead of floorf, truncf.
37602
cd205654
UD
376032011-09-14 Ulrich Drepper <drepper@gmail.com>
37604
ee4d0315
UD
37605 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37606
cd205654
UD
37607 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37608 __extern_always_inline.
37609 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37610 32-bit.
37611
48b67d71
AS
376122011-09-14 Andreas Schwab <schwab@redhat.com>
37613
37614 * elf/rtld.c (dl_main): Also relocate in dependency order when
37615 doing symbol dependency testing.
37616
1ae12c75
AS
376172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37618
37619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37620 Always define `refsym'.
37621
995a80df
AS
376222011-09-13 Andreas Schwab <schwab@redhat.com>
37623
e529793b
AS
37624 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37625 (__FD_ELT): Renamed from __FDELT.
37626 * misc/bits/select2.h (__FD_ELT): Likewise.
37627 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37628 __FD_MASK instead of __FDELT, __FDMASK.
37629 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37630 Likewise.
37631 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37632 Likewise.
37633
52d4fef8
AS
37634 * elf/Makefile (gen-ldd): Fix pattern.
37635
995a80df
AS
37636 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37637 (init_tls): Likewise.
37638
8682f8b0
UD
376392011-09-12 Ulrich Drepper <drepper@gmail.com>
37640
37641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37642
de82006d
AS
376432011-09-12 Andreas Schwab <schwab@redhat.com>
37644
a7c8e6a1
AS
37645 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37646 `struct cmsghdr *' instead of `void *'.
37647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37648 Likewise.
37649
0f31fe77
AS
376502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37651
37652 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37653 if non-absolute.
37654 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37655 ldd_rewrite_script.
0f31fe77 37656
32b4c839
UD
376572011-09-11 Ulrich Drepper <drepper@gmail.com>
37658
83cd1420
UD
37659 * configure.in: Remove --with-tls option.
37660 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37661 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37662 out in case it is missing.
37663 * sysdeps/ia64/elf/configure.in: Likewise.
37664 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37665 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37666 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37667 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37668 * sysdeps/sh/elf/configure.in: Likewise.
37669 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37670 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37671 * sysdeps/x86_64/elf/configure.in: Likewise.
37672 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37673 * sysdeps/mach/hurd/tls.h: Likewise.
37674
633f745d
UD
37675 [BZ #13067]
37676 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37677
f318beb8
UD
37678 [BZ #13090]
37679 * configure.in: Fix use of AC_INIT.
37680
32b4c839
UD
37681 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37682
3ce1f295
UD
376832011-09-10 Ulrich Drepper <drepper@gmail.com>
37684
bb016596
UD
37685 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37686 __set_errno.
8e58439c
UD
37687 * malloc/hooks.c: Likewise.
37688
aebae053 37689 [BZ #11929]
02d46fc4
UD
37690 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37691 variables statically.
37692 (narenas): Initialize.
37693 (list_lock): Initialize.
bb016596
UD
37694 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37695 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37696 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37697 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37698 Add initializers to main_arena and mp_.
37699 (malloc_state): Remove pagesize member. Change all users to use
37700 GLRO(dl_pagesize).
37701
37702 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37703 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37704 is always initialized.
37705
22a89187
UD
37706 * malloc/malloc.c: Removed unused configurations and dead code.
37707 * malloc/arena.c: Likewise.
37708 * malloc/hooks.c: Likewise.
02d46fc4 37709 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37710
d063d164
UD
37711 * include/tls.h: Removed. USE___THREAD must always be defined.
37712 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37713 * elf/dl-libc.c: Likewise.
37714 * elf/dl-tsd.c: Likewise.
37715 * include/errno.h: Likewise.
37716 * include/netdb.h: Likewise.
37717 * include/resolv.h: Likewise.
37718 * inet/herrno-loc.c: Likewise.
37719 * inet/herrno.c: Likewise.
37720 * malloc/arena.c: Likewise.
37721 * malloc/hooks.c: Likewise.
37722 * malloc/malloc.c: Likewise.
37723 * resolv/res-state.c: Likewise.
37724 * resolv/res_libc.c: Likewise.
37725 * sysdeps/i386/dl-machine.h: Likewise.
37726 * sysdeps/ia64/dl-machine.h: Likewise.
37727 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37728 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37729 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37730 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37731 * sysdeps/sh/dl-machine.h: Likewise.
37732 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37733 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37734 * sysdeps/unix/i386/sysdep.S: Likewise.
37735 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37736 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37739 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37741 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37746 * sysdeps/x86_64/dl-machine.h: Likewise.
37747 * tls.make.c: Likewise.
37748
3ce1f295
UD
37749 * configure.in: Remove --with-__thread option. Make tests for
37750 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37751 tls_model attribute fail if no support is available. Remove
37752 USE_IN_LIBIO.
37753 * Makeconfig: Adjust for dropped configure option. All features are
37754 now mandatory.
37755 * Makerules: Likewise.
37756 * Versions.def: Likewise.
37757 * argp/argp-fmtstream.c: Likewise.
37758 * argp/argp-fmtstream.h: Likewise.
37759 * argp/argp-help.c: Likewise.
37760 * assert/assert.c: Likewise.
37761 * config.h.in: Likewise.
37762 * config.make.in: Likewise.
37763 * configure: Likewise.
37764 * configure.in: Likewise.
37765 * csu/Versions: Likewise.
37766 * csu/init.c: Likewise.
37767 * elf/tst-audit2.c: Likewise.
37768 * elf/tst-tls10.c: Likewise.
37769 * elf/tst-tls10.h: Likewise.
37770 * elf/tst-tls11.c: Likewise.
37771 * elf/tst-tls12.c: Likewise.
37772 * elf/tst-tls14.c: Likewise.
37773 * elf/tst-tlsmod11.c: Likewise.
37774 * elf/tst-tlsmod12.c: Likewise.
37775 * elf/tst-tlsmod13.c: Likewise.
37776 * elf/tst-tlsmod13a.c: Likewise.
37777 * elf/tst-tlsmod14a.c: Likewise.
37778 * elf/tst-tlsmod15b.c: Likewise.
37779 * elf/tst-tlsmod16a.c: Likewise.
37780 * elf/tst-tlsmod16b.c: Likewise.
37781 * elf/tst-tlsmod7.c: Likewise.
37782 * elf/tst-tlsmod8.c: Likewise.
37783 * elf/tst-tlsmod9.c: Likewise.
37784 * gmon/gmon.c: Likewise.
37785 * grp/fgetgrent_r.c: Likewise.
37786 * grp/putgrent.c: Likewise.
37787 * hurd/fopenport.c: Likewise.
37788 * include/libc-symbols.h: Likewise.
37789 * include/tls.h: Likewise.
37790 * intl/gettextP.h: Likewise.
37791 * intl/loadinfo.h: Likewise.
37792 * locale/global-locale.c: Likewise.
37793 * locale/localeinfo.h: Likewise.
37794 * mach/devstream.c: Likewise.
37795 * malloc/arena.c: Likewise.
37796 * malloc/set-freeres.c: Likewise.
37797 * misc/err.c: Likewise.
37798 * misc/getttyent.c: Likewise.
37799 * misc/mntent_r.c: Likewise.
37800 * posix/getopt.c: Likewise.
37801 * posix/wordexp.c: Likewise.
37802 * pwd/fgetpwent_r.c: Likewise.
37803 * resolv/Versions: Likewise.
37804 * resolv/res_hconf.c: Likewise.
37805 * shadow/fgetspent_r.c: Likewise.
37806 * shadow/putspent.c: Likewise.
37807 * stdio-common/printf_fphex.c: Likewise.
37808 * stdio-common/tmpfile.c: Likewise.
37809 * stdlib/abort.c: Likewise.
37810 * stdlib/fmtmsg.c: Likewise.
37811 * sunrpc/auth_unix.c: Likewise.
37812 * sunrpc/clnt_perr.c: Likewise.
37813 * sunrpc/clnt_tcp.c: Likewise.
37814 * sunrpc/clnt_udp.c: Likewise.
37815 * sunrpc/clnt_unix.c: Likewise.
37816 * sunrpc/openchild.c: Likewise.
37817 * sunrpc/svc_simple.c: Likewise.
37818 * sunrpc/svc_tcp.c: Likewise.
37819 * sunrpc/svc_udp.c: Likewise.
37820 * sunrpc/svc_unix.c: Likewise.
37821 * sunrpc/xdr.c: Likewise.
37822 * sunrpc/xdr_array.c: Likewise.
37823 * sunrpc/xdr_rec.c: Likewise.
37824 * sunrpc/xdr_ref.c: Likewise.
37825 * sunrpc/xdr_stdio.c: Likewise.
37826
1248c1c4
PB
378272011-09-09 Ulrich Drepper <drepper@gmail.com>
37828
37829 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37830
378312011-07-03 Andreas Jaeger <aj@suse.de>
37832
37833 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37834 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37835 regenerate with gen-libm-tests.pl.
37836
378372010-05-12 Petr Baudis <pasky@suse.cz>
37838
37839 [BZ #11589]
37840 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37841 around j0() zero points by switching to j1().
37842 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37846
f22e1074
UD
378472011-09-09 Ulrich Drepper <drepper@gmail.com>
37848
f19009c1
UD
37849 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37850 instead of 0.
37851 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37852 instead of 0.
f19009c1
UD
37853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37854 Patch in part by Pavel Roskin <proski@gnu.org>.
37855
3f8cc204
UD
37856 [BZ #13138]
37857 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37858 realloc.
37859 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37860 Free memory block if necessary.
37861
f22e1074
UD
37862 [BZ #12847]
37863 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37864 be NULL. Don't lock in this case.
37865
0a2349f9
RM
378662011-09-09 Roland McGrath <roland@hack.frob.com>
37867
37868 * elf/elf.h (ELFOSABI_GNU): New macro.
37869 (ELFOSABI_LINUX): Define to that.
37870
f3cdd467
DZ
378712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37872
37873 * string/strncat.c (strncat): Undef the symbol in case it has been
37874 defined in bits/string.h.
37875
74718d13
UD
378762011-09-09 Ulrich Drepper <drepper@gmail.com>
37877
633e9e0f
UD
37878 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37879
0a2349f9 37880 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37881 link map.
37882
f9924780
AJ
378832011-08-17 Andreas Jaeger <aj@suse.de>
37884
37885 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37886
7f5517aa
PP
378872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37888 Ian Lance Taylor <iant@google.com>
37889
37890 * math/libm-test.inc (lround_test): New testcase.
37891 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37892
762011fe
UD
378932011-09-08 Ulrich Drepper <drepper@gmail.com>
37894
92963737
UD
37895 * Makefile: Remove support for automatic cvs check-ins.
37896 * Makerules: Likewise.
37897 * config.make.in: Likewise.
37898 * configure.in: Likewise.
37899 * intl/Makefile: Likewise.
37900 * locale/Makefile: Likewise.
37901 * po/Makefile: Likewise.
37902 * posix/Makefile: Likewise.
37903 * sysdeps/gnu/Makefile: Likewise.
37904 * sysdeps/mach/hurd/Makefile: Likewise.
37905 * sysdeps/sparc/sparc32/Makefile: Likewise.
37906
b0727fd8
JS
37907 [BZ #13118]
37908 * posix/Makefile (bug-regex32-ENV): Define.
37909 Patch by John Stanley <jpsinthemix@verizon.net>.
37910
a0f33f99
UD
37911 * misc/Makefile (headers): Add bits/select2.h.
37912 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37913 * misc/bits/select2.h: New file.
37914 * include/bits/select2.h: New file.
37915 * debug/Makefile (routines): Add fdelt_chk.
37916 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37917 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37918 FD_ISSET.
37919 * debug/fdelt_chk.c: New file.
37920
762011fe
UD
37921 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37922 * wcsmbs/test-wmemcmp.c: Likewise.
37923 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 37924 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
37925
379262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37927
37928 * string/Makefile (strop-tests): Add memcmp.
37929 * string/test-wmemcmp.c: New file.
37930 * string/test-memcmp.c: Add wmemcmp support.
37931
7f513ec8
RM
379322011-09-08 Roland McGrath <roland@hack.frob.com>
37933
0442afb4
RM
37934 [BZ #13153]
37935 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37936 2011-07-19 change.
37937
7f513ec8
RM
37938 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37939 garbage value in a __mach_port_mod_refs call in the cases of the
37940 task-self and thread-self ports.
37941
a12b2239
ST
379422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37943
37944 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37945
610f9ab4
AS
379462011-09-08 Andreas Schwab <schwab@redhat.com>
37947
7f513ec8 37948 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 37949
48882a1a
LD
379502011-09-07 Ulrich Drepper <drepper@gmail.com>
37951
b49865be
UD
37952 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37953
fdc86bc9
UD
37954 * elf/dl-libc.c (dlerror_run): Pass back error code from
37955 dl_catch_error.
37956
c966526a
UD
37957 [BZ #13123]
37958 * elf/dl-load.c (lose): Free l_origin if it is valid.
37959
48882a1a
LD
37960 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37961 names.
37962 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37967 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37968
77a2a8b4
AZ
379692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37970
37971 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37972 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37973 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37974 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37975 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37976 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37977 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37978 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37979 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37980 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37981
24f579d8
AM
379822011-08-15 Alan Modra <amodra@gmail.com>
37983
37984 [BZ #13092]
37985 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37986 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37987 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37988 ppc_mcount to static-only-routines.
37989 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37990 __mcount_internal.
37991 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37992 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37993
3d4837df
UD
379942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37995
37996 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37997 for finite and infinity parameters.
37998
22700377
WS
379992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38000
38001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38002 and add nop instructions for throughput optimization.
38003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38004
5025581e
WS
380052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38006
38007 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38008 aligned copy for power7 with vector-scalar instructions.
38009 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38010
08a300c9
L
380112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38012
38013 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38014 AVX check.
38015
59178ef9
AS
380162011-09-07 Andreas Schwab <schwab@redhat.com>
38017
38018 [BZ #13144]
38019 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38020 last change.
38021
e38ba7ab
UD
380222011-09-07 Ulrich Drepper <drepper@gmail.com>
38023
38024 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38025 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38026 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38027 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38028 clock_gettime.
38029
d53a73ac
UD
380302011-09-06 Ulrich Drepper <drepper@gmail.com>
38031
fc8bffcc
UD
38032 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38033 Forgot to demangle the pointer.
38034
ceaa0c5d
UD
38035 * sysdeps/i386/sysdep.h: Define atom_text_section.
38036 * sysdeps/x86_64/sysdep.h: Likewise.
38037 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38038 section with atom_text_section.
38039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38040 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38041 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38043 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38044
a77d3c17
UD
38045 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38046 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38047 already be defined. Change to take two parameters and don't assign
38048 result to variable. Adjust all users.
38049 Define INTERNAL_GETTIME if not already defined.
38050 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38051 call.
38052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38053 HAVE_CLOCK_GETTIME_VSYSCALL.
38054 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38055
d53a73ac
UD
38056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38057 gettimeofday vsyscall, just use time.
38058
a8f84144
AS
380592011-09-06 Andreas Schwab <schwab@redhat.com>
38060
38061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38062 <errno.h>.
38063
ef606249
UD
380642011-09-06 Ulrich Drepper <drepper@gmail.com>
38065
38066 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38067 syscall on x86-64.
38068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38069 syscall.
38070 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38071 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38072 syscall if possible.
38073
6585cb60
UD
380742011-09-05 Ulrich Drepper <drepper@gmail.com>
38075
38076 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38077 e_ident. Don't pass to find_mapsXX.
38078 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38079
a5f524e4
LD
380802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38081
38082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38083 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38084 * sysdeps/x86_64/multiarch/strchr.S: Update.
38085 Check bit_slow_BSF bit.
38086 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38087 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38088 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38089
554881ef
UD
380902011-09-05 Ulrich Drepper <drepper@gmail.com>
38091
d96de963
UD
38092 [BZ #13134]
38093 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38094 before glibc 2.15.
38095 (tryshell): Define.
38096 (__spawni): Change last parameter to be flag. Test
38097 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38098 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38099 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38100 * posix/spawni.c: Likewise.
38101 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38102 * posix/spawnp.c: Likewise. Change normal version to use
38103 SPAWN_XFLAGS_USE_PATH.
38104 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38105 SPAWN_XFLAGS_TRY_SHELL.
38106
d48e5868
UD
38107 [BZ #13150]
38108 * posix/glob.h: Remove gcc 1.x support.
38109
554881ef
UD
38110 [BZ #13068]
38111 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38112
693fb948
LD
381132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38114
38115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38116 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38117 strrchr-sse2-bsf
38118 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38119 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38120 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38121 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38122 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38124
1b48c537
UD
381252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38126
49d42c37
UD
38127 * sysdeps/x86_64/wcscmp.S: New file.
38128
1b48c537
UD
38129 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38130 wcscmp-c wcscmp-sse2
38131 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38132 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38133 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38134 * wcsmbs/wcscmp.c: Allow renaming.
38135
15c95c5d
DM
381362011-09-05 David S. Miller <davem@davemloft.net>
38137
38138 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38139 stack slot, rather than the struct return pointer slot.
38140 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38141 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38143 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38144
2f0ad8f3
UD
381452011-09-05 Ulrich Drepper <drepper@gmail.com>
38146
d88ae418
UD
38147 * po/ja.po: Update from translation team.
38148
2f0ad8f3
UD
38149 [BZ #13144]
38150 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38151 kernel in 64-bit binaries.
38152
5f4318d1
DM
381532011-09-01 David S. Miller <davem@davemloft.net>
38154
38155 * elf/elf.h (HWCAP_SPARC_*): Move to..
38156 * sysdeps/sparc/sysdep.h: this new file and add new values.
38157 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38158 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38159 _DL_HWCAP_COUNT to 24.
38160 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38161 entries.
38162 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38163 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38164 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38166 instead of magic constants.
38167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38168
3ba57516
DM
381692011-08-31 David S. Miller <davem@davemloft.net>
38170
38171 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38173 Reimplement to do errno handling inline.
38174 (SYSCALL_ERROR_HANDLER): New macro.
38175 (__SYSCALL_STRING): Do not do errno handling in asm.
38176 (__CLONE_SYSCALL_STRING): Delete.
38177 (__INTERNAL_SYSCALL_STRING): Delete.
38178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38179 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38180 (PSEUDO): Reimplement to do errno handling inline.
38181 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38182 (SYSCALL_ERROR_HANDLER): New macro.
38183 (__SYSCALL_STRING): Do not do errno handling in asm.
38184 (__CLONE_SYSCALL_STRING): Delete.
38185 (__INTERNAL_SYSCALL_STRING): Delete.
38186 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38187 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38188 i386.
38189 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38190 (inline_syscall*): Add 'err' argument.
38191 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38192 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38193 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38194 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38195
38196 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38197 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38198
2bc17433
AS
381992011-08-30 Andreas Schwab <schwab@redhat.com>
38200
38201 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38202
fbeb5f4d
JO
382032011-08-29 Jiri Olsa <jolsa@redhat.com>
38204
38205 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38206 directive.
38207
ad69cc26
DM
382082011-08-24 David S. Miller <davem@davemloft.net>
38209
38210 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38211
39dd69df
AS
382122011-08-24 Andreas Schwab <schwab@redhat.com>
38213
38214 * elf/Makefile: Add rules to build and run unload8 test.
38215 * elf/unload8.c: New file.
38216 * elf/unload8mod1.c: New file.
38217 * elf/unload8mod1x.c: New file.
38218 * elf/unload8mod2.c: New file.
38219 * elf/unload8mod3.c: New file.
38220
38221 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38222 it wasn't used.
38223
2c0b250a
DM
382242011-08-23 David S. Miller <davem@davemloft.net>
38225
38226 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38227 subtract stack bias.
38228 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38229 %sp not %fp in calculations.
38230 (_JMPBUF_UNWINDS_ADJ): Likewise.
38231
22044b48
DM
38232 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38233 (aio_suspend): Call it to force an exception region around the
38234 AIO_MISC_WAIT() invocation.
38235
2cae4995
AS
382362011-08-23 Andreas Schwab <schwab@redhat.com>
38237
38238 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38239 backslash.
38240
873a772e
AJ
382412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38242
38243 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38244 protection macro.
38245 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38246 and <dl-machine.h>.
38247 (Elf64_FuncDesc): Remove.
38248
25ad0df1
DM
382492011-08-22 David S. Miller <davem@davemloft.net>
38250
38251 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38252 sigaltstack check, add missing cfi directives.
38253 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38254 missing cfi directives, and sigaltstack handling.
38255
e888bcbe
AS
382562011-08-16 Andreas Schwab <schwab@redhat.com>
38257
38258 [BZ #11724]
38259 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38260 object is seen twice.
38261 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38262
38263 * elf/Makefile (distribute): Add tst-initorder2.c.
38264 (tests): Add tst-initorder2.
38265 (modules-names): Add tst-initorder2a tst-initorder2b
38266 tst-initorder2c tst-initorder2d. Add rules to build them.
38267 ($(objpfx)tst-initorder2.out): New rule.
38268 * elf/tst-initorder2.c: New file.
38269 * elf/tst-initorder2.exp: New file.
38270
87162f46
AS
382712011-08-22 Andreas Schwab <schwab@redhat.com>
38272
70538b7f
AS
38273 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38274
f55ffe58
AS
38275 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38276 dependencies back to end of function.
38277
87162f46
AS
38278 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38279 $(elfobjdir)/ld.so.
38280
91b392a4
UD
382812011-08-21 Ulrich Drepper <drepper@gmail.com>
38282
38283 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38284 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38286 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38287 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38288 of __vdso_gettimeofday.
38289 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38290 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38291 attribute_hidden.
38292 (_libc_vdso_platform_setup): Remove initialization of
38293 __vdso_gettimeofday and __vdso_time.
38294
5c43483f
UD
382952011-08-20 Ulrich Drepper <drepper@gmail.com>
38296
775a77e7
UD
38297 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38298 and fgetc_unlocked.
38299 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38300 getc_unlocked.
89f447ed 38301
49c74ba9
UD
38302 * elf/dl-open.c (add_to_global): Report additions to the global scope
38303 for LD_DEBUG=scopes.
38304 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38305 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38306
5c43483f
UD
38307 [BZ #13114]
38308 * stdio-common/Makefile (tests): Add bug24.
38309 * stdio-common/bug24.c: New file.
38310
a101b025
AJ
383112011-08-19 Andreas Jaeger <aj@suse.de>
38312
38313 [BZ #13114]
38314 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38315 non-existant file when using close-on-exec mode.
38316
c88f1766
UD
383172011-08-20 Ulrich Drepper <drepper@gmail.com>
38318
0276a718
UD
38319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38320 the very first instruction.
38321
c88f1766
UD
38322 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38323 the CFI state in the end.
38324 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38325 inclusion of dl-trampoline.h.
38326 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38327
51ccffa0
AS
383282011-08-19 Andreas Schwab <schwab@redhat.com>
38329
94d7165f
AS
38330 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38331 expectations for long double.
38332
51ccffa0
AS
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38334 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38335
fd708658 383362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38337
38338 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38339 artificual limit depends upon the system page size.
38340
44f0a71e
UD
383412011-08-17 Ulrich Drepper <drepper@gmail.com>
38342
38343 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38344 * resolv/Makefile: Define CFLAGS-libresolv.
38345
8de79a24
AS
383462011-08-17 Andreas Schwab <schwab@redhat.com>
38347
38348 * nss/makedb.c (compute_tables): Make variables used in nested
38349 function static.
38350
27724598
UD
383512011-08-17 Ulrich Drepper <drepper@gmail.com>
38352
c5305d88
UD
38353 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38354 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38355 if buffer was too small.
38356
27724598
UD
38357 * elf/pldd.c (main): Attach to all threads in the process.
38358 Rewrite /proc handling to use *at functions.
38359
076fe015
UD
383602011-08-16 Ulrich Drepper <drepper@gmail.com>
38361
174baab3
UD
38362 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38363 specifies first scope to show.
38364 (dl_open_worker): Update callers. Move printing scope of new
38365 object to before the relocation.
44f0a71e 38366 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38367 * sysdeps/generic/ldsodefs.h: Update declaration.
38368
076fe015
UD
38369 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38370 string for the scope number.
38371
a60df2c3
UD
383722011-08-14 Ulrich Drepper <drepper@gmail.com>
38373
38374 * nscd/servicescache.c (cache_addserv): Make sure written is always
38375 initialized.
38376
5e4287d1
RM
383772011-08-14 Roland McGrath <roland@hack.frob.com>
38378
85ae0589
RM
38379 * sysdeps/i386/i486/bits/atomic.h
38380 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38381 statement expression, so as to suppress "set but not used" warning.
38382 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38383
69f63097
RM
38384 * string/strncat.c (STRNCAT): Use prototype definition.
38385
675456ef
RM
38386 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38387 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38388 -Iprograms here.
38389 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38390 (localedef-modules): Add localedef.
38391 (locale-modules): Add locale.
38392
5e4287d1
RM
38393 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38394 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38395 to avoid a warning.
38396
9c96ff23
DM
383972011-08-14 David S. Miller <davem@davemloft.net>
38398
38399 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38400 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38401
f9ddf089
UD
384022011-08-13 Ulrich Drepper <drepper@gmail.com>
38403
44f0a71e 38404 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38405 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38406 * elf/rtld.c (dl_main): Set l_name of vDSO.
38407 Call _dl_show_scope when DL_DEBUG_SCOPES.
38408 (process_dl_debug): Recognize scopes flag and also set it for all.
38409 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38410 Declare _dl_show_scope.
38411
1dc27704
UD
38412 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38413 (do_dlopen): Pass caller_dlopen to dl_open.
38414 (__libc_dlopen_mode): Initialize caller_dlopen.
38415
f9ddf089
UD
38416 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38417 of libc. Make tolower call locale-independent. Optimize a bit by
38418 using isdigit instead of isalnum.
38419 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38420
9ac533d3
UD
384212011-08-12 Ulrich Drepper <drepper@gmail.com>
38422
38423 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38424 was a dependency or dynamically loaded.
38425
89edf2e9
UD
384262011-08-11 Ulrich Drepper <drepper@gmail.com>
38427
8e999d29
UD
38428 * intl/l10nflist.c: Allow architecture-specific pop function.
38429 * sysdeps/x86_64/l10nflist.c: New file.
38430
89edf2e9
UD
38431 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38432 classification.
38433
14d96785
AS
384342011-08-10 Andreas Schwab <schwab@redhat.com>
38435
38436 * include/dirent.h: Add libc_hidden_proto for scandirat and
38437 scandirat64. Don't declare __scandirat64.
38438 * dirent/scandirat.c: Add libc_hidden_def.
38439 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38440 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38441
6761ac04
DM
384422011-08-10 David S. Miller <davem@davemloft.net>
38443
38444 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38445 enum.
38446 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38447 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38448 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38449
c55fbd1e
UD
384502011-08-09 Ulrich Drepper <drepper@gmail.com>
38451
38452 * Versions.def [libc]: Add GLIBC_2.15.
38453 * dirent/Makefile (routines): Add scandirat and scandirat64.
38454 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38455 GLIBC_2.15.
38456 * dirent/dirent.h: Declare scandirat and scandirat64.
38457 * dirent/scandirat.c: New file.
38458 * dirent/scandirat64.c: New file.
38459 * sysdeps/wordsize-64/scandirat.c: New file.
38460 * sysdeps/wordsize-64/scandirat64.c: New file.
38461 * dirent/opendir.c: Define opendirat.
38462 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38463 using scandirat.
38464 * dirent/scandir64.c: Adjust for scandir.c change.
38465 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38466 __scandirat64, and __scandir_cancel_handler.
38467 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38468 additional parameter and use openat instead of open (outside of ld.so).
38469 Add new __opendir as wrapper around __opendirat.
38470 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38471 here without requiring old scandirat implementation.
38472
879165f2
UD
384732011-08-08 Ulrich Drepper <drepper@gmail.com>
38474
38475 * dirent/scandir.c (cancel_handler): Renamed to
38476 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38477 defined. Adjust users.
38478 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38479 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38480
cb7e923b
UD
384812011-08-04 Ulrich Drepper <drepper@gmail.com>
38482
16292edd
UD
38483 * string/test-string.h (IMPL): Use __STRING to expand name and then
38484 stringify it.
38485
cb7e923b
UD
38486 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38487 of cleanups.
38488
cff82933
LD
384892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38490
38491 * string/Makefile: Update.
38492 (strop-tests): Append strncat.
38493 * string/test-wcscmp.c: New file.
38494 New comprehensive test for wcscmp.
38495 * string/test-strcmp.c: Update.
38496 (WIDE): New define.
38497
9be9bfcc
AS
384982011-07-22 Andreas Schwab <schwab@redhat.com>
38499
38500 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38501 line.
38502
2e96f1c7
AS
385032011-07-26 Andreas Schwab <schwab@redhat.com>
38504
38505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38506 encoding to ACE if AI_IDN.
38507
85188888
JJ
385082011-08-01 Jakub Jelinek <jakub@redhat.com>
38509
38510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38511 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38512
5fa16e9b
LD
385132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38514
38515 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38516 Fix overflow bug in strncat.
38517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38518
38519 * string/test-strncat.c: Update.
38520 Add new tests for checking overflow bugs.
38521
385222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38523
38524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38525 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38526 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38527 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38529 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38530 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38531 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38532 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38533
38534 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38535 (USE_AS_STRCAT): Define.
38536 Add strcat and strncat support.
38537 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38538
8c1a459f
AS
385392011-07-25 Andreas Schwab <schwab@redhat.com>
38540
38541 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38542 __n bigger than INT_MAX+1.
38543 (__strncmp_g): Likewise.
38544
bba33c28
UD
385452011-07-23 Ulrich Drepper <drepper@gmail.com>
38546
798be72d
UD
38547 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38548 * libio/stido.h: Likewise.
38549
8accd4dc
UD
38550 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38551 (AF_NFC): Define.
38552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38553 (AF_NFC): Define.
38554
cbff0d96
UD
38555 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38556 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38557 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38558 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38560
9191c04a
UD
38561 [BZ #13021]
38562 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38563 installed.
38564
bba33c28
UD
38565 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38566 typo.
38567 (_dl_x86_64_save_sse): Likewise.
38568
90f139dd
UD
385692011-07-22 Ulrich Drepper <drepper@gmail.com>
38570
1aae088a
UD
38571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38572 OSXSAVE.
38573 (_dl_x86_64_save_sse): Likewise.
38574
8e2045f5
UD
38575 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38576
90f139dd
UD
38577 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38578
1d002f25
AS
385792011-07-21 Andreas Schwab <schwab@redhat.com>
38580
38581 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38582 change.
38583 (_dl_x86_64_save_sse): Use correct AVX check.
38584
21137f89
UD
385852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38586
38587 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38588 bug in strncpy/strncat.
38589 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38590
a65c0b7a
UD
385912011-07-21 Ulrich Drepper <drepper@gmail.com>
38592
38593 * string/tester.c (test_strcat): Add tests for different alignments
38594 of source and destination.
38595 (test_strncat): Likewise.
38596
6986b98a
UD
385972011-07-20 Ulrich Drepper <drepper@gmail.com>
38598
90bb2039
UD
38599 [BZ #12852]
38600 * posix/glob.c (glob): Check passed in values before using them in
38601 expressions to avoid some overflows.
38602 (glob_in_dir): Likewise.
38603
5644ef54
UD
38604 [BZ #13007]
38605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38606 check for AVX enablement so that we don't crash with old kernels and
38607 new hardware.
38608 * elf/tst-audit4.c: Add same checks here.
38609 * elf/tst-audit6.c: Likewise.
38610
38611 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38612
bfc9dc9b
AS
386132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38614
38615 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38616
702e64bb
UD
386172011-07-20 Ulrich Drepper <drepper@gmail.com>
38618
38619 * po/cs.po: Update from translation team.
38620 * po/bg.po: Likewise.
38621
295e904f
MP
386222011-07-12 Marek Polacek <mpolacek@redhat.com>
38623
38624 * misc/sys/cdefs.h: Add support for const attribute.
38625 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38626 to gnu_dev_{major,minor,makedev} functions.
38627
3ff94596
MP
386282011-07-20 Marek Polacek <mpolacek@redhat.com>
38629
38630 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38631
28b59fca
AS
386322011-07-20 Andreas Schwab <schwab@redhat.com>
38633
38634 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38635 strlen results.
38636
19df733e
AK
386372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38638
38639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38640 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38641 register in order to avoid conflicts with the soft frame pointer
38642 being held in r11 when necessary.
38643 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38644 (INTERNAL_VSYSCALL_NCS): Likewise.
38645
c8835729
MP
386462011-07-14 Marek Polacek <mpolacek@redhat.com>
38647
38648 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38649 * elf/dl-fini.c (_dl_fini): Adjust caller.
38650 * elf/dl-close.c (_dl_close_worker): Likewise.
38651 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38652
b902330c
MP
386532011-07-15 Marek Polacek <mpolacek@redhat.com>
38654
8991e135
MP
38655 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38656 "aux_cache->nlibs < 0".
38657
b902330c
MP
38658 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38659 in the reload-count case.
38660
99710781
LD
386612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38662
38663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38664 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38665 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38666 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38667 * sysdeps/x86_64/multiarch/strcat.S: New file.
38668 * sysdeps/x86_64/multiarch/strncat.S: New file.
38669 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38670 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38671 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38672 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38674 (USE_AS_STRCAT): Define.
38675 Add strcat and strncat support.
38676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38677 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38678 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38679 * string/strncat.c: Update.
38680 (USE_AS_STRNCAT): Define.
38681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38682 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38683 and i7.
38684 * sysdeps/x86_64/multiarch/init-arch.h
38685 (bit_Prefer_PMINUB_for_stringop): New.
38686 (index_Prefer_PMINUB_for_stringop): Likewise.
38687 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38688 bit_Prefer_PMINUB_for_stringop.
38689
7dc6bd90
UD
386902011-07-19 Ulrich Drepper <drepper@gmail.com>
38691
38692 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38693 buffer64.
38694 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38695 of casting of buffer.
38696 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38697 buffer32 and buffer64.
38698 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38699 writes instead of casting of buffer.
38700 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38701 buffer32.
38702 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38703 casting of buffer.
38704
e0e72284
AS
387052011-07-19 Andreas Schwab <schwab@redhat.com>
38706
38707 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38708
feb1eb0b
UD
387092011-07-19 Ulrich Drepper <drepper@gmail.com>
38710
38711 * nscd/nscd.c (termination_handler): Don't do anything for a database
38712 if it has not yet been initialized.
38713
298711ff
UD
387142011-07-18 Ulrich Drepper <drepper@gmail.com>
38715
38716 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38717
387182011-07-15 Marek Polacek <mpolacek@redhat.com>
38719
38720 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38721
f9d68389
UD
387222011-07-18 Ulrich Drepper <drepper@gmail.com>
38723
38724 * po/nl.po: Update from translation team.
38725 * po/sv.po: Likewise.
38726
db290cf5
RM
387272011-07-16 Roland McGrath <roland@hack.frob.com>
38728
38729 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38730 now disallowed by GCC.
5c550700 38731
fd5e21c7
RM
38732 * configure.in (use-default-link): Default to yes if a test -shared
38733 link meets our qualifications.
38734 * configure: Regenerated.
38735
5c550700
RM
38736 * config.make.in (output-format): New variable.
38737 * configure.in: Check for ld --print-output-format support.
38738 * configure: Regenerated.
38739 * Makerules ($(common-objpfx)format.lds)
38740 [$(output-format) != unknown]: Just use $(output-format),
38741 instead of the linker-script munging.
38742
9fa2c032
RM
387432011-07-14 Roland McGrath <roland@hack.frob.com>
38744
a6928d51
RM
38745 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38746 of $(common-objpfx)shlib.lds.
38747 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38748
661607b3
RM
38749 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38750 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38751
9fa2c032
RM
38752 * configure.in (-z relro check): Adjust test code to add a large
38753 writable data section after it.
38754 * configure: Regenerated.
38755
defe9061
RM
387562011-07-11 Roland McGrath <roland@hack.frob.com>
38757
38758 * configure.in (-z relro check): Fix test code to make the variable
38759 truly const.
38760 * configure: Regenerated.
38761
319b9ad4
UD
387622011-07-11 Ulrich Drepper <drepper@gmail.com>
38763
38764 * nscd/nscd.h (struct traced_file): Define.
38765 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38766 elements. Add traced_files.
38767 (inotify_fd): Declare.
38768 (register_traced_file): Declare.
38769 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38770 (inotify_fd): Export.
38771 (resolv_conf_descr): Remove.
38772 (nscd_init): Move inotify descriptor creation to main.
38773 Don't register files for notification here.
38774 (register_traced_file): New function.
38775 (invalidate_cache): Don't use reset_res to determine whether to call
38776 res_init, go through the list of registered files.
38777 (main_loop_poll): The inotify descriptors are now stored in the
38778 structures for the traced files.
38779 (main_loop_epoll): Likewise
38780 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38781 to __nss_disable_nscd.
38782 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38783 for a database anymore. Check the records for all the registered
38784 files instead.
38785 * nss/Makefile (libnss_files-routines): Add files-init.
38786 (libnss_db-routines): Add db-init.
38787 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38788 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38789 * nss/nss_db/db-init.c: New file.
38790 * nss/nss_files/files-init.c: New file.
38791 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38792 __nss_lookup_function.
38793 (__nss_lookup_function): Call nss_load_library.
38794 (nss_load_all_libraries): New function.
38795 (__nss_disable_nscd): Take parameter with callback function for files
38796 to register. Set is_nscd. Load all the DSOs for the NSS modules
38797 used for the cached services.
38798 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38799 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38800 options for features to all the files in nscd.
38801
38802 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38803
23bee3e8
RM
388042011-07-10 Roland McGrath <roland@hack.frob.com>
38805
38806 * csu/elf-init.c (__libc_csu_init): Comment typo.
38807
46a5b7f0
UD
388082011-07-09 Ulrich Drepper <drepper@gmail.com>
38809
38810 * po/pl.po: Update from translation team.
38811 * po/ja.po: Likewise.
38812 * po/ru.po: Likewise.
38813 * po/ko.po: Likewise.
38814 * po/fr.po: Likewise.
38815
d30cf5bb
RM
388162011-07-09 Roland McGrath <roland@hack.frob.com>
38817
113ddea4
RM
38818 * configure.in (.ctors/.dtors header and trailer check):
38819 Use an empirical test on a built program.
38820 * configure: Regenerated.
38821
574920b4
RM
38822 * configure.in (-z relro check): Use an empirical test on a built DSO.
38823 Detect, but do not require, on ia64.
38824 * configure: Regenerated.
38825
d30cf5bb
RM
38826 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38827 Update tests that use readelf to use $READELF instead.
38828 * configure: Regenerated.
38829
8538fdb3
UD
388302011-07-08 Ulrich Drepper <drepper@gmail.com>
38831
38832 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38833 if the result is not used.
38834
04d08991
AJ
388352011-07-05 Andreas Jaeger <aj@suse.de>
38836
38837 [BZ#9696]
38838 * stdlib/tst-strtod.c: Add testcase.
38839
de283087
AD
388402011-07-07 Ulrich Drepper <drepper@gmail.com>
38841
4e5f31c8 38842 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38843 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38844 The latter has a higher limit. Take additional parameter to pass to
38845 the new function.
38846 (__pathconf): Pass file to __statfs_link_max.
38847 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38848 __statfs_link_max.
38849 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38850 __statfs_link_max.
38851
de283087
AD
38852 [BZ #12868]
38853 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38855 Handle Lustre.
38856 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38857 (__statfs_filesize_max): Likewise.
38858 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38859
c75fa153
AJ
388602011-07-05 Andreas Jaeger <aj@suse.de>
38861
38862 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38863
1a544854
UD
388642011-07-06 Marek Polacek <mpolacek@redhat.com>
38865
38866 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38867 `status' variable.
38868 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38869 Likewise.
38870
6f0eec67
UD
388712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38872
38873 * Makefile (strop-tests): Add strncat.
38874 * string/test-strncat.c: New file.
38875
aae30307
UD
388762011-06-30 Marek Polacek <mpolacek@redhat.com>
38877
38878 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38879
c0cfb5eb
UD
388802011-06-21 Andreas Jaeger <aj@suse.de>
38881
38882 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38883 Copy rule from iconvdata/Makefile.
38884
01636b21
UD
388852011-07-06 Ulrich Drepper <drepper@gmail.com>
38886
38887 [BZ #12922]
38888 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38889 but no long options are defined, just return 'W'.
38890
9895c8bc
UD
388912011-06-22 Marek Polacek <mpolacek@redhat.com>
38892
38893 [BZ #9696]
38894 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38895
5d4cf042
UD
388962011-07-06 Ulrich Drepper <drepper@gmail.com>
38897
38898 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38899 netgroups to read.
960e5535 38900 (innetgr): Likewise.
5d4cf042 38901
751eb97e
RM
389022011-07-05 Roland McGrath <roland@hack.frob.com>
38903
38904 * config.make.in (install_root): Default to $(DESTDIR).
38905
f15f1e45
UD
389062011-07-05 Ulrich Drepper <drepper@gmail.com>
38907
38908 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38909
4e34ac6a
RM
389102011-07-02 Roland McGrath <roland@hack.frob.com>
38911
5e9b6af4
RM
38912 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38913
84f9ea0f
RM
38914 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38915 containing directory rather than embedding absolute directory names.
38916
ea5ee9f7
RM
38917 * scripts/check-local-headers.sh: Rewritten using awk.
38918 Match by word, not by line. Print error messages for matches.
38919 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38920
1b74661a
RM
38921 * Makerules [shlib-lds-flags empty]:
38922 ($(common-objpfx)libc_pic.opts): New target.
38923 ($(common-objpfx)libc_pic.os.clean): New target.
38924 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38925
38926 * config.make.in (OBJCOPY): New variable.
38927 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38928 * configure: Regenerated.
38929
f781ef40
RM
38930 * config.make.in (use-default-link): New variable.
38931 * configure.in (use_default_link): Grok --with-default-link to set it.
38932 * configure: Regenerated.
38933 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38934 (shlib-lds, shlib-lds-flags): Define to empty.
38935
2d4fa81e
RM
38936 * Makerules (shlib-lds): New variable.
38937 (shlib-lds-flags): New variable.
38938 (build-shlib, build-moduile, build-module-asneeded): Use it.
38939 ($(common-objpfx)libc.so): Use $(shlib-lds).
38940 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38941 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38942
31fffa6b
RM
38943 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38944 DT_FLAGS/DT_FLAGS_1 with zero flags.
38945
4e34ac6a
RM
38946 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38947 linker script munging.
38948
fcfc776b
UD
389492011-07-02 Ulrich Drepper <drepper@gmail.com>
38950
38951 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38952 as 128-bit value.
38953 * crypt/sha512.c (sha512_process_block): Perform total addition using
38954 128-bit if possible.
38955 (__sha512_finish_ctx): Likewise.
38956 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38957 as 64-bit value.
38958 * crypt/sha256.c (SWAP64): Define.
38959 (sha256_process_block): Perform total addition using 64-bit if
38960 possible.
38961 (__sha256_finish_ctx): Likewise.
38962
99231d9a
UD
389632011-07-01 Ulrich Drepper <drepper@gmail.com>
38964
38965 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38967 * nscd/hstcache.c (cache_addhst): Likewise.
38968 * nscd/grpcache.c (cache_addgr): Likewise.
38969 * nscd/aicache.c (addhstaiX): Likewise
38970 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38971
445b4a53
TK
389722011-07-01 Thorsten Kukuk <kukuk@suse.de>
38973
38974 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38976 * nscd/hstcache.c (cache_addhst): Likewise.
38977 * nscd/grpcache.c (cache_addgr): Likewise.
38978 * nscd/aicache.c (addhstaiX): Likewise
38979
6d4d8e8e
AS
389802011-07-01 Andreas Schwab <schwab@redhat.com>
38981
38982 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38983 domain only when needed.
38984
89f654c5
AS
389852011-06-30 Andreas Schwab <schwab@redhat.com>
38986
38987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38988 is always restored.
38989
cf3b23ff
UD
389902011-06-29 Ulrich Drepper <drepper@gmail.com>
38991
38992 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38993 are re-adding the entry.
38994 * nscd/servicescache.c (cache_addserv): Likewise.
38995
751626f9
AJ
389962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38997
38998 * sysdeps/generic/dl-irel.h: fix protection against multiple
38999 inclusions.
39000 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39001
9113ea1f
UD
390022011-06-28 Ulrich Drepper <drepper@gmail.com>
39003
5c0b8d90
UD
39004 [BZ #12935]
39005 * malloc/memusage.sh: Fix quoting in message.
39006 * debug/xtrace.sh: Likewise.
39007
9113ea1f
UD
39008 * configure.in: Remove support for --experimental-malloc option, make
39009 it the default.
39010 * config.make.in: Likewise.
39011 * malloc/Makefile: Likewise.
39012
a4172181
AS
390132011-06-27 Andreas Schwab <schwab@redhat.com>
39014
39015 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39016 two-byte characters.
39017
78a7eee7
RM
390182011-06-27 Roland McGrath <roland@hack.frob.com>
39019
62bede13
RM
39020 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39021 AC_CACHE_CHECK invocation.
39022 * configure: Regenerated.
39023
78a7eee7
RM
39024 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39025
5ce33a62
UD
390262011-06-27 Ulrich Drepper <drepper@gmail.com>
39027
034807a9
UD
39028 [BZ #12350]
39029 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39030 bit from old_res_options.
39031
4902da17
UD
39032 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39033
5ce33a62
UD
39034 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39035 value type for setfct.
39036
c2344f56
L
390372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39038
39039 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39040 __gettimeofday instead of gettimeofday.
39041
68468076
UD
390422011-06-26 Ulrich Drepper <drepper@gmail.com>
39043
39044 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39045
acb0d739
L
390462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39047
39048 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39049
39050 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39051 info.
39052
8912479f
L
390532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39054
39055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39056 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39057 strcpy-sse2-unaligned strncpy-sse2-unaligned
39058 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39059 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39060 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39061 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39062 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39063 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39065 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39066 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39067 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39068 (STRCPY): Support SSE2 and SSSE3 versions.
39069
d5495a11
UD
390702011-06-24 Ulrich Drepper <drepper@gmail.com>
39071
39072 [BZ #12874]
39073 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39074 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39075 kernels which artificially limit size of requests.
39076
0b1cbaae
L
390772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39078
39079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39080 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39081 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39082 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39083 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39084 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39085 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39086 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39087 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39089 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39090 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39091 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39092 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39093 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39095 Enable unaligned load optimization for Intel Core i3, i5 and i7
39096 processors.
39097 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39098 Define.
39099 (index_Fast_Unaligned_Load): Define.
39100 (HAS_FAST_UNALIGNED_LOAD): Define.
39101
07f494a0
MP
391022011-06-23 Marek Polacek <mpolacek@redhat.com>
39103
39104 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39105
fa3fc0fe
UD
391062011-06-22 Ulrich Drepper <drepper@gmail.com>
39107
39108 [BZ #12907]
39109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39110 until it is clear that the information is realy needed.
39111 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39112
e12df166
AS
391132011-06-22 Andreas Schwab <schwab@redhat.com>
39114
39115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39116
852eb34d
UD
391172011-06-22 Ulrich Drepper <drepper@gmail.com>
39118
84e2a551
UD
39119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39120 /sys/devices/system/cpu/online if it is usable.
39121
852eb34d
UD
39122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39123 reading the information from the /proc filesystem to once a second.
39124
6e502e19
UD
391252011-06-21 Andreas Jaeger <aj@suse.de>
39126
39127 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39128 NULL after inclusion of kernel headers.
39129
75d39ff2
UD
391302011-06-21 Ulrich Drepper <drepper@gmail.com>
39131
51f9aa6a
UD
39132 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39133 calls to internal_setent.
39134
c0244a9d
UD
39135 [BZ #12885]
39136 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39137 addresses using gethostbyname4_r ignore IPv4 addresses.
39138
c5e3c2ae
UD
39139 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39140 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39141
75d39ff2
UD
39142 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39143
42675c6f
DM
391442011-06-20 David S. Miller <davem@davemloft.net>
39145
39146 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39147 inclusions.
39148 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39149
39150 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39151 (elf_irel): Use it.
39152 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39153 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39154 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39155 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39156 * sysdeps/x86_64/dl-irel.h: Likewise.
39157
39158 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39159 * elf/dl-sym.c: Likewise.
39160
57912a71
UD
391612011-06-15 Ulrich Drepper <drepper@gmail.com>
39162
39163 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39164 need to dereference resplen2.
39165
ee22793d
AS
391662011-06-14 Andreas Schwab <schwab@redhat.com>
39167
39168 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39169
a9e836b0
UD
391702011-06-15 Ulrich Drepper <drepper@gmail.com>
39171
77fb9117
UD
39172 * Makeconfig: Define vardbdir and inst_vardbdir.
39173 * nss/Makefile: Add rules to install db-Makefile.
39174
40c1b22c
UD
39175 * nss/nss_db/db-XXX.c: Cleanup.
39176
9f2da732
UD
39177 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39178 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39179 GLIBC_PRIVATE.
39180 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39181 * nss/makedb.c: Implement -g option to specify that value strings
39182 are generated and should not be added to table iterated over for
39183 get*ent calls.
39184 * nss/nss_db/db-initgroups.c: New file.
39185
82e9a1f7
UD
39186 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39187 interface.
39188
c41af17e
UD
39189 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39190 (internal_getgrouplist): Adjust to name change.
39191 Update use_initgroups_entry if this is not the first call.
39192 * nss/databases.def: Add initgroups entry.
39193
a9e836b0
UD
39194 * nss/makedb.c (compute_tables): Check result of multiple hash table
39195 sizes to minimize maximum chain length.
39196
2666d441
UD
391972011-06-14 Ulrich Drepper <drepper@gmail.com>
39198
39199 * Versions.def: Add entry for libnss_db.
39200 * shlib-versions: Likewise.
39201 * nss/Makefile: Add rules to build libnss_db.
39202 * nss/Versions: Add libnss_db information. Organize libnss_files
39203 entries better.
39204 * nss/db-Makefile: Add gshadow support. Change rules for the new
39205 makedb progra. Some minor improvements to generate smaller files.
39206 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39207 here from...
39208 * nss/makedb.c: ...here.
39209 Improve database format to be smaller and require less memory at
39210 runtime.
39211 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39212 db anymore.
39213 * nss/nss_db/db-netgrp.c: Likewise.
39214 * nss/nss_db/db-open.c: Likewise.
39215 * nss/nss_files/flies-XXX.x: Adjust comments.
39216 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39217 * nss/nss_files/files-grp.c: Likewise.
39218 * nss/nss_files/files-hosts.c: Likewise.
39219 * nss/nss_files/files-network.c: Likewise.
39220 * nss/nss_files/files-proto.c: Likewise.
39221 * nss/nss_files/files-pwd.c: Likewise.
39222 * nss/nss_files/files-rpc.c: Likewise.
39223 * nss/nss_files/files-service.c: Likewise.
39224 * nss/nss_files/files-sgrp.c: Likewise.
39225 * nss/nss_files/files-spwd.c: Likewise.
39226 * nss/nss_db/db-alias.c: Removed.
39227 * nss/nss_db/dummy-db.h: Removed.
39228
9ee76b5a
UD
392292011-06-02 Ulrich Drepper <drepper@gmail.com>
39230
39231 * nss/makedb.c: Rewritten to not use database library.
39232 * nss/Makefile: Update to build new makedb program.
39233
c71ca1f8
AJ
392342011-06-14 Andreas Jaeger <aj@suse.de>
39235
39236 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39237 memset declaration.
39238
3154bfb8
UD
392392011-06-10 Andreas Schwab <schwab@redhat.com>
39240
39241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39242 tmpbuf.
39243
b350afab
RM
392442011-06-10 Roland McGrath <roland@hack.frob.com>
39245
decd4e50
RM
39246 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39247 * elf/Makefile ($(objpfx)ld.so): Likewise.
39248
5615eaf2
RM
39249 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39250 Don't list ld.so twice in dependencies.
39251
39252 * posix/bug-regex31.c: Include <stdlib.h>.
39253
39254 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39255
39256 * nis/nss_compat/compat-spwd.c
39257 (getspent_next_nss_netgr): Remove unused variable.
39258 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39259
39260 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39261 nonmembers" output to use the right array.
39262
39263 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39264
39265 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39266
39267 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39268 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39269 * catgets/gencat.c (read_input_file): Likewise.
39270 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39271
39272 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39273 variable definition inside #if's controlling its use.
39274
39275 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39276
39277 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39278
39279 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39280
39281 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39282 unreachable code.
39283
39284 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39285
b68e08db
RM
39286 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39287 * configure: Regenerated.
39288
b350afab
RM
39289 * Makerules: Revert last change.
39290 * elf/Makefile: Likewise.
39291
28368601
RM
392922011-06-09 Roland McGrath <roland@hack.frob.com>
39293
39294 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39295 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39296 (reloc-link): Likewise.
39297
11988f8f
UD
392982011-06-09 Ulrich Drepper <drepper@gmail.com>
39299
39300 * elf/Makefile: Add rules to build pldd.
39301 * elf/pldd.c: New file.
39302 * elf/pldd-xx.c: New file.
39303
e80fab37
UD
393042011-06-07 Ulrich Drepper <drepper@gmail.com>
39305
39306 * version.h: Update for 2.15 development version.
39307
9b849836
DM
393082011-06-07 David S. Miller <davem@davemloft.net>
39309
39310 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39311 ifuncs.
39312 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39313 elf_machine_lazy_rel): Likewise.
39314 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39316 elf_machine_lazy_rel): Likewise.
39317 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39318 dl_hwcap via passed in argument.
39319 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39320 Likewise.
39321
5a31b283
AK
393222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39323
39324 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39325
069e52f8
RM
393262011-06-06 Roland McGrath <roland@hack.frob.com>
39327
39328 [BZ #12849]
39329 * manual/fdl-1.1.texi: New file, verbatim from:
39330 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39331 * manual/lgpl-2.1.texi: New file, verbatim from:
39332 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39333 * manual/Makefile (licenses): New variable, list those new file names.
39334 (texis): Use it.
39335 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39336
39337 * manual/fdl.texi: File removed.
39338 * manual/lesser.texi: File removed.
39339 * manual/libc.texinfo (Copying, Documentation License):
39340 Use new @include file names, put @appendix directive before @include.
39341
f16846a5
JJ
393422011-06-04 Jakub Jelinek <jakub@redhat.com>
39343
39344 [BZ #12841]
39345 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39346 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39347 (mq_open): Add __NTH.
39348
3d29045b
L
393492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39350
39351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39352 Assume Intel Core i3/i5/i7 processor if AVX is available.
39353
8c297311
UD
393542011-05-31 Ulrich Drepper <drepper@gmail.com>
39355
39356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39357 typo.
39358
c8fc0c91
UD
393592011-05-31 Andreas Schwab <schwab@redhat.com>
39360
39361 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39362 memory. Use alloca_account. Fix memory leak when retrying.
39363
5b27a807
UD
393642011-05-31 Ulrich Drepper <drepper@gmail.com>
39365
356f8bc6
UD
39366 * version.h (RELEASE): Bump for 2.14 release.
39367 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39368
5b27a807
UD
39369 * config.make.in (RANLIB): Remove entry.
39370
01f16ab0
UD
393712011-05-30 Ulrich Drepper <drepper@gmail.com>
39372
41fce8bd
UD
39373 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39374 (libc.pot): Work around missing support for .ksh extension in xgettext.
39375
4769ae77
UD
39376 [BZ #12684]
39377 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39378 if both request failed.
39379 (send_dg): In case of server errors clear resplen or *resplen2.
39380
6b1e7d19
UD
39381 [BZ #12454]
39382 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39383 when there are multiple maps.
39384 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39385 (_dl_fini): Remove test here.
39386
01f16ab0
UD
39387 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39388
b1ebd700
UD
393892011-05-29 Ulrich Drepper <drepper@gmail.com>
39390
7ae22829
UD
39391 [BZ #12350]
39392 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39393 bit from old_res_options.
39394 (gaih_inet): Likewise.
39395
553149f6 39396 [BZ #11099]
18a84741 39397 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39398 as signed.
39399
652ffab1
UD
39400 * resolv/res_init.c (res_setoptions): Make the code more compact.
39401
16985fd0
UD
39402 [BZ #11558]
39403 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39404 set RES_USEVC.
39405
0464f746
UD
39406 [BZ #11634]
39407 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39408
7d17596c
UD
39409 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39410
cf6bbbd7
UD
39411 [BZ #11781]
39412 * malloc/malloc.h: Declare malloc hook variables as volatile.
39413
13f1ab36
UD
39414 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39415 in last patch.
39416
b1ebd700
UD
39417 [BZ #11799]
39418 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39419 raise in the comment.
80e2212d
UD
39420 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39422 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39423
ce67228d
UD
394242011-05-28 Ulrich Drepper <drepper@gmail.com>
39425
8887a920
UD
39426 [BZ #12811]
39427 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39428 grow the buffers more if it already has to be sufficient.
39429 (build_wcs_upper_buffer): Likewise.
39430 * posix/regexec.c (check_matching): Likewise.
39431 (clean_state_log_if_needed): Likewise.
39432 (extend_buffers): Don't enlarge buffers beyond size of the input
39433 buffer.
39434 Patches mostly by Emil Wojak <emil@wojak.eu>.
39435 * posix/bug-regex32.c: New file.
39436 * posix/Makefile (tests): Add bug-regex32.
39437
4f031072
UD
39438 * locale/findlocale.c (_nl_find_locale): Return right away if
39439 _nl_explode_name failed.
39440 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39441
d0478f0c
UD
39442 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39443
de81b246
UD
39444 * debug/xtrace.sh: Unify messages.
39445 * malloc/memusage.sh: Likewise.
39446
c738465a
UD
39447 [BZ #12813]
39448 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39449 time symbol from vDSO. Substitute with vsyscall if not available.
39450 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39451 __vdso_time.
39452
f1f929d7
UD
39453 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39454 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39455 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39456 Add sendmmsg and internal_sendmmsg.
39457 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39458 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39459 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39460
ce67228d
UD
39461 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39462 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39464
e57420c6
UD
394652011-05-27 Ulrich Drepper <drepper@gmail.com>
39466
a8509ca5
UD
39467 [BZ #12813]
39468 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39469 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39470 available.
39471 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39472 __vdso_getcpu.
39473
e57420c6
UD
39474 [BZ #12814]
39475 * iconvdata/Makefile (tests): Add bug-iconv9.
39476 * iconvdata/bug-iconv9.c: New file.
39477
4d07db15
AS
394782011-05-27 Andreas Schwab <schwab@redhat.com>
39479
39480 [BZ #12814]
39481 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39482
ea486f69
JJ
394832011-05-25 Jakub Jelinek <jakub@redhat.com>
39484
39485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39486 (struct user_regs_struct): Change intcs field back to cs.
39487
6f038433
UD
394882011-05-25 Ulrich Drepper <drepper@gmail.com>
39489
39490 * po/ja.po: Update from translation team.
39491
67f86a25
UD
394922011-05-23 Ulrich Drepper <drepper@gmail.com>
39493
39494 [BZ #12795]
39495 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39496 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39497
def7fbd6
AS
394982011-05-20 Andreas Schwab <schwab@redhat.com>
39499
39500 * stdlib/longlong.h: Update from GCC.
39501
f50ef8f1
AS
395022011-05-23 Andreas Schwab <schwab@redhat.com>
39503
39504 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39505 parameter name.
39506 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39507 Add parameter name.
39508 (__sysconf): Pass it down.
39509
de7ce8f1
UD
395102011-05-22 Ulrich Drepper <drepper@gmail.com>
39511
f2962a71
UD
39512 [BZ #12671]
39513 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39514 some situations.
39515 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39516 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39517 add in in __libc_use_alloca calls. Adjust callers.
39518 (glob): Use malloc in some situations.
39519
de7ce8f1
UD
39520 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39521 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39522 pltexit.
39523
aec84f53
UD
395242011-05-21 Ulrich Drepper <drepper@gmail.com>
39525
05bb4a68
UD
39526 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39527 and CLOCK_BOOTTIME_ALARM.
39528
7ea72f99
UD
39529 [BZ #12782]
39530 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39531 is returned.
39532
7e4afad5
UD
39533 * string/_strerror.c (__strerror_r): Print negative errors as signed
39534 numbers.
39535
8e211fec
UD
39536 [BZ #12777]
39537 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39538 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39539 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39540
f7d82dc9
UD
39541 * configure.in: Fix typo in redirection and correct removal of test
39542 files in two cases.
39543
cc9e536d
UD
39544 [BZ #12788]
39545 * locale/setlocale.c (new_composite_name): Fix test to check for
39546 identical name of all categories.
39547
aec84f53
UD
39548 [BZ #12792]
39549 * libio/filedoalloc.c (local_isatty): New function.
39550 (_IO_file_doallocate): Use local_isatty.
39551 * stdio-common/perror.c (perror): In case a new stream is used
39552 forward the stream error.
39553 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39554 error flag.
39555
78e64fdc
RT
395562011-05-20 Ulrich Drepper <drepper@gmail.com>
39557
34a9094f
UD
39558 [BZ #11869]
39559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39560 alloca.
39561 * include/alloca.h (extend_alloca_account): Define.
39562
78e64fdc
RT
39563 [BZ #11857]
39564 * posix/regex.h: Fix comments with documentation of user-accessible
39565 fields after compilation and describe correct free'ing of pattern
39566 after re_compile_pattern.
39567 Patch by Reuben Thomas <rrt@sc3d.org>.
39568
457bddfc
RA
395692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39570
39571 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39572 and -mno-altivec to prevent the compiler from using Altivec and/or
39573 VSX instructions when the corresponding registers are not available.
39574
a4527b51
AS
395752011-05-19 Andreas Schwab <schwab@redhat.com>
39576
39577 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39578
ed690b2f
UD
395792011-05-19 Ulrich Drepper <drepper@gmail.com>
39580
39581 * libio/freopen.c (freopen): Use __dup2, not dup2.
39582 * libio/freopen64.c (freopen64): Likewise.
39583
8db73634
L
395842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39585
39586 [BZ #12775]
39587 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39588 * math/Makefile (tests): Add test-powl.
39589 (CFLAGS-test-powl.c): Define.
39590 * math/test-powl.c: New file.
39591
0a197a9d
L
395922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39593
39594 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39595
ee30c380
UD
395962011-05-17 Ulrich Drepper <drepper@gmail.com>
39597
39598 [BZ #11837]
39599 * iconvdata/gb18030.c: Update to GB18020-2005.
39600
6ce75379
UD
396012011-05-16 Ulrich Drepper <drepper@gmail.com>
39602
a4b89fd8
AR
39603 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39604 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39605 Patch by Aharon Robbins <arnold@skeeve.com>.
39606
ea389b12
UD
39607 [BZ #11892]
39608 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39609 on the stack.
39610
68a3f91f
UD
39611 [BZ #11895]
39612 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39613 through underflows.
39614
15cc7dd1
UD
39615 [BZ #12766]
39616 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39617 point to strings before performing equality test for error_one_per_line
39618 mode.
39619
f3799213
UD
39620 [BZ #11697]
39621 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39622
d79a9c94
UD
39623 [BZ #11820]
39624 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39625 (struct user_fpregs_struct): Avoid __uint*_t types.
39626
56e5eb46
UD
39627 [BZ #6420]
39628 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39629 symbol info. Use it instead of calling _dl_addr locally.
39630 (lock_and_info): New function.
39631 (tr_freehook): Call lock_and_info and pass symbol info as additional
39632 parameter to tr_where.
39633 (tr_mallochook): Likewise.
39634 (tr_reallochook): Likewise.
39635 (tr_memalignhook): Likewise.
39636
6ce75379
UD
39637 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39638 used and couldn't be at all thread-safe.
39639
f8a3b5bf
UD
396402011-05-15 Ulrich Drepper <drepper@gmail.com>
39641
94b7cc37
UD
39642 * libio/freopen.c (freopen): Don't close old file descriptor
39643 before the new one is opened. Instead dup the new file descriptor
39644 to the old one after the new stream is created.
39645 * libio/freopen64.c (freopen64): Likewise.
39646 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39647 * libio/fileops.c (_IO_new_file_close_it): Handle new
39648 _IO_FLAGS2_NOCLOSE flag.
39649 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39650 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39651 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39652 _IO_FLAGS2_NOCLOSE flag.
39653 * include/unistd.h: Add hidden_proto for dup3.
39654 Define __have_dup3.
39655 * io/dup3.c: Define hidden symbol.
39656 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39657
bd25564e
UD
39658 [BZ #7101]
39659 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39660 when an incomplete long option is used.
39661 * posix/tst-getopt_long1.c: New file.
39662 * posix/Makefile (tests): Add tst-getopt_long1.
39663
c84cfef4
UD
39664 [BZ #10138]
39665 * scripts/config.guess: Update from autoconf-2.68.
39666 * scripts/config.sub: Likewise.
39667
3b85df27
UD
39668 [BZ #10157]
39669 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39670 tests into ...
39671 (has_cpuclock): ...this. New function.
39672 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39673 macro here based on has_cpuclock code.
39674
15a856b1
UD
39675 [BZ #10149]
39676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39677 First byte (not low byte) is now always NUL.
39678 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39679
05f399e6
UD
39680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39681 Use non-cancelable interfaces.
39682
10a52685 39683 [BZ #9809]
94ecc67d
UD
39684 * locale/iso-639.def: Add entry for Sorani.
39685
f8a3b5bf
UD
39686 [BZ #11901]
39687 * include/stdlib.h: Move include protection to the right place.
39688 Define abort_msg_s. Declare __abort_msg with it.
39689 * stdlib/abort.c (__abort_msg): Adjust type.
39690 * assert/assert.c (__assert_fail_base): New function. Majority
39691 of code from __assert_fail. Allocate memory for __abort_msg with
39692 mmap.
39693 (__assert_fail): Now call __assert_fail_base.
39694 * assert/assert-perr.c: Remove bulk of implementation. Use
39695 __assert_fail_base.
39696 * include/assert.hL Declare __assert_fail_base.
39697 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39698 mmap.
39699 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39700
1af4e298
UD
397012011-05-14 Ulrich Drepper <drepper@gmail.com>
39702
f8a3b5bf 39703 [BZ #11952]
d26dfc60
MG
39704 [BZ #12453]
39705 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39706 until all modules are registered in the DTV.
39707 * elf/Makefile: Add rules to build and run tst-tls19.
39708 * elf/tst-tls19.c: New file.
39709 * elf/tst-tls19mod1.c: New file.
39710 * elf/tst-tls19mod2.c: New file.
39711 * elf/tst-tls19mod3.c: New file.
39712 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39713
2fc54d6f
UD
39714 [BZ #12083]
39715 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39716 correctly.
39717
98d76b46
UD
39718 [BZ #12601]
39719 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39720 two-byte sequence errors.
39721 * iconvdata/Makefile (tests): Add bug-iconv8.
39722 * iconvdata/bug-iconv8.c: New file.
39723
da3c19ef
UD
39724 [BZ #12626]
39725 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39726 buf2 definition.
39727
ca408c15
UD
39728 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39729
d6f67f7d
UD
39730 [BZ #12432]
39731 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39732 (dummy_getcfa): New function.
39733 (init): Get _Unwind_GetCFA address, use dummy if not found.
39734 (backtrace_helper): In recursion check, also check whether CFA changes.
39735 (__backtrace): Completely initialize arg.
39736
1af4e298 39737 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39738 storing incomplete byte sequence in state object. Avoid testing for
39739 guaranteed too small input if we know there is enough data available.
1af4e298 39740
da62f81b
AS
397412011-05-11 Andreas Schwab <schwab@redhat.com>
39742
39743 * Makeconfig (+link-pie): Indent.
39744 * Rules (binaries-pie): Define if $(have-fpie) and
39745 $(build-shared).
39746 (binaries-shared): Also filter out $(binaries-pie).
39747 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39748 * nscd/Makefile (others-pie): Add nscd.
39749 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39750 ($(objpfx)nscd): Remove command override.
39751 * login/Makefile (others-pie): Add pt_chown.
39752 ($(objpfx)pt_chown): Remove command override.
39753 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39754 remove command overrides.
39755
fcabc0f8
UD
397562011-05-13 Ulrich Drepper <drepper@gmail.com>
39757
20030ae6
UD
39758 * libio/tst_putwc.c: Fix error messages.
39759
fcabc0f8
UD
39760 [BZ #12724]
39761 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39762 currently writing and seek to current position when not.
39763 * libio/Makefile (tests): Add bug-fclose1.
39764 * libio/bug-fclose1.c: New file.
39765
320a5dc0
PB
397662011-05-12 Ulrich Drepper <drepper@gmail.com>
39767
39768 [BZ #12511]
39769 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39770 don't set DF_1_NODELETE here.
39771 (do_lookup_x): When entering new entry test for copy relocation
39772 and if necessary set DF_1_NODELETE flag.
39773 * elf/tst-unique4.cc: New file.
39774 * elf/tst-unique4.h: New file.
39775 * elf/tst-unique4lib.cc: New file.
39776 * elf/Makefile: Add rules to build and run tst-unique4.
39777 Patch by Piotr Bury <pbury@goahead.com>.
39778
22836f52
UD
397792011-05-11 Ulrich Drepper <drepper@gmail.com>
39780
f574184a
UD
39781 [BZ #12052]
39782 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39783
e1fb097f
UD
39784 [BZ #12625]
39785 * misc/mntent_r.c (addmntent): Flush the stream after the output
39786
22836f52
UD
39787 [BZ #12393]
39788 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39789 (is_trusted_path_normalize): Skip initial colon. Append slash
39790 to empty buffer. Duplicate is_trusted_path code but allow
39791 constructed patch to be prefix.
39792 (is_dst): Allow $ORIGIN followed by /.
39793 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39794 Correct testing of result of is_trusted_path_normalize
39795 (decompose_rpath): Fix warning.
39796
7b3b0b2a
UD
397972011-05-10 Ulrich Drepper <drepper@gmail.com>
39798
39799 [BZ #11257]
39800 * grp/initgroups.c (internal_getgrouplist): When we found the service
39801 list through the initgroups entry in nsswitch.conf do not always
39802 continue on a successful lookup. Don't always use the
eac80ce2 39803 __nss_group_database value if it is set.
7b3b0b2a
UD
39804 * nss/nsswitch.conf (initgroups): Change action for successful db
39805 lookup to continue for compatibility.
39806
2a81eaa5
UD
398072011-05-09 Ulrich Drepper <drepper@gmail.com>
39808
be97a69e
UD
39809 [BZ #11532]
39810 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39811 and CP774 modules.
39812 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39813 and CP774 modules.
39814 * iconvdata/tst-tables.sh: Likewise.
39815 * iconvdata/cp770.c: New file.
39816 * iconvdata/cp771.c: New file.
39817 * iconvdata/cp772.c: New file.
39818 * iconvdata/cp773.c: New file.
39819 * iconvdata/cp774.c: New file.
39820 * iconvdata/testdata/CP770: New file.
39821 * iconvdata/testdata/CP770..UTF8: New file.
39822 * iconvdata/testdata/CP771: New file.
39823 * iconvdata/testdata/CP771..UTF8: New file.
39824 * iconvdata/testdata/CP772: New file.
39825 * iconvdata/testdata/CP772..UTF8: New file.
39826 * iconvdata/testdata/CP773: New file.
39827 * iconvdata/testdata/CP773..UTF8: New file.
39828 * iconvdata/testdata/CP774: New file.
39829 * iconvdata/testdata/CP774..UTF8: New file.
39830
39831 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39832 END CHARMAP line.
39833 * iconvdata/gen-8bit-gap.sh: Likewise.
39834 * iconvdata/gen-8bit.sh: Likewise.
39835
c1e9e399
UD
39836 * locale/iso-639.def: Add ary entry.
39837
24c55fb3 39838 [BZ #11258]
96b4b1b0
UD
39839 * locale/C-translit.h.in: Add U20A1 transliteration.
39840
bdc2f971
KB
39841 [BZ #12178]
39842 * locale/iso-639.def: Add wae entry.
39843 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39844
2952b117
UD
39845 [BZ #12545]
39846 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39847 for n.
39848
2a81eaa5
UD
39849 [BZ #12711]
39850 * locale/C-translit.h.in: Add entry for U20B9.
39851 Patch by pravin.d.s@gmail.com.
39852
28377d1b
UD
398532011-05-08 Ulrich Drepper <drepper@gmail.com>
39854
7fb90fb8
UD
39855 [BZ #12713]
39856 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39857 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39858 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39859 in rtld. Use *stat64.
7fb90fb8 39860 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39861 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39862 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39863 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39864 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39865 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39866 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39867 __fstatat64 macros.
7fb90fb8
UD
39868 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39869 * dirent/rewinddir.c: Add libc_hidden_def.
39870 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39871 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39872
28377d1b
UD
39873 * include/dirent.h (__alloc_dir): Add flags parameter.
39874 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39875 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39876 __alloc_dir.
39877 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39878 from fdopendir if O_CLOEXEC is already set.
39879
66bdbaa4
AM
398802011-03-15 Alan Modra <amodra@gmail.com>
39881
39882 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39883 l_tls_firstbyte_offset non-zero. Save padding offset in
39884 l_tls_firstbyte_offset for later use.
39885 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39886 freeing static tls block.
39887
95721191
JN
398882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39889
39890 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39891 where #ifdef was intended. The intent is to prevent ARG_MAX from
39892 being defined by the kernel headers.
39893
f87dfb1f
UD
398942011-05-07 Ulrich Drepper <drepper@gmail.com>
39895
39896 [BZ #12734]
39897 * resolv/resolv.h: Define RES_NOTLDQUERY.
39898 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39899 no-tld-query and set RES_NOTLDQUERY.
39900 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39901 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39902 modern BIND to search name as TLD unless forbidden.
39903
47c3cd7a
UD
399042011-05-07 Petr Baudis <pasky@suse.cz>
39905 Ulrich Drepper <drepper@gmail.com>
39906
39907 [BZ #12393]
39908 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39909 (is_trusted_path): ...to here.
c1e9ea35 39910 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39911 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39912 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39913
8a35c912
PP
399142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39915
39916 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39917 __BEGIN/__END_DECLS.
39918
acd41f47
UD
399192011-05-06 Ulrich Drepper <drepper@gmail.com>
39920
39921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39922 NSS_STATUS_NOTFOUND if no record was found.
39923
597df647
AS
399242011-05-05 Andreas Schwab <schwab@redhat.com>
39925
39926 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39927 (headers-not-in-tirpc): Remove rpc/netdb.h
39928 * resolv/netdb.h: Revert last change.
39929
b9af1301
PP
399302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39931
39932 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39933 circular dependency between libgcc.a and libc.a.
39934
4e34d5f5
AS
399352011-05-05 Andreas Schwab <schwab@redhat.com>
39936
39937 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39938 * nis/Makefile: Don't install rpcsvc/*.
39939 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39940 instead of <rpc/types.h>.
39941 (MAXHOSTNAMELEN): Define.
39942
00ee369c
AS
399432011-05-03 Andreas Schwab <schwab@redhat.com>
39944
39945 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39946
0b592a30
MB
399472011-04-28 Maciej Babinski <mbabinski@google.com>
39948
39949 [BZ #12714]
39950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39951 gethostbyname4_r when IPv6 results are possible.
39952
6e04cbbe
UD
399532011-05-02 Ulrich Drepper <drepper@gmail.com>
39954
39955 [BZ #12723]
39956 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39957 _PC_PIPE_BUF handling.
39958
e4ecafe0
BH
399592011-04-30 Bruno Haible <bruno@clisp.org>
39960
39961 [BZ #12717]
39962 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39963 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39964 to 'int'.
39965 * inet/getnameinfo.c (getnameinfo): Likewise.
39966
125ee683
UD
399672011-04-29 Ulrich Drepper <drepper@gmail.com>
39968
39969 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39970 to groups setting in database lookup.
39971 * nss/nsswitch.conf: Add initgroups entry.
39972
b722481a
EB
399732011-04-22 Ulrich Drepper <drepper@gmail.com>
39974
39975 [BZ #12685]
39976 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39977 mode string.
39978 Patch by Eric Blake <eblake@redhat.com>.
39979
4df46dbd
L
399802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39981
39982 * sunrpc/Makefile (need-export-routines): Add svc_run.
39983 (routines): Remove svc_run.
39984 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39985 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39986 * sunrpc/svc_run.c (svc_run): Likewise.
39987 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39988
e84142d2
UD
399892011-04-21 Ulrich Drepper <drepper@gmail.com>
39990
39991 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39992 problem in reallocation in last patch.
39993
877175d8
UD
399942011-04-20 Ulrich Drepper <drepper@gmail.com>
39995
39996 * sunrpc/Makefile: Move inclusion of Rules.
39997
ab8eed78
UD
399982011-04-19 Ulrich Drepper <drepper@gmail.com>
39999
40000 * nss/nss_files/files-initgroups.c: New file.
40001 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40002 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40003 _nss_files_initgroups_dyn.
40004
e3d8f584
RS
400052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40006
40007 * elf/elf.h (R_ARM_IRELATIVE): Define.
40008
af190f45
UD
400092011-04-19 Ulrich Drepper <drepper@gmail.com>
40010
40011 * po/ru.po: Update from translation team.
40012
53cf59ef
UD
400132011-04-17 Ulrich Drepper <drepper@gmail.com>
40014
40015 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40016 dependencies.
40017
4c559bcd
MF
400182011-02-06 Mike Frysinger <vapier@gentoo.org>
40019
40020 [BZ #12653]
40021 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40022 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40024 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40025 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40026
4420675c
AS
400272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40028
40029 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40030 differing bytes.
40031 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40032 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40033 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40034
75ea32ab
UD
400352011-04-17 Ulrich Drepper <drepper@gmail.com>
40036
40037 [BZ #12420]
40038 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40039 storing it.
40040 * stdlib/bug-getcontext.c: New file.
40041 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40042
27390476
AK
400432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40044
40045 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40046 instructions into .machine "z9-109".
40047 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40048 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40049
10442705
AK
400502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40051
40052 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40053 between environment variables and auxiliary vector.
40054
7b57bfe5
UD
400552011-04-16 Ulrich Drepper <drepper@gmail.com>
40056
40057 * Makefile: Add rules to build linkobj/libc.so.
40058 * include/libc-symbols.h: Define libc_hidden_nolink.
40059 * include/rpc/auth.h: Mark functions which are to be hidden.
40060 * include/rpc/auth_des.h: Likewise.
40061 * include/rpc/auth_unix.h: Likewise.
40062 * include/rpc/clnt.h: Likewise.
40063 * include/rpc/des_crypt.h: Likewise.
40064 * include/rpc/key_prot.h: Likewise.
40065 * include/rpc/pmap_clnt.h: Likewise.
40066 * include/rpc/pmap_prot.h: Likewise.
40067 * include/rpc/pmap_rmt.h: Likewise.
40068 * include/rpc/rpc_msg.h: Likewise.
40069 * include/rpc/svc.h: Likewise.
40070 * include/rpc/svc_auth.h: Likewise.
40071 * include/rpc/xdr.h: Likewise.
40072 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40073 * nss/Makefile: Likewise.
40074 * sunrpc/Makefile: Don't install headers. Build library with normal
40075 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40076 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40077 for the compat linking library. Remove use of INTDEF/INTUSE.
40078 * sunrpc/auth_none.c: Likewise.
40079 * sunrpc/auth_unix.c: Likewise.
40080 * sunrpc/authdes_prot.c: Likewise.
40081 * sunrpc/authuxprot.c: Likewise.
40082 * sunrpc/clnt_gen.c: Likewise.
40083 * sunrpc/clnt_perr.c: Likewise.
40084 * sunrpc/clnt_raw.c: Likewise.
40085 * sunrpc/clnt_simp.c: Likewise.
40086 * sunrpc/clnt_tcp.c: Likewise.
40087 * sunrpc/clnt_udp.c: Likewise.
40088 * sunrpc/clnt_unix.c: Likewise.
40089 * sunrpc/des_crypt.c: Likewise.
40090 * sunrpc/des_soft.c: Likewise.
40091 * sunrpc/get_myaddr.c: Likewise.
40092 * sunrpc/key_call.c: Likewise.
40093 * sunrpc/key_prot.c: Likewise.
40094 * sunrpc/netname.c: Likewise.
40095 * sunrpc/pm_getmaps.c: Likewise.
40096 * sunrpc/pm_getport.c: Likewise.
40097 * sunrpc/pmap_clnt.c: Likewise.
40098 * sunrpc/pmap_prot.c: Likewise.
40099 * sunrpc/pmap_prot2.c: Likewise.
40100 * sunrpc/pmap_rmt.c: Likewise.
40101 * sunrpc/publickey.c: Likewise.
40102 * sunrpc/rpc_cmsg.c: Likewise.
40103 * sunrpc/rpc_common.c: Likewise.
40104 * sunrpc/rpc_dtable.c: Likewise.
40105 * sunrpc/rpc_prot.c: Likewise.
40106 * sunrpc/rpc_thread.c: Likewise.
40107 * sunrpc/rtime.c: Likewise.
40108 * sunrpc/svc.c: Likewise.
40109 * sunrpc/svc_auth.c: Likewise.
40110 * sunrpc/svc_authux.c: Likewise.
40111 * sunrpc/svc_raw.c: Likewise.
40112 * sunrpc/svc_run.c: Likewise.
40113 * sunrpc/svc_simple.c: Likewise.
40114 * sunrpc/svc_tcp.c: Likewise.
40115 * sunrpc/svc_udp.c: Likewise.
40116 * sunrpc/svc_unix.c: Likewise.
40117 * sunrpc/svcauth_des.c: Likewise.
40118 * sunrpc/xcrypt.c: Likewise.
40119 * sunrpc/xdr.c: Likewise.
40120 * sunrpc/xdr_array.c: Likewise.
40121 * sunrpc/xdr_float.c: Likewise.
40122 * sunrpc/xdr_intXX_t.c: Likewise.
40123 * sunrpc/xdr_mem.c: Likewise.
40124 * sunrpc/xdr_rec.c: Likewise.
40125 * sunrpc/xdr_ref.c: Likewise.
40126 * sunrpc/xdr_sizeof.c: Likewise.
40127 * sunrpc/xdr_stdio.c: Likewise.
40128
e6c61494
UD
401292011-04-10 Ulrich Drepper <drepper@gmail.com>
40130
40131 [BZ #12650]
40132 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40133 * sysdeps/ia64/dl-tls.h: Likewise.
40134 * sysdeps/powerpc/dl-tls.h: Likewise.
40135 * sysdeps/s390/dl-tls.h: Likewise.
40136 * sysdeps/sh/dl-tls.h: Likewise.
40137 * sysdeps/sparc/dl-tls.h: Likewise.
40138 * sysdeps/x86_64/dl-tls.h: Likewise.
40139 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40140
34fe483e
AS
401412011-03-14 Andreas Schwab <schwab@redhat.com>
40142
40143 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40144 rpath element also skip the following colon.
40145 (expand_dynamic_string_token): Add is_path parameter and pass
40146 down to DL_DST_REQUIRED and _dl_dst_substitute.
40147 (decompose_rpath): Call expand_dynamic_string_token with
40148 non-zero is_path. Ignore empty rpaths.
40149 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40150 with zero is_path.
40151
f12a32e6
AS
401522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40153
40154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40155 Make cancelable.
40156
38a7d692
UD
401572011-04-09 Ulrich Drepper <drepper@gmail.com>
40158
40159 [BZ #12655]
40160 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40161 Patch by Filipe David Manana <fdmanana@apache.org>.
40162
e451d22b
AS
401632011-04-07 Andreas Schwab <schwab@redhat.com>
40164
40165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40166 Maintain aligned stack.
40167 (CHECK_RSP): Remove unused macro.
40168
dedc7c7b
UD
401692011-04-03 Ulrich Drepper <drepper@gmail.com>
40170
40171 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40172 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40173
94521213
UD
401742011-04-02 Ulrich Drepper <drepper@gmail.com>
40175
40176 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40177
8cb700c0 40178 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40179
0354e355
L
401802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40181
40182 [BZ #12518]
40183 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40184 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40185 * sysdeps/x86_64/memmove.c: New file.
40186 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40187 (memcpy): Renamed to ...
40188 (__new_memcpy): This.
40189 (memcpy): Provide GLIBC_2_14 memcpy.
40190 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40191 (memcpy): Provide GLIBC_2_2_5 memcpy.
40192
8593482f
UD
401932011-04-01 Ulrich Drepper <drepper@gmail.com>
40194
40195 [BZ #12631]
40196 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40197
81a5726b
AS
401982011-03-30 Andreas Schwab <schwab@redhat.com>
40199
40200 * misc/syncfs.c: New file.
40201 * misc/Makefile (routines): Add syncfs.
40202 * posix/unistd.h: Declare syncfs.
40203 * sysdeps/unix/syscalls.list: Add syncfs.
40204
00e5419f
AS
402052011-04-01 Andreas Schwab <schwab@redhat.com>
40206
40207 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40208 open_by_handle_at.
40209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40212 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40214 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40216
748876bf
UD
402172011-04-01 Ulrich Drepper <drepper@gmail.com>
40218
658e451d
UD
40219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40220 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40226
748876bf
UD
40227 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40228 sync_file_range.c with -fexceptions.
40229 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40230 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40231 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40232 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40233 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40234 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40236 sync_file_range as cancellation point
40237 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40238 now a wrapper around __call_sync_file_range with cancellation handling.
40239 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40240 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40241 function name to __call_sync_file_range.
40242 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40243 Add call_sync_file_range.
748876bf 40244
6e63d5e1
AS
402452011-04-01 Andreas Schwab <schwab@redhat.com>
40246
40247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40248 bits/timex.h.
6e63d5e1 40249
46998f74
UD
402502011-04-01 Ulrich Drepper <drepper@gmail.com>
40251
4c1423ed
UD
40252 * iconv/iconv.h: Fix typo in comment.
40253 * io/fcntl.h: Likewise.
40254 * libio/stdio.h: Likewise.
40255 * posix/spawn.h: Likewise.
40256 * posix/unistd.h: Likewise.
40257 * stdlib/stdlib.h: Likewise.
40258 * time/time.h: Likewise.
40259 * wcsmbs/wchar.h: Likewise.
40260
158648c0
UD
40261 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40262 open_by_handle): Add.
40263 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40264 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40265 Augment a few comments.
40266 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40271 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40272 open_by_handle.
40273
46998f74
UD
40274 * io/fcntl.h (AT_EMPTY_PATH): Define.
40275
83fe108b
UD
402762011-03-30 Ulrich Drepper <drepper@gmail.com>
40277
40278 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40279 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40280 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40281 to...
40282 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40283 * Versions.def: Add GLIBC_2.14.
40284 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40285 Export.
83fe108b 40286
bb242059
UD
402872011-03-22 Ulrich Drepper <drepper@gmail.com>
40288
40289 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40290 round counter.
40291 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40292
c97a1282
L
402932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40294
40295 [BZ #12597]
40296 * string/test-strncmp.c (do_page_test): New function.
40297 (check2): Likewise.
40298 (test_main): Call check2.
40299 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40300
2a115601
UD
403012011-03-20 Ulrich Drepper <drepper@gmail.com>
40302
40303 [BZ #12587]
40304 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40305 Handle cache information in CPU leaf 4.
40306 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40307
8126d904
UD
403082011-03-18 Ulrich Drepper <drepper@gmail.com>
40309
042c49c6 40310 [BZ #12583]
8126d904
UD
40311 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40312 character representation.
40313 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40314
ccfe366e
RA
403152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40316
40317 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40318 END(__isnan) to END(__isnanf) to match function entry point/label
40319 EALIGN(__isnanf,...).
40320
c6e13027
JJ
403212011-03-10 Jakub Jelinek <jakub@redhat.com>
40322
40323 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40324
33f85a3f
UD
403252011-03-10 Ulrich Drepper <drepper@gmail.com>
40326
028478fa
UD
40327 [BZ #12510]
40328 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40329 copy from the symbol referenced in the relocation to initialize the
40330 used variable.
40331 Patch by Piotr Bury <pbury@goahead.com>.
40332 * elf/Makefile: Add rules to build and tst-unique3.
40333 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40334 * elf/tst-unique3.cc: New file.
40335 * elf/tst-unique3.h: New file.
40336 * elf/tst-unique3lib.cc: New file.
40337 * elf/tst-unique3lib2.cc: New file.
40338
33f85a3f
UD
40339 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40340
03592fc7
MF
403412011-03-10 Mike Frysinger <vapier@gentoo.org>
40342
40343 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40344 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40345 to _start.
03592fc7 40346
6a5ee102
UD
403472011-03-06 Ulrich Drepper <drepper@gmail.com>
40348
40349 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40350 to-be-loaded object along a path to loader is ld.so.
40351
7e4ba49c
HJ
403522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40353 Ulrich Drepper <drepper@gmail.com>
40354
40355 * sysdeps/x86_64/memset.S: After aligning destination, code
40356 branches to different locations depending on the value of
40357 misalignment, when multiarch is enabled. Fix this.
40358
403592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40360
40361 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40362 Set _x86_64_preferred_memory_instruction for AMD processsors.
40363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40364 Set bit_Prefer_SSE_for_memop for AMD processors.
40365
13a804de
UD
403662011-03-04 Ulrich Drepper <drepper@gmail.com>
40367
40368 * libio/fmemopen.c (fmemopen): Optimize a bit.
40369
9d25c392
AS
403702011-03-03 Andreas Schwab <schwab@redhat.com>
40371
40372 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40373
a5543c6a
RM
403742011-03-03 Roland McGrath <roland@redhat.com>
40375
40376 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40377
012d35f7
DM
403782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40379
7e4ba49c 40380 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40381 __bzero_ultra1 instead of __memset_ultra1.
40382
4bff6e01
AS
403832011-02-23 Andreas Schwab <schwab@redhat.com>
40384 Ulrich Drepper <drepper@gmail.com>
40385
40386 [BZ #12509]
40387 * include/link.h (struct link_map): Add l_orig_initfini.
40388 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40389 returning unsuccessfully.
40390 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40391 close of a file loaded at startup, restore the original l_initfini
40392 list.
40393 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40394 list, store the pointer.
40395 * elf/Makefile ($(objpfx)noload-mem): New rule.
40396 (noload-ENV): Define.
40397 (tests): Add $(objpfx)noload-mem.
40398 * elf/noload.c: Include <memcheck.h>.
40399 (main): Call mtrace. Close all opened handles.
40400
f2092faf
AS
404012011-02-17 Andreas Schwab <schwab@redhat.com>
40402
40403 [BZ #12454]
40404 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40405 dependencies are missing.
40406
6c8a2e88
ST
404072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40408
f2092faf 40409 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40410 Hurd needs munmap.
40411 * sysdeps/mach/hurd/ifreq.h: New file.
40412
84a42118
PB
404132011-01-27 Petr Baudis <pasky@suse.cz>
40414 Ulrich Drepper <drepper@gmail.com>
40415
071f805e 40416 [BZ 12445]#
84a42118
PB
40417 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40418 to extend_alloca().
40419 * stdio-common/bug23.c: New file.
40420 * stdio-common/Makefile (tests): Add bug23.
40421
e23fe25b
AS
404222010-09-28 Andreas Schwab <schwab@redhat.com>
40423 Ulrich Drepper <drepper@gmail.com>
40424
40425 [BZ #12489]
40426 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40427 before performing relro protection. At old place add assertion
40428 to make sure nothing changed.
40429
d3f02e10
NS
404302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40431 Glauber de Oliveira Costa <glommer@gmail.com>
40432
40433 * elf/elf.h: Add new ARM TLS relocs.
40434
d55fd7a5
RA
404352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40436
40437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40438 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40439 cast from r3.
40440 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40441 'tests' variable.
40442 * sysdeps/wordsize-64/tst-writev.c: New file.
40443
2206397e
RA
404442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40445
40446 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40447 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40448 insns in _dl_start to prevent a TOC reference before relocs are
40449 resolved.
40450
e9433893
UD
404512011-02-15 Ulrich Drepper <drepper@gmail.com>
40452
40453 [BZ #12469]
40454 * Makeconfig: Remove RANLIB definition.
40455 * Makerules: Don't use RANLIB.
40456 * aclocal.m4: Remove ranlib test.
40457 * configure.in: No need to check for ranlib.
40458 * elf/rtld-Rules: Don't use RANLIB.
40459
f75286c6
ST
404602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40461
8e31c82d
ST
40462 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40463 protection macro.
40464 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40465 inclusion protection macro.
40466
f75286c6
ST
40467 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40468 SIGRTMIN and SIGRTMAX and print information in that case only when
40469 SIGRTMIN is defined.
40470
c1d0e639
JJ
404712011-02-11 Jakub Jelinek <jakub@redhat.com>
40472
40473 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40474 arginfo fn returning -1.
40475
40476 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40477 and thousands string is zero terminated.
40478
edf9294e
AS
404792011-02-03 Andreas Schwab <schwab@redhat.com>
40480
40481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40482 sysdeps/unix/sysv/linux/bits/socket.h.
40483
2b7e92df
ST
404842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40485
edf9294e
AS
40486 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40487 (__CPU_COUNT): Remove old macros.
40488 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40489 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40490 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40491 (__sched_cpualloc, __sched_cpufree): Add declarations.
40492
a4c7ea7b
UD
404932011-02-05 Ulrich Drepper <drepper@gmail.com>
40494
40495 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40496 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40497 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40498 (readdhstai): Return value of addhstaiX call.
40499 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40500 (addgrbyX): Return value returned by cache_addgr.
40501 (readdgrbyname): Return value returned by addgrbyX.
40502 (readdgrbygid): Likewise.
40503 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40504 (addpwbyX): Return value returned by cache_addpw.
40505 (readdpwbyname): Return value returned by addhstbyX.
40506 (readdpwbyuid): Likewise.
40507 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40508 (addservbyX): Return value returned by cache_addserv.
40509 (readdservbyname): Return value returned by addservbyX:
40510 (readdservbyport): Likewise.
40511 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40512 (addhstbyX): Return value returned by cache_addhst.
40513 (readdhstbyname): Return value returned by addhstbyX.
40514 (readdhstbyaddr): Likewise.
40515 (readdhstbynamev6): Likewise.
40516 (readdhstbyaddrv6): Likewise.
40517 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40518 (readdinitgroups): Return value returned by addinitgroupsX.
40519 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40520 (prune_cache): Keep track of timeout value of re-added entries.
40521 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40522 * nscd/nscd.h: Adjust prototypes of readd* functions.
40523
a0bf67cc
RM
405242011-02-04 Roland McGrath <roland@redhat.com>
40525
40526 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40527 (nis_stats): Likewise.
40528 * nis/nis_modify.c (nis_modify): Likewise.
40529 * nis/nis_remove.c (nis_remove): Likewise.
40530 * nis/nis_add.c (nis_add): Likewise.
40531
40532 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40533
40534 * posix/fnmatch_loop.c: Add some consts.
40535
40536 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40537
435b95eb
L
405382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40539
40540 [BZ #12460]
40541 * config.make.in (config-cflags-novzeroupper): Define.
40542 * configure.in: Substitute libc_cv_cc_novzeroupper.
40543 * elf/Makefile (AVX-CFLAGS): Define.
40544 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40545 (CFLAGS-tst-auditmod4a.c): Likewise.
40546 (CFLAGS-tst-auditmod4b.c): Likewise.
40547 (CFLAGS-tst-auditmod6b.c): Likewise.
40548 (CFLAGS-tst-auditmod6c.c): Likewise.
40549 (CFLAGS-tst-auditmod7b.c): Likewise.
40550 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40551
8517b15e
UD
405522011-02-02 Ulrich Drepper <drepper@gmail.com>
40553
40554 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40555 function to the callback.
40556 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40557
10a656fe
AS
405582011-02-02 Andreas Schwab <schwab@redhat.com>
40559
40560 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40561 of errno.
40562
968dad0a
UD
405632011-01-19 Ulrich Drepper <drepper@gmail.com>
40564
9f94d2ea 40565 [BZ #11724]
968dad0a
UD
40566 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40567 of constructors.
40568 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40569 of destructors.
40570 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40571
40572 [BZ #11724]
40573 * elf/Makefile: Add rules to build and run new test.
40574 * elf/tst-initorder.c: New file.
40575 * elf/tst-initorder.exp: New file.
40576 * elf/tst-initordera1.c: New file.
40577 * elf/tst-initordera2.c: New file.
40578 * elf/tst-initordera3.c: New file.
40579 * elf/tst-initordera4.c: New file.
40580 * elf/tst-initorderb1.c: New file.
40581 * elf/tst-initorderb2.c: New file.
40582 * elf/tst-order-a1.c: New file.
40583 * elf/tst-order-a2.c: New file.
40584 * elf/tst-order-a3.c: New file.
40585 * elf/tst-order-a4.c: New file.
40586 * elf/tst-order-b1.c: New file.
40587 * elf/tst-order-b2.c: New file.
40588 * elf/tst-order-main.c: New file.
40589 New test case by George Gensure <werkt0@gmail.com>.
40590
86e92359
UD
405912010-10-01 Andreas Schwab <schwab@redhat.com>
40592
40593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40594 decoding ACE if AI_CANONIDN.
40595
5d5732b0
UD
405962011-01-18 Ulrich Drepper <drepper@gmail.com>
40597
40598 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40599
a77e8cbc
UD
406002011-01-17 Ulrich Drepper <drepper@gmail.com>
40601
6392473f
UD
40602 * version.h (RELEASE): Bump for 2.13 release.
40603 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40604
620a0529
UD
40605 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40606
18ba70a5
UD
40607 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40608 MADV_NOHUGEPAGE.
32465c3e
UD
40609 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40610 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40612 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40614 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40615
c0dafcf1
UD
40616 * posix/getconf.c: Update copyright year.
40617 * catgets/gencat.c: Likewise.
40618 * csu/version.c: Likewise.
40619 * debug/catchsegv.sh: Likewise.
40620 * debug/xtrace.sh: Likewise.
40621 * elf/ldconfig.c: Likewise.
40622 * elf/ldd.bash.in: Likewise.
40623 * elf/sprof.c (print_version): Likewise.
40624 * iconv/iconv_prog.c: Likewise.
40625 * iconv/iconvconfig.c: Likewise.
40626 * locale/programs/locale.c: Likewise.
40627 * locale/programs/localedef.c: Likewise.
40628 * malloc/memusage.sh: Likewise.
40629 * malloc/mtrace.pl: Likewise.
40630 * nscd/nscd.c (print_version): Likewise.
40631 * nss/getent.c: Likewise.
40632
a77e8cbc
UD
40633 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40634 PF_CAIF, and PF_ALG.
40635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40636
77e8bddf
AS
406372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40638
1f20b93a
AS
40639 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40640 (modules-names): Use them.
40641 (ifunc-test-modules, ifunc-pie-tests): Define.
40642 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40643 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40644 (test-extras): Likewise.
40645 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40646 $(compile-command.c).
40647 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40648 (all-built-dso): Define.
40649 (check-textrel.out, check-execstack.out): Depend on it.
40650
77e8bddf
AS
40651 * configure.in: Don't override --enable-multi-arch.
40652
bc425b33
UD
406532011-01-15 Ulrich Drepper <drepper@gmail.com>
40654
40655 [BZ #6812]
40656 * nscd/hstcache.c (tryagain): Define.
40657 (cache_addhst): Return tryagain not notfound for temporary errors.
40658 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40659 failed.
40660
794c3ad3
UD
406612011-01-14 Ulrich Drepper <drepper@gmail.com>
40662
70181fdd
UD
40663 [BZ #10563]
40664 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40665 to make the syscall.
40666 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40667
794c3ad3
UD
40668 [BZ #12378]
40669 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40670 and fall back to matching as normal character if the string ends before
40671 the matching ']' is found. This is what POSIX requires.
40672 * posix/testfnm.c: Adjust test result.
40673 * posix/globtest.sh: Adjust test result. Add new test.
40674 * posix/tst-fnmatch.input: Likewise.
40675 * posix/tst-fnmatch2.c: Add new test.
40676
68dc9497
AS
406772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40678
40679 * elf/Makefile (check-execstack): Revert last change. Depend on
40680 check-execstack.h.
40681 (check-execstack.h): New target.
40682 (generated): Add check-execstack.h.
40683 * elf/check-execstack.c: Include "check-execstack.h".
40684 (main): Revert last change.
40685 (handle_file): Return zero if GNU_STACK is absent and
40686 DEFAULT_STACK_PERMS doesn't include PF_X.
40687
451f001b
UD
406882011-01-13 Ulrich Drepper <drepper@gmail.com>
40689
cfa28e56
UD
40690 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40691 in child fails because the descriptor is already closed.
8cf8ce17
UD
40692 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40693 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40694 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40695
1086d70d
UD
40696 [BZ #12397]
40697 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40698 syscall.
40699
451f001b
UD
40700 [BZ #10484]
40701 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40702 temporary buffer used to handle multi lookups locally.
a85b5cb4 40703 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40704
08769175
UD
407052011-01-12 Ulrich Drepper <drepper@gmail.com>
40706
40707 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40708 loader is ld.so.
40709
5e49c52e
UD
407102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40711
40712 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40713 alignment for SSE2.
40714
60522a5f
UD
407152011-01-12 Ulrich Drepper <drepper@gmail.com>
40716
40717 [BZ #12394]
40718 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40719 characters. When rounding increased number of integer digits recompute
40720 number of groups.
40721 * stdio-common/tst-grouping.c: New file.
40722 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40723
f257bbd7
UD
407242011-01-09 Ulrich Drepper <drepper@gmail.com>
40725
40726 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40727 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40728
40729 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40730 void.
40731 * bits/select.h: Likewise.
40732
fa9c15cb
UD
407332011-01-08 Ulrich Drepper <drepper@gmail.com>
40734
40735 * po/ja.po: Update from translation team.
40736
16c2895f
DM
407372011-01-04 David S. Miller <davem@sunset.davemloft.net>
40738
40739 [BZ #11155]
40740 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40741 implementation just like for lxstat, fxstatat, et al.
40742
2543fef2
JM
407432010-12-27 Jim Meyering <meyering@redhat.com>
40744
40745 [BZ #12348]
40746 * posix/regexec.c (build_trtable): Return failure indication upon
40747 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40748
98727dbe
UD
407492010-12-25 Ulrich Drepper <drepper@gmail.com>
40750
5bd6dc5c
UD
40751 [BZ #12201]
40752 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40753 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40754 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40755 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40756
97983464
UD
40757 [BZ #12207]
40758 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40759
98727dbe
UD
40760 [BZ #12204]
40761 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40762 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40763
4a531bb0
L
407642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40765
40766 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40767 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40768 script has SORT_BY_INIT_PRIORITY.
40769 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40770 NO_CTORS_DTORS_SECTIONS is defined.
40771 * elf/soinit.c: Likewise.
40772 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40773 NO_CTORS_DTORS_SECTIONS is defined.
40774 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40775 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40776 * sysdeps/sh/init-first.c: Likewise.
40777 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40778
07eb4b71
UD
407792010-12-24 Ulrich Drepper <drepper@gmail.com>
40780
40781 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40782 always use the slow path.
40783
30950a5f
RA
407842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40785
40786 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40787 similar rule which adds the sysdep directories to the header search in
40788 order to pick up the correct platform stackinfo.h.
40789 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40790 perform test if it is, otherwise return successfully without testing.
40791 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40792 DEFAULT_STACK_PERMS define in stackinfo.h.
40793 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40794 defined in stackinfo.h.
40795 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40796 DEFAULT_STACK_PERMS defined in stackinfo.h.
40797 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40798 * sysdeps/ia64/stackinfo.h: Likewise.
40799 * sysdeps/s390/stackinfo.h: Likewise.
40800 * sysdeps/sh/stackinfo.h: Likewise.
40801 * sysdeps/sparc/stackinfo.h: Likewise.
40802 * sysdeps/x86_64/stackinfo.h: Likewise.
40803 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40804 PF_X for powerpc64. Retain PF_X for powerpc32.
40805
db753e2c
UD
408062010-12-19 Ulrich Drepper <drepper@gmail.com>
40807
14b697f7
UD
40808 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40809 accurately.
db753e2c
UD
40810 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40811 GETDENTS_64BIT_ALIGNED.
40812
28300719
UD
408132010-12-14 Ulrich Drepper <dreper@gmail.com>
40814
14b697f7 40815 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40816
4f197237
AS
408172010-12-10 Andreas Schwab <schwab@redhat.com>
40818
dbb0472f
AS
40819 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40820 _GNU_SOURCE.
40821
4f197237
AS
40822 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40823 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40824 Remove __restrict.
40825 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40826 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40827
fb88ac72
UD
408282010-12-09 Ulrich Drepper <drepper@gmail.com>
40829
40830 [BZ #11655]
40831 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40832 are initialized.
40833
42acbb92
JJ
408342010-12-09 Jakub Jelinek <jakub@redhat.com>
40835
40836 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40837
c038d98d
UD
408382010-12-03 Ulrich Drepper <drepper@gmail.com>
40839
40840 * po/it.po: Update from translation team.
40841
3a4a2499
L
408422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40843
40844 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40845 unused codes.
40846
1e24cf6e
UD
408472010-11-30 Ulrich Drepper <drepper@gmail.com>
40848
40849 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40850
a7690819
AS
408512010-11-24 Andreas Schwab <schwab@redhat.com>
40852
40853 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40854 specially.
40855 (gaih_getanswer_slice): Likewise.
40856
3bf8d1b1
JJ
408572010-10-20 Jakub Jelinek <jakub@redhat.com>
40858
40859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40860
6db52fbb
PB
408612010-05-31 Petr Baudis <pasky@suse.cz>
40862
40863 [BZ #11149]
40864 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40865 silently even in the chroot mode.
40866
eaca7569
UD
408672010-11-22 Ulrich Drepper <drepper@gmail.com>
40868
40869 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40870 last patch a bit. Pretty printing
40871
3056dcdb
UD
408722010-05-31 Petr Baudis <pasky@suse.cz>
40873
40874 [BZ #10085]
40875 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40876 initialization of skip_initgroups_dyn.
40877
cf7c9078
UD
408782010-11-19 Ulrich Drepper <drepper@gmail.com>
40879
40880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40881 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40882
a1fb5e3e
UD
408832010-11-16 Ulrich Drepper <drepper@gmail.com>
40884
40885 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40886
3540d66b
AS
408872010-11-11 Andreas Schwab <schwab@redhat.com>
40888
40889 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40890 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40891 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40892 ($(objpfx)tst-fnmatch-mem): New rule.
40893 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40894 * posix/tst-fnmatch.c (main): Call mtrace.
40895
13b69574
L
408962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40897
40898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40899 Support Intel processor model 6 and model 0x2c.
40900
da93d214
LM
409012010-11-10 Luis Machado <luisgpm@br.ibm.com>
40902
40903 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40904 signed comparison.
40905
8ca52c6e
L
409062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40907
40908 [BZ #12205]
40909 * string/test-strncasecmp.c (check_result): New function.
40910 (do_one_test): Use it.
40911 (check1): New function.
40912 (test_main): Use it.
40913 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40914 Support strcasecmp and strncasecmp.
40915
69da074d
UD
409162010-11-08 Ulrich Drepper <drepper@gmail.com>
40917
40918 [BZ #12194]
40919 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40921
ff02d528
L
409222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40923
40924 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40925 IFUNC support.
40926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40927 memset-x86-64.
40928 * sysdeps/x86_64/multiarch/bzero.S: New file.
40929 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40930 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40931 * sysdeps/x86_64/multiarch/memset.S: New file.
40932 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40934 Set bit_Prefer_SSE_for_memop for Intel processors.
40935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40936 Define.
40937 (index_Prefer_SSE_for_memop): Define.
40938 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40939
344d0b54
LM
409402010-11-04 Luis Machado <luisgpm@br.ibm.com>
40941
40942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40943 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40944
c0dde15b
UD
409452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40946
40947 [BZ #12191]
40948 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40949 (__x86_64_raw_data_cache_size_half): Likewise.
40950 (__x86_64_raw_shared_cache_size): Likewise.
40951 (__x86_64_raw_shared_cache_size_half): Likewise.
40952
40953 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40954 (__x86_64_raw_data_cache_size_half): Likewise.
40955 (__x86_64_raw_shared_cache_size): Likewise.
40956 (__x86_64_raw_shared_cache_size_half): Likewise.
40957 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40958 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40959 and __x86_64_raw_shared_cache_size_half. Round
40960 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40961 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40962 to multiple of 256 bytes.
40963
0e516e0e
MS
409642010-11-03 Ulrich Drepper <drepper@gmail.com>
40965
40966 [BZ #12167]
40967 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40968 of inacessible symlinks. Verify result of symlink before returning it.
40969 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40970 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40971
0e012e87
ER
409722010-10-28 Erich Ritz <erichritz@gmail.com>
40973
40974 * math/math.h (isinf): Fix typo in comment.
40975
de0ff7bc
UD
409762010-11-01 Ulrich Drepper <drepper@gmail.com>
40977
40978 * po/da.po: Update from translation team.
40979
fa41c84d
UD
409802010-10-26 Ulrich Drepper <drepper@gmail.com>
40981
40982 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40983 is added to the list.
40984
f0967738
AK
409852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40986 Ulrich Drepper <drepper@gmail.com>
40987
40988 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40989 the global list here. Move code to...
40990 (_dl_add_to_namespace_list): ...here. New function.
40991 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40992 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40993 * elf/dl-load.c (lose): Don't remove the element from the list.
40994 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40995 (_dl_map_object): Likewise.
40996
409972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
40998
40999 [BZ #12159]
41000 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41001 into all bytes of SSE register.
41002 Patch by Richard Li <richardpku@gmail.com>.
41003
f0967738 410042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41005
41006 [BZ #12140]
41007 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41008 perturbing.
41009
d0b9e94f
MB
410102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41011
41012 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41013 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41014 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41015 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41017 submachine.
41018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41019
8e9f92e9
AS
410202010-10-22 Andreas Schwab <schwab@redhat.com>
41021
41022 * include/dlfcn.h (__RTLD_SECURE): Define.
41023 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41024 mode & __RTLD_SECURE instead.
41025 (open_path): Rename preloaded parameter to secure.
41026 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41027 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41028 * elf/dl-deps.c (openaux): Likewise.
41029 * elf/rtld.c (struct map_args): Remove is_preloaded.
41030 (map_doit): Don't use it.
41031 (dl_main): Likewise.
41032 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41033 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41034
bc96fbda
AS
410352010-09-09 Andreas Schwab <schwab@redhat.com>
41036
41037 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41038 (sysd-rules-targets): Remove duplicates.
41039 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41040 rtld-%.$o dependency.
41041
22cd1c9b
AS
410422010-10-18 Andreas Schwab <schwab@redhat.com>
41043
41044 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41045 _dl_map_object do it.
41046
18edac48
UD
410472010-10-19 Ulrich Drepper <drepper@gmail.com>
41048
41049 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41050 fast fma builtins, define the macros in the C99 standard.
41051 (FP_FAST_FMAF): Likewise.
41052 (FP_FAST_FMAL): Likewise.
41053 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41054
41055 * bits/mathdef.h: Update copyright year.
41056 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41057
d2050124
MM
410582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41059
41060 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41061 builtins, define the macros in the C99 standard.
41062 (FP_FAST_FMAF): Likewise.
41063 (FP_FAST_FMAL): Likewise.
41064 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41065 multiply/add.
41066 (FP_FAST_FMAF): Likewise.
41067
475facd1
JJ
410682010-10-15 Jakub Jelinek <jakub@redhat.com>
41069
41070 [BZ #3268]
41071 * math/libm-test.inc (fma_test): Some new testcases.
41072 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41074 y and infinite z. Do multiplication by C already in long double.
41075 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41077 y and infinite z. Do bitwise or of inexact bit into u.d.
41078 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41079 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41080 * sysdeps/i386/fpu/s_fma.S: Removed.
41081 * sysdeps/i386/fpu/s_fmal.S: Removed.
41082
7c08a05c
JJ
410832010-10-16 Jakub Jelinek <jakub@redhat.com>
41084
41085 [BZ #3268]
41086 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41088 computation is not scheduled after fetestexcept. Fix value
41089 of minimum denormal long double.
41090
f3f7372d
JJ
410912010-10-14 Jakub Jelinek <jakub@redhat.com>
41092
41093 [BZ #3268]
41094 * math/libm-test.inc (fma_test): Add some more tests.
41095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41096 correctly.
41097
14d43591
AS
410982010-10-15 Andreas Schwab <schwab@redhat.com>
41099
41100 * scripts/data/localplt-s390-linux-gnu.data: New file.
41101 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41102
5e908464
JJ
411032010-10-13 Jakub Jelinek <jakub@redhat.com>
41104
41105 [BZ #3268]
41106 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41107 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41108 instead of dbl-64.
41109 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41110 inlines.
41111 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41113 if one of x and y is very large and the other is subnormal.
41114 * sysdeps/s390/fpu/s_fmaf.c: New file.
41115 * sysdeps/s390/fpu/s_fma.c: New file.
41116 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41117 * sysdeps/powerpc/fpu/s_fma.S: New file.
41118 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41119 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41120 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41121
411222010-10-12 Jakub Jelinek <jakub@redhat.com>
41123
41124 [BZ #3268]
41125 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41126 fma tests.
41127 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41128 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41129 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41130 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41131 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41132 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41133 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41134
b833d51f
UD
411352010-10-12 Ulrich Drepper <drepper@redhat.com>
41136
41137 [BZ #12078]
41138 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41139 * posix/bug-regex31.input: Add test case.
41140
1751705d
UD
411412010-10-11 Ulrich Drepper <drepper@gmail.com>
41142
e9b9cbf5
UD
41143 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41144 * posix/bug-regex31.input: New file.
41145
41146 [BZ #12078]
41147 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41148 (parse_sub_exp): Fix last change, use postorder.
41149
ef06edbe
UD
41150 * posix/bug-regex31.c: New file.
41151 * posix/Makefile: Add rules to build and run bug-regex31.
41152
a129c80d
UD
41153 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41154
41155 [BZ #12078]
41156 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41157
b76b818e
UD
41158 [BZ #12108]
41159 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41160 to have entries in sys_siglist.
41161
1751705d
UD
41162 [BZ #12093]
41163 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41164 be NULL.
41165
9ff8d36f
JJ
411662010-10-07 Jakub Jelinek <jakub@redhat.com>
41167
41168 [BZ #3268]
41169 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41170 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41171 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41172 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41173 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41174 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41175 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41176 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41177 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41178 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41179 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41180 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41181 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41182 * math/ftestexcept.c (fetestexcept): Likewise.
41183 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41184 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41185 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41186 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41187 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41188 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41189 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41190
af325969
UD
411912010-10-11 Ulrich Drepper <drepper@gmail.com>
41192
c579b202 41193 [BZ #12107]
af325969
UD
41194 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41195 newline.
41196
67a67b95
UD
411972010-10-06 Ulrich Drepper <drepper@gmail.com>
41198
41199 * string/bug-strstr1.c: New file.
41200 * string/Makefile: Add rules to build and run bug-strstr1.
41201
5fb308bc
EB
412022010-10-05 Eric Blake <eblake@redhat.com>
41203
41204 [BZ #12092]
41205 * string/str-two-way.h (two_way_long_needle): Always clear memory
41206 when skipping input due to the shift table.
41207
45db99c7
UD
412082010-10-03 Ulrich Drepper <drepper@gmail.com>
41209
3b111893
UD
41210 [BZ #12005]
41211 * malloc/mcheck.c: Handle large requests.
41212
45db99c7
UD
41213 [BZ #12077]
41214 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41215 for strncmp and strncasecmp.
41216 * string/stratcliff.c: Add tests for strcmp and strncmp.
41217 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41218
cf7a1eb8
NI
412192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41220
41221 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41222 __set_fpscr.
41223
6484ba5e
AJ
412242010-09-30 Andreas Jaeger <aj@suse.de>
41225
41226 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41227 (CGROUP_SUPER_MAGIC): Define.
41228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41229 Handle btrfs and cgroup file systems.
41230 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41231 Likewise.
41232
91c42559
LM
412332010-09-27 Luis Machado <luisgpm@br.ibm.com>
41234
41235 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41236 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41237
87a97932
AK
412382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41239
41240 [BZ #12067]
41241 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41242 trying to locate the ELF header.
41243
c21cc9bc
AS
412442010-09-27 Andreas Schwab <schwab@redhat.com>
41245
41246 [BZ #11611]
41247 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41248 Mask out sign-bit copies when constructing f_fsid.
41249
315970f6
PB
412502010-09-24 Petr Baudis <pasky@suse.cz>
41251
41252 * debug/stack_chk_fail_local.c: Add missing licence exception.
41253 * debug/warning-nop.c: Likewise.
41254
1ac7a2c7
JM
412552010-09-15 Joseph Myers <joseph@codesourcery.com>
41256
41257 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41258 implementing getdents64 using getdents syscall, set d_type if
41259 __ASSUME_GETDENTS32_D_TYPE.
41260
56801c50
AS
412612010-09-16 Andreas Schwab <schwab@redhat.com>
41262
41263 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41264 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41265
dda51327
UD
412662010-09-21 Ulrich Drepper <drepper@redhat.com>
41267
41268 [BZ #12037]
41269 * posix/unistd.h: Undo change of feature selection for ftruncate from
41270 2010-01-11.
41271
8ffcee4a
UD
412722010-09-20 Ulrich Drepper <drepper@redhat.com>
41273
a545ecd9 41274 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41275 detection.
41276
e24f0a8b
AS
412772010-09-20 Andreas Schwab <schwab@redhat.com>
41278
41279 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41280 fanotify_mark.
41281 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41282
7291c56f
AS
412832010-09-14 Andreas Schwab <schwab@redhat.com>
41284
41285 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41286 variables after CHECK_SP call.
41287 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41288
bc5fb037
AS
412892010-09-13 Andreas Schwab <schwab@redhat.com>
41290 Ulrich Drepper <drepper@redhat.com>
41291
41292 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41293 re-relocationg ld.so.
41294 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41295 _dl_init_paths call.
41296 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41297 here anymore.
41298
e66e7419
UD
412992010-09-14 Ulrich Drepper <drepper@redhat.com>
41300
41301 * resolv/res_init.c (__res_vinit): Count the default server we added.
41302
c044aa75
CLT
413032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41304 Ulrich Drepper <drepper@redhat.com>
41305
41306 [BZ #11968]
41307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41308 (____longjmp_chk): Use %ebx for saving value across system call.
41309 Add unwind info.
41310
32cf4069
AS
413112010-09-06 Andreas Schwab <schwab@redhat.com>
41312
41313 * manual/Makefile: Don't mix pattern rules with normal rules.
41314
817328ee
AS
413152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41316
41317 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41318 operation.
41319 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41320 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41321 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41322 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41324 Likewise.
41325
29fddf61
UD
413262010-09-04 Ulrich Drepper <drepper@redhat.com>
41327
41328 [BZ #11979]
41329 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41330 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41331
0959ffc9
UD
413322010-09-02 Ulrich Drepper <drepper@redhat.com>
41333
41334 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41335 * sysdeps/x86_64/addmul_1.S: Likewise.
41336 * sysdeps/x86_64/lshift.S: Likewise.
41337 * sysdeps/x86_64/mul_1.S: Likewise.
41338 * sysdeps/x86_64/rshift.S: Likewise.
41339 * sysdeps/x86_64/sub_n.S: Likewise.
41340 * sysdeps/x86_64/submul_1.S: Likewise.
41341
ece29840
ST
413422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41343
0959ffc9
UD
41344 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41345 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41346 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41347 * bits/sched.h [__need_schedparam]
ece29840 41348 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41349 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41350 (__defined_schedparam): Define to 1.
ece29840
ST
41351 (__sched_param): New structure, identical to sched_param.
41352 (__need_schedparam): Undefine.
41353
e53a31fe
MF
413542010-08-31 Mike Frysinger <vapier@gentoo.org>
41355
fdc0c10d
MF
41356 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41357 (epoll_create1): Declare.
41358
e53a31fe
MF
41359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41360
a726d796
AS
413612010-08-31 Andreas Schwab <schwab@redhat.com>
41362
41363 [BZ #7066]
41364 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41365 shifting retval into place.
41366
2f3e3dc7
UD
413672010-09-01 Ulrich Drepper <drepper@redhat.com>
41368
f2933da9
UD
41369 * nis/rpcsvc/nis.h: Update copyright notice.
41370 * nis/rpcsvc/nis.x: Likewise.
41371 * nis/rpcsvc/nis_callback.h: Likewise.
41372 * nis/rpcsvc/nis_callback.x: Likewise.
41373 * nis/rpcsvc/nis_object.x: Likewise.
41374 * nis/rpcsvc/nis_tags.h: Likewise.
41375 * nis/rpcsvc/yp.h: Likewise.
41376 * nis/rpcsvc/yp.x: Likewise.
41377 * nis/rpcsvc/ypupd.h: Likewise.
41378 * nis/yp_xdr.c: Likewise.
41379 * nis/ypupdate_xdr.c: Likewise.
41380
2f3e3dc7
UD
41381 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41382 mainly the body of pmap_getport. Add parameters to specify timeouts.
41383 (pmap_getport): Use __libc_rpc_getport.
41384 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41385 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41386 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41387
f3dcc2f9
AS
413882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41389
41390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41391 fanotify_mark.
41392
6d34eb5b
RM
413932010-08-27 Roland McGrath <roland@redhat.com>
41394
41395 * sysdeps/i386/i686/multiarch/Makefile
41396 (CFLAGS-varshift.c): New variable.
41397
9ea3de11
UD
413982010-08-27 Ulrich Drepper <drepper@redhat.com>
41399
c96d23fc
UD
41400 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41401 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41402
9ea3de11
UD
41403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41404
41405 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41406
623aac7f
L
414072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41408
41409 * sysdeps/x86_64/strlen.S: Unroll the loop.
41410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41411 strlen-sse2 strlen-sse2-bsf.
41412 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41413 __strlen_no_bsf if bit_Slow_BSF is set.
41414 (__strlen_sse42): Removed.
41415 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41416 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41417
8b2b7715
RM
414182010-08-25 Roland McGrath <roland@redhat.com>
41419
41420 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41421 * sysdeps/x86_64/multiarch/varshift.c: New file.
41422 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41423 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41424 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41425 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41426
e73015f2
L
414272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41428
41429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41430 strlen-sse2 strlen-sse2-bsf.
41431 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41432 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41433 (__strlen_sse2): Removed.
41434 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41435 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41437 bit_Slow_BSF for Atom.
41438 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41439 (index_Slow_BSF): Define.
41440 (HAS_SLOW_BSF): Define.
41441
df24a73e
UD
414422010-08-25 Ulrich Drepper <drepper@redhat.com>
41443
41444 [BZ #10851]
41445 * resolv/res_init.c (__res_vinit): When no server address at all
41446 is given default to loopback.
41447
f2ac4868
RM
414482010-08-24 Roland McGrath <roland@redhat.com>
41449
09055553
RM
41450 * configure.in: Remove config-name.h generation.
41451 * configure: Regenerated.
41452 * config-name.in: File removed.
41453 * scripts/config-uname.sh: New file.
41454 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41455 ($(objdir)config-name.h): New target.
41456
f2ac4868
RM
41457 * sunrpc/rpc_parse.h: Avoid nested comment.
41458
73f27d5e
RH
414592010-08-24 Richard Henderson <rth@redhat.com>
41460 Ulrich Drepper <drepper@redhat.com>
41461 H.J. Lu <hongjiu.lu@intel.com>
41462
41463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41465 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41466 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41467 _mm_alignr_epi8 with _mm_loadu_si128.
41468 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41469 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41470 (__m128i_shift_right): Removed.
41471 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41472 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41473 * sysdeps/x86_64/multiarch/varshift.h: New file.
41474 * sysdeps/x86_64/multiarch/varshift.S: New file.
41475
84b9230c
MF
414762010-08-21 Mike Frysinger <vapier@gentoo.org>
41477
41478 * configure.in: Move assembler checks to before sysdep dir checking.
41479
9bbd0ddc
PB
414802010-08-20 Petr Baudis <pasky@suse.cz>
41481
41482 * LICENSES: Sync the sunrpc license.
41483
9da4bb31
UD
414842010-08-19 Ulrich Drepper <drepper@redhat.com>
41485
a7ab6ec8
UD
41486 * sunrpc/auth_des.c: Update copyright notice once again.
41487 * sunrpc/auth_none.c: Likewise.
41488 * sunrpc/auth_unix.c: Likewise.
41489 * sunrpc/authdes_prot.c: Likewise.
41490 * sunrpc/authuxprot.c: Likewise.
41491 * sunrpc/bindrsvprt.c: Likewise.
41492 * sunrpc/clnt_gen.c: Likewise.
41493 * sunrpc/clnt_perr.c: Likewise.
41494 * sunrpc/clnt_raw.c: Likewise.
41495 * sunrpc/clnt_simp.c: Likewise.
41496 * sunrpc/clnt_tcp.c: Likewise.
41497 * sunrpc/clnt_udp.c: Likewise.
41498 * sunrpc/clnt_unix.c: Likewise.
41499 * sunrpc/des_crypt.c: Likewise.
41500 * sunrpc/des_soft.c: Likewise.
41501 * sunrpc/get_myaddr.c: Likewise.
41502 * sunrpc/getrpcport.c: Likewise.
41503 * sunrpc/key_call.c: Likewise.
41504 * sunrpc/key_prot.c: Likewise.
41505 * sunrpc/openchild.c: Likewise.
41506 * sunrpc/pm_getmaps.c: Likewise.
41507 * sunrpc/pm_getport.c: Likewise.
41508 * sunrpc/pmap_clnt.c: Likewise.
41509 * sunrpc/pmap_prot.c: Likewise.
41510 * sunrpc/pmap_prot2.c: Likewise.
41511 * sunrpc/pmap_rmt.c: Likewise.
41512 * sunrpc/rpc/auth.h: Likewise.
41513 * sunrpc/rpc/auth_unix.h: Likewise.
41514 * sunrpc/rpc/clnt.h: Likewise.
41515 * sunrpc/rpc/des_crypt.h: Likewise.
41516 * sunrpc/rpc/key_prot.h: Likewise.
41517 * sunrpc/rpc/netdb.h: Likewise.
41518 * sunrpc/rpc/pmap_clnt.h: Likewise.
41519 * sunrpc/rpc/pmap_prot.h: Likewise.
41520 * sunrpc/rpc/pmap_rmt.h: Likewise.
41521 * sunrpc/rpc/rpc.h: Likewise.
41522 * sunrpc/rpc/rpc_des.h: Likewise.
41523 * sunrpc/rpc/rpc_msg.h: Likewise.
41524 * sunrpc/rpc/svc.h: Likewise.
41525 * sunrpc/rpc/svc_auth.h: Likewise.
41526 * sunrpc/rpc/types.h: Likewise.
41527 * sunrpc/rpc/xdr.h: Likewise.
41528 * sunrpc/rpc_clntout.c: Likewise.
41529 * sunrpc/rpc_cmsg.c: Likewise.
41530 * sunrpc/rpc_common.c: Likewise.
41531 * sunrpc/rpc_cout.c: Likewise.
41532 * sunrpc/rpc_dtable.c: Likewise.
41533 * sunrpc/rpc_hout.c: Likewise.
41534 * sunrpc/rpc_main.c: Likewise.
41535 * sunrpc/rpc_parse.c: Likewise.
41536 * sunrpc/rpc_parse.h: Likewise.
41537 * sunrpc/rpc_prot.c: Likewise.
41538 * sunrpc/rpc_sample.c: Likewise.
41539 * sunrpc/rpc_scan.c: Likewise.
41540 * sunrpc/rpc_scan.h: Likewise.
41541 * sunrpc/rpc_svcout.c: Likewise.
41542 * sunrpc/rpc_tblout.c: Likewise.
41543 * sunrpc/rpc_util.c: Likewise.
41544 * sunrpc/rpc_util.h: Likewise.
41545 * sunrpc/rpcinfo.c: Likewise.
41546 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41547 * sunrpc/rpcsvc/key_prot.x: Likewise.
41548 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41549 * sunrpc/rpcsvc/mount.x: Likewise.
41550 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41551 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41552 * sunrpc/rpcsvc/rex.x: Likewise.
41553 * sunrpc/rpcsvc/rstat.x: Likewise.
41554 * sunrpc/rpcsvc/rusers.x: Likewise.
41555 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41556 * sunrpc/rpcsvc/spray.x: Likewise.
41557 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41558 * sunrpc/rtime.c: Likewise.
41559 * sunrpc/svc.c: Likewise.
41560 * sunrpc/svc_auth.c: Likewise.
41561 * sunrpc/svc_authux.c: Likewise.
41562 * sunrpc/svc_raw.c: Likewise.
41563 * sunrpc/svc_run.c: Likewise.
41564 * sunrpc/svc_simple.c: Likewise.
41565 * sunrpc/svc_tcp.c: Likewise.
41566 * sunrpc/svc_udp.c: Likewise.
41567 * sunrpc/svc_unix.c: Likewise.
41568 * sunrpc/svcauth_des.c: Likewise.
41569 * sunrpc/xcrypt.c: Likewise.
41570 * sunrpc/xdr.c: Likewise.
41571 * sunrpc/xdr_array.c: Likewise.
41572 * sunrpc/xdr_float.c: Likewise.
41573 * sunrpc/xdr_mem.c: Likewise.
41574 * sunrpc/xdr_rec.c: Likewise.
41575 * sunrpc/xdr_ref.c: Likewise.
41576 * sunrpc/xdr_sizeof.c: Likewise.
41577 * sunrpc/xdr_stdio.c: Likewise.
41578
9da4bb31
UD
41579 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41580 handling.
41581
bdaa77bc
AS
415822010-08-19 Andreas Schwab <schwab@redhat.com>
41583
41584 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41585
fe2f79db
LM
415862010-08-19 Luis Machado <luisgpm@br.ibm.com>
41587
41588 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41590 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41591 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41592 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41593 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41594 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41595 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41596 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41597 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41598 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41599 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41600 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41601 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41602
b9b42ee0
AB
416032010-07-26 Anton Blanchard <anton@samba.org>
41604
41605 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41606 * malloc/arena.c (heap_trim): Likewise.
41607
1c06ba31
UD
416082010-08-16 Ulrich Drepper <drepper@redhat.com>
41609
41610 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41611 here. Not...
41612 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41613 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41614
f8392f40
L
416152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41616
41617 * sysdeps/i386/elf/Makefile: New file.
41618
3162f12e
AS
416192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41620
41621 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41622 from fanotify_init.
41623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41624 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41625
28c90b2c
UD
416262010-08-15 Ulrich Drepper <drepper@redhat.com>
41627
41628 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41629 of strncasecmp_l.
1feccb6c 41630 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41631
ca6bb004
UD
416322010-08-14 Ulrich Drepper <drepper@redhat.com>
41633
e9f82e0d
UD
41634 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41635 strncase_l-nonascii.
41636 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41637 Add strncase_l-ssse3.
41638 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41639 * sysdeps/x86_64/strcmp.S: Likewise.
41640 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41641 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41642 * sysdeps/x86_64/strncase.S: New file.
41643 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41644 * sysdeps/x86_64/strncase_l.S: New file.
41645 * string/Makefile (strop-tests): Add strncasecmp.
41646 * string/test-strncasecmp.c: New file.
41647
41648 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41649 warning.
41650
ca6bb004
UD
41651 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41652 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41653
052fa7b3
AS
416542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41655
41656 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41657
962dba78
UD
416582010-08-12 Ulrich Drepper <drepper@redhat.com>
41659
41660 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41661 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41662 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41663
bebff237
AM
416642010-05-01 Alan Modra <amodra@gmail.com>
41665
41666 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41667 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41668 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41669 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41670 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41671 tidying. Don't tail-call __sigjmp_save for static lib.
41672 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41673 save location.
41674 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41675 (CALL_MCOUNT): Add eh info, and nop after bl.
41676 (TAIL_CALL_SYSCALL_ERROR): New macro.
41677 (PSEUDO_RET): Use it.
41678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41679 Correct save location of integer regs and cr.
41680 (_dl_profile_resolve): Correct cr save location. Delete nops
41681 after bl when SHARED. Reduce cfi size a little by better
41682 placement of cfi directives.
41683 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41684 make a stack frame. Instead use parm save area as a temp.
41685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41686 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41688 Don't make a stack frame for parent, use parm save area.
41689 Increase child stack frame to 112 bytes. Don't save unused reg,
41690 and adjust reg usage. Set up cfi on error recovery and
41691 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41693 (__makecontext): Add dummy nop after jump to exit.
41694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41695 Use correct parm save area and cr save, reduce stack frame.
41696 Correct cfi for possible PSEUDO_RET frame setup.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41698 Branch to local label emitted by PSEUDO_RET rather than
41699 __syscall_error.
41700
02637374
AS
417012010-08-12 Andreas Schwab <schwab@redhat.com>
41702
41703 [BZ #11904]
41704 * locale/programs/locale.c (print_assignment): New function.
41705 (show_locale_vars): Use it.
41706
c3e2f19b
UD
417072010-08-11 Ulrich Drepper <drepper@redhat.com>
41708
3cdaa6ad
UD
41709 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41710 field.
41711 (struct statfs64): Likewise.
41712 (_STATFS_F_FLAGS): Define.
41713 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41715 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41716 (ST_VALID): Define locally.
41717 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41718 __statvfs_getflags, use the provided value.
41719 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41720 __ASSUME_STATFS_F_FLAGS.
41721
754f7da3
UD
41722 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41723
10b3bedc
UD
41724 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41725 Add sys/fanotify.h.
41726 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41727 fanotify_mask for GLIBC_2.13.
41728 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41729 fanotify_init and fanotify_mark.
41730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41731 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41732
c08fb0d7
UD
41733 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41734 Add prlimit.
41735 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41736 prlimit64 for GLIBC_2.13.
41737 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41738 prlimit64.
41739 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41740 syscall.
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41743 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41744 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41746 add prlimit alias.
41747 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41748
15bac72b
UD
41749 [BZ #11903]
41750 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41751 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41752
c3e2f19b
UD
41753 * nss/Makefile: Add rules to build and run tst-nss-test1.
41754 * shlib-versions: Add entry for libnss_test1.
41755 * nss/nss_test1.c: New file.
41756 * nss/tst-nss-test1.c: New file.
41757
41758 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41759 (__nss_configure_lookup): Set appropriate entry in
41760 __nss_configure_lookup to true.
41761 * nss/nsswitch.h: Define enum with indeces of databases in
41762 databases and __nss_database_custom arrays. Declare
41763 __nss_database_custom.
41764 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41765 to avoid using nscd when custom rules are installed.
41766 * nss/getXXbyYY_r.c: Likewise.
41767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41768
41769 * nss/nss_files/files-parse.c: Whitespace fixes.
41770
f15ce4d8
UD
417712010-08-09 Ulrich Drepper <drepper@redhat.com>
41772
41773 [BZ #11883]
41774 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41775 * posix/fnmatch_loop.c: Likewise.
41776
d22e4cc9
AK
417772010-07-17 Andi Kleen <ak@linux.intel.com>
41778
41779 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41780 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41781 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41782 * Versions.def [GLIBC_2.13]: Add.
41783
805bc17d
UD
417842010-08-06 Ulrich Drepper <drepper@redhat.com>
41785
41786 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41787 Also fail if tpwd after pwuid call is NULL.
41788
5a42321d
ST
417892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41790
41791 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41792 when converting to ms.
41793
fd3ebeda
ST
417942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41795
41796 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41797 EOPNOTSUPP errors with ENOTTY.
41798 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41799 EOPNOTSUPP errors with ENOTTY.
41800
73507d3a
UD
418012010-07-31 Ulrich Drepper <drepper@redhat.com>
41802
41803 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41804 Add strcasecmp_l-ssse3.
41805 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41806 strcasecmp.
41807 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41808 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41809 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41810
fe36dd02
UD
418112010-07-30 Ulrich Drepper <drepper@redhat.com>
41812
66f6765a
UD
41813 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41814
42e08a54
UD
41815 * string/Makefile (strop-tests): Add strcasecmp.
41816 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41817 strcasecmp_l-nonascii.
41818 (gen-as-const-headers): Add locale-defines.sym.
41819 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41820 * sysdeps/x86_64/strcasecmp.S: New file.
41821 * sysdeps/x86_64/strcasecmp_l.S: New file.
41822 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41823 * sysdeps/x86_64/locale-defines.sym: New file.
41824 * string/test-strcasecmp.c: New file.
41825
fe36dd02
UD
41826 * string/test-strcasestr.c: Test both ends of the range of characters.
41827 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41828
48cbc0d6
RM
418292010-07-29 Roland McGrath <roland@redhat.com>
41830
76e6d6bc 41831 [BZ #11856]
48cbc0d6
RM
41832 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41833
880113d9
UD
418342010-07-27 Ulrich Drepper <drepper@redhat.com>
41835
41836 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41837 for ld.so.
41838
deb9cabb
AS
418392010-07-27 Andreas Schwab <schwab@redhat.com>
41840
41841 * manual/memory.texi (Malloc Tunable Parameters): Document
41842 M_PERTURB.
41843
1c7570ff
RM
418442010-07-26 Roland McGrath <roland@redhat.com>
41845
41846 [BZ #11840]
41847 * configure.in (-fgnu89-inline check): Set and substitute
41848 gnu89_inline, not libc_cv_gnu89_inline.
41849 * configure: Regenerated.
41850 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41851
24fb0f88
UD
418522010-07-26 Ulrich Drepper <drepper@redhat.com>
41853
41854 * string/test-strnlen.c: New file.
41855 * string/Makefile (strop-tests): Add strnlen.
41856 * string/tester.c (test_strnlen): Add a few more test cases.
41857 * string/tst-strlen.c: Better error reporting.
41858
41859 * sysdeps/x86_64/strnlen.S: New file.
41860
8e96b93a
UD
418612010-07-24 Ulrich Drepper <drepper@redhat.com>
41862
41863 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41864 lower-latency instructions.
41865
dbc676d4
UD
418662010-07-23 Ulrich Drepper <drepper@redhat.com>
41867
41868 * string/test-strcasestr.c: New file.
41869 * string/test-strstr.c: New file.
41870 * string/Makefile (strop-tests): Add strstr and strcasestr.
41871 * string/str-two-way.h: Don't undefine MAX.
41872 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41873
f6a31e0e
AS
418742010-07-21 Andreas Schwab <schwab@redhat.com>
41875
41876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41877 strcasestr-nonascii.
41878 (CFLAGS-strcasestr-nonascii.c): Define.
41879 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41881 Remove unused attribute.
41882
5dbc3b6c
RM
418832010-07-20 Roland McGrath <roland@redhat.com>
41884
41885 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41886 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41887 ld.so.cache was broken. With it, there is no way to disable dsocaps
41888 like LD_HWCAP_MASK can disable hwcaps.
41889
23d101d8
EPM
418902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41891
41892 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41893
cc9f2e47
UD
418942010-07-16 Ulrich Drepper <drepper@redhat.com>
41895
41896 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41897 call in strcasestr.
41898 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41899 __strcasestr_sse42_nonascii.
41900 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41901 strcasestr-nonascii.c.
41902 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41903
77c1b069
LM
419042010-06-15 Luis Machado <luisgpm@br.ibm.com>
41905
41906 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41907 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41908 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41909 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41910
440566c3
UD
419112010-07-09 Ulrich Drepper <drepper@redhat.com>
41912
41913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41914 fcntl.
41915
5be9d05d
AS
419162010-07-06 Andreas Schwab <schwab@redhat.com>
41917
c30b7ee2 41918 [BZ #11577]
5be9d05d
AS
41919 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41920 dl_signal_cerror.
41921
8a492a67
UD
419222010-07-06 Ulrich Drepper <drepper@redhat.com>
41923
41924 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41925 _PC_PIPE_BUF using F_GETPIPE_SZ.
41926
713df3d5
RM
419272010-07-05 Roland McGrath <roland@redhat.com>
41928
41929 * manual/arith.texi (Rounding Functions): Fix rint description
41930 implicit in round description.
41931
702e8f14
UD
419322010-07-02 Ulrich Drepper <drepper@redhat.com>
41933
41934 * elf/Makefile: Fix linking for a few tests to make recent linker
41935 happy.
41936
52ed8be9
AS
419372010-06-30 Andreas Schwab <schwab@redhat.com>
41938
41939 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41940 $(common-objpfx)libc_nonshared.a.
41941
f47c9a11
LM
419422010-06-21 Luis Machado <luisgpm@br.ibm.com>
41943
41944 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41945 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41946 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41947 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41948 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41949 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41950 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41951 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41966 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41967 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41968 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41969 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41970 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41971 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41972 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41973 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41974 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41975 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41976 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41977 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41992
6fb8cbcb
L
419932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41994
41995 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41996 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41997 * string/memmove.c (memmove): Renamed to ...
41998 (MEMMOVE): ...this. Default to memmove.
41999 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42000 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42001 (END_CHK): Define.
42002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42003 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42004 mempcpy-ssse3-back memmove-ssse3-back.
42005 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42008 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42009 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42010 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42011 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42012 * sysdeps/x86_64/multiarch/memmove.c: New file.
42013 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42014 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42015 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42016 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42017 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42019 Define.
42020 (index_Fast_Copy_Backward): Define.
42021 (HAS_ARCH_FEATURE): Define.
42022 (HAS_FAST_REP_STRING): Define.
42023 (HAS_FAST_COPY_BACKWARD): Define.
42024
4e733bac 420252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42026
42027 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42028 Restore proper fallback handling.
42029
63c4ed22
UD
420302010-06-19 Ulrich Drepper <drepper@redhat.com>
42031
ac2b484c
UD
42032 [BZ #11701]
42033 * posix/group_member.c (__group_member): Correct checking loop.
42034
63c4ed22
UD
42035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42036 OOM in getpwuid_r correctly. Return error number when the caller
42037 should return, otherwise -1.
42038 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42039 call returning > 0 value.
42040 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42041
765ade4b
AS
420422010-06-07 Andreas Schwab <schwab@redhat.com>
42043
42044 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42045 libc_nonshared.a from targets in modules-names.
42046
80da2e09
KS
420472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42048
42049 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42050 requires it.
42051
158db122
LM
420522010-06-10 Luis Machado <luisgpm@br.ibm.com>
42053
42054 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42055 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42058
caa78cf8
AS
420592010-06-02 Andreas Schwab <schwab@redhat.com>
42060
42061 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42062
b2ef2c01
UD
420632010-06-14 Ulrich Drepper <drepper@redhat.com>
42064
42065 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42066 and F_GETPIPE_SZ.
42067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42071 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42073
fbd643b6
RM
420742010-06-14 Roland McGrath <roland@redhat.com>
42075
42076 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42077
f32f2869
JJ
420782010-06-07 Jakub Jelinek <jakub@redhat.com>
42079
42080 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42081 __REDIRECT followed by __THROW.
42082 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42083 * posix/getopt.h (getopt): Likewise.
42084
2a50c078
EPM
420852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42086
42087 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42088 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42089 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42090 in AT_FLAGS.
42091 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42092 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42093
eb5ad2eb
LM
420942010-05-28 Luis Machado <luisgpm@br.ibm.com>
42095
42096 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42097
3c88fe1e
L
420982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 [BZ #11640]
42101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42102 Properly check family and model.
42103
d2f73151
TY
421042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42105
42106 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42107
ebd2e13d
LM
421082010-05-24 Luis Machado <luisgpm@br.ibm.com>
42109
42110 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42111
b32b8b45
UD
421122010-05-21 Ulrich Drepper <drepper@redhat.com>
42113
42114 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42115 symbol reference.
42116
9acbe24d
AS
421172010-05-19 Andreas Schwab <schwab@redhat.com>
42118
42119 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42120 symbol reference.
42121
f0ccf6ea
AS
421222010-05-21 Andreas Schwab <schwab@redhat.com>
42123
3d04ff3a
AS
42124 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42125 and internal_recvmmsg.
42126 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42127 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42128 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42129 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42130
f0ccf6ea
AS
42131 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42132 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42133 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42134
5b08ac57
AS
421352010-05-20 Andreas Schwab <schwab@redhat.com>
42136
42137 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42138
4828935d
LM
421392010-05-17 Luis Machado <luisgpm@br.ibm.com>
42140
42141 POWER7 optimizations.
42142 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42143 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42144
373d545e
UD
421452010-05-19 Ulrich Drepper <drepper@redhat.com>
42146
42147 * version.h: Update for 2.13 development version.
42148
21a2b1ae
AS
421492010-05-12 Andrew Stubbs <ams@codesourcery.com>
42150
42151 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42152 exceptions. Return 0.
42153
3f7dcb2b
RM
421542010-05-07 Roland McGrath <roland@redhat.com>
42155
42156 * elf/ldconfig.c (main): Add a const.
42157
5f24d53a 421582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42159
a160f8d8
UD
42160 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42161 (args_options): Add no-idn option.
42162 (ahosts_keys_int): Add idn_flags to ai_flags.
42163 (parse_option): Handle 'i' option to clear idn_flags.
42164
5f24d53a
UD
42165 * malloc/malloc.c (_int_free): Possible race in the most recently
42166 added check. Only act on the data if no current modification
42167 happened.
265bb1ce
UD
42168
42169See ChangeLog.17 for earlier changes.